MAGIC Magic Mailing List
 
 

From: Steven M Brown (smbrown AT cse DOT psu.edu)
Date: Tue Oct 21 2003 - 15:38:14 EDT

  • Next message: R. Timothy Edwards: "Re: magic segmentation fault"

    I am currently using magic 7.1 and have encountered a bug with the
    resistance extraction module.
    
    On line 616 of ResReadSim.c there should be a check for readextfile != 0
    prior to checking if *readextfile == 0. There is another one of these
    nasties on 637. I did not any other function in the file. I did not
    investigate the origin of the function call, only how to avoid an
    immediate seg-fault. This may or may not be the correct resolution to the
    problem.
    
    This bug manifested itself while I was trying to extract the resistances
    for a node that was externally driven. The exact sequence of events was this:
    (1) magic magic_bug
    (2) :extract
    (3) !ext2sim magic_bug
    (4) :extres
    *BOOM* (seg-fault)
    
    
    Steve
    
    
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo