4d crash-on-exit (GLXBadContent)

Problems with the Linux version of Darwinia

Moderators: bert_the_turtle, jelco, Chris, andy, John

User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

4d crash-on-exit (GLXBadContent)

Postby ixplode » Sat Dec 25, 2004 5:34 am

Crashed on exit with this dump to the console:

Code: Select all

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

X Error of failed request:  GLXBadContext
  Major opcode of failed request:  128 (GLX)
  Minor opcode of failed request:  4 (X_GLXDestroyContext)
  Serial number of failed request:  34
  Current serial number in output stream:  36


Blackbox.txt (which now, interestingly enough, has GDB stacktrace included) is this:

Code: Select all

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

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

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

SysInfoGenVersion: 2
CpuVendor: GenuineIntel
CpuModel: Pentium III (Coppermine)
Num Processors: 1
Country: N/A
Language: N/A
Num sound devices: 1
Primary sound device: Ensoniq ES1371 [AudioPCI-97] (rev 09)
Graphics Card: Intel Corp. 82810E DC-133 CGC [Chipset Graphics Controller] (rev 03)
Operating System: Linux 2.6.9
Computer Name: linova



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

USERNAME : ixplode

EMAIL    : ixplode@xxxxxxxxxxx.net


=========================
====== PREFERENCES ======
=========================

ServerAddress = 127.00
BypassNetwork = 1
SinglePlayer = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 1
SoundLibrary = software
SoundMixFreq = 22050
SoundMasterVolume = 255
SoundChannels = 16
SoundHW3D = 0
SoundSwapStereo = 0
SoundBufferSize = 2048
ScreenWidth = 800
ScreenHeight = 600
ScreenWindowed = 0
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 60
RenderLandscapeDetail = 2
RenderWaterDetail = 2
RenderBuildingDetail = 2
RenderEntityDetail = 2
RenderCloudDetail = 2
RenderPixelShader = 1
ControlMouseButtons = 3
RenderLandscapeUsingDisplayLists = 0
ManuallyScaleTextures = 0
StartMap = mine
UserProfile = none

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



gdb stack trace:

GNU gdb 6.0
Copyright 2003 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/darknova/darwinia/darwinia.x86...
(no debugging symbols found)...done.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) Attaching to program: /home/darknova/darwinia/darwinia.x86, process 8699
Reading symbols from ./libSDL-1.2.so.0...done.
Loaded symbols for ./libSDL-1.2.so.0
Reading symbols from /usr/lib/opengl/nvidia/lib/libGL.so.1...done.
Loaded symbols for /usr/lib/opengl/nvidia/lib/libGL.so.1
Reading symbols from /usr/lib/libGLU.so.1...done.
Loaded symbols for /usr/lib/libGLU.so.1
Reading symbols from ./libgcc_s.so.1...done.
Loaded symbols for ./libgcc_s.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/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/opengl/nvidia/lib/libGLcore.so.1...done.
Loaded symbols for /usr/lib/opengl/nvidia/lib/libGLcore.so.1
Reading symbols from /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1...done.
Loaded symbols for /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1
Reading symbols from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5...done.
Loaded symbols for /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5
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/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 /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Loaded symbols for /lib/libresolv.so.2
Loaded symbols for /lib/libresolv.so.2
0xb7daef8b in waitpid () from /lib/libc.so.6
(gdb) (gdb) (gdb) Detaching from program: /home/darknova/darwinia/darwinia.x86, process 8699
Last edited by ixplode on Sat Dec 25, 2004 5:41 am, edited 1 time in total.
`` The perfect blossom is a rare thing. You could spend your life looking for one, and it would not be a wasted life. ``
User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Postby ixplode » Sat Dec 25, 2004 5:40 am

In trying to reproduce this error, i made an officer and an engineer, and exited the program. It crashed as happened here and dumped the same blackbox as there too. Its possible that gdb is causeing this issue, cause in the other error where it just freezes X, it never gets to the gdb part of the blackbox.
`` The perfect blossom is a rare thing. You could spend your life looking for one, and it would not be a wasted life. ``
User avatar
John
Introversion Staff
Introversion Staff
Posts: 483
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Sat Dec 25, 2004 11:24 am

How often does it crash when you do this? All the time, some of the time or seldom?
Apage43
level1
level1
Posts: 11
Joined: Sun Nov 14, 2004 4:20 am

Postby Apage43 » Sat Dec 25, 2004 6:29 pm

I've gotten the same crash on exit on 4d as well, every time I've exited.
User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Postby ixplode » Sat Dec 25, 2004 7:40 pm

Pretty much any time i exit. Merry christmas to the linux crew btw.
`` The perfect blossom is a rare thing. You could spend your life looking for one, and it would not be a wasted life. ``
tjwhaynes
level0
Posts: 6
Joined: Sat Nov 13, 2004 4:56 pm
Location: Toronto, Canada
Contact:

X crashes on exit

Postby tjwhaynes » Wed Dec 29, 2004 10:38 pm

I'm getting a full blown Xfree86 crash whenever I exit. I've just run though the beta4d release and the same thing happens as before. The XFree86 server dies and I end up back at the GDM login screen. With beta4d I didn't get a blackbox.txt for this most recent crash.

This is on a Ubuntu AMD64 box running NVidia 6111 drivers.

If there was any console output it was lost. I can redirect the output to a file on the next time through to see if it matches the errors earlier in this thread.

Cheers,
Toby Haynes
sloth
level0
Posts: 9
Joined: Sat Nov 13, 2004 8:36 am
Location: Grass Valley, CA

A similar crash

Postby sloth » Thu Dec 30, 2004 6:46 am

My system crashed in a similar manner, however, I was only aware of the crash because I had read this post and I ran the game from an xterm (Konsole). The output in blackbox.txt is very similar but there is a little more information at the end, so I thought I would post it here in case it helps.

The difference on my system is that I have been unable to reproduce this error. Also, when the error occurred it had no negative affect on the performance of my system. As I stated before, I only knew an error had occurred because it said there was an error in the xterm window.


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

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

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

SysInfoGenVersion: 2
CpuVendor: AuthenticAMD
CpuModel: AMD Athlon(tm) XP 3000+
Num Processors: 1
Country: N/A
Language: N/A
Num sound devices: 1
Primary sound device: Unknown
Graphics Card: Unknown
Operating System: Linux 2.6.5-7.111.5-default
Computer Name: meerkat



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

USERNAME : sloth

EMAIL : sheckells74@hotmail.com


=========================
====== PREFERENCES ======
=========================

ServerAddress = 127.00
BypassNetwork = 1
SinglePlayer = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 1
SoundLibrary = software
SoundMixFreq = 22050
SoundMasterVolume = 255
SoundChannels = 16
SoundHW3D = 0
SoundSwapStereo = 0
SoundBufferSize = 2048
ScreenWidth = 1280
ScreenHeight = 1024
ScreenWindowed = 0
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 60
RenderLandscapeDetail = 1
RenderWaterDetail = 1
RenderBuildingDetail = 1
RenderEntityDetail = 1
RenderCloudDetail = 1
RenderPixelShader = 1
ControlMouseButtons = 3
RenderLandscapeUsingDisplayLists = 0
ManuallyScaleTextures = 0
StartMap = mine
UserProfile = none

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



gdb stack trace:

GNU gdb 6.1
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 "i586-suse-linux".
(gdb) Reading symbols from /home/pico/Games/Darwinia/darwinia/darwinia.x86...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) Attaching to program: /home/pico/Games/Darwinia/darwinia/darwinia.x86, process 5868
Reading symbols from /home/pico/Games/Darwinia/darwinia/libSDL-1.2.so.0...done.
Loaded symbols for /home/pico/Games/Darwinia/darwinia/libSDL-1.2.so.0
Reading symbols from /usr/lib/tls/libGL.so.1...done.
Loaded symbols for /usr/lib/tls/libGL.so.1
Reading symbols from /usr/lib/libGLU.so.1...done.
Loaded symbols for /usr/lib/libGLU.so.1
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /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/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 1083729728 (LWP 5868)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/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/tls/libGLcore.so.1...done.
Loaded symbols for /usr/lib/tls/libGLcore.so.1
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
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/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Loaded symbols for /lib/libnss_files.so.2
Loaded symbols for /lib/libnss_files.so.2
0xffffe410 in ?? ()
(gdb) 1 Thread 1083729728 (LWP 5868) 0xffffe410 in ?? ()
(gdb)
Thread 1 (Thread 1083729728 (LWP 5868)):
#0 0xffffe410 in ?? ()
#1 0xbfffbe8c in ?? ()
#2 0x00000000 in ?? ()
#3 0xbfffbd48 in ?? ()
#4 0x4024656b in __waitpid_nocancel () from /lib/tls/libc.so.6
#5 0x401f31cd in do_system () from /lib/tls/libc.so.6
#6 0x401f3592 in system () from /lib/tls/libc.so.6
#7 0x080a8dac in ?? ()
#8 0x080a9101 in ?? ()
#9 0x080a8ec4 in ?? ()
#10 <signal handler called>
#11 0x4050bb84 in _nv000052gl () from /usr/lib/tls/libGLcore.so.1
#0 0xffffe410 in ?? ()
(gdb) Detaching from program: /home/pico/Games/Darwinia/darwinia/darwinia.x86, process 5868


The sysinfo is incomplete, so, for the record:
SuSE Professional 9.1
Nvidia Geforce FX 5900 w/128Mb
drivers are Nvidia 5336 installed with SuSE's online update tool (Yast Online Update)
Sound is integrated Nvidia Nforce MCP-T, but for some reason SuSE installed the Intel8x0 sound card driver. Using KDE which uses ALSA.

Hope this helps, if I succeed in reproducing the error I will let you know.

sloth

UPDATE: I have found that my crashes are not due to GLXBadContext, please see my post below.
Last edited by sloth on Fri Dec 31, 2004 6:50 am, edited 1 time in total.
User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Postby ixplode » Thu Dec 30, 2004 10:17 pm

Install lspci for the sysinfo issues. And yeh im getting the same errors running it in konsole.
`` The perfect blossom is a rare thing. You could spend your life looking for one, and it would not be a wasted life. ``
ogott
level1
level1
Posts: 11
Joined: Tue Sep 28, 2004 11:43 am
Location: vienna, austria

Postby ogott » Fri Dec 31, 2004 4:37 am

hi,

i just got the same problem:

Code: Select all

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

X Error of failed request:  GLXBadContext
  Major opcode of failed request:  145 (GLX)
  Minor opcode of failed request:  4 (X_GLXDestroyContext)
  Serial number of failed request:  33
  Current serial number in output stream:  35

and my blackbox.txt:

Code: Select all

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

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

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

SysInfoGenVersion: 2
CpuVendor: AuthenticAMD
CpuModel: AMD Athlon 64 Processor 3000+
Num Processors: 1
Country: N/A
Language: N/A
Num sound devices: 1
Primary sound device: nVidia Corporation nForce3 Audio (rev a2)
Graphics Card: nVidia Corporation: Unknown device 0348 (rev a1)
Operating System: Linux 2.6.8.1
Computer Name: meteor



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

USERNAME : ogott

EMAIL    : ogott@gmx.net


=========================
====== PREFERENCES ======
=========================

ServerAddress = 127.00
BypassNetwork = 1
SinglePlayer = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 1
SoundLibrary = software
SoundMixFreq = 22050
SoundMasterVolume = 255
SoundChannels = 16
SoundHW3D = 0
SoundSwapStereo = 0
SoundBufferSize = 2048
ScreenWidth = 1024
ScreenHeight = 768
ScreenWindowed = 0
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 60
RenderLandscapeDetail = 1
RenderWaterDetail = 1
RenderBuildingDetail = 1
RenderEntityDetail = 1
RenderCloudDetail = 1
RenderPixelShader = 1
ControlMouseButtons = 3
RenderLandscapeUsingDisplayLists = 0
ManuallyScaleTextures = 0
StartMap = mine
UserProfile = ogott

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



gdb stack trace:

GNU gdb 6.1-debian
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 "i386-linux".
(gdb) Reading symbols from /usr/local/games/darwinia/darwinia.x86...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) Attaching to program: /usr/local/games/darwinia/darwinia.x86, process 17092
Reading symbols from ./libSDL-1.2.so.0...done.
Loaded symbols for ./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 /lib/libgcc_s.so.1...done.
Loaded symbols for /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/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 1082674656 (LWP 17092)]
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.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
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/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_compat.so.2...done.
Loaded symbols for /lib/tls/libnss_compat.so.2
Reading symbols from /lib/tls/libnsl.so.1...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /lib/tls/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/libnss_nis.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
0x410c5f71 in waitpid () from /lib/tls/libc.so.6
(gdb)   1 Thread 1082674656 (LWP 17092)  0x410c5f71 in waitpid ()
   from /lib/tls/libc.so.6
(gdb)
Thread 1 (Thread 1082674656 (LWP 17092)):
#0  0x410c5f71 in waitpid () from /lib/tls/libc.so.6
#1  0x41059b52 in system () from /lib/tls/libc.so.6
#2  0x410598f4 in system () from /lib/tls/libc.so.6
#3  0x080a8dac in ?? ()
#4  0x080a9101 in ?? ()
#5  0x080a8ec4 in ?? ()
#6  0xffffe440 in __kernel_sigreturn ()
#7  0x402f2a84 in _nv000807gl () from /usr/lib/libGLcore.so.1
#0  0x410c5f71 in waitpid () from /lib/tls/libc.so.6
(gdb) Detaching from program: /usr/local/games/darwinia/darwinia.x86, process 17092

that's it.

my graphics card is a Nvidia GeForce FX Go 5700 with 64 MB RAM; i'm using nvidia 6111 drivers on XFree86 4.3.0.1 (debian testing).


@ sloth: YaST probably chooses that driver because the chip is the same, or at least it's the same kernel driver. this is what the linux 2.6.8.1 kernel configuration says:

Code: Select all

CONFIG_SND_INTEL8X0:                                                                                               
  Say 'Y' or 'M' to include support for Intel8x0 based soundcards,
  SiS 7012, AMD768/8111, NVidia NForce and ALi 5455 chips.


ogott
sloth
level0
Posts: 9
Joined: Sat Nov 13, 2004 8:36 am
Location: Grass Valley, CA

Crash on Exit, not GLXBadContext

Postby sloth » Fri Dec 31, 2004 6:48 am

First off, in response to a previous post by ixplode, I have lspci installed and figured out the problem, see my post in the sysinfo thread here:
http://forums.introversion.co.uk/darwinia/viewtopic.php?t=1079

Crashing: I have reproduced the error several times, and found that it is not giving the GLXBadContext error message. Therefore I am starting a new thread entitled Crash on Exit, free(): invalid pointer.

Please disregard my previous post as my crash appears to be unrelated to GLXBadContext.

sloth
GeniusDex
level1
level1
Posts: 44
Joined: Fri Nov 12, 2004 10:58 pm
Location: Home, Netherlands
Contact:

Postby GeniusDex » Sun Jan 02, 2005 6:04 pm

I'm having exactly the same problem

Code: Select all

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

X Error of failed request:  GLXBadContext
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  4 (X_GLXDestroyContext)
  Serial number of failed request:  30
  Current serial number in output stream:  32


geniusdex@worm:~$ cat /usr/local/games/darwinia/blackbox.txt

Code: Select all

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

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

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

SysInfoGenVersion: 2
CpuVendor: AuthenticAMD
CpuModel: AMD Athlon(TM) XP 3000+
Num Processors: 1
Country: N/A
Language: N/A
Num sound devices: 1
Primary sound device: Creative Labs SB Live! EMU10k1 (rev 05)
Graphics Card: Silicon Integrated Systems [SiS] 86C326 5598/6326 (rev 0b)
Operating System: Linux 2.6.8.1
Computer Name: worm



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

USERNAME : GeniusDex

EMAIL    : geniusdex@anope.org


=========================
====== PREFERENCES ======
=========================

ServerAddress = 127.00
BypassNetwork = 1
SinglePlayer = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 1
SoundLibrary = software
SoundMixFreq = 44100
SoundMasterVolume = 255
SoundChannels = 16
SoundHW3D = 0
SoundSwapStereo = 0
SoundBufferSize = 2048
ScreenWidth = 1024
ScreenHeight = 768
ScreenWindowed = 0
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 60
RenderLandscapeDetail = 1
RenderWaterDetail = 1
RenderBuildingDetail = 1
RenderEntityDetail = 1
RenderCloudDetail = 1
RenderPixelShader = 1
ControlMouseButtons = 3
RenderLandscapeUsingDisplayLists = 0
ManuallyScaleTextures = 0
StartMap = mine
UserProfile = geniusdex

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



gdb stack trace:

GNU gdb 6.1-debian
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 "i386-linux".
(gdb) Reading symbols from /usr/local/games/darwinia/darwinia.x86...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) Attaching to program: /usr/local/games/darwinia/darwinia.x86, process 1275
Reading symbols from ./libSDL-1.2.so.0...done.
Loaded symbols for ./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 /lib/libgcc_s.so.1...done.
Loaded symbols for /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/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 1085939168 (LWP 1275)]
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.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
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/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_compat.so.2...done.
Loaded symbols for /lib/tls/libnss_compat.so.2
Reading symbols from /lib/tls/libnsl.so.1...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /lib/tls/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/libnss_nis.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
0x40273f71 in waitpid () from /lib/tls/libc.so.6
(gdb)   1 Thread 1085939168 (LWP 1275)  0x40273f71 in waitpid ()
   from /lib/tls/libc.so.6
(gdb)
Thread 1 (Thread 1085939168 (LWP 1275)):
#0  0x40273f71 in waitpid () from /lib/tls/libc.so.6
#1  0x40207b52 in system () from /lib/tls/libc.so.6
#2  0x402078f4 in system () from /lib/tls/libc.so.6
#3  0x080a90c8 in ?? ()
#4  0x080a941d in ?? ()
#5  0x080a91e0 in ?? ()
#6  0xffffe440 in __kernel_sigreturn ()
#7  0x40555a84 in _nv000807gl () from /usr/lib/libGLcore.so.1
#0  0x40273f71 in waitpid () from /lib/tls/libc.so.6
(gdb) Detaching from program: /usr/local/games/darwinia/darwinia.x86, process 1275


For the completeness the 2 videocards i have in lspci:

Code: Select all

0000:00:0d.0 VGA compatible controller: Silicon Integrated Systems [SiS] 86C326 5598/6326 (rev 0b)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3 Ti 200] (rev a3)


They're setup in xinerama with the geforce3 (nv20) being the right (play) monitor....
User avatar
John
Introversion Staff
Introversion Staff
Posts: 483
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Mon Jan 03, 2005 12:23 am

Stab in the dark, please can you try setting ManuallyScaleTextures = 1 in ~/.darwinia/demo/preferences.txt and see if that makes any difference?
User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Postby ixplode » Mon Jan 03, 2005 6:02 am

Set ManuallyScaleTextures to 1, then launched darwinia. It segfaulted with this error:

Code: Select all

bash-2.05b$ ~/darwinia/darwinia
SDL Version: Compiled against 1.2.8, running with 1.2.8
Creating ResourceManager: 0.8

Creating SoundSystem: 3.6

Creating ClientToServer: 3.6

Manually scaling bitmap (512, 196) to power of two (512, 512)
Manually scaling bitmap (512, 196) to power of two (512, 512)
Initialising SoundSystem : 4.6

Initialising SDL Audio
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
Frequency: 22050
Format: 32784
Channels: 2
Samples: 2048
Size of Stereo Sample: 4
Loading profile none

Global Internet time to generate : 31.78ms

Global Internet number of nodes  : 13701

Global Internet number of links  : 13700

Global Internet number of leafs  : 5040

CLIENT : Attempting connection...



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

/home/darknova/darwinia/darwinia: line 4: 10873 Killed                  $here/darwinia.x86


The blackbox.txt is as follows:

Code: Select all

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

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

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

SysInfoGenVersion: 2
CpuVendor: GenuineIntel
CpuModel: Pentium III (Coppermine)
Num Processors: 1
Country: N/A
Language: N/A
Num sound devices: 1
Primary sound device: Ensoniq ES1371 [AudioPCI-97] (rev 09)
Graphics Card: Intel Corp. 82810E DC-133 CGC [Chipset Graphics Controller] (rev 03)
Operating System: Linux 2.6.9
Computer Name: linova



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

USERNAME : ixplode

EMAIL    : ixplode@xxxxxxxxxx.net


=========================
====== PREFERENCES ======
=========================

ServerAddress = 127.00
BypassNetwork = 1
SinglePlayer = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 1
SoundLibrary = software
SoundMixFreq = 22050
SoundMasterVolume = 255
SoundChannels = 16
SoundHW3D = 0
SoundSwapStereo = 0
SoundBufferSize = 2048
ScreenWidth = 800
ScreenHeight = 600
ScreenWindowed = 1
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 60
RenderLandscapeDetail = 2
RenderWaterDetail = 2
RenderBuildingDetail = 2
RenderEntityDetail = 2
RenderCloudDetail = 2
RenderPixelShader = 1
ControlMouseButtons = 3
RenderLandscapeUsingDisplayLists = 0
ManuallyScaleTextures = 1
StartMap = mine
UserProfile = none

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

retAddress = 0x80e074e
retAddress = 0x80dfcc0
retAddress = 0x80df6bd
retAddress = 0xb7f4a1e9
retAddress = 0xb7f9515b
retAddress = 0xb7f9536f
retAddress = 0xb7cbd061
retAddress = 0xb7ddd65a


Failed to invoke gdb for backtrace



I set manuallyscaletextures back to 0 and the game launches fine. For whatever reason, it still cannot do the backtrace, and gdb is in my path and all that.
`` The perfect blossom is a rare thing. You could spend your life looking for one, and it would not be a wasted life. ``
User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Postby ixplode » Mon Jan 03, 2005 6:06 am

If it helps any... the X_GLXDestroyContext error only occurs when i do something in the game. For instance, when I open the game and promptly close it, it exits just fine, but if i build a few engineers or a squad or something and quit it give the error.

Edit #1: Wow, i didn't realize that 4f was out. Ill try reproducing the error in that to see if it makes a difference.

Edit #2: Tried it in 4f and it still persists, but it can actually launch with manuallyscaletextures on. But everything runs crappy and the audio is choppy. Also, the fonts look fuzzy too. Freezes the UI on exit if i do anything though.

Edit #3: Actually, uppon further review... it appears that 4f crashes on exit every time, no matter what. Also, and i dunno if this is me or darwinia, but restarting xdm manually from root yeilds an error saying that there was an error stopping the display manager. This was fixed by restarting the machine.
`` The perfect blossom is a rare thing. You could spend your life looking for one, and it would not be a wasted life. ``
GeniusDex
level1
level1
Posts: 44
Joined: Fri Nov 12, 2004 10:58 pm
Location: Home, Netherlands
Contact:

Postby GeniusDex » Mon Jan 03, 2005 11:22 am

ixplode wrote:Edit #2: Tried it in 4f and it still persists, but it can actually launch with manuallyscaletextures on. But everything runs crappy and the audio is choppy. Also, the fonts look fuzzy too. Freezes the UI on exit if i do anything though.


Made a screenshot, and it indeed looks quite fuzzy:

Image

A normal, sharp screenshot can be found here

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 2 guests