| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0001063 | Spring engine | Linux | public | 2008-10-02 17:34 | 2008-10-06 20:11 | ||||
| Reporter | andre | ||||||||
| Assigned To | zerver | ||||||||
| Priority | normal | Severity | crash | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Product Version | 0.76b1+svn | ||||||||
| Target Version | Fixed in Version | 0.76b1+svn | |||||||
| Summary | 0001063: Segmentation Fault at every Start | ||||||||
| Description | When 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 Information | System: Core2Quad Q6600 (no OC) 2GB OCZ DDR2 8800GT Kubuntu 8.04 Kernel: 2.6.24-19-generic  | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files | 
  | ||||||||
 Notes	 | 
|
| 
				
		 imbaczek (reporter) 2008-10-02 21:35 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 (reporter) 2008-10-02 22:54  | 
	i didn't use scons install, just started it out of the directory when scons was finished | 
| 
				
		 Auswaschbar (reporter) 2008-10-03 15:04  | 
	Please append the output when you run spring through gdb here. | 
| 
				
		 andre (reporter) 2008-10-05 17:20  | 
	
		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 (reporter) 2008-10-05 18:37  | 
	
		Could it be the issue with GML not working with Linux yet? try scons configure gml=no  | 
| 
				
		 Kloot (developer) 2008-10-05 19:24  | 
	
		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 (reporter) 2008-10-05 20:02  | 
	
		yes, that was the problem. thx i think it can be closed  | 
| 
				
		 zerver (reporter) 2008-10-05 21:14  | 
	
		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 (reporter) 2008-10-05 21:58  | 
	yes, now it is starting with gml=yes (rev. 6560) | 
| 
				
		 zerver (reporter) 2008-10-05 23:21  | 
	That's great! Do you have a dual/quad core CPU? | 
| 
				
		 andre (reporter) 2008-10-06 12:25  | 
	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 | 

	
