View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0006081 | Spring engine | Mac OS X | public | 2018-11-15 20:26 | 2018-11-23 00:30 | ||||||||
Reporter | MasterBel | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Product Version | 104.0 +git | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0006081: Segmentation fault: 11 (SIGSEGV) in spring 104.0.1-1343-g957787a develop | ||||||||||||
Description | Immediate crash on launch, see log | ||||||||||||
Additional Information | Information provided by debugger: (lldb) run Process 41488 launched: '/Users/masterbel2/Spring/Builds/spring/spring' (x86_64) Process 41488 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x00000001006511e2 spring`springproc::ExecCPUID(a=0x0000000000000000, b=0x00007ffeefbff544, c=0x00007ffeefbff548, d=0x00007ffeefbff54c) at CpuID.cpp:49 46 "popq %%rbx" 47 : "=a" (*a), "=r" (*b), "=c" (*c), "=d" (*d) 48 : "0" (*a) -> 49 ); 50 #else 51 __asm__ __volatile__( 52 "pushl %%ebx\n\t" Target 0: (spring) stopped. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Checked infolog.txt for Errors | |||||||||||||
Attached Files |
|
Notes | |
Kloot (developer) 2018-11-16 20:02 |
"ExecCPUID(a=0x0000000000000000, b=0x00007ffeefbff544, c=0x00007ffeefbff548, d=0x00007ffeefbff54c)" none of the ExecCPUID callers ever pass in a nullptr for "a" which suggests either a miscompilation or broken asm. I can't debug this without access to an actual MacOS box. |
MasterBel (reporter) 2018-11-20 08:24 |
Would you be able to guide me through the debug, then? I've spent a couple full days on this and I'm out of ideas at how to track down the cause of the issue. |
Kloot (developer) 2018-11-21 18:14 |
able yes, willing less so because debugging asm by proxy on an alien platform is more than slightly unpleasant. for now just place a return at the top of ExecCPUID and compile with ENABLE_STREFLOP=false. |
MasterBel (reporter) 2018-11-22 06:49 |
Thanks, will do |
gajop (developer) 2018-11-23 00:30 |
I'm less able but more willing to try something like https://lldb.llvm.org/remote.html . Maybe entirely impossible to do with different architectures (Linux/Mac OSX). If you're interested contact me on Discord and we can arrange something (this Sunday maybe?) |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-11-15 20:26 | MasterBel | New Issue | |
2018-11-15 20:26 | MasterBel | File Added: errorlog.txt | |
2018-11-16 20:02 | Kloot | Note Added: 0019555 | |
2018-11-20 08:24 | MasterBel | Note Added: 0019561 | |
2018-11-21 18:14 | Kloot | Note Added: 0019566 | |
2018-11-22 06:49 | MasterBel | Note Added: 0019569 | |
2018-11-23 00:30 | gajop | Note Added: 0019571 |