bug-gnu-emacs
[Top][All Lists]
Advanced

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

GNU Emacs 20.7.2 crashes during Startup on Sun SPARC (Solaris 7)


From: Adalbert Perbandt
Subject: GNU Emacs 20.7.2 crashes during Startup on Sun SPARC (Solaris 7)
Date: Mon, 16 Jul 2001 12:22:07 +0200

This bug report will be sent to the Free Software Foundation,
 not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 20.7.2 (sparc-sun-solaris2.7, X toolkit)
 of Fri Dec  1 2000 on conan
configured using `configure  --with-x --x-includes=NONE --x-libraries=NONE 
--with-x-toolkit=lucid --prefix=/opt/emacs_20.7'

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

On a Sun Ultra SPARC machine with Solaris 7 GNU Emacs 20.7.2 crashes
during startup:

$ emacs --no-init-file --no-site-file
Bus error

To figure out the reason I ran Emacs with truss:

$ truss emacs --no-init-file --no-site-file >& emacs.truss

Here come the last few lines of the output that is generated by truss:

----------------------------------------------------------------------
open("/opt/www/lib/rvplayer/libmp.so.2", O_RDONLY) Err#2 ENOENT
open("/usr/openwin/lib/libmp.so.2", O_RDONLY)   Err#2 ENOENT
open("/var/vob/tc/hw_tc1mmpu/vob/sparcOS5/lib/libmp.so.2", O_RDONLY) Err#2 
ENOENT
open("/opt/highway_3.2/sparcOS5/lib/libmp.so.2", O_RDONLY) Err#2 ENOENT
open("/opt/inway_3.2/sparcOS5/lib/libmp.so.2", O_RDONLY) Err#2 ENOENT
open("/opt/X11R6/lib/libmp.so.2", O_RDONLY)     Err#2 ENOENT
open("/usr/lib/libmp.so.2", O_RDONLY)           = 3
fstat(3, 0xFFBECD04)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFEF40000
mmap(0x00000000, 81920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFEF20000
mmap(0xFEF32000, 3993, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 
3, 8192) = 0xFEF32000
munmap(0xFEF24000, 57344)                       = 0
memcntl(0xFEF20000, 3380, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)                                        = 0
open("/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1", O_RDONLY) = 3
fstat(3, 0xFFBECB6C)                            = 0
mmap(0xFEF40000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0xFEF40000
mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFEF10000
close(3)                                        = 0
close(4)                                        = 0
munmap(0xFEF40000, 8192)                        = 0
brk(0x003A5E28)                                 = 0
brk(0x003A7E28)                                 = 0
    Incurred fault #5, FLTACCESS  %pc = 0xFEFC60E8
      siginfo: SIGBUS BUS_OBJERR addr=0x003A5E28 errno=14(EFAULT)
    Received signal #10, SIGBUS [default]
      siginfo: SIGBUS BUS_OBJERR addr=0x003A5E28 errno=14(EFAULT)
        *** process killed ***
----------------------------------------------------------------------

Emacs runs fine on quite a lot of our Solaris 7 machines but there are
some where it crashes as described. I could not yet figure out real
differences between the machines it runs on and the few where it
doesn't (maybe different OS patches status).

In the brk() man page I read that the behavior of the brk() system call
"is unsepcified if an application also uses any other memory functions
(such as malloc(3C), mmap(2), free(3C))."

Could this be the reason for the crash?

Regards,

Adalbert Perbandt.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]