Subject: kern/36875: Mozilla does not work with 4.99.30 because of ENOSYS, 4.99.4 still works
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <rillig@NetBSD.org>
List: netbsd-bugs
Date: 08/31/2007 19:10:00
>Number:         36875
>Category:       kern
>Synopsis:       Mozilla does not work with 4.99.30 because of ENOSYS, 4.99.4 still works
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 31 19:10:00 +0000 2007
>Originator:     Roland Illig
>Release:        4.99.30
>Organization:
>Environment:
NetBSD bacc.roland-illig.de 4.99.30 NetBSD 4.99.30 (GENERIC) #2: Fri Aug 31 20:40:16 CEST 2007  build@bacc.roland-illig.de:/home/scratch/build/NetBSD/2007-08/work/sys/arch/i386/compile/GENERIC i386

userland 3.0

>Description:
When starting mozilla, it dumps core:

...
   625 mozilla-bin RET   mprotect 0
   625 mozilla-bin CALL  __sysctl(0xbfbfd608,2,0xbfbfd600,0xbfbfd604,0,0)
   625 mozilla-bin RET   __sysctl 0
   625 mozilla-bin CALL  sa_register
   625 mozilla-bin RET   sa_register -1 errno 78 Function not implemented
   625 mozilla-bin PSIG  SIGSYS SIG_DFL
   625 mozilla-bin NAMI  "mozilla-bin.core"

(gdb) where
#0  0xbb75f55f in sa_register () from /usr/lib/libc.so.12
#1  0xbb80c6a4 in pthread__sa_start () from /usr/lib/libpthread.so.0
#2  0xbb80fbb8 in pthread_init () from /usr/lib/libpthread.so.0
#3  0xbb810089 in pthread_create () from /usr/lib/libpthread.so.0
#4  0xbbb62d9e in PR_Select () from /usr/pkg/lib/mozilla/libnspr4.so
#5  0xbbb62f62 in PR_CreateThread () from /usr/pkg/lib/mozilla/libnspr4.so
#6  0xbb6928ab in nsThread::Create(nsISupports*, nsID const&, void**) () from /home/scratch/pkg/lib/mozilla/libxpcom.so
...

>How-To-Repeat:

>Fix: