Opened 11 years ago

Closed 11 years ago

#42652 closed defect (worksforme)

fontforge seems to crash quartz-wm

Reported by: davidfavor (David Favor) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager)
Port: fontforge

Description

Opening against fontforge, rather than quartz-wm as fontforge is the likely culprit.

Packages of interest...

David-Favor-iMac> port installed | egrep -i 'x11|quartz|fontforge'
  cairo @1.12.16_2+x11 (active)
  fontforge @20120731_3+freetype_bytecode+python27 (active)
  gconf @3.2.6_0+x11 (active)
  gd2 @2.1.0_4+x11 (active)
  gdk-pixbuf2 @2.30.5_0+x11 (active)
  gegl @0.2.0_12+graphviz+python27+workshop+x11 (active)
  ghostscript @9.10_2+x11 (active)
  giflib @4.2.3_0+x11 (active)
  graphviz @2.36.0_0+lua+pangocairo+perl+rsvg+ruby+tcl+x11 (active)
  gstreamer1-gst-plugins-base @1.2.3_0+ogg+x11 (active)
  gtk2 @2.24.22_1+x11 (active)
  gtk3 @3.10.7_0+x11 (active)
  ImageMagick @6.8.8-3_1+jbig+jpeg2+rsvg+wmf+x11 (active)
  libsdl @1.2.15_3+x11 (active)
  mjpegtools @2.0.0_5+no_x11 (active)
  openssh @6.5p1_4+kerberos5+no_x11 (active)
  pango @1.36.2_0+x11 (active)
  py27-cairo @1.10.0_3+x11 (active)
  py27-pygtk @2.24.0_3+x11 (active)
  quartz-wm @1.3.1_1 (active)
  xorg-libX11 @1.6.2_0 (active)

Attachments (1)

quartz-wm_2014-02-28-101710_David-Favor-iMac.crash (32.3 KB) - added by davidfavor (David Favor) 11 years ago.

Download all attachments as: .zip

Change History (14)

Changed 11 years ago by davidfavor (David Favor)

comment:1 Changed 11 years ago by davidfavor (David Favor)

Same crash when installing fontforge with no variants.

comment:2 Changed 11 years ago by davidfavor (David Favor)

Same install of fontforge seems to work on other OSX machines.

All machines running XCode-5.0.2 + OSX-10.9.2 with same script installing many Ports. Unsure what the difference might be.

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

Opening against fontforge, rather than quartz-wm as fontforge is the likely culprit.

Well that, and also it appears that you are using the quartz-wm from XQuartz instead of the quartz-wm from MacPorts. Besides FontForge, have you tried to see if any other X11 programs cause this crash as well?

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 11 years ago by davidfavor (David Favor)

Hum...

I do see /opt/X11/*/quartz-wm as the path in the crash.

Peculiar.

which quartz-wm returns - /opt/local/bin/quartz-wm - as expected.

So... somehow FontForge is using the system X11, instead of MacPorts...

comment:6 Changed 11 years ago by davidfavor (David Favor)

Running a recursive search on /Applications/MacPorts/FontForge.app for things like quartz + X11 + PATH turn up no hint of why this is occurring.

/Applications/MacPorts/FontForge.app/Contents/MacOS/FontForge links to /opt/local/bin/fontforge as expected...

Running 'strings fontforge' turns up no hard coding of paths...

comment:7 Changed 11 years ago by davidfavor (David Favor)

I'm guessing I can somehow remove the system Quartz + maybe this will fix the problem.

If there is a correct/clean way to do this, please add an update to this ticket.

Thanks.

comment:8 Changed 11 years ago by davidfavor (David Favor)

Maybe this will do the trick.

rm -rf /Applications/Utilities/X11.app /etc/X11 /usr/X11R6

Let me know if there's a better way.

comment:9 Changed 11 years ago by davidfavor (David Favor)

Also looks like there's cruft in...

rm -rf /usr/X11 /usr/X11R6

rm -rf $(find /private | grep X11)

comment:10 Changed 11 years ago by davidfavor (David Favor)

Also...

rm -rf /Library/Launch*/org.macosforge.xquartz.*

comment:11 Changed 11 years ago by davidfavor (David Favor)

Removed all traces of system X11 + removed + reinstalled MacPorts.

Now new problem occurs of...

David-Favor-iMac# pwd
/Applications/MacPorts/FontForge.app/Contents/MacOS
David-Favor-iMac# ./FontForge 
Copyright (c) 2000-2012 by George Williams.
 Executable based on sources from 14:57 GMT 31-Jul-2012-ML-TtfDb.
 Library based on sources from 14:57 GMT 31-Jul-2012.
Could not open screen.
You must start X11 before you can start ./FontForge
 X11 is optional software found on your install DVD.

Opening a new ticket with new problem.

comment:12 Changed 11 years ago by davidfavor (David Favor)

This ticket can be closed.

comment:13 Changed 11 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.