[Magic-dev] issue with TCL magic on Mac OS X
Harmesh Lad
harmeshlad at yahoo.com
Mon Jun 5 19:33:45 EDT 2006
Hi,
I have been having some trouble getting the
TCL version of magic 7.4.19 running on
Mac OS X 10.4.6. I have tclsh 8.4 and
wish 8.4 on my system. I compile with build.sh
(a script I wrote; see attachment), which
seemed to run successfully (see build.log,
make.log, install.log).
When I run bin/magic, it crashes with a
seg fault. Next I tried running
lib/magic/tcl/magicexec, which also crashed
with a seg fault. I ran it under gdb and found
the crash occurs at a call to XDefaultColormap
in grTk1.c (see gdb.log).
I successfully compiled and ran magic with TCL
disabled.
Next, I tried changing the XDefaultColormap
call in grTk1.c to Tk_Colormap (see grTk1.c.patch)
and recompiling. When I do this, magicexec crashes
with a seg fault on the following call
(XDefaultVisual).
bin/magic also crashes with a seg fault.
Any suggestions?
-Harmesh Lad
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com -------------- next part --------------
A non-text attachment was scrubbed...
Name: osx_bug.tar.gz
Type: application/x-gzip
Size: 21074 bytes
Desc: 146671441-osx_bug.tar.gz
Url : http://vlsi.csl.cornell.edu/pipermail/magic-dev/attachments/20060605/5d3e787b/osx_bug.tar.bin
More information about the magic-dev
mailing list