by SaveTheDoomer » Thu Sep 02, 2021 10:23 am
Just for fun, i re-tried with 1.1.0pre-663 with lldb and got this, it is slightly different from before :
Process 12428 stopped
* thread #1, name = 'raze', stop reason = signal SIGSEGV: invalid address (fault address: 0x555560413000)
frame #0: 0x00005555558fc72c raze`getzrange(vec3_t const*, short, int*, int*, int*, int*, int, unsigned int) + 396
raze`getzrange:
-> 0x5555558fc72c <+396>: movswq (%rax,%rdi,2), %rcx
0x5555558fc731 <+401>: movq 0x28(%rsp), %rdi
0x5555558fc736 <+406>: movq %rcx, %rax
0x5555558fc739 <+409>: shlq $0x4, %rax
(lldb) bt
* thread #1, name = 'raze', stop reason = signal SIGSEGV: invalid address (fault address: 0x555560413000)
* frame #0: 0x00005555558fc72c raze`getzrange(vec3_t const*, short, int*, int*, int*, int*, int, unsigned int) + 396
frame #1: 0x0000555555cd9a44 raze`Blood::GetZRange(spritetype*, int*, int*, int*, int*, int, unsigned int, unsigned int) + 468
frame #2: 0x0000555555d63d86 raze`Blood::MoveDude(Blood::DBloodActor*) + 4742
frame #3: 0x0000555555d69fd1 raze`Blood::actProcessSprites() + 2561
frame #4: 0x0000555555d6d043 raze`Blood::GameInterface::Ticker() + 499
frame #5: 0x00005555559254f5 raze`TryRunTics() + 3461
frame #6: 0x000055555592556d raze`MainLoop() + 77
frame #7: 0x000055555592c35e raze`RunGame() + 7006
frame #8: 0x000055555592d600 raze`GameMain() + 336
frame #9: 0x000055555576e063 raze`main + 259
frame #10: 0x00007ffff68fbb25 libc.so.6`__libc_start_main + 213
frame #11: 0x0000555555782d0e raze`_start + 46
Just for fun, i re-tried with 1.1.0pre-663 with lldb and got this, it is slightly different from before :
Process 12428 stopped
* thread #1, name = 'raze', stop reason = signal SIGSEGV: invalid address (fault address: 0x555560413000)
frame #0: 0x00005555558fc72c raze`getzrange(vec3_t const*, short, int*, int*, int*, int*, int, unsigned int) + 396
raze`getzrange:
-> 0x5555558fc72c <+396>: movswq (%rax,%rdi,2), %rcx
0x5555558fc731 <+401>: movq 0x28(%rsp), %rdi
0x5555558fc736 <+406>: movq %rcx, %rax
0x5555558fc739 <+409>: shlq $0x4, %rax
(lldb) bt
* thread #1, name = 'raze', stop reason = signal SIGSEGV: invalid address (fault address: 0x555560413000)
* frame #0: 0x00005555558fc72c raze`getzrange(vec3_t const*, short, int*, int*, int*, int*, int, unsigned int) + 396
frame #1: 0x0000555555cd9a44 raze`Blood::GetZRange(spritetype*, int*, int*, int*, int*, int, unsigned int, unsigned int) + 468
frame #2: 0x0000555555d63d86 raze`Blood::MoveDude(Blood::DBloodActor*) + 4742
frame #3: 0x0000555555d69fd1 raze`Blood::actProcessSprites() + 2561
frame #4: 0x0000555555d6d043 raze`Blood::GameInterface::Ticker() + 499
frame #5: 0x00005555559254f5 raze`TryRunTics() + 3461
frame #6: 0x000055555592556d raze`MainLoop() + 77
frame #7: 0x000055555592c35e raze`RunGame() + 7006
frame #8: 0x000055555592d600 raze`GameMain() + 336
frame #9: 0x000055555576e063 raze`main + 259
frame #10: 0x00007ffff68fbb25 libc.so.6`__libc_start_main + 213
frame #11: 0x0000555555782d0e raze`_start + 46