Crash in Carbon XEmacs 21.5.26-carbon-b5

Glen Whitney gwhitney at pobox.com
Thu Jun 22 02:21:36 EDT 2006


================================================================
Dear Bug Team!

I am running Mac OS X 10.4.6 on a PowerPC G4.
I downloaded xemacs-21.5.26.tar.gz from a standard XEmacs site, and  
xemacs-21.5.26-carbon-b5.diff.bz2 from Andrew Choi's Carbon XEmacs  
page (as linked by www.xemacs.org). I followed the build instructions  
in the carbon/README file with no modifications, everything went  
smoothly and as described.  With no init file xemacs seems to come up  
OK and seems to behave generally as expected.

However, if I create an .xemacs directory with just an init.el  
containing the following text:

----cut here----
(setq minibuffer-frame-plist '(top -1 left 1 height 3))
(setq initial-frame-plist '(minibuffer nil [default font] "Courier:13"))
----cut here----

and then start xemacs, I get the following behavior: An initial  
window comes up that looks the same as with no init file. If I type  
any key to this window, the app crashes, creating a window with the  
following information:

----cut here----
EXC_BAD_ACCESS (0x0001)
KERN_INVALID_ADDRESS (0x0001) at 0x0591a010

Thread 0 Crashed:
0    vecCGSBlendXXXX8888 + 420
1    ripd_Mark + 324
2    ripl_BltImage + 908
3    ripc_RenderImage + 256
4    ripc_DrawImage + 3532
5    CGContextDelegateDrawImage + 76
6    CGContextDrawImage + 340
7    HIViewDrawCGImage + 284
8    main_view_handler + 604 (frame-carbon.c:150)
9    DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,  
HandlerCallRec*) + 692
----cut here----

(The window asks if I want to close, report, or attach debugger. I  
tried the debugger, but it seemed to hang, i.e., no debugger prompt  
for about 10 minutes.) Note I have no .emacs file.


On a separate note, this Carbon XEmacs seems palpably slower than the  
Carbon (Gnu) Emacs package available at http://homepage.mac.com/ 
zenitani/emacs-e.html for almost every task. For one simple example,  
I can easily type ahead of Carbon XEmacs's response on my machine in  
just the ordinary *scratch* buffer, whereas I can only do so with   
great effort in Carbon Emacs.  Is this speed difference to be  
expected?  Is there any hope of XEmacs's speed being significantly  
improved?  I like the feature set in XEmacs better (although  
specifiers can be byzantine) but right now the speed issue is making  
me stick with Carbon Emacs, since I find myself often making  
erroneous edits when I type ahead of Carbon XEmacs but don't realize  
it.  Thanks for any information/advice on the topic of XEmacs's  
speed, I would prefer to use XEmacs but can't if the speed makes it  
impractical.


Finally, I wasn't sure where best to send this bug. Mr. Choi's  
website suggests comp.emacs.xemacs, report-xemacs-bug suggests this  
email address.  If the bug report needs to be forwarded so that it  
will be visible both to Mr. Choi and the main-line XEmacs  
maintainers, I'd appreciate your doing so.

Thanks, Glen Whitney



================================================================

System Info to help track down your bug:
---------------------------------------

uname -a: Darwin chickadee.local 8.6.0 Darwin Kernel Version 8.6.0:  
Tue Mar  7 16:58:48 PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC  
Power Macintosh powerpc PowerBook3,5 Darwin

./configure '--without-kkcc' '--without-mc-alloc' '--with-carbon' '-- 
with-mule' '--without-ldap' '--enable-error-checking=none' '--with- 
optimization' '--with-cflags-optimization=-O2' '--prefix=/sw/src/ 
xemacs-21.5.26/carbon/XEmacs.app/Contents/Resources'


XEmacs 21.5-b26 "endive"  configured for `powerpc-apple-darwin8.6.0'.

Compilation Environment and Installation Defaults:
   Source code location:              /sw/src/xemacs-21.5.26
   Installation prefix:               /sw/src/xemacs-21.5.26/carbon/ 
XEmacs.app/Contents/Resources
   Operating system description file: `s/darwin.h'
   Machine description file:          `m/powerpc.h'
   Compiler version:                  powerpc-apple-darwin8-gcc-4.0.1  
(GCC) 4.0.1 (Apple Computer, Inc. build 5341)
     - GCC specs file:                specs.
     - Compiler command:              gcc -I/sw/src/xemacs-21.5.26/ 
carbon/xpm -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char- 
subscripts -Wpacked -Wpointer-arith -Wunused-parameter -g -O2
   libc version:
   Relocating allocator for buffers:  no
   GNU version of malloc:             no
     - The GNU allocators don't work with this system configuration.

Window System:
   Compiling in support for Mac OS X Carbon.
   Using Lucid menubars.
   Using Lucid scrollbars.
   Compiling in support for Drag'n'Drop (EXPERIMENTAL).
     -  Drag'n'Drop prototype:                              Carbon.

TTY:
   Compiling in support for ncurses.

Images:
   Compiling in support for GIF  images (builtin).
   Compiling in support for XPM  images.
   WARNING: -----------------------------------------------------------
   WARNING: Compiling without PNG image support.
   WARNING: You should strongly consider installing the PNG libraries.
   WARNING: Otherwise certain images and glyphs may not display.
   WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)
   WARNING: -----------------------------------------------------------

Sound:

Databases:
   Compiling in support for Berkeley database.
   Compiling in support for DBM.

Internationalization:
   Compiling in support for Mule (multi-lingual Emacs).

Mail:
   Compiling in support for "file" mail spool file locking method.

Other Features:
   Inhibiting IPv6 canonicalization at startup.
   Compiling in support for dynamic shared object modules.
   Using the new portable dumper.
   Dumping into executable.
   Compiling in support for extra debugging code.



Load-Path Lisp Shadows:
nil




More information about the XEmacs-Beta mailing list