STK 0.7 crashes badly...

STK 0.7 crashes badly...

Postby nigra » 12 Jan 2011, 12:08

At first I would like to thank all of developers for their work on STK!
It is my son's favorite game. We used last version several times, it runs without
any problem on our Ubuntu 10.10 i386 machine.

But version 0.7 crashes (finishes its running immediately) randomly without any error message
(if I run it from terminal), or with simple message "segmentation fault". Sometimes we can use it 3-5 minutes, sometimes not.
I used 0.7 Static binary, i386 and the ppa what you offered, too, both have the same problem with my system.
I tried switching off compiz, windowed mode, problem persists. I do not know how to get
more useful information for the debugging :-(

I use Nvidia card with offered closed driver.

I can not do anything, in this situation we can not use version 0.7., but we would like it!
My son asked my to write you, maybe you can change something. :-)

Please write if you want more information.

Thanx,
nigra
nigra
 
Posts: 9
Joined: 10 Jan 2011, 19:24

Re: STK 0.7 crashes badly...

Postby KroArtem » 12 Jan 2011, 13:02

The only thing I can suggest you (though I'm not a developer, may be they've got some other ideas) is to compile STK from source code with debug support. If this is done, one can launch stk via debugger and when game crashes it is possible to receive some useful information which can help to fix a bug.
However if I were you, I'd better wait developer's answer :)
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: STK 0.7 crashes badly...

Postby charlie » 12 Jan 2011, 14:04

Moving to appropriate STK forum.
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: STK 0.7 crashes badly...

Postby Auria » 12 Jan 2011, 14:52

Running stk in a debugger is done with :

gdb supertuxkart
run
# make STk crash...
bt


Now, I don't know what level of debugging symbols is included in the PPA, so if this provides insufficient information from the PPA binary you would need to build STK from source in debug mode
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: STK 0.7 crashes badly...

Postby acme_pjz » 12 Jan 2011, 14:59

Maybe you met this bug: viewtopic.php?p=8709#p8709 but I'm not sure :| This bug has recently fixed ...
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Re: STK 0.7 crashes badly...

Postby hiker » 12 Jan 2011, 23:30

acme_pjz {l Wrote}:Maybe you met this bug: viewtopic.php?p=8709#p8709 but I'm not sure :| This bug has recently fixed ...

Well, that bug doesn't really fit the 'sometimes 3-5 minutes' - it should mainly causes a crash at startup (hmm - or perhaps the first time a certain place on the track is reached), and even this is unlikely to happen. So I don't think this is the case.

Are you using PulseAudio? That is always causing problems. Try either disabling pulse audio, updating it, and/or disabling sfx and music in the addon menu (and then restarting stk just to be safe).

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: STK 0.7 crashes badly...

Postby nigra » 14 Jan 2011, 12:33

I installed STK from svn now, it works, we will test it soon.
Thank you for the idea!
nigra
 
Posts: 9
Joined: 10 Jan 2011, 19:24

Re: STK 0.7 crashes badly...

Postby nigra » 15 Jan 2011, 14:42

Experiences:
- switching off sounds or "pulseaudio --kill" do not help, problem persists.
- shooting "toilet pump" is fatal several times: 70% of crashes happens meantime, but not every toilet pump shooting yields crash.
- I have two types of crashes: one frozes the screen (ssh from an other machine and "killall -9 supertuxkart" helps only), the other is just exiting from the program.
- "gdb supertuxkart run" and so on results only this type messages:
Program received signal SIGSEGV, Segmentation fault.
0x081b9df0 in ?? ()
nigra
 
Posts: 9
Joined: 10 Jan 2011, 19:24

Re: STK 0.7 crashes badly...

Postby nigra » 15 Jan 2011, 15:32

... and it crashes in the case of shooting "toilet pump" me by the others, too.
nigra
 
Posts: 9
Joined: 10 Jan 2011, 19:24

Re: STK 0.7 crashes badly...

Postby Auria » 16 Jan 2011, 00:16

- "gdb supertuxkart run" and so on results only this type messages:
Program received signal SIGSEGV, Segmentation fault.
0x081b9df0 in ?? ()


When you reach this stage, please enter "bt" then press enter; this will give us the information we need
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: STK 0.7 crashes badly...

Postby nigra » 16 Jan 2011, 16:49

Maybe it is my fault. Please tell me what does "compile STK from source code with debug support" mean.
I just installed it in the simple "./autogen.sh, ./configure, make, sudo make install" way.
nigra
 
Posts: 9
Joined: 10 Jan 2011, 19:24

Re: STK 0.7 crashes badly...

Postby asciimonster » 16 Jan 2011, 16:54

nigra {l Wrote}:Maybe it is my fault. Please tell me what does "compile STK from source code with debug support" mean.
I just installed it in the simple "./autogen.sh, ./configure, make, sudo make install" way.

If I'm not mistaken (I predominantly use pre-packaged versions myself too) you need to add some options to configure
{l Code}: {l Select All Code}
 % ./configure --enable-debug=yes
asciimonster
 
Posts: 375
Joined: 03 Dec 2009, 18:24

Re: STK 0.7 crashes badly...

Postby nigra » 16 Jan 2011, 16:59

Did you think this : "./configure --enable-debug" ?

Edited: OK, meantime I got the answer :-), thanx!

I am trying this way.
Last edited by nigra on 16 Jan 2011, 17:01, edited 1 time in total.
nigra
 
Posts: 9
Joined: 10 Jan 2011, 19:24

Re: STK 0.7 crashes badly...

Postby KroArtem » 16 Jan 2011, 17:00

Yes, that's exactly what you need :)
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: STK 0.7 crashes badly...

Postby nigra » 16 Jan 2011, 17:58

At this moment svn version does not work for me. I can choose the car, the track, but the race does not start.

(gdb) run
Starting program: /usr/local/games/supertuxkart
[Thread debugging using libthread_db enabled]
Irrlicht Engine version 1.7.2
Linux 2.6.35-24-generic-pae #42-Ubuntu SMP Thu Dec 2 03:21:31 UTC 2010 i686
[FileManager] Data files will be fetched from: '/usr/local/share/games/supertuxkart/'
[IrrDriver] Creating NULL device
Irrlicht Engine version 1.7.2
Linux 2.6.35-24-generic-pae #42-Ubuntu SMP Thu Dec 2 03:21:31 UTC 2010 i686
[IrrDriver] Trying OpenGL rendering.
[IrrDriver] Trying to create device with 32 bits
[New Thread 0xb344eb70 (LWP 2069)]
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'bumpy_surface.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke_yellow.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke_yellow.xml' for material 'brick.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'chess.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'city_asphalt_1.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'city_checker.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'concrete.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke_brown.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke_brown.xml' for material 'earth.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'greenice.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'hacienda_ground.png'
[Irrlicht Error] Could not load texture:
[IrrDriver] Texture '' not found; Put a breakpoint at line graphics/irr_driver.cpp:766 to debug!
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'ice.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke_brown.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke_brown.xml' for material 'Paving_stones_2.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'roadway.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke_brown.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke_brown.xml' for material 'road_dirt.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke_yellow.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke_yellow.xml' for material 'sand.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke_yellow.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke_yellow.xml' for material 'sandgrass.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke_yellow.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke_yellow.xml' for material 'sand2.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'snow.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'snowyroad.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'track.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'track2.jpg'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'trackborder.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke_yellow.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke_yellow.xml' for material 'yellow_dirt.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/karts/elephpant/materials.xml
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/karts/gnu/materials.xml
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/karts/gooey/materials.xml
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/karts/hexley/materials.xml
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/karts/konqi/materials.xml
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/karts/mozilla/materials.xml
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/karts/tux/materials.xml
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/karts/wilber/materials.xml
startMusic : m_normal_filename=</usr/local/share/games/supertuxkart//data//music/MayDayMayhem.ogg>, gain=0.4
[KartSelectionScreen] WARNING: the focus dispatcher can't find the widget for player 0!
The following message will not be printed in release mode:
[Irrlicht Error] Unsupported texture format
The following message will not be printed in release mode:
[Irrlicht Error] Unsupported texture format
[Irrlicht Error] Could not load texture:
[IrrDriver] Texture '' not found; Put a breakpoint at line graphics/irr_driver.cpp:766 to debug!
[Irrlicht Error] Could not load texture:
[IrrDriver] Texture '' not found; Put a breakpoint at line graphics/irr_driver.cpp:766 to debug!
[Irrlicht Error] Could not load texture:
[IrrDriver] Texture '' not found; Put a breakpoint at line graphics/irr_driver.cpp:766 to debug!
[Irrlicht Error] Could not load texture:
[IrrDriver] Texture '' not found; Put a breakpoint at line graphics/irr_driver.cpp:766 to debug!
[Irrlicht Error] Could not load texture:
[IrrDriver] Texture '' not found; Put a breakpoint at line graphics/irr_driver.cpp:766 to debug!
Invalid graphical effect specification: 'smoke' - ignored.
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke_brown.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke_brown.xml' for material 'canyon_asphalt_blend_1.png'
Invalid graphical effect specification: 'smoke' - ignored.
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke.xml' for material 'canyon_dirt_road.png'
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke_brown.xml
[Material::initParticlesEffect] WARNING: Cannot find particles 'smoke_brown.xml' for material 'canyon_ground.png'
The following message will not be printed in release mode:
[Irrlicht Error] Unsupported texture format
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
Warning: while loading track 'canyon', element 'zipper' was met but is unknown.
straight_frame = 20
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[ParticleKind] Cannot find file /usr/local/share/games/supertuxkart//data/smoke.xml
[FileManager::createXMLTree] Cannot find file /usr/local/share/games/supertuxkart//data/splash.xml
terminate called after throwing an instance of 'std::runtime_error'
what(): [ParticleKind] Cannot find file /usr/local/share/games/supertuxkart//data/splash.xml

Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()

(gdb) bt
#0 0xb7fe1424 in __kernel_vsyscall ()
#1 0xb77f8941 in raise () from /lib/libc.so.6
#2 0xb77fbe42 in abort () from /lib/libc.so.6
#3 0xb7a1b055 in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib/libstdc++.so.6
#4 0xb7a18f35 in ?? () from /usr/lib/libstdc++.so.6
#5 0xb7a18f72 in std::terminate() () from /usr/lib/libstdc++.so.6
#6 0xb7a190e1 in __cxa_throw () from /usr/lib/libstdc++.so.6
#7 0x08098bf6 in ParticleKind::ParticleKind (this=0xcc46f28, file=...)
at graphics/particle_kind.cpp:70
#8 0x0809b81f in ParticleKindManager::getParticles (this=0x8b94da8,
name=0x8237b58 "splash.xml") at graphics/particle_kind_manager.cpp:53
#9 0x0811c0ec in Kart::loadData (this=0xcc9c028) at karts/kart.cpp:1472
#10 0x0811d6e7 in Kart::Kart (this=0xcc9c028, ident=..., position=1,
init_transform=...) at karts/kart.cpp:142
#11 0x08137209 in World::createKart (this=0xcf9f9a0, kart_ident=..., index=0,
local_player_id=-1, global_player_id=-1) at modes/world.cpp:177
#12 0x08138e0a in World::init (this=0xcf9f9a0) at modes/world.cpp:141
#13 0x0813b1d9 in WorldWithRank::init (this=0xcf9f9a0)
at modes/world_with_rank.cpp:25
#14 0x08130259 in LinearWorld::init (this=0xcf9f9a0)
at modes/linear_world.cpp:52
#15 0x0815daaf in RaceManager::startNextRace (this=0x89c8a30)
nigra
 
Posts: 9
Joined: 10 Jan 2011, 19:24

Re: STK 0.7 crashes badly...

Postby Auria » 16 Jan 2011, 21:44

Hi,

thanks. I know why this occurs - this is simply because we haven't tested make install recently, if you run STK locally without doing make install, this crash will not occur.

We will make sure to fix this
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: STK 0.7 crashes badly...

Postby nigra » 23 Jan 2011, 18:42

Using svn version program crashes only average 1 times/hour, so it is playable.
But bt does not give much informations...

Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fe1424 in __kernel_vsyscall ()
Cannot access memory at address 0xbfffee9c
nigra
 
Posts: 9
Joined: 10 Jan 2011, 19:24

Re: STK 0.7 crashes badly...

Postby Auria » 24 Jan 2011, 00:13

nigra, is this a debug build? Your bt is very limited and not very helpful to us :/
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: STK 0.7 crashes badly...

Postby hiker » 24 Jan 2011, 02:01

nigra {l Wrote}:Using svn version program crashes only average 1 times/hour, so it is playable.

Well, that's still not acceptable :)
But bt does not give much informations...

Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fe1424 in __kernel_vsyscall ()
Cannot access memory at address 0xbfffee9c

That's strange if it is a debug build. Did you compile irrlicht in debug mode as well (though it should still show the stack trace). Did you enable the addon manager (if so, please disable it, which should be the default anyway).

Are there perhaps any threads active? Try using 'thread 1' and then 'where' (or bt), and/or 'thread 2', ...

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Who is online

Users browsing this forum: No registered users and 1 guest