Submitted by Yannick Heinrich
Assigned to Jeremy Huddleston Sequoia
Created attachment 135235 Stack trace
I'm trying to install the magic VLSI tools on macOS High Sierra 10.13.1 (17B48) and XQuartz 2.7.11 (xorg-server 1.18.4).
The software is using tcl_tk with X11.
When I open the software a crash occurs when the function XDefaultColormap is called. This looks similar to another issue mentionned here http://opencircuitdesign.com/pipermail/magic-dev/2008-January/000497.html and here http://opencircuitdesign.com/pipermail/magic-dev/2008-January/000499.html and here http://opencircuitdesign.com/pipermail/xcircuit-dev/2010/000483.html.
The code of the program can be downloaded here: http://opencircuitdesign.com/magic/archive/magic-8.1.191.tgz
The function that causes the crash is named GrTkInit and can be located in graphics/grTk1.c.
To install the software on mac:
brew install tcl-tk export TCL_DIR=$(brew --prefix tcl-tk) ./configure --prefix=$(pwd)/mac --with-tcl=$TCL_DIR/lib --with-tk=$TCL_DIR/lib make make install ./mac/bin/magic
Stack trace is attached.
Attachment 135235, "Stack trace":