I found the following for "lemon" in the sqlite-3.3.6 distribution :

===========================================================================
> lemon -x
Lemon version 1.0
> lemon /dev/null
Segmentation fault
> gdb ./lemon
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db 
library "/lib/libthread_db.so.1".

(gdb) run /dev/null
Starting program: /home/tmp/lemon /dev/null

Program received signal SIGSEGV, Segmentation fault.
0x08053b5a in confighash (a=0xbffff740) at lemon.c:4607
4607      h = h*571 + a->rp->index*37 + a->dot;
(gdb) bt
#0  0x08053b5a in confighash (a=0xbffff740) at lemon.c:4607
#1  0x08053fab in Configtable_find (key=0xbffff740) at lemon.c:4720
#2  0x0804a83b in Configlist_addbasis (rp=0x41, dot=0) at lemon.c:1165
#3  0x08049935 in FindStates (lemp=0xbffff7e0) at lemon.c:723
#4  0x0804b37e in main (argc=2, argv=0xbffff904) at lemon.c:1482
(gdb) quit
===========================================================================

Reply via email to