bug#41678: 27.0.91; crash

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#41678: 27.0.91; crash

Devon Sean McCullough-13
Seems unlikely to recur but on the off chance this is helpful:
MacOSX 10.11.6 Emacs 27.0.91 crashed upon
      1 rapidly flipping between frames
      2 killing all but one frame
      3 switching input sources in the Apple menu bar
unclear whether it crashed after the second or third event.

(lldb) thread backtrace
* thread #1: tid = 0x4c377c7, 0x00007fff93fa04dd libobjc.A.dylib`objc_msgSend + 29, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
  * frame #0: 0x00007fff93fa04dd libobjc.A.dylib`objc_msgSend + 29
    frame #1: 0x000000010b019aa4 Emacs-x86_64-10_10`-[EmacsImage dealloc] + 84
    frame #2: 0x00007fff93fa7288 libobjc.A.dylib`objc_object::sidetable_release(bool) + 242
    frame #3: 0x00007fff93fa5b3b libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 477
    frame #4: 0x00007fff8ecc2bc2 CoreFoundation`_CFAutoreleasePoolPop + 50
    frame #5: 0x00007fff9637f7ca Foundation`-[NSAutoreleasePool drain] + 153
    frame #6: 0x00007fff8b7b8e53 AppKit`-[NSApplication run] + 893
    frame #7: 0x000000010aff96c4 Emacs-x86_64-10_10`-[EmacsApp run] + 356
    frame #8: 0x000000010aff822d Emacs-x86_64-10_10`ns_select + 925
    frame #9: 0x000000010afb6d31 Emacs-x86_64-10_10`wait_reading_process_output + 3905
    frame #10: 0x000000010ae1e366 Emacs-x86_64-10_10`sit_for + 342
    frame #11: 0x000000010aee59d9 Emacs-x86_64-10_10`read_char + 6089
    frame #12: 0x000000010aee26f5 Emacs-x86_64-10_10`read_key_sequence + 1893
    frame #13: 0x000000010aee0e04 Emacs-x86_64-10_10`command_loop_1 + 1396
    frame #14: 0x000000010af6bcf7 Emacs-x86_64-10_10`internal_condition_case + 87
    frame #15: 0x000000010aef3190 Emacs-x86_64-10_10`command_loop_2 + 48
    frame #16: 0x000000010af6b64e Emacs-x86_64-10_10`internal_catch + 78
    frame #17: 0x000000010aee0008 Emacs-x86_64-10_10`command_loop + 200
    frame #18: 0x000000010aedfef3 Emacs-x86_64-10_10`recursive_edit_1 + 115
    frame #19: 0x000000010af116d9 Emacs-x86_64-10_10`read_minibuf + 2681
    frame #20: 0x000000010af10c35 Emacs-x86_64-10_10`Fread_from_minibuffer + 213
    frame #21: 0x000000010af6de80 Emacs-x86_64-10_10`funcall_subr + 448
    frame #22: 0x000000010af6d4f7 Emacs-x86_64-10_10`Ffuncall + 727
    frame #23: 0x000000010afad518 Emacs-x86_64-10_10`exec_byte_code + 2328
    frame #24: 0x000000010af6d498 Emacs-x86_64-10_10`Ffuncall + 632
    frame #25: 0x000000010afad518 Emacs-x86_64-10_10`exec_byte_code + 2328
    frame #26: 0x000000010af69bd6 Emacs-x86_64-10_10`eval_sub + 2214
    frame #27: 0x000000010af6ca8b Emacs-x86_64-10_10`Feval + 107
    frame #28: 0x000000010af66fb4 Emacs-x86_64-10_10`Fcall_interactively + 452
    frame #29: 0x000000010af6dddb Emacs-x86_64-10_10`funcall_subr + 283
    frame #30: 0x000000010af6d4f7 Emacs-x86_64-10_10`Ffuncall + 727
    frame #31: 0x000000010afad518 Emacs-x86_64-10_10`exec_byte_code + 2328
    frame #32: 0x000000010af6d498 Emacs-x86_64-10_10`Ffuncall + 632
    frame #33: 0x000000010af6da6d Emacs-x86_64-10_10`call1 + 45
    frame #34: 0x000000010aee111b Emacs-x86_64-10_10`command_loop_1 + 2187
    frame #35: 0x000000010af6bcf7 Emacs-x86_64-10_10`internal_condition_case + 87
    frame #36: 0x000000010aef3190 Emacs-x86_64-10_10`command_loop_2 + 48
    frame #37: 0x000000010af6b64e Emacs-x86_64-10_10`internal_catch + 78
    frame #38: 0x000000010aedffde Emacs-x86_64-10_10`command_loop + 158
    frame #39: 0x000000010aedfef3 Emacs-x86_64-10_10`recursive_edit_1 + 115
    frame #40: 0x000000010aee0122 Emacs-x86_64-10_10`Frecursive_edit + 226
    frame #41: 0x000000010aeded13 Emacs-x86_64-10_10`main + 7843
    frame #42: 0x00007fff878835ad libdyld.dylib`start + 1
(lldb) thread list
Process 94167 stopped
* thread #1: tid = 0x4c377c7, 0x00007fff93fa04dd libobjc.A.dylib`objc_msgSend + 29, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
  thread #2: tid = 0x4c377e5, 0x00007fff9614fefa libsystem_kernel.dylib`kevent_qos + 10, queue = 'com.apple.libdispatch-manager'
  thread #3: tid = 0x4c3784d, 0x00007fff9614f07a libsystem_kernel.dylib`__select + 10
  thread #4: tid = 0x4c37857, 0x00007fff96148f72 libsystem_kernel.dylib`mach_msg_trap + 10, name = 'com.apple.NSEventThread'
  thread #35976: tid = 0x609328a, 0x00007fff9614f5e2 libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #35977: tid = 0x609328b, 0x00007fff9614f5e2 libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #35978: tid = 0x609328c, 0x00007fff93fbd666 libobjc.A.dylib`bool objc::DenseMapBase<objc::DenseMap<DisguisedPtr<objc_object>, unsigned long, true, objc::DenseMapInfo<DisguisedPtr<objc_object> > >, DisguisedPtr<objc_object>, unsigned long, objc::DenseMapInfo<DisguisedPtr<objc_object> >, true>::LookupBucketFor<DisguisedPtr<objc_object> >(DisguisedPtr<objc_object> const&, std::__1::pair<DisguisedPtr<objc_object>, unsigned long> const*&) const + 244, queue = 'com.apple.NSXPCConnection.user.endpoint'
  thread #35979: tid = 0x609328d, 0x00007fff9614f5e2 libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #35980: tid = 0x609328f, 0x00007fff9614906e libsystem_kernel.dylib`syscall_thread_switch + 10, queue = 'com.apple.notification_center.server_conn.0x00007fee485f9780.dq'
  thread #35981: tid = 0x6093293, 0x00007fff93fa6e39 libobjc.A.dylib`objc_object::sidetable_clearDeallocating() + 179, queue = 'com.apple.xpc.anonymous.0x7fee486c4f40.peer.0x7fee4b10c550'
  thread #35982: tid = 0x6093296, 0x00007fff9614906e libsystem_kernel.dylib`syscall_thread_switch + 10, queue = 'com.apple.root.user-initiated-qos'
  thread #35983: tid = 0x6093297, 0x00007fff9614f5e2 libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #35984: tid = 0x6093298, 0x00007fff9614f5e2 libsystem_kernel.dylib`__workq_kernreturn + 10
(lldb)

In GNU Emacs 27.0.91 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1404.47 Version 10.11.6 (Build 15G22010))
 of 2020-06-02 built on LA.local
Windowing system distributor 'Apple', version 10.3.1404
System Description:  Mac OS X 10.11.6

Recent messages:

Error during redisplay: (clear-minibuffer-message) signaled (void-function timerp) ⟵ [24 of these messages follow Loading *...done messages]

Loading tooltip...done
Loading /Applications/Emacs-27.0.91.app/Contents/Resources/lisp/leim/leim-list.el (source)...done
Finding pointers to doc strings...done
Source file ‘/Users/devon/emacs/greek-keys.el’ newer than byte-compiled file; using older file
Loading /Users/devon/quicklisp/slime-helper.el (source)...
ad-handle-definition: ‘apropos’ got redefined
Loading /Users/devon/quicklisp/slime-helper.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading loadup.el (source)...done
Package cl is deprecated

Configured using:
 'configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
THREADS PDUMPER

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  display-time-mode: t
  global-hi-lock-mode: t
  hi-lock-mode: t
  gud-tooltip-mode: t
  which-function-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/progmodes/xref hides /Users/devon/emacs/xref
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/xml hides /Users/devon/emacs/xml
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/net/tramp-ftp hides /Users/devon/emacs/tramp-ftp
/Users/devon/quicklisp/dists/quicklisp/software/slime-v2.24/slime hides /Users/devon/emacs/slime
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/net/shr hides /Users/devon/emacs/shr
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/textmodes/sgml-mode hides /Users/devon/emacs/sgml-mode
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/mail/sendmail hides /Users/devon/emacs/sendmail
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/replace hides /Users/devon/emacs/replace
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/emacs-lisp/regexp-opt hides /Users/devon/emacs/regexp-opt
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/rect hides /Users/devon/emacs/rect
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/textmodes/picture hides /Users/devon/emacs/picture
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/play/morse hides /Users/devon/emacs/morse
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/lpr hides /Users/devon/emacs/lpr
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/emacs-lisp/lisp hides /Users/devon/emacs/lisp
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/json hides /Users/devon/emacs/json
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/progmodes/inf-lisp hides /Users/devon/emacs/inf-lisp
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/image hides /Users/devon/emacs/image
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/mail/hashcash hides /Users/devon/emacs/hashcash
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/language/greek hides /Users/devon/emacs/greek
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/frame hides /Users/devon/emacs/frame
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/forms hides /Users/devon/emacs/forms
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/dired-aux hides /Users/devon/emacs/dired-aux
/Users/devon/.emacs.d/elpa/csv-mode-1.7/csv-mode hides /Users/devon/emacs/csv-mode
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/comint hides /Users/devon/emacs/comint
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/emacs-lisp/cl-macs hides /Users/devon/emacs/cl-macs
/Applications/Emacs-27.0.91.app/Contents/Resources/lisp/emacs-lisp/advice hides /Users/devon/emacs/advice

Features:
(shadow mail-extr emacsbug message rmc puny format-spec rfc822 mml
mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs
text-property-search time-date mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils hosts hosts-config windmove
ls-lisp dired-x time slime-pale slime-fancy slime-trace-dialog
slime-fontifying-fu slime-package-fu slime-references
slime-compiler-notes-tree slime-scratch slime-presentations bridge
slime-macrostep macrostep slime-mdot-fu slime-enclosing-context
slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c
slime-editing-commands slime-autodoc slime-repl elp slime-parse slime
derived hi-lock lisp-mnt gud apropos compile arc-mode archive-mode
noutline outline hyperspec thingatpt slime-autoloads quote mouse-thing
lzx iso-transl greek-keys which-func imenu semantic/util-modes
semantic/util semantic pp semantic/tag semantic/lex semantic/fw
mode-local find-func cedet new rect shell pcomplete comint ansi-color
bucky cl-extra help-mode macosx sort etags fileloop generator xref
project ring compare-w diff-mode easy-mmode paren advice sgml-mode dom
dired dired-loaddefs info-look ispell disp-table edmacro kmacro supersub
rx finder-inf cl info package easymenu browse-url url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json subr-x map url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib tooltip cus-start eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads kqueue cocoa ns
multi-tty make-network-process emacs)

Memory information:
((conses 16 465878 44340)
 (symbols 48 33884 5)
 (strings 32 97581 4161)
 (string-bytes 1 3560749)
 (vectors 16 62471)
 (vector-slots 8 1548946 35922)
 (floats 8 351 38)
 (intervals 56 281 0)
 (buffers 1000 11))




Reply | Threaded
Open this post in threaded view
|

bug#41678: 27.0.91; [macOS] crash, maybe due to frame switching and/or switch input sources from menu bar

Alan Third
On Fri, Jan 22, 2021 at 09:20:52PM +0100, Lars Ingebrigtsen wrote:

> Devon Sean McCullough <[hidden email]> writes:
> > (lldb) thread backtrace
> > * thread #1: tid = 0x4c377c7, 0x00007fff93fa04dd libobjc.A.dylib`objc_msgSend + 29, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
> >   * frame #0: 0x00007fff93fa04dd libobjc.A.dylib`objc_msgSend + 29
> >     frame #1: 0x000000010b019aa4 Emacs-x86_64-10_10`-[EmacsImage dealloc] + 84
> >     frame #2: 0x00007fff93fa7288 libobjc.A.dylib`objc_object::sidetable_release(bool) + 242
> >     frame #3: 0x00007fff93fa5b3b libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 477
> >     frame #4: 0x00007fff8ecc2bc2 CoreFoundation`_CFAutoreleasePoolPop + 50
> >     frame #5: 0x00007fff9637f7ca Foundation`-[NSAutoreleasePool drain] + 153
> >     frame #6: 0x00007fff8b7b8e53 AppKit`-[NSApplication run] + 893
>
> I've added Alan to the CCs; perhaps he has some insight here.

It's possible that commit f14869cd70e61b1908ec88a5e3d4bf21c7d538a0 has
fixed this, but I've not been able to reproduce most of these recent
crashes, so I can't say for sure.
--
Alan Third



Reply | Threaded
Open this post in threaded view
|

bug#41678: 27.0.91; [macOS] crash, maybe due to frame switching and/or switch input sources from menu bar

Lars Ingebrigtsen
Alan Third <[hidden email]> writes:

> It's possible that commit f14869cd70e61b1908ec88a5e3d4bf21c7d538a0 has
> fixed this, but I've not been able to reproduce most of these recent
> crashes, so I can't say for sure.

Right.  Devon, would it be possible for you to test the development
version of Emacs and see whether these crashes are indeed gone?

--
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



Reply | Threaded
Open this post in threaded view
|

bug#41678: 27.0.91; [macOS] crash, maybe due to frame switching and/or switch input sources from menu bar

Lars Ingebrigtsen
Lars Ingebrigtsen <[hidden email]> writes:

>> It's possible that commit f14869cd70e61b1908ec88a5e3d4bf21c7d538a0 has
>> fixed this, but I've not been able to reproduce most of these recent
>> crashes, so I can't say for sure.
>
> Right.  Devon, would it be possible for you to test the development
> version of Emacs and see whether these crashes are indeed gone?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

--
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no