unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4769: 23.1; GNU Emacs 23.1.1 (powerpc-apple-darwin9.8.0, NS apple-appkit-949.54) crashes (case 1) with "Fatal error (10)Abort trap" or freezes/hangs (case 2) with "Fatal error (10)" when (accidentally) pressing CMD-q while the MacOSX Menu bar is active
@ 2009-10-20 21:37 Stringer.Russell.Bell@gmail.com
  2016-05-02 13:40 ` Alan Third
  0 siblings, 1 reply; 3+ messages in thread
From: Stringer.Russell.Bell@gmail.com @ 2009-10-20 21:37 UTC (permalink / raw)
  To: bug-gnu-emacs

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

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


I believe a few factors are relevant to this crash/hang:

(1) I have set the following in .emacs:

(setq ns-command-modifier		'meta)
(setq ns-alternate-modifier		'none)

I do this in order to get the same key-bindings as I do when running 
Emacs under X11.  This makes the M-... effectively CMD-... as far as 
MacOSX is concerned.


(2) I also have the following customization option set in .emacs:

  '(confirm-kill-emacs (quote y-or-n-p))

This means that a Cocoa Yes-or-no confirmation dialog will be displayed 
whenever Emacs is quit using the GUI (MenuBar -> "Emacs" -> "Quit") 
saying: "Really exit Emacs?" (case 1)


When the MacOSX menu bar for Emacs 23 is being accessed (and maybe in 
other untested scenarios as well), I accidentally press CMD-q (instead 
of CMD-tab in order to switch to a different application's window) and 
MacOSX immediately interprets this as the "Quit" keyboard shortcut, 
resulting in the Cocoa dialog(s) being displayed: "Really exit Emacs?", 
which causes a crash (case 1) with "Fatal error (10)Abort trap" to be 
output on the terminal from which Emacs was invoked.

It seems like any Cocoa dialog causes the crash/hang.  For example, if I 
have active *shell* buffers with bash processes running, then I get the 
familiar prompt but as a Cocoa dialog:  "Active processes exist; kill 
them and exit anyway?" (case 2).  In this case (unlike the former 
"Really exit Emacs?" case (case 1) where Emacs crashes immediately with 
the Abort trap), Emacs hangs on the Cocoa dialog (which has stolen 
complete focus) and refuses to accept any further input...  The Cocoa 
dialog does not seem to respond to clicking both the Yes and No buttons. 
  At this point, I cannot save any of my unsaved buffers (including 
*shell*, *scratch* and *Messages* buffers which I typically like to 
save) even remotely using emacsclient:  emacsclient and the 
corresponding Emacs process (in which the server is running) do not seem 
to respond.

This is a major annoyance because some buffers including *shell* and 
*scratch* buffers typically have weeks worth of work I would like to 
have saved to disk, rather than lost.  The bash processes in the *shell* 
buffers seem to be terminated abnormally... So, none of the commands get 
saved to the .bash_history file either: another annoyance.

In case this bug cannot be fixed soon, I would like to know of any 
workarounds to avoid having unsaved buffers lost...  For example:

(1) Is there a way to disable the CMD-q keyboard shortcut specifically 
for Emacs?
(2) I'm far from being an an emacs-lisp expert... so what would be the 
lisp code to automatically/periodically (auto-)save *shell*, *scratch* 
(*grep*, *Messages*, etc.) buffers to distinct files on disk (so that 
atleast if a crash/hang occurs, only the most recent data from the last 
(auto-)save would have been lost).

I should note that I did not face the same bug when using Emacs 22.x on 
MacOSX which I believe was developed using Carbon, not Cocoa.  I should 
also note that this bug does not apply when running Emacs with the 
`--no-window-system' option (for obvious reasons).

In case it helps, the following is the Crash report generated by Apple's 
built-in "Problem Reporter" application for case 1 (unfortunately, Emacs 
has been compiled by MacPorts which does not compile with debugging 
info. for gdb):


Process:         Emacs [48150]
Path:            /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs
Identifier:      org.gnu.Emacs
Version:         Version 23.1 (9.0)
Code Type:       PPC (Native)
Parent Process:  bash [197]

Interval Since Last Report:          1402635 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  1927756 sec
Per-App Crashes Since Last Report:   1

Date/Time:       2009-10-20 14:02:17.836 -0500
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  8637E3EE-0F5D-4295-AC1B-9ACD17411BE3

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000005
Crashed Thread:  0

Thread 0 Crashed:
0   libSystem.B.dylib             	0x96cb1b50 __kill + 12
1   org.gnu.Emacs                 	0x0009b060 fatal_error_signal + 416
2   libSystem.B.dylib             	0x96caf9f8 _sigtramp + 64
3   libSystem.B.dylib             	0x96caf9f8 _sigtramp + 64

Thread 0 crashed with PPC Thread State 32:
   srr0: 0x96cb1b50  srr1: 0x0000d030   dar: 0x0cd7da08 dsisr: 0x0a000000
     r0: 0x00000025    r1: 0xbfff3d00    r2: 0x00000091    r3: 0x00000000
     r4: 0x00000000    r5: 0x00000001    r6: 0xbfff3dd8    r7: 0xbfff3e18
     r8: 0x00000002    r9: 0x0032aed0   r10: 0x96c7aa04   r11: 0x8fe33c48
    r12: 0x96cb1b3c   r13: 0x0036b778   r14: 0x00000001   r15: 0x003237e4
    r16: 0x0036b89c   r17: 0x00000001   r18: 0x00366ffc   r19: 0x000000ba
    r20: 0x0036d990   r21: 0x000cd531   r22: 0x0036d990   r23: 0x02a80d44
    r24: 0x0032ef50   r25: 0x02000009   r26: 0x00000005   r27: 0xbfff3e38
    r28: 0xbfff3e18   r29: 0x00000006   r30: 0x00366d6c   r31: 0x0009aed0
     cr: 0x82002222   xer: 0x00000004    lr: 0x0009b064   ctr: 0x96cb1b3c
vrsave: 0x00000000

Binary Images:
     0x1000 -   0x1bbfff +org.gnu.Emacs Version 23.1 (9.0) 
<d74151157ed5a1a2d368af5adb51633d> 
/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs
   0x3aa000 -   0x3d5ff3 +librsvg-2.2.dylib ??? (???) 
<67fc16498c6d7cde18ae95902f43d9e1> /opt/local/lib/librsvg-2.2.dylib
   0x3e0000 -   0x416ff6 +libgdk_pixbuf-2.0.0.dylib ??? (???) 
/opt/local/lib/libgdk_pixbuf-2.0.0.dylib
   0x423000 -   0x48bff3 +libcairo.2.dylib ??? (???) 
<32797256adee65ae0f39d4b3c9aa1e41> /opt/local/lib/libcairo.2.dylib
   0x4a7000 -   0x4dffff +libgobject-2.0.0.dylib ??? (???) 
<44575a091ce0e384d62fd6d4ba6d2919> /opt/local/lib/libgobject-2.0.0.dylib
   0x4ef000 -   0x4f0fff +libgmodule-2.0.0.dylib ??? (???) 
<b3aca87da9758199d5382ffd750dd8bd> /opt/local/lib/libgmodule-2.0.0.dylib
   0x4f3000 -   0x5baff7 +libglib-2.0.0.dylib ??? (???) 
<e6feddefc146c3ac2b333ccf951a5579> /opt/local/lib/libglib-2.0.0.dylib
   0x5d8000 -   0x5dfffe +libintl.3.dylib ??? (???) 
<49deeabb54fccf50ce773a58ace4c81b> /sw/lib/libintl.3.dylib
   0x5e5000 -   0x6ddfff +libiconv.2.dylib ??? (???) 
<fa9607ae2a605f01941cf01e2db88779> /sw/lib/libiconv.2.dylib
   0x6f5000 -   0x721ff7 +libpixman-1.0.dylib ??? (???) 
/opt/local/lib/libpixman-1.0.dylib
   0x729000 -   0x750fff +libfontconfig.1.dylib ??? (???) 
/opt/local/lib/libfontconfig.1.dylib
   0x759000 -   0x777ff3 +libexpat.1.dylib ??? (???) 
/opt/local/lib/libexpat.1.dylib
   0x77e000 -   0x7ebff3 +libfreetype.6.dylib ??? (???) 
<424f892db04869e6237b273480716b24> /opt/local/lib/libfreetype.6.dylib
   0x7fd000 -   0x81affb +libpng12.0.dylib ??? (???) 
<681b91658d885427551c3611cab59b27> /opt/local/lib/libpng12.0.dylib
   0x820000 -   0x82ffff +libz.1.dylib ??? (???) 
<ad0eb06aa682700e3d335ca9e7e13b98> /opt/local/lib/libz.1.dylib
   0x833000 -   0x839ff7 +libXrender.1.dylib ??? (???) 
<f0d95d6156e669f1f826dc7970f074c3> /opt/local/lib/libXrender.1.dylib
   0x83c000 -   0x946ff7 +libX11.6.dylib ??? (???) 
<504ad80849686c017f71fd07c2384e92> /opt/local/lib/libX11.6.dylib
   0x965000 -   0x966ffa +libXau.6.dylib ??? (???) 
<a1f48cfb28c7c61cce323b81ec64b140> /opt/local/lib/libXau.6.dylib
   0x969000 -   0x96cff7 +libXdmcp.6.dylib ??? (???) 
<de3ced68d9abaf1e654ada5e32beda95> /opt/local/lib/libXdmcp.6.dylib
   0x96f000 -   0x9a2ff7 +libdbus-1.3.dylib ??? (???) 
<81a0f5f6ea9c3808edca7ebd2eb44606> /opt/local/lib/libdbus-1.3.dylib
   0x9b2000 -   0x9defff +libncurses.5.dylib ??? (???) 
<2cc61a3937cc76e7ca0f0b63d9e45bf6> /sw/lib/ncurses/libncurses.5.dylib
   0x9f7000 -   0xa1dff3 +libgsf-1.114.dylib ??? (???) 
/opt/local/lib/libgsf-1.114.dylib
   0xa2e000 -   0xa3bfff +libbz2.1.0.dylib ??? (???) 
<bb484828bfa0e351bc9c8a88f2a9bbe0> /opt/local/lib/libbz2.1.0.dylib
   0xa3f000 -   0xa6cffb +libcroco-0.6.3.dylib ??? (???) 
<a9e7e1a2905ae22082d0d3e78ba4b4da> /opt/local/lib/libcroco-0.6.3.dylib
   0xa7e000 -   0xad0ff3 +libtiff.3.dylib ??? (???) 
<db40885576e979d4864b1593525be5bd> /opt/local/lib/libtiff.3.dylib
   0xadc000 -   0xb1dff3 +libjasper.1.dylib ??? (???) 
/opt/local/lib/libjasper.1.dylib
   0xb39000 -   0xb56ffd +libjpeg.62.dylib ??? (???) 
<2609de610f19c000a68637b844a8c716> /opt/local/lib/libjpeg.62.dylib
   0xb5c000 -   0xc6cff7 +libxml2.2.dylib ??? (???) 
<e7aea5c86ecc5305a6e4f5b766367c6d> /opt/local/lib/libxml2.2.dylib
   0xc99000 -   0xca3fff +libpangocairo-1.0.0.dylib ??? (???) 
<c5cadfcd2700e5ee91352866d9a4c3f2> /opt/local/lib/libpangocairo-1.0.0.dylib
   0xcac000 -   0xccfff3 +libpangoft2-1.0.0.dylib ??? (???) 
<7cd2aaaa742ceea188b707512929b251> /opt/local/lib/libpangoft2-1.0.0.dylib
   0xcd8000 -   0xd0fff7 +libpango-1.0.0.dylib ??? (???) 
<93f133c32c6a4567a41ab79fa442cd88> /opt/local/lib/libpango-1.0.0.dylib
   0xd20000 -   0xe0fff7 +libX11.6.dylib ??? (???) 
<3ccbddcfd5560140988276467fad01e7> /usr/X11/lib/libX11.6.dylib
   0xe2f000 -   0xe30ff2 +libXau.6.dylib ??? (???) 
<7e5b632faef0186e3348af78cf4dc063> /usr/X11/lib/libXau.6.dylib
   0xe34000 -   0xe37ff7 +libXdmcp.6.dylib ??? (???) 
<7593db61e3a860f99ea94949a9c7b388> /usr/X11/lib/libXdmcp.6.dylib
   0xe3b000 -   0xe98ff8 +libgio-2.0.0.dylib ??? (???) 
<6bcdd2bcdb0022fb8221ab4154f980ee> /opt/local/lib/libgio-2.0.0.dylib
   0xeb9000 -   0xec1ff4 +libintl.8.dylib ??? (???) 
<2e85d43988e67b251d7cfabedfe575ec> /opt/local/lib/libintl.8.dylib
   0xec5000 -   0xfbeff6 +libiconv.2.dylib ??? (???) 
<1e8f7212a06b31b6bcd1c1617f0bc07e> /opt/local/lib/libiconv.2.dylib
  0x2cc0000 -  0x2ea7ff3  com.apple.RawCamera.bundle 2.1.0 (474) 
<ba17722601435c06547ceba8723777bb> 
/System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x8fe00000 - 0x8fe30c23  dyld 97.1 (???) 
<89a0055b0e7ea2db881b73c6e63bc774> /usr/lib/dyld
0x90003000 - 0x9002afff  libcups.2.dylib ??? (???) 
<5cefcc0e9090a7587981a69a9b2ffc2a> /usr/lib/libcups.2.dylib
0x9002b000 - 0x90053fff  libxslt.1.dylib ??? (???) 
<a628a1484428ce3c87c56cf663faeb54> /usr/lib/libxslt.1.dylib
0x90054000 - 0x905d0ffb  com.apple.CoreGraphics 1.409.4 (???) 
<e5f06c8ccf181e362a13a96940b454ac> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x905d1000 - 0x9090aff7  com.apple.HIToolbox 1.5.6 (???) 
<a3b713a77c16da495c886463985f1e39> 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x9090b000 - 0x90af4ffb  com.apple.security 5.0.5 (36371) 
<cfd97bfeda0ff5301a635ba6b6e4f83a> 
/System/Library/Frameworks/Security.framework/Versions/A/Security
0x90b03000 - 0x90b64fff  com.apple.CoreText 2.0.4 (???) 
<72b950056b8bced5bacaad5e0712fcf8> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90b65000 - 0x90b90ff7  libauto.dylib ??? (???) 
<b3a3a4b0f09653bd6d58f1847922b533> /usr/lib/libauto.dylib
0x9153c000 - 0x915d6ff7  com.apple.ApplicationServices.ATS 3.7 (???) 
<58dd60fd70b041c0e226f973cdd09617> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x915d7000 - 0x918d9ffb  com.apple.CoreServices.CarbonCore 786.11 
(786.14) <4da8e0984e333f8cea32a24ba4364e8c> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x918da000 - 0x91962fff  com.apple.ink.framework 101.3 (86) 
<66a99ad6bc695390a66dd24789e23dcc> 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x9196f000 - 0x91974ff6  libmathCommon.A.dylib ??? (???) 
/usr/lib/system/libmathCommon.A.dylib
0x91975000 - 0x91988ffb  com.apple.speech.synthesis.framework 3.7.1 
(3.7.1) <dc8dac074f4d19175c5613b35aa529b3> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x91989000 - 0x919c6fff  libRIP.A.dylib ??? (???) 
<6b828c9a37142b6c1a472a5a32bbe4ca> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x919c7000 - 0x91a1dfff  libGLU.dylib ??? (???) 
<4307c8f9f09bca8afc78fa089c3f074e> 
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x91a1e000 - 0x91a1fff8  com.apple.ApplicationServices 34 (34) 
<6aa5ee485bb2e656531b3505932b845f> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x91a20000 - 0x91a9bfff  com.apple.SearchKit 1.2.2 (1.2.2) 
<a9d0033a5e1e55b5e382e52fe578d734> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x91a9c000 - 0x91ac9fff  libGL.dylib ??? (???) 
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x91b09000 - 0x91b14ffb  libgcc_s.1.dylib ??? (???) 
<ea47fd375407f162c76d14d64ba246cd> /usr/lib/libgcc_s.1.dylib
0x91b1c000 - 0x91b3bfff  libresolv.9.dylib ??? (???) 
<d4538f370cadea5d74d3ac86c610e570> /usr/lib/libresolv.9.dylib
0x91b83000 - 0x922f9fff  com.apple.AppKit 6.5.9 (949.54) 
<687f1742c249d7c9268e2eb57713cef6> 
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x922fa000 - 0x92446ffb  com.apple.ImageIO.framework 2.0.6 (2.0.6) 
<c20e33d5ff7076c0855c874db7df320d> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x9244e000 - 0x9249dfff  com.apple.Metadata 10.5.8 (398.26) 
<1a261534027b9d1518327d1fabe1182b> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x9249e000 - 0x92500ffb  com.apple.htmlrendering 68 (1.1.3) 
<e852db1c007de975fae2f0c2769c88ef> 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x92501000 - 0x92519ffb  com.apple.DictionaryServices 1.0.0 (1.0.0) 
<fe37191e732eeb66189185cd000a210b> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x9251b000 - 0x92524fff  com.apple.DiskArbitration 2.2.1 (2.2.1) 
<a389b4c2badce39540f24402f7df35e7> 
/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x92525000 - 0x925adffb  com.apple.audio.CoreAudio 3.1.2 (3.1.2) 
<6fc8a8cb43506b57b951da899a55d3b9> 
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x92771000 - 0x92b9fffe  libGLProgrammability.dylib ??? (???) 
<79e91a3ef8d13e2d1eaca2a38d5575bb> 
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x92ba0000 - 0x92de6ffb  com.apple.Foundation 6.5.9 (677.26) 
<c30e4aea51bbae480d4550cd53abb441> 
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92de7000 - 0x9314cffe  com.apple.QuartzCore 1.5.8 (1.5.8) 
<173de39401d774ee555d15681ba13be1> 
/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x937e8000 - 0x9387ffff  com.apple.LaunchServices 292 (292) 
<06cb373fd960fbc2b4a0201f55c7dd6d> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x93880000 - 0x9388dfff  libCSync.A.dylib ??? (???) 
<5bba25373fdb95f574e103d3ac4a7d6c> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x9388e000 - 0x93941ffc  com.apple.CFNetwork 438.14 (438.14) 
<6e213ab40eabfc276ca46a7c7cfad01a> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x9398d000 - 0x93994fff  com.apple.CommonPanels 1.2.4 (85) 
<0d1256175c5512c911ede094d767acfe> 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x93bb0000 - 0x93bfffff  libGLImage.dylib ??? (???) 
<69eba6e64ea12c7392286db4f29d7a1d> 
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x93c00000 - 0x93ceafff  libxml2.2.dylib ??? (???) 
<0ad5de98fe29bf0d4cc45d0384c4e764> /usr/lib/libxml2.2.dylib
0x93ceb000 - 0x93dbefff  com.apple.CoreServices.OSServices 228 (228) 
<8610aed4edbd5d21e887a68c32b5c216> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x93dbf000 - 0x93dcafff  com.apple.speech.recognition.framework 3.7.24 
(3.7.24) <ae3dc890a43a9269388301f6b59d3091> 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x93dcb000 - 0x93de7ffb  libPng.dylib ??? (???) 
<82a7ac26fb2dd17c6c6159f1227d4de6> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x93de8000 - 0x93e98fff  edu.mit.Kerberos 6.0.13 (6.0.13) 
<c8137653dbdf02a3f508fe8d2d744748> 
/System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x93e99000 - 0x93f1bfff  com.apple.print.framework.PrintCore 5.5.4 
(245.6) <9e01c05323b526bfc4d8f28940c373c2> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x94cad000 - 0x94cafffd  libRadiance.dylib ??? (???) 
<34621dd441aab91846ed399a4801e9f8> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x94d4c000 - 0x94d4fffb  com.apple.securityhi 3.0 (30817) 
<ad843393cafb2193fd716df88d8136bf> 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x94d50000 - 0x94db7ffb  libstdc++.6.dylib ??? (???) 
<a4e9b10268b3ffac26d0296499b24e8e> /usr/lib/libstdc++.6.dylib
0x94db8000 - 0x94db9fff  libffi.dylib ??? (???) 
<11b77dbce4aa0f0b66d40014230abd1d> /usr/lib/libffi.dylib
0x94dba000 - 0x94dbafff  com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) 
/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x94dfa000 - 0x94ecafff  com.apple.ColorSync 4.5.3 (4.5.3) 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x94ecb000 - 0x95012ffb  com.apple.audio.toolbox.AudioToolbox 1.5.2 
(1.5.2) 
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x95019000 - 0x9512dffa  com.apple.vImage 3.0 (3.0) 
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x9515f000 - 0x95188ffb  com.apple.shortcut 1.0.1 (1.0) 
<2d585ff6d2228a19705d304548a1e0df> 
/System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x9536f000 - 0x95389ffb  com.apple.CoreVideo 1.6.0 (20.0) 
<2bc359d0334aa51fcf0534320dee89e9> 
/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x9538a000 - 0x953a9fff  com.apple.vecLib 3.4.2 (vecLib 3.4.2) 
/System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x953ab000 - 0x953e0fff  com.apple.AE 402.3 (402.3) 
<6a6f752bba2d537eb8590e1cec01ac9a> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x953e1000 - 0x953ecff9  com.apple.helpdata 1.0.1 (14.2) 
/System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x953ed000 - 0x9540cfff  com.apple.Accelerate.vecLib 3.4.2 (vecLib 
3.4.2) 
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x9540d000 - 0x9540dffb  com.apple.installserver.framework 1.0 (8) 
/System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallServer
0x9540e000 - 0x9540effa  com.apple.CoreServices 32 (32) 
<42b6dda539f7411606187335d9eae0c5> 
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x9540f000 - 0x95412fff  com.apple.help 1.1 (36) 
<7106d6e074a3b9835ebf1e6cc6c822ce> 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x95413000 - 0x9544cfff  com.apple.SystemConfiguration 1.9.2 (1.9.2) 
<1a39075165bf7447fe8be1e93db49346> 
/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x9544d000 - 0x9544dfff  com.apple.audio.units.AudioUnit 1.5 (1.5) 
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x95562000 - 0x95612fff  com.apple.QD 3.11.56 (???) 
<3afac2b8eb501201f91672a32c4ecf99> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x95617000 - 0x9573cff3  com.apple.CoreFoundation 6.5.7 (476.19) 
<dee0f0024f3bf976cfa0a0816e8aa338> 
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9576f000 - 0x957a0fff  com.apple.coreui 1.2 (62) 
/System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x959fb000 - 0x95b43ff3  libicucore.A.dylib ??? (???) 
<07d0cefd48d11d5d5b1817c198013f0b> /usr/lib/libicucore.A.dylib
0x95b44000 - 0x95bc9fff  libsqlite3.0.dylib ??? (???) 
<c7ac09d5d803e12b655e41a992ed10c0> /usr/lib/libsqlite3.0.dylib
0x95bca000 - 0x95bd8fff  libz.1.dylib ??? (???) 
<1a70dd3594a8c5ad39d785af5da23237> /usr/lib/libz.1.dylib
0x95be4000 - 0x95c79ff7  com.apple.framework.IOKit 1.5.2 (???) 
<ced0a498252f76a2d2ba9f2a0ae02160> 
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x95c7a000 - 0x95c88ff3  com.apple.opengl 1.5.10 (1.5.10) 
<f90db7f5e4a5144afd040236f8343280> 
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x95c89000 - 0x95ca0ffb  com.apple.ImageCapture 5.0.2 (5.0.2) 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x95ca1000 - 0x95ca1fff  com.apple.Carbon 136 (136) 
<f8fdb172887f2d6a374aed2d2a13b319> 
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x95ceb000 - 0x95db3ffb  com.apple.CoreData 100.2 (186.2) 
<be912ff41bd4506438a71d5665e89069> 
/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x95db4000 - 0x95dd4ff7  libJPEG.dylib ??? (???) 
<65edcc6af826566c94cfa1f19fd02291> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x95e1a000 - 0x95e61fff  com.apple.NavigationServices 3.5.2 (163) 
<cb063c95a55ba12994a64c7e47f5706a> 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x95f21000 - 0x95f29fff  libbsm.dylib ??? (???) 
<c1fca3cbe3b1c21e9b31bc89b920f34c> /usr/lib/libbsm.dylib
0x95f90000 - 0x95f9cff3  com.apple.audio.SoundManager 3.9.2 (3.9.2) 
<79588842bcaf6c747a95b2120304397a> 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x95f9d000 - 0x96036fc3  libvDSP.dylib ??? (???) 
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x961a2000 - 0x961ffffb  com.apple.HIServices 1.7.1 (???) 
<a6c5c0bf2d68aeb453dbc493b7d0c8d9> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x96200000 - 0x96204ffe  libGIF.dylib ??? (???) 
<755ca03546f380942649cb38cec37ba2> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x963b0000 - 0x9696afff  libBLAS.dylib ??? (???) 
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x9696b000 - 0x9696bff8  com.apple.Cocoa 6.5 (???) 
<e9a4f1c636d00893db0494c4040176ba> 
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x96997000 - 0x96a26ffb  com.apple.DesktopServices 1.4.8 (1.4.8) 
<efaf20fbcdf58c7da37ddbcf190bba75> 
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x96a27000 - 0x96ab1fff  libvMisc.dylib ??? (???) 
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x96ae0000 - 0x96bc3fff  libobjc.A.dylib ??? (???) 
<39035ba996e55c617e20595dcd89c063> /usr/lib/libobjc.A.dylib
0x96c2f000 - 0x96dcfff3  libSystem.B.dylib ??? (???) 
<900415cd2c829b2de9a6cdcdaa6307e3> /usr/lib/libSystem.B.dylib
0x96f6e000 - 0x97297fe7  libLAPACK.dylib ??? (???) 
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x97298000 - 0x9729fffb  com.apple.print.framework.Print 218.0.3 (220.2) 
<48f5dd2ce80e9f7c8e3be2acbca8584f> 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x972a0000 - 0x972a8ffb  libCGATS.A.dylib ??? (???) 
<2e2b3379b58eef41b4a0858c1b76236c> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x972a9000 - 0x97363fff  libcrypto.0.9.7.dylib ??? (???) 
<d0c8f3918053b8cb84c43e5fb40fa066> /usr/lib/libcrypto.0.9.7.dylib
0x97364000 - 0x973a5ffb  libTIFF.dylib ??? (???) 
<da8860d4d8b2a54970a81fca35968366> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x973a6000 - 0x973b9fff  com.apple.LangAnalysis 1.6.5 (1.6.5) 
<2a661ad6e432dd62dd831e234904061f> 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x973ba000 - 0x973d6ffb  com.apple.openscripting 1.2.8 (???) 
<eb961ce3c1b1e564c2eefe3682ee0555> 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0xfffec000 - 0xfffeffff  libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff8000 - 0xffff9703  libSystem.B.dylib ??? (???) 
/usr/lib/libSystem.B.dylib











Model: PowerMac10,1, BootROM 4.8.9f4, 1 processor, PowerPC G4  (1.2), 
1.25 GHz, 512 MB
Graphics: kHW_ATIrv280Item, ATY,RV280, spdisplays_agp_device, 32 MB
Memory Module: DIMM0/J11, 512 MB, DDR SDRAM, PC3200U-30330
Modem: Jump, V.92, Version 1.0
Network Service: Ethernet, Ethernet, en0
Parallel ATA Device: ST940110A, 37.26 GB
Parallel ATA Device: MATSHITACD-RW  CW-8124, 7.51 GB
USB Device: iPod, (null) mA
USB Device: hub_device, (null) mA
USB Device: Microsoft 5-Button Mouse with IntelliEye(TM), (null) mA
USB Device: Comfort Curve Keyboard 2000, (null) mA
FireWire Device: ATA Device 00, Seagate, 400mbit_speed




If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
     `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/Applications/MacPorts/Emacs.app/Contents/Resources/etc/DEBUG for 
instructions.


In GNU Emacs 23.1.1 (powerpc-apple-darwin9.8.0, NS apple-appkit-949.54)
  of 2009-08-29 on enforcer
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--prefix=/opt/local' '--with-ns' 
'--without-x' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-O2 -arch ppc' 
'LDFLAGS=-L/opt/local/lib' 'CPPFLAGS=-I/opt/local/include''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: en_US.US-ASCII
   value of $LC_CTYPE: en_US.US-ASCII
   value of $LC_MESSAGES: en_US.US-ASCII
   value of $LC_MONETARY: en_US.US-ASCII
   value of $LC_NUMERIC: en_US.US-ASCII
   value of $LC_TIME: en_US.US-ASCII
   value of $LANG: en_US.US-ASCII
   value of $XMODIFIERS: nil
   locale-coding-system: us-ascii-unix
   default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
   shell-dirtrack-mode: t
   savehist-mode: t
   diff-auto-refine-mode: t
   which-function-mode: t
   show-paren-mode: t
   server-mode: t
   msb-mode: t
   gud-tooltip-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
t <backspace> SPC t o C-x C-s C-n C-n C-n C-s r e s
p o n M-f M-d SPC t o M-d M-f SPC e i t h e r C-x C-s
M-b M-f M-f M-b M-b M-d b o t h M-b M-b M-f M-f M-f
M-f M-d SPC a d <backspace> n d <backspace> <backspace>
<backspace> a n d C-x C-s C-a C-s * s c M-f C-f M-b
M-b M-d <backspace> , M-f C-f SPC a n d SPC * M e s
s a g e s 8 <backspace> * C-x C-s C-e C-a C-s p r o
c C-s C-s C-s C-f s C-x C-s C-n C-n C-a C-s i m m M-b
M-d s o o n C-x C-s C-a <down-mouse-1> <mouse-1> <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1>
M-< C-x h M-w M-< C-s r e l C-f C-b C-d e C-x C-s M-<
C-s k e y C-s C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b
C-b C-b M-d C-f C-b C-d C-f C-f C-f - C-x C-s M-< C-s
k e y b C-s C-s C-r C-r C-r C-s C-s C-r C-r C-r C-r
M-< C-s C-s C-s C-s M-< M-> M-< M-< C-s d i f f C-f
C-f e C-x C-s M-< C-s t e r m i a C-s C-b C-b C-b C-b
C-b C-b C-y M-d C-x C-s M-< C-n C-n C-n C-e <backspace>
: C-x C-s <down> <down> <down> <down> <down> <down>
<down> <down> <down> C-v C-v C-v C-v M-> M-< <help-echo>
C-SPC C-e M-w <backspace> C-x C-s C-SPC C-a M-w <help-echo>
C-e <return> <return> <return> C-x C-s C-p C-p <return>
C-x C-s C-p C-n C-n C-n C-n C-p C-p C-p C-p C-p C-SPC
C-g C-p C-e C-SPC C-a M-w M-x M-p M-p <return>

Recent messages:







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#4769: 23.1; GNU Emacs 23.1.1 (powerpc-apple-darwin9.8.0, NS apple-appkit-949.54) crashes (case 1) with "Fatal error (10)Abort trap" or freezes/hangs (case 2) with "Fatal error (10)" when (accidentally) pressing CMD-q while the MacOSX Menu bar is active
  2009-10-20 21:37 bug#4769: 23.1; GNU Emacs 23.1.1 (powerpc-apple-darwin9.8.0, NS apple-appkit-949.54) crashes (case 1) with "Fatal error (10)Abort trap" or freezes/hangs (case 2) with "Fatal error (10)" when (accidentally) pressing CMD-q while the MacOSX Menu bar is active Stringer.Russell.Bell@gmail.com
@ 2016-05-02 13:40 ` Alan Third
  2016-06-11 14:56   ` Alan Third
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Third @ 2016-05-02 13:40 UTC (permalink / raw)
  To: Stringer.Russell.Bell@gmail.com; +Cc: 4769

"Stringer.Russell.Bell@gmail.com" <stringer.russell.bell@gmail.com>
writes:

> (1) I have set the following in .emacs:
>
> (setq ns-command-modifier		'meta)
> (setq ns-alternate-modifier		'none)
>
> I do this in order to get the same key-bindings as I do when running
> Emacs under X11.  This makes the M-... effectively CMD-... as far as
> MacOSX is concerned.
>
>
> (2) I also have the following customization option set in .emacs:
>
>  '(confirm-kill-emacs (quote y-or-n-p))
>
> This means that a Cocoa Yes-or-no confirmation dialog will be
> displayed whenever Emacs is quit using the GUI (MenuBar -> "Emacs" ->
> "Quit") saying: "Really exit Emacs?" (case 1)
>
>
> When the MacOSX menu bar for Emacs 23 is being accessed (and maybe in
> other untested scenarios as well), I accidentally press CMD-q (instead
> of CMD-tab in order to switch to a different application's window) and
> MacOSX immediately interprets this as the "Quit" keyboard shortcut,
> resulting in the Cocoa dialog(s) being displayed: "Really exit
> Emacs?", which causes a crash (case 1) with "Fatal error (10)Abort
> trap" to be output on the terminal from which Emacs was invoked.

Hi, sorry it's taken so long for someone to respond to this bug report.
I can't reproduce this in Emacs 25. Are you able to reproduce it in a
recent version of Emacs?
-- 
Alan Third





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#4769: 23.1; GNU Emacs 23.1.1 (powerpc-apple-darwin9.8.0, NS apple-appkit-949.54) crashes (case 1) with "Fatal error (10)Abort trap" or freezes/hangs (case 2) with "Fatal error (10)" when (accidentally) pressing CMD-q while the MacOSX Menu bar is active
  2016-05-02 13:40 ` Alan Third
@ 2016-06-11 14:56   ` Alan Third
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Third @ 2016-06-11 14:56 UTC (permalink / raw)
  To: Stringer.Russell.Bell@gmail.com; +Cc: 4769-done

Alan Third <alan@idiocy.org> writes:

>> When the MacOSX menu bar for Emacs 23 is being accessed (and maybe in
>> other untested scenarios as well), I accidentally press CMD-q (instead
>> of CMD-tab in order to switch to a different application's window) and
>> MacOSX immediately interprets this as the "Quit" keyboard shortcut,
>> resulting in the Cocoa dialog(s) being displayed: "Really exit
>> Emacs?", which causes a crash (case 1) with "Fatal error (10)Abort
>> trap" to be output on the terminal from which Emacs was invoked.
>
> Hi, sorry it's taken so long for someone to respond to this bug report.
> I can't reproduce this in Emacs 25. Are you able to reproduce it in a
> recent version of Emacs?

It's been almost 6 weeks, so I'll close this now. If anyone can still
reproduce the error, please feel free to reopen the bug report.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-11 14:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-20 21:37 bug#4769: 23.1; GNU Emacs 23.1.1 (powerpc-apple-darwin9.8.0, NS apple-appkit-949.54) crashes (case 1) with "Fatal error (10)Abort trap" or freezes/hangs (case 2) with "Fatal error (10)" when (accidentally) pressing CMD-q while the MacOSX Menu bar is active Stringer.Russell.Bell@gmail.com
2016-05-02 13:40 ` Alan Third
2016-06-11 14:56   ` Alan Third

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).