Subject: lib/21712: last libc changes crashes too many packages
To: None <gnats-bugs@gnats.netbsd.org>
From: None <juan@xtraeme.unixbsd.org>
List: netbsd-bugs
Date: 05/29/2003 17:12:37
>Number:         21712
>Category:       lib
>Synopsis:       last libc changes crashes too many packages
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 29 15:14:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Juan RP
>Release:        NetBSD 1.6T
>Organization:
Juan RP		jrp@hispabsd.org
--
>Environment:
System: NetBSD Nocturno 1.6T NetBSD 1.6T (Nocturno) #8: Thu May 29 15:13:29 CEST 2003 juan@Nocturno:/home/juan/current/obj/sys/arch/i386/compile/Nocturno i386
Architecture: i386
Machine: i386
>Description:

Last changes applied by Christos did broke my apps installed
from pkgsrc: xmms, phoenix, etc ...

juan@Nocturno#~>xmms              
zsh: segmentation fault (core dumped)  xmms
juan@Nocturno#~>

(gdb) bt
#0  0xbda54191 in pthread__lock_ras_start () from /usr/lib/libpthread.so.0
#1  0xbfbff7b0 in ?? ()
#2  0xbda53b54 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
#3  0xbd7b0cf9 in telldir () from /usr/lib/libc.so.12
#4  0xbd7b0274 in __opendir2 () from /usr/lib/libc.so.12
#5  0xbd7afd9c in opendir () from /usr/lib/libc.so.12
#6  0x806b31d in scan_plugins ()
#7  0x8069e81 in init_plugins ()
#8  0x808417c in main ()
#9  0x8058cd4 in ___start ()
(gdb)

Sylpheed:

(gdb) bt
#0  0xbd88e191 in pthread__lock_ras_start () from /usr/lib/libpthread.so.0
#1  0xbfbfea18 in ?? ()
#2  0xbd88db54 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
#3  0xbd759cf9 in telldir () from /usr/lib/libc.so.12
#4  0xbd759274 in __opendir2 () from /usr/lib/libc.so.12
#5  0xbd758d9c in opendir () from /usr/lib/libc.so.12
#6  0x80ec393 in dladdr ()
#7  0x80ec4b1 in dladdr ()
#8  0x81072f7 in dladdr ()
#9  0x8104443 in dladdr ()
#10 0x8074d01 in dladdr ()
#11 0x8060d02 in dladdr ()
#12 0x805e17c in dladdr ()
...

/usr/lib/libpthread.so:
     $NetBSD: sem.c,v 1.6 2003/03/08 08:03:36 lukem Exp $
     $NetBSD: sched.c,v 1.3 2003/03/08 08:03:36 lukem Exp $
     $NetBSD: pthread_sleep.c,v 1.2 2003/03/08 08:03:36 lukem Exp $
     $NetBSD: pthread_specific.c,v 1.8 2003/05/15 19:16:37 wiz Exp $
     $NetBSD: pthread_sig.c,v 1.14 2003/05/27 15:24:25 christos Exp $
     $NetBSD: pthread_sa.c,v 1.9 2003/05/27 15:24:24 christos Exp $
     $NetBSD: pthread_rwlock.c,v 1.5 2003/03/08 08:03:35 lukem Exp $
     $NetBSD: pthread_run.c,v 1.10 2003/05/27 15:24:24 christos Exp $
     $NetBSD: pthread_mutex.c,v 1.16 2003/05/27 15:22:56 christos Exp $
     $NetBSD: pthread_lock.c,v 1.7 2003/05/16 23:37:47 scw Exp $
     $NetBSD: pthread_cond.c,v 1.11 2003/04/23 19:36:12 nathanw Exp $
     $NetBSD: pthread_cancelstub.c,v 1.5 2003/03/08 08:03:35 lukem Exp $
     $NetBSD: pthread_alarms.c,v 1.8 2003/04/07 19:41:22 nathanw Exp $
     $NetBSD: pthread.c,v 1.19 2003/05/27 15:24:24 christos Exp $
     $NetBSD: pthread_md.c,v 1.3 2003/03/08 08:03:37 lukem Exp $
     $NetBSD: pthread_debug.c,v 1.5 2003/04/16 17:37:47 nathanw Exp $
     $NetBSD: pthread_stack.c,v 1.7 2003/03/08 08:03:36 lukem Exp $
     $NetBSD: pthread_barrier.c,v 1.6 2003/03/08 08:03:35 lukem Exp $

juan@Nocturno#~>ident /usr/lib/libc.so|grep dir
     $NetBSD: seekdir.c,v 1.10 2003/05/28 20:03:37 christos Exp $
     $NetBSD: rewinddir.c,v 1.9 2000/01/22 22:19:12 mycroft Exp $
     $NetBSD: dirname.c,v 1.7 2002/10/17 11:36:39 tron Exp $
     $NetBSD: scandir.c,v 1.21 2001/11/21 00:48:28 enami Exp $
     $NetBSD: opendir.c,v 1.22 2003/05/28 20:03:37 christos Exp $
     $NetBSD: closedir.c,v 1.11 2003/05/28 20:03:37 christos Exp $
     $NetBSD: telldir.c,v 1.14 2003/05/28 20:03:37 christos Exp $
     $NetBSD: readdir.c,v 1.17 2003/05/28 21:08:23 kleink Exp $
juan@Nocturno#~>

>How-To-Repeat:
>Fix:

Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: