Sunday, December 02, 2018

Re: statethreads crashes in ld on 6.4

On Sun, Dec 2, 2018 at 7:51 PM Edgar Pettijohn <edgar@pettijohn-web.com>
wrote:

> Sorry just saw it came with some examples. Testing with the `lookupdns'
> program
> ended with a Bus error (core dumped). Here is gdb output:
>
> Core was generated by `lookupdns'.
> Program terminated with signal SIGBUS, Bus error.
> #0 _longjmp () at /usr/src/lib/libc/arch/amd64/gen/_setjmp.S:99
> 99 1: movq %r11,0(%rsp)
> (gdb) bt
> #0 _longjmp () at /usr/src/lib/libc/arch/amd64/gen/_setjmp.S:99
> Backtrace stopped: Cannot access memory at address 0xb044815db732800f
>

Crashing on _longjmp() would suggest it's not happy with OpenBSD's
setjmp/longjmp XOR cookies, but those have been in for a while. If
statethreads were working for Claus with 6.3 then he's hitting something
different.


Philip

No comments:

Post a Comment