Page 1 of 1

Segmentation Fault

PostPosted: 05 Sep 2012, 17:46
by modz
hi,

i get this error
$ ./supertuxkart
Irrlicht Engine version 1.8.0-alpha
Linux 3.2.28 #2 SMP Thu Aug 23 12:43:19 CDT 2012 x86_64
[FileManager] Data files will be fetched from: '/home/dhamma/opt/stk-current/share/supertuxkart'
[FileManager] Addons files will be stored in '/home/dhamma/.local/share/supertuxkart/addons'.
[translate] Env var LANGUAGE = 'en_US'
[translate] Env var LANGUAGE = 'en_US', which corresponds to 'English (United States)'
Adding language fallback en
Segmentation fault


i'm using revision 115522, my OS slackware-current 64bit.

is there a way i can do?

thanks

Re: Segmentation Fault

PostPosted: 05 Sep 2012, 17:51
by Arthur
We'd need a backtrace. 'gdb supertuxkart' without the quotes, wait till it crashes, then 'bt full'.
Also, what revision of Irrlicht do you use.

Re: Segmentation Fault

PostPosted: 05 Sep 2012, 18:10
by modz
$ gdb supertuxkart
GNU gdb (GDB) 7.5
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 "x86_64-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/dhamma/opt/stk-current/bin/supertuxkart...done.
(gdb) bt full
No stack.
(gdb)


i'm using irrlicht revision 4306

Re: Segmentation Fault

PostPosted: 05 Sep 2012, 18:34
by Arthur
No stack, so you didn't build with debug enabled. It's nigh impossible to figure what this could be caused by then, unless it so happens to be something that only happens in release builds and thus the devs can reproduce the problem themselves.

Re: Segmentation Fault

PostPosted: 05 Sep 2012, 18:47
by redskull
I got a segfault with Irrlicht r4306 too. Here is mentionned r4256 as known to work, with this one the segfault is gone.

Re: Segmentation Fault

PostPosted: 06 Sep 2012, 03:39
by acme_pjz
Arthur {l Wrote}:No stack, so you didn't build with debug enabled. It's nigh impossible to figure what this could be caused by then, unless it so happens to be something that only happens in release builds and thus the devs can reproduce the problem themselves.


No, he forgot to 'run' ;)