Open juls007 opened 6 years ago
Any chance you could post one of the dot graphs causing the problems? Also, the error appears to be occurring within Quartz loading an image.
Thank you for responding so quickly!. I have attached the dot files. I see two dot files present for a table. I have attached both in the zip archive
Thanks Julius
Since the error appears to occur when loading images, I will also need corresponding image files ./images/primaryKeys.png and ./images/foreignKeys.png. Thanks.
graphviz version 2.40.1 is installed as a macos high sierra brew bottle application. Running SchemaSpy.jar with -renderer :quartz causes the "dot" command to crash.
Following is the output for dot -v
dot - graphviz version 2.40.1 (20161225.0304) libdir = "/usr/local/Cellar/graphviz/2.40.1/lib/graphviz" Activated plugin library: libgvplugin_dot_layout.6.dylib Using layout: dot:dot_layout Activated plugin library: libgvplugin_core.6.dylib Using render: dot:core Using device: dot:dot:core The plugin configuration file: /usr/local/Cellar/graphviz/2.40.1/lib/graphviz/config6 was successfully loaded. render : cairo dot dot_json fig gd json json0 map mp pic pov ps quartz svg tk vml vrml xdot xdot_json layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi textlayout : textlayout device : bmp canon cgimage cmap cmapx cmapx_np dot dot_json eps exr fig gd gd2 gif gv icns ico imap imap_np ismap jp2 jpe jpeg jpg json json0 mp pct pdf pic pict plain plain-ext png pov ps ps2 psd sgi svg svgz tga tif tiff tk vml vmlz vrml wbmp xdot xdot1.2 xdot1.4 xdot_json loadimage : (lib) bmp eps gd gd2 gif jpe jpeg jpg pdf png ps svg xbm
Got the below stack backtrace:
org.schemaspy.util.Dot$DotFailure: 'dot -Tpng:quartz ./diagrams/OrgAddress.1degree.dot -o./diagrams/OrgAddress.1degree.png -Tcmapx' failed with return code 134 Table -> OrgAddress .dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: *** First throw call stack: dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: ( dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 0 CoreFoundation 0x00007fff4bc0d0fb exceptionPreprocess + 171 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 1 libobjc.A.dylib 0x00007fff724fbc76 objc_exception_throw + 48 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 2 CoreFoundation 0x00007fff4bca5b74 +[NSObject(NSObject) doesNotRecognizeSelector:] + 132 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 3 CoreFoundation 0x00007fff4bb83510 forwarding + 1456 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 4 CoreFoundation 0x00007fff4bb82ed8 _CF_forwarding_prep_0 + 120 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 5 CoreFoundation 0x00007fff4bb20ad4 CFStringCompareWithOptionsAndLocale + 68 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 6 ImageIO 0x00007fff4e437238 _ZN17IIO_ReaderHandler15readerForUTTypeEPK10CFString + 52 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 7 ImageIO 0x00007fff4e40c236 _ZN14IIOImageSource14doBindToReaderEv + 422 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 8 ImageIO 0x00007fff4e40c821 _ZN14IIOImageSource18createImageAtIndexEmP13IIODictionary + 39 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 9 ImageIO 0x00007fff4e3fa60e CGImageSourceCreateImageAtIndex + 237 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 10 libgvplugin_quartz.6.dylib 0x00000001043b6b53 quartz_loadimage_quartz + 240 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 11 libgvc.6.dylib 0x0000000103d8f349 gvloadimage + 265 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 12 libgvc.6.dylib 0x0000000103d8e395 gvrender_usershape + 978 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 13 libgvc.6.dylib 0x0000000103da4e6a emit_html_tbl + 1298 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 14 libgvc.6.dylib 0x0000000103da4dd8 emit_html_tbl + 1152 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 15 libgvc.6.dylib 0x0000000103da48a4 emit_html_label + 436 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 16 libgvc.6.dylib 0x0000000103db1d8a emit_label + 57 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 17 libgvc.6.dylib 0x0000000103dbb8bc poly_gencode + 2018 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 18 libgvc.6.dylib 0x0000000103dc7c9c emit_node + 1034 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 19 libgvc.6.dylib 0x0000000103dc691e emit_graph + 4594 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 20 libgvc.6.dylib 0x0000000103dcbcdf gvRenderJobs + 4773 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 21 dot 0x0000000103d86d62 main + 701 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 22 libdyld.dylib 0x00007fff730ea145 start + 1 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: 23 ??? 0x0000000000000005 0x0 + 5 dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: ) dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx: libc++abi.dylib: terminating with uncaught exception of type NSException org.schemaspy.util.Dot$DotFailure: 'dot -Tpng:quartz ./diagrams/ImagingStudy.1degree.dot -o./diagrams/ImagingStudy.1degree.png -Tcmapx' failed with return code 134