[Freeciv-Dev] (PR#10864) Re: BACKTRACE INSTRUCTIONS
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#10864) Re: BACKTRACE INSTRUCTIONS |
From: |
"Ed Earl Ross" <edearl@xxxxxxxxxxx> |
Date: |
Wed, 3 Nov 2004 19:52:59 -0800 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10864 >
Ed Earl Ross wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10847 >
>
> On Tue, Nov 02, 2004 at 11:12:15AM -0800, Ed Earl Ross wrote:
>
>>
>> Be happy to comply, but, being a newbie, don't know what you are
>> asking. BUGS contains info about a "stack trace". Is it what you
>> want? If not, please give some more info.
>
>
> Indeed. This is only possible if you have a core file dumped. I'm not
> sure
> that you did. If you don't you won't catch this one, but in the future
> you
> can set:
>
> ulimit -c unlimited
>
> in your .bashrc so that cores will get dumped.
> Once you have a core, you can do:
>
> % gdb civserver core
> (gdb) bt
>
> to get a backtrace which you can send in with the bug report. Note
> that the
> binary must be the one which produced the core.
>
> -mike
>
>
>
>
Is this all you need?
Core was generated by `civserver -r civ.serv'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libreadline.so.4...done.
Loaded symbols for /usr/lib/libreadline.so.4
Reading symbols from /usr/lib/libncurses.so.5...done.
Loaded symbols for /usr/lib/libncurses.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /usr/lib/libgpm.so.1...done.
Loaded symbols for /usr/lib/libgpm.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0 0x0040dc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) bt
#0 0x0040dc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x0044c98f in raise () from /lib/tls/libc.so.6
#2 0x0044e302 in abort () from /lib/tls/libc.so.6
#3 0x004462f8 in __assert_fail () from /lib/tls/libc.so.6
#4 0x080729d8 in finish_revolution (pplayer=0x81c5290) at plrhand.c:863
#5 0x0806c7a5 in server_handle_packet (type=PACKET_PLAYER_CHANGE_GOVERNMENT,
packet=0x6, pplayer=0x81c5290, pconn=0x55a998) at hand_gen.c:120
#6 0x0804ede9 in handle_packet_input (pconn=0x8150de0, packet=0x55a998,
type=43) at srv_main.c:999
#7 0x080895d1 in sniff_packets () at sernet.c:623
#8 0x0804fb3d in main_loop () at srv_main.c:1554
#9 0x0804fcaf in srv_main () at srv_main.c:1647
#10 0x0804a444 in main (argc=3, argv=0xbff592f4) at civserver.c:170
- [Freeciv-Dev] (PR#10864) Re: BACKTRACE INSTRUCTIONS,
Ed Earl Ross <=
|
|