tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cmake core dumps in -6 emulation



> Ktrace it
As mentioned, that doesn't work (well, it works, which is the problem).

> there are 3 err() calls in pthread__init()

Starting with
	#8  0x000071b551460ac0 in err () from /usr/lib/libc.so.12
	#9  0x000071b55240c47b in pthread__init () from /usr/lib/libpthread.so.1
I disassembled a bit before 0x000071b55240c47b, the relevant part being
	0x71b55240c468 <pthread__init+1265>: lea    0x56a(%rip),%rsi        # 0x71b55240c9d9
	0x71b55240c46f <pthread__init+1272>: mov    $0x1,%edi
	0x71b55240c474 <pthread__init+1277>: xor    %eax,%eax
	0x71b55240c476 <pthread__init+1279>: callq  0x71b552405eb0 <err@plt>
	0x71b55240c47b <pthread__hashlock>:  mov    %rdi,%rax
and x/s 0x71b55240c9d9 says
	0x71b55240c9d9:  "mprotect stack"

So what's going wrong?


Home | Main Index | Thread Index | Old Index