the dots are just a list of functions that get compiled in special cases, which I am not using.
but the g option helped, thank you, I have managed to track down in which function it actually fails.
So the script is a part of a C-based software that I have to use as my student project. I cannot upload the entire software, firstly because it is just too large, secondly even if I could, I am not the author so I suppose I am not allowed.
The part of it that I am debugging reads files and checks their internal format and references them to each other, most of information is saved as structures.
The main scrip that I am compiling is called scapu calls a function scapu_sub. scapu_sub calls batreffix to reference my input files a and b from the initial post. At this point both files a and b had been read in by about 50 other functions.
So I wrote bt after gbd like suggested in previous post and from this debugging output, does it mean that I have problems in each of the #0 #1 #2 #3 or only in the first one since it is the subfunction?
Code:
#0 0x00000000004899a3 in batreffix ()
#1 0x000000000042d2a6 in scapu_sub ()
#2 0x00000000004028fc in submain (argc=4, argv=0x7fffffffb6d8) at ../src/scapu.c:371
#3 0x000000000040184f in main (argc=4, argv=0x7fffffffb6d8) at ../src/scapu.c:83