Opened 10 years ago

Last modified 10 years ago

#40807 new defect

graphviz @2.34.0: dot hangs when generating doxymentation on 10.6

Reported by: cooljeanius (Eric Gallager) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: snowleopard Cc: ryandesign (Ryan Carsten Schmidt)
Port: graphviz

Description

I had originally run across this while adding a +docs variant to the dpkg port for the update in #39018, so I thought it was just me misusing it in the portfile or something, but then I ran across it again while upgrading glibmm, so now I'm thinking it's a problem with dot itself. The error messages that it outputs while hanging look like this:

2013-10-18 12:02:19.651 dot[18887:907] CoreText CopyPropertiesForFont received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:02:50.620 dot[18910:907] CoreText CopyPropertiesForFont received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:03:51.702 dot[18941:907] CoreText CopyPropertiesForFont received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:04:22.298 dot[18987:907] CoreText CopyPropertyForFonts received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:05:23.324 dot[19107:907] CoreText CopyPropertyForFonts received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:08:14.227 dot[19362:907] CoreText CopyPropertyForFonts received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:08:44.868 dot[19416:907] CoreText CopyPropertyForFonts received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:09:15.343 dot[19477:907] CoreText CopyPropertiesForFont received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:09:45.823 dot[19488:907] CoreText CopyPropertiesForFont received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:11:48.327 dot[19678:907] CoreText CopyPropertiesForFont received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:12:19.074 dot[19708:907] CoreText CopyPropertiesForFont received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:12:50.397 dot[19803:907] CoreText CopyPropertiesForFont received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:14:53.387 dot[20039:907] CoreText CopyPropertiesForFont received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:15:54.808 dot[20070:907] CoreText CopyPropertyForFonts received mig IPC error (FFFFFFFFFFFFFECC) from font server
2013-10-18 12:16:25.427 dot[20101:907] CoreText CopyPropertiesForFont received mig IPC error (FFFFFFFFFFFFFECC) from font server

As you can see by the timestamps that's about 15 minutes of hanging. I'm thinking this is a Snow Leopard specific problem because the CoreText framework only became the default font rendering framework in newer versions of OS X (older versions of OS X still use ATSUI). I haven't seen this issue with other installations of graphviz.

Change History (5)

comment:1 Changed 10 years ago by gnw3

+docs is a good thing(TM). The same problem is mentioned at: https://github.com/cooljeanius/LocalPorts/blob/master/sysutils/dpkg/Portfile. Might be related to https://bugs.webkit.org/show_bug.cgi?id=113110, which mentions [rdar://problem/13499715] and http://deploystudio.com/Forums/viewtopic.php?id=5259. Google has some hits from http://discussion.apple.com for versions other than Snow Leopard, but that site is unavailable at present. This might be a symptom of corrupt/duplicate fonts -- have you checked your fonts?

comment:2 in reply to:  1 Changed 10 years ago by cooljeanius (Eric Gallager)

Replying to gnwiii@…:

The same problem is mentioned at: https://github.com/cooljeanius/LocalPorts/blob/master/sysutils/dpkg/Portfile.

Yeah, that's also me.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Do you see the same problem with graphviz-devel?

If so, do you have a simple reproduction recipe—ideally a small dot file that can be run with dot to demonstrate the problem?

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: MacPorts-built `dot` (from graphviz @2.34.0) hangs when generating doxymentation on 10.6graphviz @2.34.0: dot hangs when generating doxymentation on 10.6

comment:5 Changed 10 years ago by cooljeanius (Eric Gallager)

Turns out the hanging was unrelated from the log messages being printed... it only seemed like it was hanging because doxygen had been silenced by setting "QUIET" to "YES" in the Doxyfile, so there was no way of knowing whether it was making any progress... the dot log messages, on the other hand, I was able to trigger manually by killing fontd while dot was running (which I just happened to stumble across due to fontd spiking in CPU usage)... it is still kind of strange though, because the fontd that I killed was running as my own user, but the dot that printed the log message was running as the "macports" user... I thought that the privilege separation was supposed to prevent what I do with my own processes from affecting the MacPorts build process?

Note: See TracTickets for help on using tickets.