Magic Mailing List |
|
From: Tim Chuang (chuang AT siti DOT com.tw) Date: Mon Jun 17 2002 - 22:05:10 EDT
Dear Tim, Thank you for your help. But I am using the version magic-7.1.5.tgz. Thanks to your fast response, I go back and check my other linux machine with magic I've compiled half a year ago, and scalegrid command looks good. Today, I compile magic-7.1.5.tgz this other linux machine, the compiler output looks much prettier, and no warnings. But then when I test the command again, the program still crashes and core dumped. Since I don't know how to use gdb, I try my best to get the following, > [chuang@TESTING_FS bin]$ gdb magic > GNU gdb 5.0 > Copyright 2000 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-redhat-linux"... > (gdb) run > Starting program: /home/chuang/magic-7.1.5/bin/magic > > Magic 7.1 - Compiled on ¶ç¤Ç 6¤ë 18 09:36:49 CST 2002. > CAD_HOME sets "~cad" to "/home/chuang/magic-7.1.5/". > > Using technology "scmos", version 8.2.8. > MOSIS Scalable CMOS Technology for Standard Rules > Using TrueColor, VisualID 0x22 depth 24 > Loading modules: > [help] [box] [drc] [label] [draw] [stack] [prs] [gate] [sel] > Use scm-help ? for help on some scheme functions > :scalegrid 1 4 > > Program received signal SIGSEGV, Segmentation fault. > 0x808b2c4 in DBSrPaintArea (hintTile=0x0, plane=0x9ba8d08, > rect=0x81945b8, mask=0x85abec0, > func=0x8073b60 <dbTileScaleFunc>, arg=0xbfffecb0 "\004") at DBtiles.c:108 > 108 GOTOPOINT(tp, &start); > (gdb) > If the above information is not enough, I am willing to provide other information to you only that you'll have to tell me what to do. Regards, Tim Chuang R. Timothy Edwards wrote: >Dear Tim, > > > >>Magic crashes right after I type the following commands, >> >>magic >> >>:scalegrid 1 4 >> >>Segmentation fault >> >> >> > > The "scalegrid" command was largely untested, even through versions which >are still posted as "current" on the Cornell website. However, I wouldn't >have expected it to crash immediately. The cure I can offer is to compile >my version with better developed scaling routines. This version can be >obtained from: > http://bach.ece.jhu.edu/~tim/programs/magic/archive/magic-7.1.5.tgz > >The new version allows "scalegrid" to be used at any time, including during >layout, and makes a clear distinction between microns, lambda, and internal >units. The edit box is generally aligned to lambda units, but with a finer >grid, it is possible to position the box to the finer grid either with >commands such as "move e .25" or by doing "snap internal", which makes the >finer internal grid default. "snap lambda" returns to the original >alignment. > > It would still be helpful to get the output from running magic (your >current version) under "gdb" or other debugger to find the line which >caused the segmentation fault, in case the error is not related to the >changes made in the newer version (this is unlikely, as the "scalegrid" >routines were completely overhauled). > > Regards, > Tim > > > > > >
|
|