Share

Cocoa Emacs for OS X and GNUstep

Tracker: Bugs

5 Unexpectedly quits on startup - ID: 1315456
Last Update: Comment added ( nobody )

Emacs-on-aqua "unexpectedly quits" immediately whenever
I start it. This happens whether I install the 8.01
binary or compile from source. I am running OSX 10.3.


Nobody/Anonymous ( nobody ) - 2005-10-07 00:28

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 5 )




Date: 2007-02-18 05:38
Sender: nobody

Logged In: NO

Same here for 10.4 and 8.02.



Date: 2005-11-29 15:01
Sender: arobert3434

Logged In: YES
user_id=146959

I'm unable to replicate this crash, which appears to be related to general

emacs code rather than the Cocoa code. The only work-around I can
recommend is to try the successor project Emacs.app (http://emacs-
app.sf.net) which is based on a later version of GNU Emacs and may
therefore
not have this bug. (Note, although Emacs.app is alpha status and comes
only
in a source distribution, it is equal or better in functionality and
stability in
nearly all respects to Emacs on Aqua.)



Date: 2005-11-29 08:46
Sender: nobody

Logged In: NO

Exactly the same on OS X 10.4.3 on my PowerMac Quad G5. Have
tried recompiling from source and no improvement.


Date: 2005-11-01 07:35
Sender: nobody

Logged In: NO

I had the same problem and it kept crashing(Emacs was in /
Applications, there was no .emacs and no /usr/local/share/emacs and
nothing in plist file.

Here's the backtrace

#0 set_buffer_internal_1 (b=0x5f01dd0) at /Users/arobert/src/Emacs/
emacs-20.7/src/buffer.c:1471
#1 0x00029688 in Fset_buffer (buffer=99622352) at /Users/arobert/src/
Emacs/emacs-20.7/src/buffer.c:1599
#2 0x00030418 in Fbyte_code (bytestr=4, vector=293620228,
maxdepth=5) at /Users/arobert/src/Emacs/emacs-20.7/src/bytecode.c:
961
#3 0x00065ab4 in funcall_lambda (fun=1074947868, nargs=4,
arg_vector=0xbfffde64) at /Users/arobert/src/Emacs/emacs-20.7/src/
eval.c:2654
#4 0x0006555c in Ffuncall (nargs=99622352, args=0xbfffde60) at /
Users/arobert/src/Emacs/emacs-20.7/src/eval.c:2524
#5 0x00065000 in call4 (fn=99622352, arg1=1173364176,
arg2=293620228, arg3=1, arg4=-1073751288) at /Users/arobert/src/
Emacs/emacs-20.7/src/eval.c:2329
#6 0x0009f818 in Fload (file=806862092, noerror=293865060,
nomessage=293865084, nosuffix=293787836, must_suffix=1897320) at
/Users/arobert/src/Emacs/emacs-20.7/src/lread.c:711
#7 0x0006546c in Ffuncall (nargs=99622352, args=0x193f10) at /Users/
arobert/src/Emacs/emacs-20.7/src/eval.c:2483
#8 0x0002f1bc in Fbyte_code (bytestr=0, vector=293620228,
maxdepth=6) at /Users/arobert/src/Emacs/emacs-20.7/src/bytecode.c:
433
#9 0x00065ab4 in funcall_lambda (fun=1075294088, nargs=0,
arg_vector=0xbfffe2e4) at /Users/arobert/src/Emacs/emacs-20.7/src/
eval.c:2654
#10 0x0006555c in Ffuncall (nargs=99622352, args=0xbfffe2e0) at /
Users/arobert/src/Emacs/emacs-20.7/src/eval.c:2524
#11 0x0002f1bc in Fbyte_code (bytestr=0, vector=293620228,
maxdepth=6) at /Users/arobert/src/Emacs/emacs-20.7/src/bytecode.c:
433
#12 0x00065ab4 in funcall_lambda (fun=1075292120, nargs=0,
arg_vector=0xbfffe440) at /Users/arobert/src/Emacs/emacs-20.7/src/
eval.c:2654
#13 0x0006579c in apply_lambda (fun=410884, args=293620228,
eval_flag=1) at /Users/arobert/src/Emacs/emacs-20.7/src/eval.c:2578
#14 0x00064504 in Feval (form=1367952124) at /Users/arobert/src/
Emacs/emacs-20.7/src/eval.c:1883
#15 0x00064300 in Feval (form=1367534124) at /Users/arobert/src/
Emacs/emacs-20.7/src/eval.c:1825
#16 0x000a056c in readevalloop (readcharfun=293616540,
stream=0xa000e790, sourcename=830480536, evalfun=0x63e38
<Feval>, printflag=0, unibyte=293620228, readfun=293620228) at /
Users/arobert/src/Emacs/emacs-20.7/src/lread.c:1144
#17 0x0009f9cc in Fload (file=830480536, noerror=293620228,
nomessage=293620228, nosuffix=293620228,
must_suffix=-1610553456) at /Users/arobert/src/Emacs/emacs-20.7/src/
lread.c:754
#18 0x00064388 in Feval (form=1367508988) at /Users/arobert/src/
Emacs/emacs-20.7/src/eval.c:1839
#19 0x00062eac in internal_condition_case (bfun=0x8bee4
<top_level_2>, handlers=293620732, hfun=0x8bb10 <cmd_error>) at /
Users/arobert/src/Emacs/emacs-20.7/src/eval.c:1150
#20 0x0008bf5c in top_level_1 () at /Users/arobert/src/Emacs/
emacs-20.7/src/keyboard.c:1114
#21 0x00062920 in internal_catch (tag=99622352, func=0x8bf04
<top_level_1>, arg=293620228) at /Users/arobert/src/Emacs/
emacs-20.7/src/eval.c:925
#22 0x0008bdf0 in command_loop () at /Users/arobert/src/Emacs/
emacs-20.7/src/keyboard.c:1075
#23 0x0008b7fc in recursive_edit_1 () at /Users/arobert/src/Emacs/
emacs-20.7/src/keyboard.c:825
#24 0x0008b998 in Frecursive_edit () at /Users/arobert/src/Emacs/
emacs-20.7/src/keyboard.c:873
#25 0x000607f8 in main (argc=1, argv=0xbffff4cc, envp=0x11804a04) at
/Users/arobert/src/Emacs/emacs-20.7/src/emacs.c:1415




Date: 2005-10-09 18:08
Sender: arobert3434

Logged In: YES
user_id=146959

Things to try:

- temporarily move .emacs aside

- if you have /usr/local/share/emacs/site-lisp, temporarily move it aside
as
well

- if ~/.MacOSX/environment.plist exists, make sure it has no "EMACS_..."
variables set

- if still crashing, try 'gdb /Applications/Emacs.app/Contents/MacOS/
Emacs', then hit 'r' to run it, and 'bt' after crash to generate some
helpful
debugging info. (Actually, if the OS X crash reporter runs, this info
might
be in there already, so no need to run gdb.)



Log in to comment.




Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.