• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Segmentation fault: core dumped

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 124
  • Views 18347
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Segmentation fault: core dumped

Holz
Holz over 4 years ago

Hello everyone,

I have a simulation with 50000 sweep points, there are few unfinished points/errors after simulation, so I try to rerun them. But then virtuoso crashes and I get error: segmentation fault.

What could be reason of it? I have checked the disk, and there is still 1T free, so "too few storage" shouldn't be reason..

Thanks a lot for help!

Regards,

Holz

  • Cancel
Parents
  • ShawnLogan
    ShawnLogan over 4 years ago

    Dear Holz,

    For me anyway, you have not provided anywhere near enough information on the crash, your simulation set up, spectre version,and even simulator to provide any kind of help.

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Holz
    Holz over 4 years ago in reply to ShawnLogan

    Hello,

    I'm just simulating a circuit with around 30 transistors(fdsoi lib), my spectre version is 1919.1.0.541.isr14, my virtuoso version is IC6.1.8-64b.500.14, and i use spectre aps to simulate. I run transient simulation with 50000 sweep points. During simulation, some points cant simulate somehow, then I stop the simulation and select "rerun unfinished points/error", during "evaluating simulation points " virtuoso closed automatically, and I get info "segmentation fault: core dumped " in unix.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to Holz

    Dear Holz,

    1. What method are you using for job submission? ICRP or LSCS - have you tried LSCS?

    2. Are you sure you have allocated sufficient memory to your jobs? If not, perhaps this is why some of your initial simulations are failing. Add the following to you .cdsinit file and restart Virtuoso. This will add some data on memory usage for each job:

    envSetVal("maestro.results" "defaultRunStatisticItems" 'string "memory,threads,jobId,host,startTime,endTime,elapsedTime")

    as shown in Figure 1.

    I doubt there is still enough information for me to help...

    Shawn

    Figure 1

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to Holz

    Dear Holz,

    1. What method are you using for job submission? ICRP or LSCS - have you tried LSCS?

    2. Are you sure you have allocated sufficient memory to your jobs? If not, perhaps this is why some of your initial simulations are failing. Add the following to you .cdsinit file and restart Virtuoso. This will add some data on memory usage for each job:

    envSetVal("maestro.results" "defaultRunStatisticItems" 'string "memory,threads,jobId,host,startTime,endTime,elapsedTime")

    as shown in Figure 1.

    I doubt there is still enough information for me to help...

    Shawn

    Figure 1

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Holz
    Holz over 4 years ago in reply to ShawnLogan

    Hello Shawn,

    I'm using ICRP, and I haven't tried LSCS..

    About change the .cdsinit I need to talk with our administrator, thanks for your answer.

    Regards,

    Holz

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Holz
    Holz over 4 years ago in reply to ShawnLogan

    Dear Shwan,

    I added envSetVal("maestro.results" "defaultRunStatisticItems" 'string "memory,threads,jobId,host,startTime,endTime,elapsedTime"), I have re-run the simulation, some points still crashed.

    When I ran the simulation, I got around 3000 pints which failed, here is the info I got:

    And before the simulation finished, virtuoso crashed:

    Should I contact customer support? And I adexl I couldn't find LSCS, my virtuoso version is  6.1.8-64b 

    Thanks for your answer.

    Regards,

    Holz

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to Holz

    Holz,

    Holz said:
    Should I contact customer support? And I adexl I couldn't find LSCS, my virtuoso version is  6.1.8-64b

    Several things here:

    1. You are setting a cdsenv var for "maestro" (which is for ADE Explorer/Assembler) but above you say you are using "adexl". The maestro env var will have no effect in ADE XL anyway, so if you're really using the (obsolete) ADE XL tool, it's not going to help (I'm not sure it would help much anyway other than giving some more statistics about the runs)
    2. LSCS is only in ADE Explorer/Assembler, and only from IC6.1.8.500.9 onwards - it's not clear from your crash log which version you're running since you've scratched out part of the path (I know the sub-version begins with a 1, but it may just be "1" - not sure). Ah, just seen in an earlier post you are using 500.14 (ISR14). 
    3. None of this gives any clue as to what is happening to the actual simulations which are failing - for that, seeing the spectre log file from one of the failing points might help
    4. The crash log itself that was mentioned in the popup you got when Virtuoso crashed would have helped diagnose this - otherwise it could be many things. If you're really running 3000 simulations but only one in parallel, it seems unlikely that memory is being exhausted, but who knows as there's very little data here?
    5. Yes, you should contact customer support - especially if you can't provide information here about the crash. Diagnosing crashes is generally going to be quite difficult for somebody who doesn't work for Cadence (such as Shawn, who is very helpful on these forums but doesn't have access to some of the internal Cadence tools that those of us that do work for Cadence have access to). Of course, it might be something obvious, but without more information it's going to be very hard.
    6. You might want to try running with the latest hotfix of IC6.1.8 before contacting customer support (the latest is ISR19, 6.1.8.500.19) and maybe the latest simulator - if that's crashing. It's rather odd though if spectre is crashing with a segmentation fault and Virtuoso is too.

    Regards,

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Holz
    Holz over 4 years ago in reply to Andrew Beckett

    Hello Sir,

    thanks for your answer. I will try to use the latest simulator.

    Regards,

    Holz

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to Holz

    Dear Andrew,

    Thank you, very much, for adding your comments on Holz's failures. Like you, as I read his latest post reporting the failure, I was surprised to see Holz's reference to ADE-XL in lieu of a maestro Assembler/Explorer view.

    Holz,

    I would suggest reading all of Andrew's comments carefully and following his advice. He is the expert and I am NOT! 

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information