(09-30-2015, 02:17 AM)xpansive Wrote: The deadlock is still occurring with the latest patch. Running the executable briefly turns the screen black before returning to the console, where it becomes stuck in an infinite loop.
Here's the code where the infinite loop is occurring disassembled:
(gdb) disassemble 0x0000000000b5c6e0,+57
Dump of assembler code from 0xb5c6e0 to 0xb5c719:
0x0000000000b5c6e0 <_ZN3hpl7cEngine3RunEv+240>: mov $0x64,%edi
0x0000000000b5c6e5 <_ZN3hpl7cEngine3RunEv+245>: callq 0xe84660 <_ZN3hpl9cPlatform5SleepEj>
0x0000000000b5c6ea <_ZN3hpl7cEngine3RunEv+250>: mov 0xb0(%r12),%rdi
0x0000000000b5c6f2 <_ZN3hpl7cEngine3RunEv+258>: mov (%rdi),%rax
0x0000000000b5c6f5 <_ZN3hpl7cEngine3RunEv+261>: movss 0xdef35b(%rip),%xmm0 # 0x194ba58
0x0000000000b5c6fd <_ZN3hpl7cEngine3RunEv+269>: callq *0x30(%rax)
0x0000000000b5c700 <_ZN3hpl7cEngine3RunEv+272>: mov 0xb0(%r12),%rax
0x0000000000b5c708 <_ZN3hpl7cEngine3RunEv+280>: mov 0xf0(%rax),%rdi
0x0000000000b5c70f <_ZN3hpl7cEngine3RunEv+287>: mov (%rdi),%rax
0x0000000000b5c712 <_ZN3hpl7cEngine3RunEv+290>: callq *0x20(%rax)
0x0000000000b5c715 <_ZN3hpl7cEngine3RunEv+293>: test %al,%al
=> 0x0000000000b5c717 <_ZN3hpl7cEngine3RunEv+295>: je 0xb5c6e0 <_ZN3hpl7cEngine3RunEv+240>
End of assembler dump.
(gdb)
The je instruction on the last line always branches, and the whole thing repeats again.
If possible I'd love to get a backtrace of all threads at that point (type "thread apply all backtrace"). Thanks.
Also make sure you are running with the new libSDL that I've uploaded that should no longer has the dbus crash.