Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] (PR#14188) Crash in hash or tileset code
Home

[Freeciv-Dev] (PR#14188) Crash in hash or tileset code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mstefek@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#14188) Crash in hash or tileset code
From: "Guest" <rt-guest@xxxxxxxxxxx>
Date: Thu, 6 Oct 2005 06:24:19 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14188 >

> [guest - Mer. Oct. 05 16:22:42 2005]:
> 
> > [per - Mer. Oct. 05 15:02:33 2005]:
> > 
> > On Wed, 5 Oct 2005, Guest wrote:
> > > (gdb) bt full
> > > #00x0f506048 in raise () from /lib/libc.so.6
> > > No symbol table info available.
> > 
> > Let me guess - you are a Gentoo user who has compiled your system
without
> > debug symbols?
> > 
> >   - Per
> >

I recompile glib-2.3.5 and freeciv-2.0.6 with -ggdb3 and did not strip
them. It's not that I'm cheap with hard disk space, it's the fact that I
never had to check it, and automaticaly on install files are stripped
and without debbugging informations.
So here the output:
aymeric@veckman ~/civgame $ civclient
civclient: tilespec.c:1227: tilespec_lookup_sprite_tags:  l'assertion «
sprite_hash != ((void *)0) » a échoué.
Abandon (core dumped)
aymeric@veckman ~/civgame $ gdb civclient core.12943
GNU gdb 5.3
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 "powerpc-unknown-linux-gnu"...
Core was generated by `civclient'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...done.
Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...done.
Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/lib/libatk-1.0.so.0...done.
Loaded symbols for /usr/lib/libatk-1.0.so.0
Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...done.
Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libpangoxft-1.0.so.0...done.
Loaded symbols for /usr/lib/libpangoxft-1.0.so.0
Reading symbols from /usr/lib/libpangox-1.0.so.0...done.
Loaded symbols for /usr/lib/libpangox-1.0.so.0
Reading symbols from /usr/lib/libpango-1.0.so.0...done.
Loaded symbols for /usr/lib/libpango-1.0.so.0
Reading symbols from /usr/lib/libgobject-2.0.so.0...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/lib/libSDL_mixer-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL_mixer-1.2.so.0
Reading symbols from /usr/lib/libaudiofile.so.0...done.
Loaded symbols for /usr/lib/libaudiofile.so.0
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libXrandr.so.2...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXi.so.6...done.
Loaded symbols for /usr/lib/libXi.so.6
Reading symbols from /usr/lib/libXinerama.so.1...done.
Loaded symbols for /usr/lib/libXinerama.so.1
Reading symbols from /usr/lib/libXft.so.2...done.
Loaded symbols for /usr/lib/libXft.so.2
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1
Reading symbols from /usr/lib/libpangoft2-1.0.so.0...done.
Loaded symbols for /usr/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/lib/libdirectfb-0.9.so.20...done.
Loaded symbols for /usr/lib/libdirectfb-0.9.so.20
Reading symbols from
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/libstdc++.so.6...done.
Loaded symbols for
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/libstdc++.so.6
Reading symbols from
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/libgcc_s.so.1...done.
Loaded symbols for
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/libgcc_s.so.1
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/lib/libaa.so.1...done.
Loaded symbols for /usr/lib/libaa.so.1
Reading symbols from /usr/lib/libvorbisfile.so.3...done.
Loaded symbols for /usr/lib/libvorbisfile.so.3
Reading symbols from /usr/lib/libvorbis.so.0...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /usr/lib/libogg.so.0...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libsmpeg-0.4.so.0...done.
Loaded symbols for /usr/lib/libsmpeg-0.4.so.0
Reading symbols from /usr/lib/libexpat.so.0...done.
Loaded symbols for /usr/lib/libexpat.so.0
Reading symbols from /usr/lib/libstdc++-v3/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++-v3/libstdc++.so.5
Reading symbols from /usr/lib/libslang.so.1...done.
Loaded symbols for /usr/lib/libslang.so.1
Reading symbols from /usr/lib/gconv/ISO8859-15.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-15.so
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/lib/X11/locale/lib/common/xlcUTF8Load.so.2...done.
Loaded symbols for /usr/lib/X11/locale/lib/common/xlcUTF8Load.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so...done.
Loaded symbols for /usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so
Reading symbols from
/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so...
done.
Loaded symbols for /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
#0  0x0f50606c in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
67      ../nptl/sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou
répertoire de ce type.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt full
#0  0x0f50606c in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
        pid = 0
        selftid = 12943
#1  0x0f507a38 in *__GI_abort () at ../sysdeps/generic/abort.c:88
        act = {__sigaction_handler = {sa_handler = 0xf609328 <stage>,
    sa_sigaction = 0xf609328 <stage>}, sa_mask = {__val = {2141114352,
      257977948, 257989364, 2141114496, 256932516, 1, 0, 1718771526, 84, 0,
      2141114352, 2141114464, 256903392, 257977948, 270928968, 2141114272,
      1163088705, 1195725615, 1818845795, 778923776, 2141114288, 257977948,
      2141114352, 2141114320, 257468956, 115, 671089794, 1, 2,
271344360, 115,
      269543804}}, sa_flags = 269546196, sa_restorer = 0x25732573}
        sigs = {__val = {2141114368, 257159428, 257977948, 257976432,
    2141114368, 257165012, 257977948, 257976432, 32, 0 <repeats 23 times>}}
#2  0x0f4fecbc in *__GI___assert_fail (
    assertion=0x100e8c9c "sprite_hash != ((void *)0)",
    file=0x100e7238 "tilespec.c", line=1227,
    function=0x1010d8ec "\017`hp\017`k0") at assert.c:83
        buf = 0xf606e5c ""
#3  0x1003a67c in tilespec_load_tiles () at tilespec.c:1227
No locals.
#4  0x100c076c in ui_main (argc=0, argv=0x0) at gui_main.c:1164
        icon_bitmap = (GdkBitmap *) 0x6
---Type <return> to continue, or q <return> to quit---
        sig = 6
        style = (GtkStyle *) 0x10110000
#5  0x1000fa54 in main (argc=1, argv=0x7f9ede34) at civclient.c:343
        i = 2141114720
        loglevel = 2
        ui_options = 269525092
        ui_separator = false
        option = 0x1010a464 ""
#6  0x0f4f0930 in generic_start_main (
    main=0xfa0f030 <g_param_spec_types+1256>, argc=262204216,
    ubp_av=0xfa15708, auxvec=0x102c5ef0, init=0x100dfacc <__libc_csu_init>,
    fini=0x24000442, rtld_fini=0, stack_end=0x300444b0) at libc-start.c:212
        result = 0
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {257987368, 2141114352,
        257977948, 257989364, 2141114496, 256932516, 1, 0, 1718771526,
84, 0,
        2141114352, 2141114464, 256903392, 257977948, 270928968, 2141114272,
        1163088705, 1195725615, 1818845795, 778923776, 2141114288,
257977948,
        2141114352, 2141114320, 257468956, 115, 671089794, 1, 2, 271344360,
        115, 269543804, 269546196, 628303219, 257976432, 2141114368,
        257159428, 257977948, 257976432, 2141114368, 257165012, 257977948,
        257976432, 32, 0 <repeats 31 times>, 269382200, 1227, 257977948,
        269539564, 2141114560, 256896188, 269388956, 1853056375, 269388956,
        269382200, 271344360, 269381840, 257990560, 269387516, 0,
2141116432,
---Type <return> to continue, or q <return> to quit---
        269549568, 269549568, 269549568, 271222352, 2141116400,
268674684, 0,
        271312032, 0, 271343312, 0, 271311888, 126424, 271360552, 0, 1,
        2141114672, 0, 257977948, 257990392}, mask_was_saved = 2141114672}},
  priv = {pad = {0x0, 0x102be410, 0x0, 0x102c5ee8}, data = {prev = 0x0,
      cleanup = 0x102be410, canceltype = 0}}}
#7  0x0f4f0a78 in __libc_start_main (argc=256932408, ubp_av=0x6, ubp_ev=0x6,
    auxvec=0x0, rtld_fini=0, stinfo=0xf506358, stack_on_entry=0x300444b0)
    at ../sysdeps/powerpc/elf/libc-start.c:97
No locals.
(gdb)




[Prev in Thread] Current Thread [Next in Thread]