2024-03-28 12:46 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001426Spring engineLinuxpublic2009-05-29 15:40
ReporterLupus 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version0.79.0.2+git 
Target VersionFixed in Version 
Summary0001426: Fresh build of 4123b55488a8c09f5641f1cec06e1c4fd2544669 segfaults
DescriptionJust compiled version with GML fixes. It crashed without even starting.
USE_GML
USE_GML_DEBUG
USE_GML_SIM
Additional InformationProgram received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f70c2c60750 (LWP 31897)]
0x0000000000944321 in ExecCPUID ()
(gdb) bt full
#0 0x0000000000944321 in ExecCPUID ()
No locals.
#1 0x00000000009448a9 in CMyMath::Init ()
No locals.
#2 0x00000000009408b4 in main ()
No locals.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0003517

Kloot (developer)

Does it work if you compile without the USE_GML* flags? (Probably not, but I have not tested with them since I do not own a multi-core CPU)

If not, what kind of processor does your machine have?

~0003518

Auswaschbar (reporter)

Last edited: 2009-05-27 22:06

works for me without gml (64 bit, core2)

~0003523

Lupus (reporter)

Last edited: 2009-05-28 02:08

compiled without GML, still crashes. Same backtrace.
64bit gentoo AMD X2 6k+

~0003539

Kloot (developer)

Lupus: could you compile and run the attached source file (cpuinfo.cpp) for me? Just do

g++ -Wall -Wextra -O2 -g cpuinfo.cpp -o cpuinfo
./cpuinfo

from a terminal and see what is printed. Thanks.

~0003541

Lupus (reporter)

Last edited: 2009-05-28 23:49

lupus@localhost ~ $ cd tmp
lupus@localhost ~/tmp $ g++ -Wall -Wextra -O2 -g cpuinfo.cpp -o cpuinfo
cpuinfo.cpp:79: warning: unused parameter ÔÇÿargcÔÇÖ
cpuinfo.cpp:79: warning: unused parameter ÔÇÿargvÔÇÖ
lupus@localhost ~/tmp $ ./cpuinfo
maxStdLvl: 0x00000001, maxExtLvl: 0x80000018
SSE bitmask: 120, CPU SSE flags:
    SSE 1.0: 1, SSE 2.0: 1
    SSE 3.0: 1, SSSE 3.0: 0
    SSE 4.1: 0, SSE 4.2: 0
    SSE 4.0A: 0, SSE 5.0A: 0
It should have crashed? :)
I tried to compile this commit once more to be confident. It crashes with or without GML stuff.

~0003542

Kloot (developer)

Last edited: 2009-05-29 00:37

Great! Guess my asm isn't what it used to be; I got the replacement code (which is simpler to boot) from the bochs emulator project. I'll commit it to master.

Edit: done. Could you compile and test one last time to be sure everything's OK now?

~0003544

Lupus (reporter)

Last edited: 2009-05-29 11:47

Sure. Downloading 201f57367156485dbe922a4437e034af6af58d9d...
EDIT: At least it runs. But it hangs on mod selection menu :-p Rebuilding in Debug...

~0003547

Lupus (reporter)

posted this problem to 1432

~0003548

Kloot (developer)

Cheers, we can at least mark this crash resolved then.
+Notes

-Issue History
Date Modified Username Field Change
2009-05-27 20:43 Lupus New Issue
2009-05-27 21:53 Kloot Note Added: 0003517
2009-05-27 22:06 Auswaschbar Note Added: 0003518
2009-05-27 22:06 Auswaschbar Note Edited: 0003518
2009-05-28 02:08 Lupus Note Added: 0003523
2009-05-28 02:08 Lupus Note Edited: 0003523
2009-05-28 21:41 Kloot Note Added: 0003539
2009-05-28 21:41 Kloot File Added: cpuinfo.cpp
2009-05-28 23:47 Lupus Note Added: 0003541
2009-05-28 23:49 Lupus Note Edited: 0003541
2009-05-29 00:00 Kloot Note Added: 0003542
2009-05-29 00:32 Kloot Note Edited: 0003542
2009-05-29 00:37 Kloot Note Edited: 0003542
2009-05-29 11:34 Lupus Note Added: 0003544
2009-05-29 11:47 Lupus Note Edited: 0003544
2009-05-29 13:17 Lupus Note Added: 0003547
2009-05-29 15:40 Kloot Note Added: 0003548
2009-05-29 15:40 Kloot Status new => resolved
2009-05-29 15:40 Kloot Fixed in Version => master
2009-05-29 15:40 Kloot Resolution open => fixed
2009-05-29 15:40 Kloot Assigned To => Kloot
+Issue History