Segmentation Fault when changing Graphics/Resolution

Segmentation Fault when changing Graphics/Resolution

Postby JoeInMN » 17 Jun 2012, 23:39

My apologies if this has already been covered elsewhere...

STK 0.7.3 crashes with a segmentation fault when I try to change the graphics resolution from 800x600 to anything else. Uninstalling/reinstalling doesn't fix it. I moved the ~/.config/supertuxkart folder from my previous Mint 12 system into my current Mint 13, if that matters; deleting it before reinstalling doesn't help, though. I have MATE and KDE installed; it doesn't seem to matter which one I run. It runs fine if I leave it at 800x600.

The GUI just vanishes without any message. Here is the terminal output (the attempt to change resolution comes between the "startMusic" and "Segmentation fault" lines):

{l Code}: {l Select All Code}
jpl@jpl-powerspec-b701 ~ $ supertuxkart
Irrlicht Engine version 1.8.0-alpha
Linux 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:33:05 UTC 2012 i686
Could not load sprite bank because the file does not exist: #DefaultFont
[FileManager] Data files will be fetched from: '/usr/share/games/supertuxkart/'
[FileManager] Addons files will be stored in '/home/jpl/.local/share/supertuxkart/addons'.
[IrrDriver] Trying OpenGL rendering.
[IrrDriver Temp Logger] Level 3: Could not load sprite bank because the file does not exist: #DefaultFo
Missing wheel information 'front-right' for model 'blinky.b3d'.
This can be ignored, but the wheels will not rotate.
Missing wheel information 'front-left' for model 'blinky.b3d'.
This can be ignored, but the wheels will not rotate.
Missing wheel information 'rear-right' for model 'blinky.b3d'.
This can be ignored, but the wheels will not rotate.
Missing wheel information 'rear-left' for model 'blinky.b3d'.
This can be ignored, but the wheels will not rotate.
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-skin.rgb
[Irrlicht Warning] Could not open file of texture: cup_Sphere.002.rgb
startMusic : m_normal_filename=</usr/share/games/supertuxkart//data//music/MayDayMayhem.ogg>, gain
Segmentation fault
jpl@jpl-powerspec-b701 ~ $


My basic system information:

{l Code}: {l Select All Code}
jpl@jpl-powerspec-b701 ~ $ inxi -F
System:    Host: jpl-powerspec-b701 Kernel: 3.2.0-25-generic i686 (32 bit) Desktop: KDE 4.8.3 Distro: Linux Mint 13 Maya
Machine:   System: powerspec product: B701 version: 10/15/08
           Mobo: MSI model: MS-7366 version: 1.0 Bios: American Megatrends version: V2.4B1 date: 08/27/2008
CPU:       Quad core Intel Core2 Quad CPU Q8200 (-MCP-) cache: 2048 KB flags: (lm nx sse sse2 sse3 sse4_1 ssse3)
           Clock Speeds: 1: 2333.560 MHz 2: 2333.560 MHz 3: 2333.560 MHz 4: 2333.560 MHz
Graphics:  Card: NVIDIA C73 [GeForce 7100 / nForce 630i]
           X.Org: 1.11.3 drivers: nvidia (unloaded: fbdev,vesa,nouveau) Resolution: 1920x1080@50.0hz
           GLX Renderer: GeForce 7100 / nForce 630i/integrated/SSE2 GLX Version: 2.1.2 NVIDIA 295.49
Audio:     Card: NVIDIA MCP73 High Definition Audio driver: snd_hda_intel Sound: ALSA ver: 1.0.24
Network:   Card-1: NVIDIA MCP73 Ethernet driver: forcedeth
           IF: eth0 state: down mac: 00:21:85:99:22:94
           Card-2: Belkin F5D8053 N Wireless USB Adapter v3000 [Ralink RT2870] driver: rt2800usb
           IF: wlan0 state: up mac: 00:22:75:0b:ef:d2
Drives:    HDD Total Size: 1000.2GB (5.4% used) 1: /dev/sda WDC_WD5000AAKS 500.1GB
           2: /dev/sdb ST3500320AS 500.1GB
Partition: ID: / size: 464G used: 51G (12%) fs: ext4 ID: swap-1 size: 2.01GB used: 0.07GB (4%) fs: swap
Sensors:   Error: You do not have the sensors app installed.
Info:      Processes: 176 Uptime: 54 min Memory: 763.0/1886.5MB Client: Shell inxi: 1.7.33


Thanks for all of your work on my favorite Linux game.
User avatar
JoeInMN
 
Posts: 7
Joined: 14 Mar 2012, 08:30

Re: Segmentation Fault when changing Graphics/Resolution

Postby Auria » 19 Jun 2012, 04:05

Hi,

is there any chance you could run stk in gdb?

gdb supertuxkart
run
... make it crash ...
bt

thanks
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Segmentation Fault when changing Graphics/Resolution

Postby JoeInMN » 19 Jun 2012, 05:49

Here you go:

{l Code}: {l Select All Code}
jpl@jpl-powerspec-b701 ~ $ gdb supertuxkart
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/games/supertuxkart...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/games/supertuxkart
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Irrlicht Engine version 1.8.0-alpha
Linux 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:33:05 UTC 2012 i686
Could not load sprite bank because the file does not exist: #DefaultFont
[FileManager] Data files will be fetched from: '/usr/share/games/supertuxkart/'
[FileManager] Addons files will be stored in '/home/jpl/.local/share/supertuxkart/addons'.
[IrrDriver] Trying OpenGL rendering.
[IrrDriver Temp Logger] Level 3: Could not load sprite bank because the file does not exist: #DefaultFont
[New Thread 0xb4956b40 (LWP 21306)]
[New Thread 0xb3fffb40 (LWP 21307)]
[Thread 0xb3fffb40 (LWP 21307) exited]
[New Thread 0xb3fffb40 (LWP 21308)]
AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up
[New Thread 0xaf7fdb40 (LWP 21309)]
Missing wheel information 'front-right' for model 'blinky.b3d'.
This can be ignored, but the wheels will not rotate.
Missing wheel information 'front-left' for model 'blinky.b3d'.
This can be ignored, but the wheels will not rotate.
Missing wheel information 'rear-right' for model 'blinky.b3d'.
This can be ignored, but the wheels will not rotate.
Missing wheel information 'rear-left' for model 'blinky.b3d'.
This can be ignored, but the wheels will not rotate.
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-skin.rgb
[Irrlicht Warning] Could not open file of texture: cup_Sphere.002.rgb
startMusic : m_normal_filename=</usr/share/games/supertuxkart//data//music/MayDayMayhem.ogg>, gain=0.7

Program received signal SIGSEGV, Segmentation fault.
0x08377373 in ?? ()
(gdb) bt
#0  0x08377373 in ?? ()
#1  0x0834ffd0 in ?? ()
#2  0x0835e81f in ?? ()
#3  0x082f4acc in ?? ()
#4  0x0828bdf7 in ?? ()
#5  0x0828757a in ?? ()
#6  0x080b4ddf in ?? ()
#7  0x080b6e8c in ?? ()
#8  0x080b7643 in ?? ()
#9  0x0806b1d1 in ?? ()
#10 0x08069111 in ?? ()
#11 0x004d44d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#12 0x08064d51 in ?? ()
(gdb)


As before, the "Apply new resolution" button was clicked between the "startMusic" line and the next.

Thanks!
User avatar
JoeInMN
 
Posts: 7
Joined: 14 Mar 2012, 08:30

Re: Segmentation Fault when changing Graphics/Resolution

Postby Auria » 20 Jun 2012, 00:45

OK unfortunately it looks lioke your build has absolutely no debug symbols :( this will make debugging more difficult. Which binary are you using? If it's not the binary from our website I would suggest trying it first
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Segmentation Fault when changing Graphics/Resolution

Postby JoeInMN » 20 Jun 2012, 18:19

Hmm. I installed via the getdeb/playdeb repos (displayed in Software Sources as http://archive.getdeb.net/ubuntu precise-getdeb games). The supertuxkart-0.7.3-linux-glibc2.11-i386 download from the STK site does seem to work fine, however, so that looks like the solution for this.

Thanks!
User avatar
JoeInMN
 
Posts: 7
Joined: 14 Mar 2012, 08:30

Re: Segmentation Fault when changing Graphics/Resolution

Postby Auria » 22 Jun 2012, 01:37

glad that our package works. I find it troublesome that there is so much trouble with third-party packages :( hopefully when irrlicht 1.8 is released then packages will be more uniform
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Who is online

Users browsing this forum: Bing [Bot] and 1 guest