RTimothyEdwards / magic

Magic VLSI Layout Tool
Other
469 stars 98 forks source link

Program received signal SIGSEGV, Segmentation fault. #205

Closed Baungarten-CINVESTAV closed 1 year ago

Baungarten-CINVESTAV commented 1 year ago

Hello, I am trying to harden a configurable logic block for the new MPW-8 from efabless but I get the following error. It is strange because this error does not appear with the previous version of OpenLane (c40bcaca582bb1926062656265d49a582fb9ee3ba1be). I mean this block was hardened with this earlier version.

I would like to know if the problem is a bug or how I can fix it. image

First I opened an issue at OpenLane and this is their reply, https://github.com/The-OpenROAD-Project/OpenLane/issues/1531 image

I will appreciate the help

RTimothyEdwards commented 1 year ago

That stack trace makes no sense at all---it's like the database was completely corrupted. The top screenshot says "Creating issue reproducible"---Seems like this is something I need.

Baungarten-CINVESTAV commented 1 year ago

issue_reproducible.zip

I attach the generated files.

RTimothyEdwards commented 1 year ago

FYI, the problem happens earlier. DEF read-in claims to succeed without errors but something has happened when reading in net names into labels. I'm still tracking it down.

RTimothyEdwards commented 1 year ago

You had some very long net names in this DEF file which overran the 256-character array magic was using for writing out labels to the .mag file, which is where the crash happened. Magic version 8.3.348 corrects this issue.

Baungarten-CINVESTAV commented 1 year ago

So, do I have to wait for that version, or is it available? Because I see that the current version was released 17 hours ago and is version 8.3.347.

Thanks for the help and quick response

RTimothyEdwards commented 1 year ago

It is available now. Changes that I make during the day are pushed immediately to my git server on opencircuitdesign.com, and everything gets mirrored to github once per day at 3:00am EST.

Baungarten-CINVESTAV commented 1 year ago

I can confirm that the problem was solved with the magic update.