unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: emacs-devel@gnu.org
Cc: jan.h.d@swipnet.se
Subject: Re: Emacs seems awfully unstable on OS X lately
Date: Sun, 16 Sep 2012 02:47:32 +0200 (CEST)	[thread overview]
Message-ID: <20120916.024732.2273988454371877554.hanche@math.ntnu.no> (raw)
In-Reply-To: <20120915.115711.33388204433633302.hanche@math.ntnu.no>

Well, after a day of testing I am inclined to blame revision 109972
for the instability on OS X. At least, I get crashes with that
revision and later ones, and so far I haven't seen any crashes with
earlier revisions. I am running on revision 109971 now. I'll probably
have to use it for several hours before I can feel confident in this
conclusion, however.

Now I know nothing about Objective C, but the added code in nsterm.m
doesn't look to me like something that would cause crashes.

However that may be, I managed to provoke a crash with gdb attached,
but didn't get a useful backtrace; only this:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000011
0x00007fff8fc7ae90 in objc_msgSend ()
(gdb) back
#0  0x00007fff8fc7ae90 in objc_msgSend ()
#1  0x0000000000000000 in ?? ()

The backtrace supplied by the OS X crash reporter is a lot more
informative, I suppose. I supply it below.

- Harald


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff89aa782a __kill + 10
1   org.gnu.Emacs                 	0x00000001000ad57e fatal_error_backtrace + 254 (emacs.c:332)
2   org.gnu.Emacs                 	0x00000001000ca6e3 emacs_abort + 19
3   org.gnu.Emacs                 	0x000000010019ca2d ns_term_shutdown + 125
4   org.gnu.Emacs                 	0x00000001000adbba shut_down_emacs + 250 (emacs.c:2066)
5   org.gnu.Emacs                 	0x00000001000ad531 fatal_error_backtrace + 177 (emacs.c:315)
6   org.gnu.Emacs                 	0x00000001000afc3e handle_fatal_signal + 14
7   org.gnu.Emacs                 	0x00000001000ca953 handle_on_main_thread + 131 (sysdep.c:1551)
8   libsystem_c.dylib             	0x00007fff90ebccfa _sigtramp + 26
9   libobjc.A.dylib               	0x00007fff8fc7ae90 objc_msgSend + 16
10  org.gnu.Emacs                 	0x000000010019a1d2 ns_update_begin + 146 (nsterm.m:644)
11  org.gnu.Emacs                 	0x000000010000ade5 update_frame + 213 (dispnew.c:3187)
12  org.gnu.Emacs                 	0x0000000100042668 redisplay_internal + 4696 (xdisp.c:13559)
13  org.gnu.Emacs                 	0x00000001000bd7da read_char + 8410 (keyboard.c:2496)
14  org.gnu.Emacs                 	0x00000001000c07d1 read_key_sequence + 7521
15  org.gnu.Emacs                 	0x00000001000c2278 command_loop_1 + 5192 (keyboard.c:1498)
16  org.gnu.Emacs                 	0x0000000100129226 internal_condition_case + 294 (eval.c:1320)
17  org.gnu.Emacs                 	0x00000001000c0e0e command_loop_2 + 62 (keyboard.c:1194)
18  org.gnu.Emacs                 	0x000000010012932b internal_catch + 219 (eval.c:1076)
19  org.gnu.Emacs                 	0x00000001000c28cd recursive_edit_1 + 301 (keyboard.c:1158)
20  org.gnu.Emacs                 	0x00000001000e09da read_minibuf + 2346 (minibuf.c:686)
21  org.gnu.Emacs                 	0x00000001000dde65 Fread_from_minibuffer + 245 (minibuf.c:988)
22  org.gnu.Emacs                 	0x00000001000ddfce Fread_string + 110 (minibuf.c:1053)
23  org.gnu.Emacs                 	0x00000001001277c7 Ffuncall + 1047 (eval.c:2825)
24  org.gnu.Emacs                 	0x000000010015ff08 exec_byte_code + 1992 (bytecode.c:898)
25  org.gnu.Emacs                 	0x000000010012aa62 funcall_lambda + 930 (eval.c:3041)
26  org.gnu.Emacs                 	0x0000000100127857 Ffuncall + 1191 (eval.c:2858)
27  org.gnu.Emacs                 	0x0000000100124854 Fcall_interactively + 6004 (callint.c:853)
28  org.gnu.Emacs                 	0x0000000100127793 Ffuncall + 995 (eval.c:2816)
29  org.gnu.Emacs                 	0x000000010012abe6 call3 + 38 (eval.c:2634)
30  org.gnu.Emacs                 	0x00000001000c1475 command_loop_1 + 1605 (keyboard.c:1634)
31  org.gnu.Emacs                 	0x0000000100129226 internal_condition_case + 294 (eval.c:1320)
32  org.gnu.Emacs                 	0x00000001000c0e0e command_loop_2 + 62 (keyboard.c:1194)
33  org.gnu.Emacs                 	0x000000010012932b internal_catch + 219 (eval.c:1076)
34  org.gnu.Emacs                 	0x00000001000c2890 recursive_edit_1 + 240 (keyboard.c:1173)
35  org.gnu.Emacs                 	0x00000001000b2e9d Frecursive_edit + 237 (keyboard.c:857)
36  org.gnu.Emacs                 	0x00000001000afb8c main + 6316 (emacs.c:1660)
37  org.gnu.Emacs                 	0x00000001000018a4 start + 52



  reply	other threads:[~2012-09-16  0:47 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-14  7:25 Emacs seems awfully unstable on OS X lately Harald Hanche-Olsen
2012-09-14  8:37 ` Ivan Andrus
2012-09-14 15:24   ` Harald Hanche-Olsen
2012-09-14 15:40     ` Óscar Fuentes
2012-09-14 15:59       ` Harald Hanche-Olsen
2012-09-14 19:37     ` Harald Hanche-Olsen
2012-09-14 19:46       ` Harald Hanche-Olsen
2012-09-14 21:15         ` Harald Hanche-Olsen
2012-09-14 21:36           ` Harald Hanche-Olsen
2012-09-14 23:00             ` Óscar Fuentes
2012-09-15  6:54               ` Andreas Schwab
2012-09-15  7:16               ` Eli Zaretskii
2012-09-15  9:37               ` Stephen J. Turnbull
2012-09-15  9:58                 ` Eli Zaretskii
2012-09-15 13:46                   ` Stephen J. Turnbull
2012-09-15 14:21                     ` Eli Zaretskii
2012-09-15 15:00                       ` Stephen J. Turnbull
2012-09-15  9:57               ` Harald Hanche-Olsen
2012-09-16  0:47                 ` Harald Hanche-Olsen [this message]
2012-09-16  8:04                   ` Jan Djärv
2012-09-16 13:15                     ` Harald Hanche-Olsen
2012-09-16 15:21                       ` Jan Djärv
2012-09-16 15:47                         ` Harald Hanche-Olsen
2012-09-16 18:27                           ` Jan Djärv
2012-09-17  7:14                             ` Harald Hanche-Olsen
2012-09-24  9:54                               ` Harald Hanche-Olsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120916.024732.2273988454371877554.hanche@math.ntnu.no \
    --to=hanche@math.ntnu.no \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).