View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001426 | Spring engine | Linux | public | 2009-05-27 20:43 | 2009-05-29 15:40 | ||||
Reporter | Lupus | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.79.0.2+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001426: Fresh build of 4123b55488a8c09f5641f1cec06e1c4fd2544669 segfaults | ||||||||
Description | Just compiled version with GML fixes. It crashed without even starting. USE_GML USE_GML_DEBUG USE_GML_SIM | ||||||||
Additional Information | Program 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. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Notes | |
Kloot (developer) 2009-05-27 21:53 |
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 (reporter) 2009-05-27 22:06 Last edited: 2009-05-27 22:06 |
works for me without gml (64 bit, core2) |
Lupus (reporter) 2009-05-28 02:08 Last edited: 2009-05-28 02:08 |
compiled without GML, still crashes. Same backtrace. 64bit gentoo AMD X2 6k+ |
Kloot (developer) 2009-05-28 21:41 |
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 (reporter) 2009-05-28 23:47 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 (developer) 2009-05-29 00:00 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 (reporter) 2009-05-29 11:34 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 (reporter) 2009-05-29 13:17 |
posted this problem to 1432 |
Kloot (developer) 2009-05-29 15:40 |
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 |