[Magic-dev] Crash during "save layout"

R. Timothy Edwards tim.edwards at multigig.com
Mon Dec 12 20:13:43 EST 2005


Erwin J. Prinz wrote:

> I see the same issue on magic 7.3.116, on a fully upgraded Fedora Core 
> 4, with gcc-4.0.2-8.fc4, and glibc-2.3.5-10.3. I have, following the 
> instructions in the magic 7.2 page, used gdb and will separately mail 
> the output to Tim to not clutter the mailing list.

Sorry, I should have CC'd my original reply.  I posted a bad version
of the source where I ran an experiment and reverted all lines back
to the original except for one that I missed.  Of course, that line
happened to be the critical one that gets executed every time you
run the "write" command. . .

The offending line is line 1384 for commands/CmdTZ.c:

	freeMagic(prompt);

Remove it and recompile, and everything will run smoothly.

Really, you guys are much too on top of things.  I had the bad code
posted for less than a day before I overwrote it with the corrected
version, and some of you already downloaded and compiled it. . .
obviously I have to be more careful what I post.  Fortunately all
the disclaimers are in place.

					Regards,
					Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: tim.edwards at multigig.com     |
| MultiGiG, Inc.                 | web:   http://www.multigig.com      |
| 100 Enterprise Way, Suite A-3  | phone: (831) 621-3283               |
| Scotts Valley, CA 95066        | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+



More information about the magic-dev mailing list