Opened 7 months ago

Last modified 7 months ago

#60391 assigned defect

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:
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)

libraries.txt (1.7 KB) - added by nwg (Nathaniel W Griswold) 7 months ago.
otool -L output for /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 months ago by ryandesign (Ryan Schmidt)

Cc: dports@… removed
Owner: set to drkp
Status: newassigned

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

comment:2 Changed 7 months 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 7 months ago by nwg (Nathaniel W Griswold)

Attachment: libraries.txt added

otool -L output for /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs

comment:3 Changed 7 months 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 7 months 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 7 months 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 7 months ago by nwg (Nathaniel W Griswold)

Summary: emacs-app @26.3_4 +imagemagick: Startup Crashemacs-app @26.3_5 +imagemagick: Startup Crash
Note: See TracTickets for help on using tickets.