Bug#537487: opencity: segfaults at start

Piotr Lewandowski piotr.lewandowski at gmail.com
Sun Aug 2 08:42:14 UTC 2009


* Gonéri Le Bouder <goneri at rulezlan.org>, 2009-08-02 04:29:
>I tried on a 3th computers and I still can't reproduct the problem :(. Can you
>try to rename your ~/.opencity directory.
Sure, but it still segfaults. I'm pasting gdb backtrace (with libc6-dbg  
installed this time).

#v+
$ cd $HOME

$ stat .opencity
stat: cannot stat `.opencity': No such file or directory

$ gdb -quiet opencity
(no debugging symbols found)
(gdb) run
Starting program: /usr/games/opencity 
[Thread debugging using libthread_db enabled]
Welcome to opencity version 0.0.6stable
Copyright (C) by Duong Khang NGUYEN. All rights reserved.
    web  : http://www.opencity.info
    email: neoneurone @ gmail com

This program is released under the terms of
GNU General Public License (See the COPYING file for more details)

Starting OpenCity standalone/client application...

<INFO> Failed to initialized BinReloc routines to search for the datadir. The error was: 4
<INFO> Failed to initialized BinReloc routines to search for the confdir. The error was: 4
<INFO> Detected data directory   : /usr/share/games/opencity/
<INFO> Detected config directory : /etc/opencity/
<INFO> Detected save directory   : /home/pl/.opencity/
<INFO> Reading XML config file: "/etc/opencity/config/opencity.xml"
<INFO> Loading default OpenGL driver...

Program received signal SIGSEGV, Segmentation fault.
0xb7b879f0 in *__GI_strstr (haystack_start=0x0, needle_start=0xb7f878b9 "GLX_EXT_visual_rating")
     at strstr.c:58
58  strstr.c: No such file or directory.
   in strstr.c
(gdb) bt full
#0  0xb7b879f0 in *__GI_strstr (haystack_start=0x0, needle_start=0xb7f878b9 "GLX_EXT_visual_rating")
     at strstr.c:58
         haystack = <value optimized out>
         needle = <value optimized out>
         needle_len = <value optimized out>
         haystack_len = <value optimized out>
         ok = <value optimized out>
#1  0xb7f5f557 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#2  0xb7f5fd18 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#3  0xb7f65ff6 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#4  0xb7f529d0 in SDL_SetVideoMode () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#5  0x08073a1b in ?? ()
No symbol table info available.
#6  0x08074158 in ?? ()
No symbol table info available.
#7  0x08075e89 in ?? ()
No symbol table info available.
#8  0xb7b267a5 in __libc_start_main (main=0x8075b90, argc=1, ubp_av=0xbffff4a4, init=0x80c5d60, 
     fini=0x80c5d50, rtld_fini=0xb7ff06e0 <_dl_fini>, stack_end=0xbffff49c) at libc-start.c:222
         result = <value optimized out>
         unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1211715596, 135028064, 134535424, -1073744776, 
                 779332457, -1252704391}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0xb7ff57c0, 
               0xb7b266cd}, data = {prev = 0x0, cleanup = 0x0, canceltype = -1208002624}}}
         not_first_call = <value optimized out>
#9  0x0804d921 in ?? ()
No symbol table info available.
#v-

Regards,
-- 
Piotr Lewandowski





More information about the Pkg-games-devel mailing list