View Issue Details

IDProjectCategoryView StatusLast Update
0001063Spring engineLinuxpublic2008-10-06 20:11
Reporterandre Assigned Tozerver  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.76b1+svn 
Fixed in Version0.76b1+svn 
Summary0001063: Segmentation Fault at every Start
DescriptionWhen i try to start spring i get a black screen for less than a second and the console output just says "Segmentation Fault"

What i did:

svn co https://spring.clan-sy.com/svn/spring/trunk/
cd trunk
scons -j 4 configure
scons -j 4
cd game
./spring

strace output as attachment

(this also happens when i delete the .springrc File in my Home-Directory or when i change the data-dir)
Additional InformationSystem:
Core2Quad Q6600 (no OC)
2GB OCZ DDR2
8800GT
Kubuntu 8.04
Kernel: 2.6.24-19-generic
TagsNo tags attached.
Attached Files
strace.txt (Attachment missing)
gdb.txt (Attachment missing)
.springrc (Attachment missing)
Checked infolog.txt for Errors

Activities

imbaczek

2008-10-02 21:35

reporter   ~0002665

Last edited: 2008-10-02 21:36

seems that something is wrong with your /usr/local/share/games/spring/base/spring/.

no idea if that's the reason, though.

andre

2008-10-02 22:54

reporter   ~0002666

i didn't use scons install, just started it out of the directory when scons was finished

Auswaschbar

2008-10-03 15:04

reporter   ~0002668

Please append the output when you run spring through gdb here.

andre

2008-10-05 17:20

reporter   ~0002685

gdb output is appended, when i run spring through gdb a black window of spring stays open, even after the seg fault output in the console. the window disapperas first when i type "quit" into gdb.

i also appended my .springrc file.

zerver

2008-10-05 18:37

reporter   ~0002686

Could it be the issue with GML not working with Linux yet?

try scons configure gml=no

Kloot

2008-10-05 19:24

developer   ~0002687

Yes, that is the problem:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1232468256 (LWP 10709)]
0x084d5149 in SpringApp::SetSDLVideoMode (this=0xbff4de90) at rts/lib/gml/gmlcls.h:151
151 speedy_tls_get_int32(0, 0, 4, val);
(gdb) bt
#0 0x084d5149 in SpringApp::SetSDLVideoMode (this=0xbff4de90) at rts/lib/gml/gmlcls.h:151
#1 0x084d5b46 in SpringApp::InitWindow (this=0xbff4de90, title=0x899e664 "Spring 0.76b1+") at rts/System/SpringApp.cpp:379
#2 0x084d5c6a in SpringApp::Initialize (this=0xbff4de90) at rts/System/SpringApp.cpp:230
0000003 0x084d6d98 in SpringApp::Run (this=0xbff4de90, argc=1, argv=0xbff4df74) at rts/System/SpringApp.cpp:936
0000004 0x084f4663 in Run (argc=1, argv=0xbff4df74) at rts/System/Main.cpp:85
0000005 0x084f46b2 in main (argc=4, argv=0xc3b41ee) at rts/System/Main.cpp:101

andre

2008-10-05 20:02

reporter   ~0002688

yes, that was the problem. thx

i think it can be closed

zerver

2008-10-05 21:14

reporter   ~0002691

If you have the time, try updating from SVN now and see if it works with gml=yes.
I don't have Linux, so I need feedback to solve this issue.

andre

2008-10-05 21:58

reporter   ~0002692

yes, now it is starting with gml=yes (rev. 6560)

zerver

2008-10-05 23:21

reporter   ~0002693

That's great! Do you have a dual/quad core CPU?

andre

2008-10-06 12:25

reporter   ~0002696

Yes, Quadcore CPU

Issue History

Date Modified Username Field Change
2008-10-02 17:34 andre New Issue
2008-10-02 17:34 andre File Added: strace.txt
2008-10-02 21:35 imbaczek Note Added: 0002665
2008-10-02 21:36 imbaczek Note Edited: 0002665
2008-10-02 22:54 andre Note Added: 0002666
2008-10-03 15:04 Auswaschbar Note Added: 0002668
2008-10-05 17:18 andre File Added: gdb.txt
2008-10-05 17:20 andre Note Added: 0002685
2008-10-05 17:21 andre File Added: .springrc
2008-10-05 18:37 zerver Note Added: 0002686
2008-10-05 19:24 Kloot Note Added: 0002687
2008-10-05 20:02 andre Note Added: 0002688
2008-10-05 21:14 zerver Note Added: 0002691
2008-10-05 21:58 andre Note Added: 0002692
2008-10-05 23:21 zerver Note Added: 0002693
2008-10-06 12:25 andre Note Added: 0002696
2008-10-06 20:11 zerver Status new => resolved
2008-10-06 20:11 zerver Fixed in Version => 0.76b1+svn
2008-10-06 20:11 zerver Resolution open => fixed
2008-10-06 20:11 zerver Assigned To => zerver