Re: [NEWBIE] Dibrova Code

From: Eight Ball (eightball@techemail.com)
Date: 02/17/03


Previously I had tried to do a gdb with the core.4126 file and it threw errors about being unreadable.

I tried it again with the latest file and this is the output I got

]$ gdb bin/circle lib/core.4256
GNU gdb 5.3-1mdk (Mandrake Linux)
Copyright 2002 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 "i586-mandrake-linux-gnu"...
Core was generated by `bin/circle -q 4000'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x42078f4a in strcmp () from /lib/i686/libc.so.6
(gdb) backtr./autorun: line 166:  4400 Segmentation fault      (core dumped) bin/circle $FLAGS $PORT >>syslog 2>&1
(gdb) backtrace
#0  0x42078f4a in strcmp () from /lib/i686/libc.so.6
#1  0x08114689 in sort_spells () at spec_guilds.c:64
#2  0x0809a40e in boot_db () at db.c:377
#3  0x08049aee in init_game (port=4000) at comm.c:316
#4  0x080498fc in main (argc=3, argv=0xbffff784) at comm.c:288
#5  0x42015b17 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)

Anyone able to give me a clue as to why this is crashign?

Thanks,
Randy

_____________________________________________________________
Are you a Techie? Get Your Free Tech Email Address Now! Visit http://www.TechEmail.com

_____________________________________________________________
Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/26/03 PDT