Current-Users archive

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

libpthread failures in macppc



Hello,

With a recent build of NetBSD/macppc, I'm getting several segfaults and
stuck programs that seem to point at libpthread issues.  All their
backtraces point at some pthread function.  (I had not touched this
machine for a while, so I don't know when this started happening.)

Running the tests in lib/libpthread under my macppc machine (a Mac Mini
G4) gives these failures:

===> Expected failures
t_cond:cond_timedwait_race  ->  expected_failure: PR lib/44756: 
/home/sysbuild/src/tests/lib/libpthread/t_cond.c:338: rv == ETIMEDOUT not met  
[1.419s]
t_mutex:mutex2  ->  expected_failure: PR port-powerpc/44387  [40.009s]
t_mutex:mutex3  ->  expected_failure: PR port-powerpc/44387  [40.009s]
===> Broken tests
t_sem:before_start_no_threads  ->  broken: Premature exit: received signal 11 
(core dumped)  [0.122s]
t_sigmask:before_threads  ->  broken: Premature exit: received signal 11 (core 
dumped)  [0.099s]
t_sigmask:incorrect_mask_bug  ->  broken: Premature exit: received signal 11 
(core dumped)  [2.109s]
t_sigsuspend:sigsuspend  ->  broken: Premature exit: received signal 11 (core 
dumped)  [1.098s]

The stacktraces look like this:

t_sem:before_start_no_threads:

0xfdfca474 in pthread__errno () from /usr/lib/libpthread.so.1
0xfdfca474 in pthread__errno () from /usr/lib/libpthread.so.1
0xfdeedfd4 in __errno () from /usr/lib/libc.so.12
0xfdeedf64 in __cerror () from /usr/lib/libc.so.12
0xfdfc4828 in sem_trywait () from /usr/lib/libpthread.so.1
0x01801b0c in threadfunc ()
0x01801c5c in before_start_test ()
0xfdf77cb8 in atf_tc_run () from /usr/lib/libatf-c.so.0
0xfdf761b0 in atf_tp_run () from /usr/lib/libatf-c.so.0
0xfdf7589c in atf_tp_main () from /usr/lib/libatf-c.so.0
0x01801d24 in main ()

t_sigmask:before_threads

0xfdfc71ac in pthread_mutex_lock () from /usr/lib/libpthread.so.1
0xfdfc71ac in pthread_mutex_lock () from /usr/lib/libpthread.so.1
0xfdf0d5d0 in __flockfile_internal () from /usr/lib/libc.so.12
0xfded2b08 in puts () from /usr/lib/libc.so.12
0x018014a0 in atfu_before_threads_body ()
0xfdf97cb8 in atf_tc_run () from /usr/lib/libatf-c.so.0
0xfdf961b0 in atf_tp_run () from /usr/lib/libatf-c.so.0
0xfdf9589c in atf_tp_main () from /usr/lib/libatf-c.so.0
0x018016f0 in main ()

t_sigmask:incorrect_mask_bug

0xfdfca474 in pthread__errno () from /usr/lib/libpthread.so.1
0xfdfca474 in pthread__errno () from /usr/lib/libpthread.so.1
0xfdf0dfd4 in __errno () from /usr/lib/libc.so.12
0xfdf0df64 in __cerror () from /usr/lib/libc.so.12
0xfdfc5794 in __select50 () from /usr/lib/libpthread.so.1
0x01801068 in atfu_incorrect_mask_bug_body ()
0xfdf97cb8 in atf_tc_run () from /usr/lib/libatf-c.so.0
0xfdf961b0 in atf_tp_run () from /usr/lib/libatf-c.so.0
0xfdf9589c in atf_tp_main () from /usr/lib/libatf-c.so.0
0x018016f0 in main ()

t_sigsuspend:sigsuspend

0xfdfca474 in pthread__errno () from /usr/lib/libpthread.so.1
0xfdfca474 in pthread__errno () from /usr/lib/libpthread.so.1
0xfdf0dfd4 in __errno () from /usr/lib/libc.so.12
0xfdf0df64 in __cerror () from /usr/lib/libc.so.12
0xfdfc5924 in __sigsuspend14 () from /usr/lib/libpthread.so.1
0x01800c18 in atfu_sigsuspend_body ()
0xfdf97cb8 in atf_tc_run () from /usr/lib/libatf-c.so.0
0xfdf961b0 in atf_tp_run () from /usr/lib/libatf-c.so.0
0xfdf9589c in atf_tp_main () from /usr/lib/libatf-c.so.0
0x01800cb4 in main ()

Any ideas?

Thanks,

--
Julio Merino


Home | Main Index | Thread Index | Old Index