View Single Post
Old 08-03-2016, 09:29 PM   #16
_Enio_
Marquis
 
_Enio_'s Avatar
 
Join Date: Aug 2007
Location: Germany
Posts: 1,843
_Enio_ will become famous soon enough
Default

I did some debugging with Lebeau (kudos to your patience!)

Sadly, its way beyond library stuff. In the recently compiled game binaries, the CPU instructions LAHF/SAHF are used that is not compatible with some of the older 64Bit CPU

The "bt" on the crash:
Code:
Program received signal SIGILL, Illegal instruction.
0x00000000011966ba in ?? ()
(gdb) bt
#0  0x00000000011966ba in ?? ()
#1  0x000000000117cd20 in lua_pcall ()
#2  0x0000000000718e3e in lua_action::operator()(ActionableObject*, Message*)
    ()
#3  0x0000000000816c41 in ActionableObject::run_action(Message*, ActionData*, char const*, int) ()
#4  0x0000000000810234 in ActionableObject::receive_action(Message*) ()
#5  0x0000000000961789 in Entity::input_message_internal(Message*) ()
#6  0x000000000096657d in LuaEntity::input_message_internal(Message*) ()
#7  0x000000000097235f in ProxyEntity::receive_message_callback(Message*) ()
#8  0x0000000000961194 in Entity::input_message_internal(Message*) ()
#9  0x000000000093ee7a in EntityMessageQueue::process_a_message(Message*) ()
#10 0x0000000000941621 in EntityMessageQueue::process_messages() ()
#11 0x000000000093b0be in EntitySystem::poll_frame() ()
#12 0x000000000064f84b in GameClient::iterate() ()
#13 0x000000000072581d in MainLoop::iterate() ()
#14 0x0000000000645e38 in main ()


With the instruction creating the SIGILL:
Code:
(gdb) x/i $pc => 0x11966ba: sahf
/proc/cpuinfo reveals in the flags that lahf isnt supported
Code:
flags        :  fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36  clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm  constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl cid cx16 xtpr


specifically missing the flag
Code:
lahf_lm: Load AH from Flags (LAHF) and Store AH into Flags (SAHF) in long mode


Questions:

* Did something on the compile flags change / or the compiler version change in one of the recent releases?
* Can this be fixed on NGDs end?

__________________
Fix the Marksman subclass: Suggestion
_Enio_ no ha iniciado sesión   Reply With Quote