* Emacs 23.2 for Mac installed from MacPorts dies on startup
@ 2010-05-10 2:49 John Wiegley
2010-05-10 8:12 ` John Wiegley
0 siblings, 1 reply; 2+ messages in thread
From: John Wiegley @ 2010-05-10 2:49 UTC (permalink / raw)
To: emacs-devel@gnu.org devel
I did a "port selfupdate" today to find that 23.2 was available. So I did what I did for 23.1:
port edit emacs-app
edit the Portfile to add these lines (better optimization on OS X):
configure.cflags -fast
configure.ldflags -fast
Then I built and ran. Now, emacs -Q runs, but if I run it with my regular .emacs it crashes before the .emacs has finished loading. Here's the stack trace:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000012
0x00007fff87ffd97b in libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::step ()
(gdb) bt
#0 0x00007fff87ffd97b in libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::step ()
#1 0x00007fff82e1c4b6 in objc_addExceptionHandler ()
#2 0x00007fff87ce0212 in _CFDoExceptionOperation ()
#3 0x00007fff86b88571 in _NSAppKitLock ()
#4 0x00007fff86e7eacf in +[NSColorList availableColorLists] ()
#5 0x00000001001a103c in ns_get_color ()
Previous frame inner to this frame (gdb could not unwind past this frame)
Looks like a NULL deference from here. I'll try again later without the Portfile change.
John
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Emacs 23.2 for Mac installed from MacPorts dies on startup
2010-05-10 2:49 Emacs 23.2 for Mac installed from MacPorts dies on startup John Wiegley
@ 2010-05-10 8:12 ` John Wiegley
0 siblings, 0 replies; 2+ messages in thread
From: John Wiegley @ 2010-05-10 8:12 UTC (permalink / raw)
To: John Wiegley; +Cc: emacs-devel@gnu.org devel
On May 9, 2010, at 10:49 PM, John Wiegley wrote:
> Looks like a NULL deference from here. I'll try again later without the Portfile change.
It definitely looks like -fast is required to demonstrate the problem. I was able to get it to run successfully once with -fast, but the next time I ran the same binary the process zombied and now I will actually have to reboot to clear it from the process table.
Without -fast, things seem to be working normally.
John
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-10 8:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-10 2:49 Emacs 23.2 for Mac installed from MacPorts dies on startup John Wiegley
2010-05-10 8:12 ` John Wiegley
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.