Closed GoogleCodeExporter closed 8 years ago
I should add - I'm using the current smatool.c, not the download.
Also here is a step through gdb...
822 GetConfig( &conf );
(gdb) s
GetConfig (conf=0xbee04854) at smatool.c:610
610 if (strlen(conf->Config) > 0 )
(gdb) s
611 fp=fopen(conf->Config,"r");
(gdb) s
614 while (!feof(fp)){
(gdb) s
Program received signal SIGSEGV, Segmentation fault.
0x402b5fe8 in feof () from /lib/libc.so.6
(gdb)
Original comment by b...@ticm.com
on 11 Jan 2011 at 9:20
Ahh if I add -conf ./smatool.conf to the command line it doesn't segfault -
looks like the conf file is not defaulting to ./smatool.conf
Original comment by b...@ticm.com
on 11 Jan 2011 at 9:25
Thanks I'll have a look
Original comment by stephenb...@gmail.com
on 11 Jan 2011 at 11:31
Original comment by stephenb...@gmail.com
on 11 Jan 2011 at 11:39
Original comment by stephenb...@gmail.com
on 12 Jan 2011 at 1:38
Original comment by stephenb...@gmail.com
on 12 Jan 2011 at 1:38
Fix in hg
Original comment by stephenb...@gmail.com
on 12 Jan 2011 at 3:22
Original issue reported on code.google.com by
b...@ticm.com
on 11 Jan 2011 at 9:03