View Issue Details

IDProjectCategoryView StatusLast Update
0001426Spring engineLinuxpublic2009-05-29 15:40
ReporterLupus Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version0.79.0.2+git 
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.
Attached Files
cpuinfo.cpp (Attachment missing)
Checked infolog.txt for Errors

Activities

Kloot

2009-05-27 21:53

developer   ~0003517

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?

Auswaschbar

2009-05-27 22:06

reporter   ~0003518

Last edited: 2009-05-27 22:06

works for me without gml (64 bit, core2)

Lupus

2009-05-28 02:08

reporter   ~0003523

Last edited: 2009-05-28 02:08

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

Kloot

2009-05-28 21:41

developer   ~0003539

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.

Lupus

2009-05-28 23:47

reporter   ~0003541

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.

Kloot

2009-05-29 00:00

developer   ~0003542

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?

Lupus

2009-05-29 11:34

reporter   ~0003544

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...

Lupus

2009-05-29 13:17

reporter   ~0003547

posted this problem to 1432

Kloot

2009-05-29 15:40

developer   ~0003548

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

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