Subject: SIGBUS from mozilla under -current w/ native pthreads
To: None <tech-pkg@netbsd.org, current-users@netbsd.org>
From: Steven J. Dovich <dovich@lethe.ne.client2.attbi.com>
List: current-users
Date: 02/05/2003 11:52:10
Anybody else seeing this?  I updated my install last week to catch
up with Nathan's recent fixes. Now the rebuild of mozilla no longer
installs (updating all depends which reference pthread.buildlink2.mk
does not seem to make a difference). Rebuilding kernel and userland
hasn't affected this result either (with the most recent OS build
from -current sources of Feb 4).

Appended is the tail of the ktrace:

  ...

  1236 mozilla-bin CALL  __sysctl(0xbfbfea68,0x2,0xbfbfea60,0xbfbfea64,0,0)
  1236 mozilla-bin RET   __sysctl 0
  1236 mozilla-bin CALL  mprotect(0x4a901000,0x1000,0)
  1236 mozilla-bin RET   mprotect 0
  1236 mozilla-bin CALL  mmap(0,0x80000,0x3,0x1002,0xffffffff,0,0)
  1236 mozilla-bin RET   mmap 1251213312/0x4a940000
  1236 mozilla-bin CALL  munmap(0x4a980000,0x40000)
  1236 mozilla-bin RET   munmap 0
  1236 mozilla-bin CALL  __sysctl(0xbfbfea68,0x2,0xbfbfea60,0xbfbfea64,0,0)
  1236 mozilla-bin RET   __sysctl 0
  1236 mozilla-bin CALL  mprotect(0x4a941000,0x1000,0)
  1236 mozilla-bin RET   mprotect 0
  1236 mozilla-bin CALL  mmap(0,0x80000,0x3,0x1002,0xffffffff,0,0)
  1236 mozilla-bin RET   mmap 1251475456/0x4a980000
  1236 mozilla-bin CALL  munmap(0x4a9c0000,0x40000)
  1236 mozilla-bin RET   munmap 0
  1236 mozilla-bin CALL  __sysctl(0xbfbfea68,0x2,0xbfbfea60,0xbfbfea64,0,0)
  1236 mozilla-bin RET   __sysctl 0
  1236 mozilla-bin CALL  mprotect(0x4a981000,0x1000,0)
  1236 mozilla-bin RET   mprotect 0
  1236 mozilla-bin CALL  mmap(0,0x80000,0x3,0x1002,0xffffffff,0,0)
  1236 mozilla-bin RET   mmap 1251737600/0x4a9c0000
  1236 mozilla-bin CALL  munmap(0x4aa00000,0x40000)
  1236 mozilla-bin RET   munmap 0
  1236 mozilla-bin CALL  __sysctl(0xbfbfea68,0x2,0xbfbfea60,0xbfbfea64,0,0)
  1236 mozilla-bin RET   __sysctl 0
  1236 mozilla-bin CALL  mprotect(0x4a9c1000,0x1000,0)
  1236 mozilla-bin RET   mprotect 0
  1236 mozilla-bin CALL  mmap(0,0x80000,0x3,0x1002,0xffffffff,0,0)
  1236 mozilla-bin RET   mmap 1251999744/0x4aa00000
  1236 mozilla-bin CALL  munmap(0x4aa40000,0x40000)
  1236 mozilla-bin RET   munmap 0
  1236 mozilla-bin CALL  __sysctl(0xbfbfea68,0x2,0xbfbfea60,0xbfbfea64,0,0)
  1236 mozilla-bin RET   __sysctl 0
  1236 mozilla-bin CALL  mprotect(0x4aa01000,0x1000,0)
  1236 mozilla-bin RET   mprotect 0
  1236 mozilla-bin CALL  mmap(0,0x80000,0x3,0x1002,0xffffffff,0,0)
  1236 mozilla-bin RET   mmap 1252261888/0x4aa40000
  1236 mozilla-bin CALL  munmap(0x4aa80000,0x40000)
  1236 mozilla-bin RET   munmap 0
  1236 mozilla-bin CALL  __sysctl(0xbfbfea68,0x2,0xbfbfea60,0xbfbfea64,0,0)
  1236 mozilla-bin RET   __sysctl 0
  1236 mozilla-bin CALL  mprotect(0x4aa41000,0x1000,0)
  1236 mozilla-bin RET   mprotect 0
  1236 mozilla-bin CALL  sa_stacks(0x10,0xbfbfeb44)
  1236 mozilla-bin RET   sa_stacks 16/0x10
  1236 mozilla-bin CALL  sa_enable
  1236 mozilla-bin RET   sa_enable 0
  1236 mozilla-bin PSIG  SIGBUS SIG_DFL
  1236 mozilla-bin NAMI  "mozilla-bin.core"


Thoughts anyone?

/sjd