[MacPorts] #65980: graphviz-gui: GraphViz.app crashes on opening (MacOS 12.6) (was: GraphViz.app crashs on opening (MacOS 12.6))

MacPorts noreply at macports.org
Mon Oct 10 04:54:56 UTC 2022


#65980: graphviz-gui: GraphViz.app crashes on opening (MacOS 12.6)
------------------------------------+------------------------
  Reporter:  spitcode               |      Owner:  ryandesign
      Type:  defect                 |     Status:  assigned
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.7.2
Resolution:                         |   Keywords:
      Port:  graphviz graphviz-gui  |
------------------------------------+------------------------
Changes (by jmroot):

 * status:  new => assigned
 * cc: mascguy (added)
 * owner:  (none) => ryandesign
 * port:  graphviz-gui => graphviz graphviz-gui


Old description:

> "sudo port install graphviz-gui" completes successfully on MacOS 12.6,
> leaving a MacPorts folder in the Application folder and within that
> folder an executable "GraphViz.app". "GraphViz.app" reports as Version
> 6.0 in the Finder. Starting this app results in a crash:
>
> Crashed Thread:        0  Dispatch queue: com.apple.main-thread
>
> Exception Type:        EXC_CRASH (SIGABRT)
> Exception Codes:       0x0000000000000000, 0x0000000000000000
> Exception Note:        EXC_CORPSE_NOTIFY
>
> Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
> 0   libsystem_kernel.dylib                  0x7ff81086500e __pthread_kill
> + 10
> 1   libsystem_pthread.dylib                 0x7ff81089b1ff pthread_kill +
> 263
> 2   libsystem_c.dylib                       0x7ff8107e6d24 abort + 123
> 3   libsystem_c.dylib                       0x7ff8107e60cb __assert_rtn +
> 314
> 4   libcgraph.6.dylib                          0x10051916b agxget.cold.1
> + 35
> 5   libcgraph.6.dylib                          0x10051051c agxget + 80
> 6   libgvc.6.dylib                             0x1005e9028 emit_node +
> 265
> 7   libgvc.6.dylib                             0x1005e7f70 emit_graph +
> 4732
> 8   libgvc.6.dylib                             0x1005ed42d gvRenderJobs +
> 4640
> 9   libgvc.6.dylib                             0x1005b839d gvRenderData +
> 225
> 10  Graphviz                                   0x1003bbc76 0x1003b9000 +
> 11382
> 11  Graphviz                                   0x1003bc4b3 0x1003b9000 +
> 13491
> 12  Graphviz                                   0x1003bc3e5 0x1003b9000 +
> 13285
> 13  AppKit                                  0x7ff813378c92
> -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 1410
> 14  AppKit                                  0x7ff81336d51d loadNib + 420
> 15  AppKit                                  0x7ff81336cd5e
> +[NSBundle(NSNibLoading)
> _loadNibFile:nameTable:options:withZone:ownerBundle:] + 1602
> 16  AppKit                                  0x7ff813555106
> +[NSBundle(NSNibLoadingInternal)
> _loadNibFile:externalNameTable:options:withZone:] + 142
> 17  AppKit                                  0x7ff813554ee5
> -[NSWindowController loadWindow] + 322
> 18  AppKit                                  0x7ff813554c6d
> -[NSWindowController window] + 84
> 19  AppKit                                  0x7ff813dd4fc0
> -[NSDocument(NSPersistentUISupport)
> restoreDocumentWindowWithIdentifier:state:completionHandler:] + 151
> 20  AppKit                                  0x7ff8138ef873
> -[NSDocumentControllerPersistentRestoration loadedDocument:forAutoID:] +
> 153
> 21  AppKit                                  0x7ff8138e9c80
> __89-[NSDocumentController
> reopenDocumentForURL:withContentsOfURL:display:completionHandler:]_block_invoke_2
> + 166
> 22  AppKit                                  0x7ff8138f24fa
> ___NSMainRunLoopPerformBlockInModes_block_invoke + 25
> 23  CoreFoundation                          0x7ff810961d11
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
> 24  CoreFoundation                          0x7ff810961bbc
> __CFRunLoopDoBlocks + 445
> 25  CoreFoundation                          0x7ff810960889 __CFRunLoopRun
> + 909
> 26  CoreFoundation                          0x7ff81095fe3c
> CFRunLoopRunSpecific + 562
> 27  HIToolbox                               0x7ff81960f5e6
> RunCurrentEventLoopInMode + 292
> 28  HIToolbox                               0x7ff81960f213
> ReceiveNextEventCommon + 283
> 29  HIToolbox                               0x7ff81960f0e5
> _BlockUntilNextEventMatchingListInModeWithFilter + 70
> 30  AppKit                                  0x7ff813399fad _DPSNextEvent
> + 927
> 31  AppKit                                  0x7ff81339866a
> -[NSApplication(NSEvent)
> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
> 32  AppKit                                  0x7ff81338ad19
> -[NSApplication run] + 586
> 33  AppKit                                  0x7ff81335ec97
> NSApplicationMain + 817
> 34  dyld                                       0x106fa152e start + 462
>
> ---
>
> One can see that a render appears to start (not sure why?) and then an
> attribute get (apxget) crashes with an assert in the c library. Anyone
> know how to resolve?

New description:

 "sudo port install graphviz-gui" completes successfully on MacOS 12.6,
 leaving a MacPorts folder in the Application folder and within that folder
 an executable "GraphViz.app". "GraphViz.app" reports as Version 6.0 in the
 Finder. Starting this app results in a crash:
 {{{
 Crashed Thread:        0  Dispatch queue: com.apple.main-thread

 Exception Type:        EXC_CRASH (SIGABRT)
 Exception Codes:       0x0000000000000000, 0x0000000000000000
 Exception Note:        EXC_CORPSE_NOTIFY

 Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
 0   libsystem_kernel.dylib                  0x7ff81086500e __pthread_kill
 + 10
 1   libsystem_pthread.dylib                 0x7ff81089b1ff pthread_kill +
 263
 2   libsystem_c.dylib                       0x7ff8107e6d24 abort + 123
 3   libsystem_c.dylib                       0x7ff8107e60cb __assert_rtn +
 314
 4   libcgraph.6.dylib                          0x10051916b agxget.cold.1 +
 35
 5   libcgraph.6.dylib                          0x10051051c agxget + 80
 6   libgvc.6.dylib                             0x1005e9028 emit_node + 265
 7   libgvc.6.dylib                             0x1005e7f70 emit_graph +
 4732
 8   libgvc.6.dylib                             0x1005ed42d gvRenderJobs +
 4640
 9   libgvc.6.dylib                             0x1005b839d gvRenderData +
 225
 10  Graphviz                                   0x1003bbc76 0x1003b9000 +
 11382
 11  Graphviz                                   0x1003bc4b3 0x1003b9000 +
 13491
 12  Graphviz                                   0x1003bc3e5 0x1003b9000 +
 13285
 13  AppKit                                  0x7ff813378c92
 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 1410
 14  AppKit                                  0x7ff81336d51d loadNib + 420
 15  AppKit                                  0x7ff81336cd5e
 +[NSBundle(NSNibLoading)
 _loadNibFile:nameTable:options:withZone:ownerBundle:] + 1602
 16  AppKit                                  0x7ff813555106
 +[NSBundle(NSNibLoadingInternal)
 _loadNibFile:externalNameTable:options:withZone:] + 142
 17  AppKit                                  0x7ff813554ee5
 -[NSWindowController loadWindow] + 322
 18  AppKit                                  0x7ff813554c6d
 -[NSWindowController window] + 84
 19  AppKit                                  0x7ff813dd4fc0
 -[NSDocument(NSPersistentUISupport)
 restoreDocumentWindowWithIdentifier:state:completionHandler:] + 151
 20  AppKit                                  0x7ff8138ef873
 -[NSDocumentControllerPersistentRestoration loadedDocument:forAutoID:] +
 153
 21  AppKit                                  0x7ff8138e9c80
 __89-[NSDocumentController
 reopenDocumentForURL:withContentsOfURL:display:completionHandler:]_block_invoke_2
 + 166
 22  AppKit                                  0x7ff8138f24fa
 ___NSMainRunLoopPerformBlockInModes_block_invoke + 25
 23  CoreFoundation                          0x7ff810961d11
 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
 24  CoreFoundation                          0x7ff810961bbc
 __CFRunLoopDoBlocks + 445
 25  CoreFoundation                          0x7ff810960889 __CFRunLoopRun
 + 909
 26  CoreFoundation                          0x7ff81095fe3c
 CFRunLoopRunSpecific + 562
 27  HIToolbox                               0x7ff81960f5e6
 RunCurrentEventLoopInMode + 292
 28  HIToolbox                               0x7ff81960f213
 ReceiveNextEventCommon + 283
 29  HIToolbox                               0x7ff81960f0e5
 _BlockUntilNextEventMatchingListInModeWithFilter + 70
 30  AppKit                                  0x7ff813399fad _DPSNextEvent +
 927
 31  AppKit                                  0x7ff81339866a
 -[NSApplication(NSEvent)
 _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
 32  AppKit                                  0x7ff81338ad19 -[NSApplication
 run] + 586
 33  AppKit                                  0x7ff81335ec97
 NSApplicationMain + 817
 34  dyld                                       0x106fa152e start + 462
 }}}
 ---

 One can see that a render appears to start (not sure why?) and then an
 attribute get (apxget) crashes with an assert in the c library. Anyone
 know how to resolve?

--

-- 
Ticket URL: <https://trac.macports.org/ticket/65980#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list