Another segfault on start

Problems with the Linux version of Darwinia

Moderators: jelco, bert_the_turtle, Chris, andy, John

Sijmen
level0
Posts: 1
Joined: Mon Nov 15, 2004 11:27 am
Contact:

Another segfault on start

Postby Sijmen » Fri Jan 07, 2005 6:14 pm

When I try to start the game, it segfaults.

Console output:

Code: Select all

[sijmen@shadowfax darwinia]$ ./darwinia
SDL Version: Compiled against 1.2.8, running with 1.2.8
Creating ResourceManager: 1.0



Darwinia has unexpectedly encountered a fatal error.
A full description of the error can be found in the file
blackbox.txt in the current working directory

./darwinia: line 4:  6273 Segmentation fault      $here/lib/darwinia.bin.x86


Blackbox.txt:

Code: Select all

=========================
DARWINIA BLACK BOX REPORT
=========================

VERSION : linux-demo-beta5
ERROR   : 'Got a fatal signal: 11
'

=========================
===== SYSTEM REPORT =====
=========================

SysInfoGenVersion: 2
CpuVendor: GenuineIntel
CpuModel: Intel(R) Pentium(R) 4 CPU 1.70GHz
Num Processors: 1
Country: N/A
Language: N/A
Num sound devices: 1
Primary sound device: Ensoniq 5880 AudioPCI (rev 02)
Graphics Card: nVidia Corporation: Unknown device 0322 (rev a1)
Operating System: Linux 2.6.10-ARCH
Computer Name: shadowfax



=========================
====== USER DATA ========
=========================

USERNAME : Sijmen

EMAIL    : sjmulder@gmail.com


=========================
====== STACKTRACE =======
=========================

retAddress = 0x814a8e4
retAddress = 0x8152bc9
retAddress = 0x814aa29
retAddress = 0x81486cd
retAddress = 0x8148921
retAddress = 0x81485aa
retAddress = 0x815b71f
retAddress = 0x808c480
retAddress = 0x804dcdc
retAddress = 0x80a8aaf
retAddress = 0x80a8c31
retAddress = 0x8099b30
retAddress = 0xb7c5419d
retAddress = 0x804cc91


gdb stack trace:

GNU gdb 6.3
Copyright 2004 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".
(gdb) Reading symbols from /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/darwinia.bin.x86...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) Attaching to program: /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/darwinia.bin.x86, process 6273
Reading symbols from /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/libSDL-1.2.so.0...done.
Loaded symbols for /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/../lib/libSDL-1.2.so.0
Reading symbols from /usr/lib/libGL.so.1...done.
Loaded symbols for /usr/lib/libGL.so.1
Reading symbols from /usr/X11R6/lib/libGLU.so.1...done.
Loaded symbols for /usr/X11R6/lib/libGLU.so.1
Reading symbols from /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/libvorbisfile.so.3...done.
Loaded symbols for /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/../lib/libvorbisfile.so.3
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/libgcc_s.so.1...done.
Loaded symbols for /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/../lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -1221212448 (LWP 6273)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/lib/libGLcore.so.1...done.
Loaded symbols for /usr/lib/libGLcore.so.1
Reading symbols from /usr/lib/tls/libnvidia-tls.so.1...done.
Loaded symbols for /usr/lib/tls/libnvidia-tls.so.1
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/libvorbis.so.0...done.
Loaded symbols for /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/../lib/../lib/libvorbis.so.0
Reading symbols from /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/libogg.so.0...done.
Loaded symbols for /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/../lib/../lib/libogg.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
Loaded symbols for /lib/tls/libnss_files.so.2
Loaded symbols for /lib/tls/libnss_files.so.2
0xffffe410 in ?? ()
(gdb)   1 Thread -1221212448 (LWP 6273)  0xffffe410 in ?? ()
(gdb)
Thread 1 (Thread -1221212448 (LWP 6273)):
#0  0xffffe410 in ?? ()
#1  0xbffe8828 in ?? ()
#2  0x00000000 in ?? ()
#3  0xbffe86e4 in ?? ()
#4  0xb7cc77d3 in __waitpid_nocancel () from /lib/tls/libc.so.6
#5  0xb7c73f95 in do_system () from /lib/tls/libc.so.6
#6  0x08080688 in ?? ()
#7  0x080809dd in ?? ()
#8  0x080807a0 in ?? ()
#9  <signal handler called>
#10 0xb7c9a337 in ftello () from /lib/tls/libc.so.6
#11 0x0814a8e4 in ?? ()
#12 0x08152bc9 in ?? ()
#13 0x0814aa29 in ?? ()
#14 0x081486cd in ?? ()
#15 0x08148921 in ?? ()
#16 0x081485aa in ?? ()
#17 0x0815b71f in ?? ()
#18 0x0808c480 in ?? ()
#19 0x0804dcdc in ?? ()
#20 0x080a8aaf in ?? ()
#21 0x080a8c31 in ?? ()
#22 0x08099b30 in ?? ()
#23 0xb7c5419d in __libc_start_main () from /lib/tls/libc.so.6
#24 0x0804cc91 in ?? ()
#0  0xffffe410 in ?? ()
(gdb) Detaching from program: /home/sijmen/Home-Lin/Demos/darwina/darwinia/lib/darwinia.bin.x86, process 6273
User avatar
lemonade
level1
level1
Posts: 29
Joined: Mon Nov 15, 2004 10:57 am
Location: Finland
Contact:

Re: Another segfault on start

Postby lemonade » Fri Jan 07, 2005 7:52 pm

Sijmen wrote:When I try to start the game, it segfaults.


I'm getting also segfault when starting with ati-drivers. This segfault comes with both betas 4f and 5. Before those versions game has worked well.

Game get's initialized and few seconds of sounds gets played, but then it crashes:

Code: Select all

VERSION : linux-demo-beta5

Reading symbols from /usr/lib/modules/dri/fglrx_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/fglrx_dri.so
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
0x40384c4b in waitpid () from /lib/libc.so.6
(gdb)   3 Thread 16386 (LWP 22701)  0x403a76eb in write () from /lib/libc.so.6
  2 Thread 32769 (LWP 22700)  0x403abff8 in poll () from /lib/libc.so.6
  1 Thread 16384 (LWP 22697)  0x40384c4b in waitpid () from /lib/libc.so.6
(gdb)
Thread 3 (Thread 16386 (LWP 22701)):
#0  0x403a76eb in write () from /lib/libc.so.6
#1  0x40079f94 in __JCR_LIST__ ()
   from /home/lemonade/darwinia-beta/2.4.28-r4/darwinia/lib/../lib/libSDL-1.2.so.0
#2  0x00000001 in ?? ()
#3  0x40028878 in DSP_PlayAudio (this=0x8f11570) at SDL_dspaudio.c:140
#4  0x40024137 in SDL_RunAudio (audiop=0x8f11570) at SDL_audio.c:232
#5  0x4006f10b in SDL_RunThread (data=0x8f231f0) at SDL_thread.c:218
#6  0x4006f31f in RunThread (data=0x800) at SDL_systhread.c:82
#7  0x4041acc2 in pthread_start_thread () from /lib/libpthread.so.0
#8  0x403b4a0a in clone () from /lib/libc.so.6

Thread 2 (Thread 32769 (LWP 22700)):
#0  0x403abff8 in poll () from /lib/libc.so.6
#1  0x4041b4c5 in __pthread_manager () from /lib/libpthread.so.0
#2  0x403b4a0a in clone () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 22697)):
#0  0x40384c4b in waitpid () from /lib/libc.so.6
#1  0x40410dcc in ?? () from /lib/libc.so.6
#2  0x00000000 in ?? ()
#3  0x40332a14 in strtold_l () from /lib/libc.so.6
#4  0x40332e1e in system () from /lib/libc.so.6
#5  0x08080688 in ?? ()
#6  0x080809dd in ?? ()
#7  0x080807a0 in ?? ()
#8  0x404210cd in __pthread_sighandler_rt () from /lib/libpthread.so.0
#9  0x403262e0 in killpg () from /lib/libc.so.6
#10 0x080a3cd9 in ?? ()
#11 0x080a3974 in ?? ()
#12 0x080af2f2 in ?? ()
#13 0x080aeeed in ?? ()
#14 0x080a861e in ?? ()
#15 0x080a8e37 in ?? ()
#16 0x08099b30 in ?? ()
#17 0x403122db in __libc_start_main () from /lib/libc.so.6
#18 0x0804cc91 in ?? ()
#0  0x40384c4b in waitpid () from /lib/libc.so.6
(gdb) Detaching from program: /home/lemonade/darwinia-beta/2.4.28-r4/darwinia/lib/darwinia.bin.x86, process 22697
User avatar
John
Introversion Staff
Introversion Staff
Posts: 511
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Mon Jan 10, 2005 12:22 pm

Sijmen, make sure to use the linux sys info tool and upload the generated sysinfo.txt. Right now the information in there is for a Windows XP machine, which won't be consistent with your linux install. When you've uploaded the new sysinfo, you will need to redownload.

lemonade, your issue is more to do with something funny going on with the OpenGL drivers.

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 3 guests