Ticket #87 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

Segfault when giving unknown commandline option

Reported by: bram Owned by:
Milestone: Keywords:
Cc:

Description

Try giving an unknown commandline option to shoes, and it will segfault:

bram@braille% ./shoes --foo                            ~/Shoes/shoes-trunk/dist
(eval):1256: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i486-linux]

./shoes: line 2:  7308 Aborted                 LD_LIBRARY_PATH=$APPPATH $APPPATH/shoes-bin $@

Hope I'm not keeping you too busy with these segfaults, _why! Of course, these are not superfantasticky important bugs, and I wouldn't want you to spend all your time fixing segmentation faults, but, they tickle me :-)

A patch fixing this is attached.

Attachments

unknown-option-segv.patch (320 bytes) - added by bram 8 months ago.
Patch

Change History

Changed 8 months ago by bram

Patch

Changed 8 months ago by why

  • status changed from new to closed
  • resolution set to fixed

Great one, thanks. Try [408].

Note: See TracTickets for help on using tickets.