Program received signal SIGSEGV, Segmentation fault.
0xb7f2033b in strlen () from /lib/tls/libc.so.6
(gdb) bt
  #0  0xb7f2033b in strlen () from /lib/tls/libc.so.6
  #1  0x0804fb39 in singleOptionHelp (f=0xb7fd2f60, maxLeftCol=44, opt=Variable 
"opt" is not available.) at popthelp.c:110
  #2  0x0804fdeb in singleTableHelp (f=0xb7fd2f60, table=0xbffff4b8, left=44) 
at popthelp.c:164
  #3  0x080502ef in displayArgs (con=0x805caa0, 
foo=POPT_CALLBACK_REASON_OPTION, key=0x805b2fc, arg=0x0, data=0x8059c85)
      at popthelp.c:56
  #4  0x0804ebe5 in poptGetNextOpt (con=0x805caa0) at popt.c:436
  #5  0x0804db2a in main (argc=3, argv=0xbffff874) at main.c:367

And the first valgrind warning (jmp depends on uninitialized value):

  #0  0x0804fd8d in singleTableHelp (f=0x1ba42f60, table=0x52bfe458, left=44) 
at popthelp.c:161
  #1  0x080502ef in displayArgs (con=0x1ba54f28, 
foo=POPT_CALLBACK_REASON_OPTION, key=0x805b2fc, arg=0x0, data=0x8059c85)
      at popthelp.c:56
  #2  0x0804ebe5 in poptGetNextOpt (con=0x1ba54f28) at popt.c:436
  #3  0x0804db2a in main (argc=3, argv=0x52bfe814) at main.c:367


The argument parsing is pretty hairy, so I'm giving up here.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to