Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Review Request: wordwarvi - Side-scrolling shoot 'em up '80s style arcade game
https://bugzilla.redhat.com/show_bug.cgi?id=442022
------- Additional Comments From smcameron@yahoo.com 2008-05-01 14:51 EST -------
FWIW, I'm also able to get a segfault by using pretty much any argument that isn't valid (I couldn't figure out why I was getting segfaults with --sound-device until I realized it was the wrong argument).
Interesting. I can duplicate that, but if I compile without optimization, that goes away (but getupt_long_only returns unexpected value 63.
without optimization: $ ./wordwarvi --xxx ./wordwarvi: unrecognized option `--xxx' Unexpected return value 63 from getopt_long_only()
With optimizatino: $ ./wordwarvi --xxx Segmentation faul Seems to be crashing here: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 140289894610656 (LWP 6449)] 0x00000035acd70b11 in strncmp () from /lib64/tls/libc.so.6 (gdb) bt #0 0x00000035acd70b11 in strncmp () from /lib64/tls/libc.so.6 #1 0x00000035acdae9f1 in _getopt_internal_r () from /lib64/tls/libc.so.6 #2 0x00000035acdafa35 in _getopt_internal () from /lib64/tls/libc.so.6 #3 0x000000000041c404 in main ()
Weird. I'll have to look into that tonight.
-- steve