Opened 6 years ago
Closed 3 months ago
#60391 closed defect (fixed)
emacs-app @26.3_5 +imagemagick: Startup Crash
| Reported by: | nwg (Nathaniel W Griswold) | Owned by: | drkp (Dan Ports) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.6.2 |
| Keywords: | Cc: | cooljeanius (Eric Gallager) | |
| Port: | emacs-app |
Description
Launching /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs dies immediately.
> /tmp % /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs zsh: killed /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs
> /tmp % sudo dtruss /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs dtrace: system integrity protection is on, some features will not be available dtrace: failed to execute /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs: Cannot allocate memory
Attachments (1)
Change History (9)
comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | dports@… removed |
|---|---|
| Owner: | set to drkp |
| Status: | new → assigned |
comment:2 Changed 6 years ago by nwg (Nathaniel W Griswold)
Ryan: Sorry, there does not seem to be anything there. I don't know much about this directory. What exactly am i looking for? Something to do with the name Emacs?
Changed 6 years ago by nwg (Nathaniel W Griswold)
| Attachment: | libraries.txt added |
|---|
otool -L output for /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs
comment:3 Changed 6 years ago by nwg (Nathaniel W Griswold)
> % xcrun --show-sdk-version 10.15.4 > % xcrun --show-sdk-path /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk > % ls -l /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk lrwxr-xr-x 1 root wheel 15 Apr 24 14:40 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -> MacOSX10.15.sdk
comment:4 Changed 6 years ago by nwg (Nathaniel W Griswold)
I disabled SIP on my machine and ran the binary with DYLD_PRINT_LIBRARIES=1 /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs and it dies even before any libraries are loaded.
> % DYLD_PRINT_LIBRARIES=1 /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs zsh: killed DYLD_PRINT_LIBRARIES=1 /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs
comment:5 Changed 6 years ago by nwg (Nathaniel W Griswold)
Also note that this applies to regular emacs (not emacs-app) when compiled with +imagemagick as well.
comment:6 Changed 6 years ago by nwg (Nathaniel W Griswold)
| Summary: | emacs-app @26.3_4 +imagemagick: Startup Crash → emacs-app @26.3_5 +imagemagick: Startup Crash |
|---|
comment:7 Changed 4 years ago by cooljeanius (Eric Gallager)
| Cc: | cooljeanius added |
|---|
comment:8 Changed 3 months ago by drkp (Dan Ports)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
This was the legacy unexec mechanism which has been replaced by pdump; please reopen if there's still an issue with latest emacs.

Presumably a crash log has been generated in Library/Logs/DiagnosticReports? If so, please attach it.