* bug#26982: 25.2; emacs crashes after lisp started
@ 2017-05-18 14:46 Pete Bonasso
2017-05-18 20:33 ` Alan Third
0 siblings, 1 reply; 9+ messages in thread
From: Pete Bonasso @ 2017-05-18 14:46 UTC (permalink / raw)
To: 26982
From: Pete Bonasso <bonasso@MacBook-Pro.local>
To: bug-gnu-emacs@gnu.org
Subject: 25.2; emacs crashes after lisp started
--text follows this line--
1) start emacs.
2) ctrl-x l to start lisp in a *common-lisp* buffer (I use ACL 10.1)
3) click on any menu (e.g., edit, options, tools)
4) emacs will crash with the single line of output on the cmd line:
"objc[17271]: Invalid or prematurely-freed autorelease pool 0x104002140."
In GNU Emacs 25.2.1 (x86_64-apple-darwin16.6.0, NS appkit-1504.83
Version 10.12.5 (Build 16F73))
of 2017-05-16 built on MacBook-Pro.local
Windowing system distributor 'Apple', version 10.3.1504
Configured using:
'configure --disable-dependency-tracking --disable-silent-rules
--enable-locallisppath=/usr/local/share/emacs/site-lisp
--infodir=/usr/local/Cellar/emacs/25.2/share/info/emacs
--prefix=/usr/local/Cellar/emacs/25.2 --without-x --with-xml2
--without-dbus --without-gnutls --without-imagemagick --with-ns
--disable-ns-self-contained'
Configured features:
NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Common Lisp
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-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
line-number-mode: t
transient-mark-mode: t
Recent messages:
Loading
/Applications/AllegroCL64.app/Contents/Resources/eli/fi-manual.elc...
Loading
/Applications/AllegroCL64.app/Contents/Resources/eli/fi-manual-data.elc...done
Loading
/Applications/AllegroCL64.app/Contents/Resources/eli/fi-manual.elc...done
Loading
/Applications/AllegroCL64.app/Contents/Resources/eli/fi-emacs21.elc...done
Loading
/Applications/AllegroCL64.app/Contents/Resources/eli/fi-site-init.el
(source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
(New file)
package specification is ‘cl-user’
Please type y, n, or !: y
package specification is ‘cl-user’
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
vc-dispatcher vc-svn slime-autoloads fi-site-init fi-manual
allegro-manual-data thingatpt browse-url sendmail rfc2047 rfc2045
ietf-drums mm-util help-fns mail-prsvr mail-utils add-log advice etags
xref cl-seq project eieio byte-opt bytecomp byte-compile cl-extra
help-mode easymenu cconv eieio-core ring cl-macs cl gv cl-loaddefs pcase
cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame 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 charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
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 kqueue cocoa ns
multi-tty make-network-process emacs)
Memory information:
((conses 16 230381 7322)
(symbols 48 26669 0)
(miscs 40 89 266)
(strings 32 33654 7204)
(string-bytes 1 1163082)
(vectors 16 37697)
(vector-slots 8 704228 4552)
(floats 8 234 36)
(intervals 56 332 7)
(buffers 976 20))
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#26982: 25.2; emacs crashes after lisp started
2017-05-18 14:46 bug#26982: 25.2; emacs crashes after lisp started Pete Bonasso
@ 2017-05-18 20:33 ` Alan Third
2017-05-18 20:38 ` Pete Bonasso
0 siblings, 1 reply; 9+ messages in thread
From: Alan Third @ 2017-05-18 20:33 UTC (permalink / raw)
To: Pete Bonasso; +Cc: 26982
On Thu, May 18, 2017 at 09:46:55AM -0500, Pete Bonasso wrote:
> 1) start emacs.
> 2) ctrl-x l to start lisp in a *common-lisp* buffer (I use ACL 10.1)
> 3) click on any menu (e.g., edit, options, tools)
> 4) emacs will crash with the single line of output on the cmd line:
> "objc[17271]: Invalid or prematurely-freed autorelease pool 0x104002140."
Hi Pete, thanks for reporting this.
Is there any chance you could try the master branch or a nightly
build? There have been a few crash fixes made in it.
--
Alan Third
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#26982: 25.2; emacs crashes after lisp started
2017-05-18 20:33 ` Alan Third
@ 2017-05-18 20:38 ` Pete Bonasso
2017-05-18 21:05 ` Alan Third
0 siblings, 1 reply; 9+ messages in thread
From: Pete Bonasso @ 2017-05-18 20:38 UTC (permalink / raw)
To: Alan Third; +Cc: 26982
[-- Attachment #1: Type: text/html, Size: 1272 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#26982: 25.2; emacs crashes after lisp started
2017-05-18 20:38 ` Pete Bonasso
@ 2017-05-18 21:05 ` Alan Third
2017-05-18 21:10 ` Pete Bonasso
0 siblings, 1 reply; 9+ messages in thread
From: Alan Third @ 2017-05-18 21:05 UTC (permalink / raw)
To: Pete Bonasso; +Cc: 26982
On Thu, May 18, 2017 at 03:38:31PM -0500, Pete Bonasso wrote:
> > Is there any chance you could try the master branch or a nightly
> > build? There have been a few crash fixes made in it.
>
> Yes I can, but how do I do that? Right now I use: <br>
> <br>
> brew install emacs --with-cocoa<br>
> <br>
> which I thought gets the latest version.<br>
> <br>
> FYI, the universal binary for the Mac, Emacs-25.2-universal.dmg,
> does NOT have this problem.<br>
> Pete<br>
Hmmmm, stranger and stranger. I would expect the binary to be
essentially identical to the homebrew version.
I believe you can build the master branch in homebrew using:
brew install emacs --HEAD --with-cocoa
--
Alan Third
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#26982: 25.2; emacs crashes after lisp started
2017-05-18 21:05 ` Alan Third
@ 2017-05-18 21:10 ` Pete Bonasso
2017-05-18 22:13 ` Pete Bonasso
0 siblings, 1 reply; 9+ messages in thread
From: Pete Bonasso @ 2017-05-18 21:10 UTC (permalink / raw)
To: Alan Third; +Cc: 26982
Alan Third wrote:
> On Thu, May 18, 2017 at 03:38:31PM -0500, Pete Bonasso wrote:
>>> Is there any chance you could try the master branch or a nightly
>>> build? There have been a few crash fixes made in it.
>> Yes I can, but how do I do that? Right now I use: <br>
>> <br>
>> brew install emacs --with-cocoa<br>
>> <br>
>> which I thought gets the latest version.<br>
>> <br>
>> FYI, the universal binary for the Mac, Emacs-25.2-universal.dmg,
>> does NOT have this problem.<br>
>> Pete<br>
> Hmmmm, stranger and stranger. I would expect the binary to be
> essentially identical to the homebrew version.
Exactly...
>
> I believe you can build the master branch in homebrew using:
>
> brew install emacs --HEAD --with-cocoa
I'll give it a shot and get back to you.
Pete
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#26982: 25.2; emacs crashes after lisp started
2017-05-18 21:10 ` Pete Bonasso
@ 2017-05-18 22:13 ` Pete Bonasso
2017-05-19 22:57 ` Alan Third
0 siblings, 1 reply; 9+ messages in thread
From: Pete Bonasso @ 2017-05-18 22:13 UTC (permalink / raw)
To: Alan Third; +Cc: 26982
Alan,
Okay, I made emacs from HEAD, but the same problem occurs, and there are
other things that are flakey (the Lisp version doesn't show and the
menus don't have all the options (before I start lisp)), so I went back
to the stable version.
But here's an interesting observation: on my macbook-pro I can do fn-10
and the menus show up as a drop down in my emacs window -- and they all
work!
So I guess that means the problem is related to the interface with the
mac, maybe with xcode?
Pete
> Alan Third wrote:
>> On Thu, May 18, 2017 at 03:38:31PM -0500, Pete Bonasso wrote:
>>>> Is there any chance you could try the master branch or a nightly
>>>> build? There have been a few crash fixes made in it.
>>> Yes I can, but how do I do that? Right now I use: <br>
>>> <br>
>>> brew install emacs --with-cocoa<br>
>>> <br>
>>> which I thought gets the latest version.<br>
>>> <br>
>>> FYI, the universal binary for the Mac, Emacs-25.2-universal.dmg,
>>> does NOT have this problem.<br>
>>> Pete<br>
>> Hmmmm, stranger and stranger. I would expect the binary to be
>> essentially identical to the homebrew version.
> Exactly...
>>
>> I believe you can build the master branch in homebrew using:
>>
>> brew install emacs --HEAD --with-cocoa
> I'll give it a shot and get back to you.
> Pete
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#26982: 25.2; emacs crashes after lisp started
2017-05-18 22:13 ` Pete Bonasso
@ 2017-05-19 22:57 ` Alan Third
2017-05-22 16:47 ` Pete Bonasso
0 siblings, 1 reply; 9+ messages in thread
From: Alan Third @ 2017-05-19 22:57 UTC (permalink / raw)
To: Pete Bonasso; +Cc: 26982
On Thu, May 18, 2017 at 05:13:51PM -0500, Pete Bonasso wrote:
> Alan,
>
> Okay, I made emacs from HEAD, but the same problem occurs, and there are
> other things that are flakey (the Lisp version doesn't show and the menus
> don't have all the options (before I start lisp)), so I went back to the
> stable version.
>
> But here's an interesting observation: on my macbook-pro I can do fn-10 and
> the menus show up as a drop down in my emacs window -- and they all work!
>
> So I guess that means the problem is related to the interface with the mac,
> maybe with xcode?
It could be worth updating to the latest versions of everything. I
don’t know.
Are you able to run Emacs in a debugger and get a backtrace when it
crashes?
--
Alan Third
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#26982: 25.2; emacs crashes after lisp started
2017-05-19 22:57 ` Alan Third
@ 2017-05-22 16:47 ` Pete Bonasso
2017-05-27 10:38 ` Alan Third
0 siblings, 1 reply; 9+ messages in thread
From: Pete Bonasso @ 2017-05-22 16:47 UTC (permalink / raw)
To: Alan Third; +Cc: 26982
I'm swamped right now, but will look for some time. Could you point me
to the steps on how to do that?
> On Thu, May 18, 2017 at 05:13:51PM -0500, Pete Bonasso wrote:
>> Alan,
>>
>> Okay, I made emacs from HEAD, but the same problem occurs, and there are
>> other things that are flakey (the Lisp version doesn't show and the menus
>> don't have all the options (before I start lisp)), so I went back to the
>> stable version.
>>
>> But here's an interesting observation: on my macbook-pro I can do fn-10 and
>> the menus show up as a drop down in my emacs window -- and they all work!
>>
>> So I guess that means the problem is related to the interface with the mac,
>> maybe with xcode?
> It could be worth updating to the latest versions of everything. I
> don’t know.
>
> Are you able to run Emacs in a debugger and get a backtrace when it
> crashes?
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#26982: 25.2; emacs crashes after lisp started
2017-05-22 16:47 ` Pete Bonasso
@ 2017-05-27 10:38 ` Alan Third
0 siblings, 0 replies; 9+ messages in thread
From: Alan Third @ 2017-05-27 10:38 UTC (permalink / raw)
To: Pete Bonasso; +Cc: 26982
On Mon, May 22, 2017 at 11:47:44AM -0500, Pete Bonasso wrote:
> > On Thu, May 18, 2017 at 05:13:51PM -0500, Pete Bonasso wrote:
> > Are you able to run Emacs in a debugger and get a backtrace when it
> > crashes?
> >
> I'm swamped right now, but will look for some time. Could you point me to
> the steps on how to do that?
On macOS the easiest way is probably to use lldb. You’d do something
like
$ lldb /path/to/Emacs
> run
and once it crashes:
> bt all
for the backtrace.
It would be best if you could build with debug info. The instructions
for that are in etc/DEBUG.
http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/DEBUG
--
Alan Third
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-05-27 10:38 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-18 14:46 bug#26982: 25.2; emacs crashes after lisp started Pete Bonasso
2017-05-18 20:33 ` Alan Third
2017-05-18 20:38 ` Pete Bonasso
2017-05-18 21:05 ` Alan Third
2017-05-18 21:10 ` Pete Bonasso
2017-05-18 22:13 ` Pete Bonasso
2017-05-19 22:57 ` Alan Third
2017-05-22 16:47 ` Pete Bonasso
2017-05-27 10:38 ` Alan Third
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.