Current-Users archive

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

Re: comms/asterisk18 build failure on current/amd64



On Oct 12, 10:33am, wiz%NetBSD.org@localhost (Thomas Klausner) wrote:
-- Subject: Re: comms/asterisk18 build failure on current/amd64

| On Sun, Oct 09, 2011 at 04:55:40PM +0000, Christos Zoulas wrote:
| > Can you find where LOCAL_MARK_STACK_SIZE is defined and decrease it?
| 
| # grep -r LOCAL_MARK_STACK work/mono-2.10.2/             
| work/mono-2.10.2/libgc/mark.c:#define LOCAL_MARK_STACK_SIZE HBLKSIZE
| ...
| # grep -r define.*HBLKSIZE work/mono-2.10.2/
| work/mono-2.10.2/libgc/include/private/gcconfig.h:#         define HBLKSIZE 
4096
| ...
| 
| When I reduce LOCAL_MARK_STACK_SIZE to 2048, I get the following core dump:
| 
| (gdb) thread 4
| [Switching to thread 4 (process 402898)]#0  0x00007f7ff7409c50 in 
pthread__create_tramp (cookie=0x7f7fc8000000) at 
/archive/cvs/src/lib/libpthread/pthread.c:643
| 643     /archive/cvs/src/lib/libpthread/pthread.c: No such file or directory.
|         in /archive/cvs/src/lib/libpthread/pthread.c
| (gdb) bt
| #0  0x00007f7ff7409c50 in pthread__create_tramp (cookie=0x7f7fc8000000) at 
/archive/cvs/src/lib/libpthread/pthread.c:643
| #1  0x00007f7ff7076350 in ___lwp_park50 () from /usr/lib/libc.so.12
| 
| The others are in __lwp_park50
|  Thomas

Is that this line?
 
        pthread_mutex_lock(&pthread__deadqueue_lock);
->      PTQ_INSERT_HEAD(&pthread__deadqueue, thread, pt_deadq); 
        pthread_mutex_unlock(&pthread__deadqueue_lock);
 
        if (name != NULL) 
                free(name);



christos


Home | Main Index | Thread Index | Old Index