all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* problems building trunk in OpenBSD/i386
@ 2007-07-12  9:37 Ryan Yeske
  2007-07-12 11:07 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Ryan Yeske @ 2007-07-12  9:37 UTC (permalink / raw)
  To: emacs-devel


cvs update -A
./configure
make bootstrap

I get the error:

./temacs --batch --load loadup bootstrap
pid 17656: Fatal error 'Cannot create kernel pipe' at line 200 in file /usr/src/lib/libpthread/uthread/uthread_init.c (errno = 24)
*** Signal 6

EMACS_22_BASE is the last version that I know builds fine on this platform.

Advice on how to proceed in debugging this appreciated.

$ uname -a
OpenBSD tarn.lan 4.1 GENERIC#1435 i386

$ gdb ./temacs
gdb ./temacs
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd4.1"...
DISPLAY = :0.0
TERM = dumb
Breakpoint 1 at 0x80fd37d: file sysdep.c, line 1385.
(gdb) run --batch --load loadup bootstrap
Starting program: /home/rcy/emacs/src/temacs --batch --load loadup bootstrap
pid 13391: Fatal error 'Cannot create kernel pipe' at line 200 in file /usr/src/lib/libpthread/uthread/uthread_init.c (errno = 24)

Program received signal SIGABRT, Aborted.
0x495a052d in kill () from /usr/lib/libc.so.40.3
(gdb) bt
#0  0x495a052d in kill () from /usr/lib/libc.so.40.3
#1  0x4b53f9f8 in _thread_exit (fname=0x6b533460 "/usr/src/lib/libpthread/uthread/uthread_init.c", 
    lineno=200, string=0x6b53338f "Cannot create kernel pipe")
    at /usr/src/lib/libpthread/uthread/uthread_exit.c:139
#2  0x4b53acb9 in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:330
#3  0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#4  0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#5  0x08184f6d in __malloc_initialize () at gmalloc.c:615
#6  0x081856c1 in malloc (size=3072) at gmalloc.c:982
#7  0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#8  0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#9  0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#10 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#11 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#12 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#13 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#14 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#15 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#16 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#17 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#18 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#19 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#20 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#21 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#22 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#23 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#24 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#25 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#26 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#27 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#28 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#29 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#30 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#31 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#32 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#33 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#34 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#35 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#36 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#37 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#38 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#39 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#40 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#41 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#42 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#43 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#44 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#45 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#46 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#47 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#48 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#49 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#50 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#51 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#52 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#53 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#54 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#55 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#56 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#57 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#58 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#59 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#60 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#61 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#62 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#63 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#64 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#65 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#66 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#67 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#68 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#69 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#70 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#71 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#72 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#73 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#74 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#75 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#76 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#77 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#78 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#79 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#80 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#81 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#82 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#83 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#84 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#85 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#86 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#87 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#88 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#89 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#90 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#91 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#92 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#93 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#94 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#95 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#96 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#97 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#98 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#99 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c) at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#100 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#101 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#102 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#103 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#104 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#105 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#106 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#107 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#108 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#109 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#110 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#111 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#112 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#113 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#114 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#115 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#116 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#117 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#118 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#119 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#120 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#121 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#122 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#123 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#124 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#125 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#126 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#127 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#128 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#129 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#130 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#131 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#132 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#133 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#134 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#135 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#136 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#137 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#138 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#139 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#140 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#141 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#142 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#143 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#144 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#145 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#146 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#147 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#148 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#149 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#150 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#151 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#152 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#153 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#154 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#155 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#156 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#157 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#158 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#159 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#160 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#161 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#162 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#163 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#164 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#165 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#166 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#167 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#168 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#169 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#170 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#171 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#172 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#173 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#174 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#175 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#176 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#177 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#178 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#179 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#180 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#181 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#182 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#183 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#184 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#185 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#186 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#187 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#188 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#189 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#190 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#191 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#192 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#193 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#194 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#195 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#196 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#197 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#198 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#199 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#200 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#201 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#202 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#203 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#204 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#205 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#206 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#207 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#208 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#209 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#210 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#211 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#212 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#213 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#214 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#215 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#216 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#217 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#218 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#219 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#220 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#221 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#222 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#223 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#224 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#225 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#226 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#227 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#228 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#229 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#230 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#231 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#232 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#233 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#234 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#235 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#236 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#237 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#238 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#239 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#240 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#241 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#242 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#243 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#244 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#245 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#246 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#247 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#248 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#249 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#250 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#251 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#252 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#253 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#254 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#255 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#256 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#257 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#258 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#259 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#260 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#261 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#262 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#263 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#264 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#265 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#266 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#267 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#268 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#269 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#270 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#271 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#272 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#273 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#274 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#275 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#276 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#277 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#278 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#279 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#280 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#281 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#282 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#283 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#284 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#285 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#286 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#287 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#288 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#289 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#290 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#291 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#292 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#293 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#294 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#295 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#296 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#297 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#298 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#299 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#300 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#301 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#302 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#303 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#304 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#305 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#306 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#307 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#308 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#309 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#310 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#311 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#312 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#313 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#314 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#315 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#316 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#317 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#318 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#319 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#320 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#321 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#322 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#323 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#324 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#325 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#326 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#327 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#328 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#329 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#330 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#331 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#332 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#333 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#334 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#335 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#336 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#337 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#338 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#339 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#340 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#341 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#342 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#343 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#344 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#345 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#346 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#347 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#348 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#349 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#350 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#351 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#352 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#353 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#354 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#355 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#356 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#357 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#358 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#359 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#360 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#361 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#362 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#363 0x4b541519 in pthread_mutex_lock (mutex=0x82ba70c)
    at /usr/src/lib/libpthread/uthread/uthread_mutex.c:663
#364 0x4b538f48 in pthread_once (once_control=0x82ba708, init_routine=0x8184e50 <malloc_initialize_1>)
    at /usr/src/lib/libpthread/uthread/uthread_once.c:45
#365 0x08184f6d in __malloc_initialize () at gmalloc.c:615
#366 0x081856c1 in malloc (size=3072) at gmalloc.c:982
#367 0x4b545a31 in _pq_alloc (pq=0x6b53ab8c, minprio=0, maxprio=0)
    at /usr/src/lib/libpthread/uthread/uthread_priority_queue.c:96
#368 0x4b53a9db in _thread_init () at /usr/src/lib/libpthread/uthread/uthread_init.c:220
#369 0x4b53b0b6 in _thread_init_constructor () at /usr/src/lib/libpthread/uthread/uthread_autoinit.c:36
#370 0x4b537f05 in ?? () from /usr/lib/libpthread.so.7.0
#371 0x7750e18c in ?? () from /usr/libexec/ld.so
#372 0x00000000 in ?? ()

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems building trunk in OpenBSD/i386
  2007-07-12  9:37 problems building trunk in OpenBSD/i386 Ryan Yeske
@ 2007-07-12 11:07 ` Eli Zaretskii
  2007-07-12 17:22   ` Ken Raeburn
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2007-07-12 11:07 UTC (permalink / raw)
  To: Ryan Yeske; +Cc: emacs-devel

> Date: Thu, 12 Jul 2007 02:37:33 -0700
> From: Ryan Yeske <rcyeske@gmail.com>
> 
> 
> cvs update -A
> ./configure
> make bootstrap
> 
> I get the error:
> 
> ./temacs --batch --load loadup bootstrap
> pid 17656: Fatal error 'Cannot create kernel pipe' at line 200 in file /usr/src/lib/libpthread/uthread/uthread_init.c (errno = 24)
> *** Signal 6
> 
> EMACS_22_BASE is the last version that I know builds fine on this platform.
> 
> Advice on how to proceed in debugging this appreciated.

The backtrace indicates there's infinite recursion in gmalloc.c:

> #365 0x08184f6d in __malloc_initialize () at gmalloc.c:615
> #366 0x081856c1 in malloc (size=3072) at gmalloc.c:982

These two lines repeat themselves again and again, with calls to other
functions interspersed in between.

I'm guessing that the infinite recursion causes Emacs to eventually
run out of runtime stack, and then it dies with the above weird
message, which really tells you that the program is in deep trouble.

If you can step through the code in question with GDB and try to
understand why it recurses, it will help.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems building trunk in OpenBSD/i386
  2007-07-12 11:07 ` Eli Zaretskii
@ 2007-07-12 17:22   ` Ken Raeburn
  2007-07-13  7:23     ` Jan Djärv
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Raeburn @ 2007-07-12 17:22 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Ryan Yeske, emacs-devel

On Jul 12, 2007, at 07:07, Eli Zaretskii wrote:
>> Date: Thu, 12 Jul 2007 02:37:33 -0700
>> From: Ryan Yeske <rcyeske@gmail.com>
>>
>> ./temacs --batch --load loadup bootstrap
>> pid 17656: Fatal error 'Cannot create kernel pipe' at line 200 in  
>> file /usr/src/lib/libpthread/uthread/uthread_init.c (errno = 24)
>> *** Signal 6
>>
>> EMACS_22_BASE is the last version that I know builds fine on this  
>> platform.
>>
>> Advice on how to proceed in debugging this appreciated.
>
> The backtrace indicates there's infinite recursion in gmalloc.c:
>
>> #365 0x08184f6d in __malloc_initialize () at gmalloc.c:615
>> #366 0x081856c1 in malloc (size=3072) at gmalloc.c:982
>
> These two lines repeat themselves again and again, with calls to other
> functions interspersed in between.
>
> I'm guessing that the infinite recursion causes Emacs to eventually
> run out of runtime stack, and then it dies with the above weird
> message, which really tells you that the program is in deep trouble.
>
> If you can step through the code in question with GDB and try to
> understand why it recurses, it will help.

The other parts of the stack trace indicate that the rest of the loop  
is in the C library -- pthread_once calls pthread_mutex_lock, which  
initializes some thread support code, which is causing some priority  
queue code to try to allocate storage, which winds up calling into  
gmalloc, which again ensures that initialization has been done by  
calling pthread_once.

The thread support in gmalloc.c appears to be turned on when gtk is  
available and selected and has the new file chooser interface, and  
pthread support is available.

As to how to fix it... I have no good idea at the moment.  I assume  
OpenBSD uses GCC exclusively; if the platform supports constructor  
attributes on functions, perhaps we could force __malloc_initialize  
to be called at program startup, without thread protection, and hope  
that threads don't get created before main starts.  It seems a bit  
dicey, but hey, so is replacing malloc. :-)  Trying to detect  
recursive calls as opposed to simultaneous calls from multiple  
threads seems tricky, with some of the thread support unavailable  
until after we finish.

It could probably be worked around by specifying a toolkit other than  
gtk, or turning off x11 support altogether, at configure time, until  
we get a real fix.

Ken

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems building trunk in OpenBSD/i386
  2007-07-12 17:22   ` Ken Raeburn
@ 2007-07-13  7:23     ` Jan Djärv
  2007-07-20  1:18       ` Ken Raeburn
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Djärv @ 2007-07-13  7:23 UTC (permalink / raw)
  To: Ken Raeburn; +Cc: Eli Zaretskii, Ryan Yeske, emacs-devel



Ken Raeburn skrev:
> 
> The other parts of the stack trace indicate that the rest of the loop is 
> in the C library -- pthread_once calls pthread_mutex_lock, which 
> initializes some thread support code, which is causing some priority 
> queue code to try to allocate storage, which winds up calling into 
> gmalloc, which again ensures that initialization has been done by 
> calling pthread_once.

This sounds like a bug in pthread_once.

> 
> The thread support in gmalloc.c appears to be turned on when gtk is 
> available and selected and has the new file chooser interface, and 
> pthread support is available.
> 
> As to how to fix it... I have no good idea at the moment.  I assume 
> OpenBSD uses GCC exclusively; if the platform supports constructor 
> attributes on functions, perhaps we could force __malloc_initialize to 
> be called at program startup, without thread protection, and hope that 
> threads don't get created before main starts.  It seems a bit dicey, but 
> hey, so is replacing malloc. :-)  Trying to detect recursive calls as 
> opposed to simultaneous calls from multiple threads seems tricky, with 
> some of the thread support unavailable until after we finish.
> 

I think we safely can call malloc_initialize from main itself without thread 
protection.  The protection is from threads created by the file dialog, and 
they get created when the dialog is first used.  So we should be safe.

	Jan D.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems building trunk in OpenBSD/i386
  2007-07-13  7:23     ` Jan Djärv
@ 2007-07-20  1:18       ` Ken Raeburn
  2007-07-20  6:43         ` Jan Djärv
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Raeburn @ 2007-07-20  1:18 UTC (permalink / raw)
  To: Jan Djärv; +Cc: Eli Zaretskii, Ryan Yeske, emacs-devel

On Jul 13, 2007, at 3:23, Jan Djärv wrote:
> Ken Raeburn skrev:
>> The other parts of the stack trace indicate that the rest of the  
>> loop is in the C library -- pthread_once calls pthread_mutex_lock,  
>> which initializes some thread support code, which is causing some  
>> priority queue code to try to allocate storage, which winds up  
>> calling into gmalloc, which again ensures that initialization has  
>> been done by calling pthread_once.
>
> This sounds like a bug in pthread_once.

Which part?  I think having it allocate storage is perfectly  
acceptable, though if you're explicitly linking against the thread  
library it'd probably be quicker for stuff that'll always be needed  
to be allocated in static storage.  One might argue that internal  
uses of standard C library functions by the system library functions  
should use specially named internal versions of the C library  
functions so as to prevent overriding them, but then you get into  
questions of where you draw the line(s), and what "overriding" is  
really supposed to do.

> I think we safely can call malloc_initialize from main itself  
> without thread protection.  The protection is from threads created  
> by the file dialog, and they get created when the dialog is first  
> used.  So we should be safe.

That sounds like it'll probably work, yes... guess I was looking for  
a too-general solution, suitable for other uses of this gmalloc.c.   
The semantics of some pthread operations and their interactions with  
the language specs are sufficiently vague and subtle[1] that I'd be  
wary of removing any pthread operations, but since malloc_initialize  
and then malloc (with its mutex locking) would be called in the main  
thread before any other threads are created, I think it's probably safe.

Ken

[1] See http://portal.acm.org/citation.cfm?id=1065042 for some examples.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems building trunk in OpenBSD/i386
  2007-07-20  1:18       ` Ken Raeburn
@ 2007-07-20  6:43         ` Jan Djärv
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Djärv @ 2007-07-20  6:43 UTC (permalink / raw)
  To: Ken Raeburn; +Cc: Eli Zaretskii, Ryan Yeske, emacs-devel



Ken Raeburn skrev:
> On Jul 13, 2007, at 3:23, Jan Djärv wrote:
>> Ken Raeburn skrev:
>>> The other parts of the stack trace indicate that the rest of the loop 
>>> is in the C library -- pthread_once calls pthread_mutex_lock, which 
>>> initializes some thread support code, which is causing some priority 
>>> queue code to try to allocate storage, which winds up calling into 
>>> gmalloc, which again ensures that initialization has been done by 
>>> calling pthread_once.
>>
>> This sounds like a bug in pthread_once.
> 
> Which part?  I think having it allocate storage is perfectly acceptable, 
> though if you're explicitly linking against the thread library it'd 
> probably be quicker for stuff that'll always be needed to be allocated 
> in static storage.  One might argue that internal uses of standard C 
> library functions by the system library functions should use specially 
> named internal versions of the C library functions so as to prevent 
> overriding them, but then you get into questions of where you draw the 
> line(s), and what "overriding" is really supposed to do.

I meant the fact that pthread_once tries to initialize stuff twice.  After 
all, it should only do things once.  But I admit that this recursive calling 
of pthread_once is not very well specified as how it should behave.

> 
>> I think we safely can call malloc_initialize from main itself without 
>> thread protection.  The protection is from threads created by the file 
>> dialog, and they get created when the dialog is first used.  So we 
>> should be safe.
> 
> That sounds like it'll probably work, yes... guess I was looking for a 
> too-general solution, suitable for other uses of this gmalloc.c.  The 
> semantics of some pthread operations and their interactions with the 
> language specs are sufficiently vague and subtle[1] that I'd be wary of 
> removing any pthread operations, but since malloc_initialize and then 
> malloc (with its mutex locking) would be called in the main thread 
> before any other threads are created, I think it's probably safe.

Maybe all this hooks and stuff can be removed if we switch to SYNC_INPUT.  I 
haven't checked all the details.

	Jan D.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-07-20  6:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-12  9:37 problems building trunk in OpenBSD/i386 Ryan Yeske
2007-07-12 11:07 ` Eli Zaretskii
2007-07-12 17:22   ` Ken Raeburn
2007-07-13  7:23     ` Jan Djärv
2007-07-20  1:18       ` Ken Raeburn
2007-07-20  6:43         ` Jan Djärv

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.