Current-Users archive

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

emacs dumping core



Hi,

Today I have updated my development machine to latest current and emacs started
to dump core.  I have reinstalled emacs from source, but it doesn't helped.  I
think that I have already had same issue with other box, but I can't remember
the solution.

I have tried to disable pax ASLR with no success. Any suggestions ?

[root@netbsd-dev haad]# uname -a
NetBSD netbsd-dev 5.99.52 NetBSD 5.99.52 (GENERIC) #0: Sun Jun  5 01:22:58 CEST 
2011  
buildbot%musasi.haad.chillisys.com@localhost:/usr/devel/buildslave/obj/i386/sys/arch/i386/compile/GENERIC
 i386

[root@netbsd-dev haad]# ktruss emacs
  4662      1 emacs    mmap(0, 0x1d000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbbbba000
  4662      1 emacs    mmap(0xbbbd6000, 0x1000, 0x3, 0x12, 0x3, 0, 0x1c000, 0) 
= 0xbbbd6000
  4662      1 emacs    mmap(0xbbbd7000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 
0xbbbd7000
  4662      1 emacs    close(0x3)                  = 0
  4662      1 emacs    open("/usr/pkg/lib/libc.so.12", 0, 0xbfbfe384) Err#2 
ENOENT
  4662      1 emacs    open("/usr/lib/libc.so.12", 0, 0xbfbfe384) = 3
  4662      1 emacs    __fstat50(0x3, 0xbfbfe384)  = 0
  4662      1 emacs    mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbbbb9000
  4662      1 emacs    munmap(0xbbbb9000, 0x1000)  = 0
  4662      1 emacs    mmap(0, 0x10e000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbbaac000
  4662      1 emacs    mmap(0xbbba3000, 0x8000, 0x3, 0x12, 0x3, 0, 0xf6000, 0) 
= 0xbbba3000
  4662      1 emacs    mmap(0xbbbab000, 0xf000, 0x3, 0x1012, 0xffffffff, 0, 0, 
0) = 0xbbbab000
  4662      1 emacs    close(0x3)                  = 0
  4662      1 emacs    open("/lib/libc.so.12", 0, 0xbfbfe384) = 3
  4662      1 emacs    __fstat50(0x3, 0xbfbfe384)  = 0
  4662      1 emacs    close(0x3)                  = 0
  4662      1 emacs    open("/lib/libc.so.12", 0, 0xbfbfe384) = 3
  4662      1 emacs    __fstat50(0x3, 0xbfbfe384)  = 0
  4662      1 emacs    close(0x3)                  = 0
  4662      1 emacs    _lwp_setprivate(0xbbbec040) = 0
  4662      1 emacs    _lwp_self()                 = 1
  4662      1 emacs    __sigprocmask14(0x1, 0xbfbfead4, 0xbfbfeb74) = 0
  4662      1 emacs    __sigprocmask14(0x3, 0xbfbfeb74, 0) = 0
  4662      1 emacs    SIGSEGV SIG_DFL

[root@netbsd-dev haad]# gdb /usr/pkg/bin/emacs emacs.core
#0  0xbbae8e7f in _libc_init () from /usr/lib/libc.so.12
(gdb) bt
#0  0xbbae8e7f in _libc_init () from /usr/lib/libc.so.12
#1  0xbbad09d8 in ?? () from /usr/lib/libc.so.12
#2  0x08049600 in ?? ()
#3  0xbbbeb000 in ?? ()
#4  0xbbacc500 in ?? () from /usr/lib/libc.so.12
#5  0xbbbfe96c in ?? () from /usr/libexec/ld.elf_so
#6  0xbbacc508 in _init () from /usr/lib/libc.so.12
#7  0xbbbf3675 in _rtld_call_init_functions () from /usr/libexec/ld.elf_so
#8  0xbbbfebc8 in _rtld_mutex_may_recurse () from /usr/libexec/ld.elf_so

ktrace from working box:

  5570      1 emacs    CALL  open(0xbf7fe4a0,0,0xbf7fe3d0)
  5570      1 emacs    NAMI  "/lib/libc.so.12"
  5570      1 emacs    RET   open 3
  5570      1 emacs    CALL  __fstat50(3,0xbf7fe3d0)
  5570      1 emacs    RET   __fstat50 0
  5570      1 emacs    CALL  close(3)
  5570      1 emacs    RET   close 0
  5570      1 emacs    CALL  open(0xbf7fe4a0,0,0xbf7fe3d0)
  5570      1 emacs    NAMI  "/lib/libc.so.12"
  5570      1 emacs    RET   open 3
  5570      1 emacs    CALL  __fstat50(3,0xbf7fe3d0)
  5570      1 emacs    RET   __fstat50 0
  5570      1 emacs    CALL  close(3)
  5570      1 emacs    RET   close 0
  5570      1 emacs    CALL  _lwp_setprivate(0xbb7ec040)
  5570      1 emacs    RET   _lwp_setprivate 0
  5570      1 emacs    CALL  _lwp_self
  5570      1 emacs    RET   _lwp_self 1
  5570      1 emacs    CALL  __sigprocmask14(1,0xbf7feb20,0xbf7febc0)
  5570      1 emacs    RET   __sigprocmask14 0
  5570      1 emacs    CALL  __sigprocmask14(3,0xbf7febc0,0)
  5570      1 emacs    RET   __sigprocmask14 0


Regards

Adam.



Home | Main Index | Thread Index | Old Index