[M3devel] OpenBSD/x86 pthreads
Tony Hosking
hosking at cs.purdue.edu
Fri Nov 20 15:58:38 CET 2009
This looks odd -- the assertion should not fail. It is reporting that
recorded stack base is not is not in range of the reported stack
info. What exactly does OpenBSD report in the sinfo? Which thread is
this? I need a full stack trace of all the threads to understand what
is going on here.
On 20 Nov 2009, at 04:01, Jay K wrote:
> Tony, I'm not sure we really care, but:
>
> (gdb) r
> The program being debugged has been started already.
> Start it from the beginning? (y or n) y
> Starting program: /home/jay/cm3/bin/Juno
> assertion "end >= sinfo.ss_sp" failed: file "../src/thread/PTHREAD/
> ThreadPThread
> C.c", line 180, function "ThreadPThread__ProcessStopped"
> Program received signal SIGABRT, Aborted.
> [Switching to process 5091, thread 0x85a73400]
> 0x042d5f81 in kill () from /usr/lib/libc.so.50.1
> (gdb) up
> #1 0x04322907 in abort () at /usr/src/lib/libc/stdlib/abort.c:68
> ...
> (gdb) up
> #2 0x042b185b in __assert2 (
> ...
> (gdb) up
> #3 0x00b92f24 in ThreadPThread__ProcessStopped (mt=0x85a73800,
> start=0x0,
> end=0x7fe80fb0, p=0xb736dc <RTCollector__NoteStackLocations>)
> at ../src/thread/PTHREAD/ThreadPThreadC.c:180
> 180 assert(end >= sinfo.ss_sp);
> (gdb) info locals
> sinfo = {ss_sp = 0x7fe81000, ss_size = 81920, ss_flags = 0}
> (gdb)
>
>
> - Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20091120/3d9b8933/attachment-0002.html>
More information about the M3devel
mailing list