• 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. virtuoso Segmentation fault

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 127
  • Views 24598
  • 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

virtuoso Segmentation fault

likelike
likelike over 11 years ago

 To whom it may help

Recently ,we got  Virtuoso ic614 (sub-version IC6.1.4.500.6 (32-bit addresses)) installed on a new RHEL6 machines.

We follow the previous experience, and with all the ncessary packages intalled , such as:

libXp, libXi, libXrender, libXt, libXext, libXtst, elfutils-libelf, glibc, gcc, ksh, Xorg-x11-fonts, openmotif, mesa-libGL, mesa-libGLU  etc...

Previously , these installation approach works fine , but just for this new machines installation, we got trouble with the invoking.

 

When we start the Cadence -virtuoso, it always fail, and directly give us a message:

 Segmentation fault  Virtuoso

 

IF we go to the /var/log/message, we can see following information:

 Sep 25 15:06:33 MESOPOTAMIA kernel: virtuoso[15837]: segfault at 0 ip (null) sp 00000000ffdee470 error 14 in libX11.so.6.3.0[101000+135000]
Sep 25 15:06:33 MESOPOTAMIA kernel: type=1701 audit(1380117993.265:49): auid=0 uid=0 gid=0 ses=125 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=15837 comm="virtuoso" sig=11

 

Furthermore , the kernel of linux is:

2.6.32-358.18.1.el6.x86_64 #1 SMP Tue Aug 27 14:23:09 CDT 2013 x86_64 x86_64 x86_64 GNU/Linux

 

 I don't know if any one can give us some hint for this information.

Or, is this means we have to upgrade to IC615.

  • Cancel
  • Quek
    Quek over 11 years ago

    Hi likelike

    Instead of upgrading to IC615, would you please upgrade to the latest version IC616-500-2? I think it should solve your problem.

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SanjayNITT
    SanjayNITT over 9 years ago

    When I try to open any schematic in Virtuoso, it closes and showing "Segmentation fault Virtuoso" in terminal window. It also creates CDS.log.cdslck file in root directory. How to release this lock?

    Thanks,

    Sanjay

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Sanjay,

    The lock file shouldn't present a problem. The way that locking works is that when you next run virtuoso and it wants to try to lock the same file, it will look in the .cdslck file to see what machine the process is running, and the process id of the locking process. It will then ask to find out if that process is still running or not. If that process isn't running any more, then the lock will be reclaimed.

    As for the crash when you open any schematic, that's more of a concern. Which Virtuoso version are you using? (what does "virtuoso -W" report at the UNIX prompt?).

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SanjayNITT
    SanjayNITT over 9 years ago

    Mr. Andrew,

    Thanks for your reply. I am using Virtuoso IC6.1.5.500.14 .  Actually Virtuoso crash happened yesterday when I was viewing the circuit in Virtuoso XL. After that Whenever I try to open the circuit in Virtuoso, it closes and generate CDS.log.cdslck file in root. If I delete this file and try to open the circuit again, cdslck file is generated again. The lock is not fixed only to a particular circuit. I could not open any of the circuit in my system.  I show below the contents of CDS.log.cdslck file for your reference. How to rectify this?

    #
    # Edit Lock-Stake file. CAUTION: Please do not change.
    #
    # Information about current Edit Lock Owner.
    #
    LockStakeVersion               1.1
    LoginName                      root
    HostName                       localhost.localdomain
    ProcessIdentifier              10431
    ProcessCreationTime_UTC        1470302066
    ProcessCreationTime_Readable   Thu Aug  4 14:44:26 2016 IST
    AppIdentifier                  /cad/cadence/IC615ISR_lnx86/tools.lnx86/dfII/bin/32bit/virtuoso
    OSType                         lnx86
    ReasonForPlacingEditLock       Set lock by hiiLockFile
    FilePathUsedToEditLock         /root/CDS.log
    TimeEditLocked                 Thu Aug  4 14:44:26 2016 IST

    Regards,

    Sanjay


     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Sanjay,

    You are worrying about the wrong thing. Whenever you start virtuoso, it will create a CDS.log file (typically in your home directory), and because virtuoso is writing it, it will lock it using the Cadence Locking System. This is what creates the CDS.log.cdslck file. This is so that if you start a second virtuoso, it will not try to write to the same log file - it will see that it's locked and create CDS.log.1 (and lock that). So these lock files are supposed to be created (and if it didn't, that would be a problem).

    Normally when either the file is closed or virtuoso exits, the lock is cleared. However, in the event of the crash, there's no chance to clean up the locks and so the lock files remain - but they are recoverable using the mechanism I described previously - there's no need to delete them.

    So you are confusing a symptom with the real problem - the fact that it crashes. You are using an unsupported version of Virtuoso, and it's highly likely that whatever problem is causing the crash has been resolved in the intervening time period. So my first suggestion would be to try a newer version, and if that's not successful, you should contact customer support (we'd need the crash log files with stack traces etc to help identify if it's known issue).

    By the way, it's generally considered bad practice to run applications (such as Virtuoso) as root. Too much danger of breaking your OS to run as root (you might accidentally delete things that are vital to the correct operation of the machine).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SanjayNITT
    SanjayNITT over 9 years ago
    Mr. Andrew,
    Thanks for clearing my wrong assumption. I am not running virtuoso in root but in other directory. You mentioned that crash can be recoverable using the mechanism you described previously. I could not find it. Could you please explain it ? or Can you please provide link for that solution?

    Regards,
    Sanjay
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Hi Sanjay,

    You are running as user root. That was the bad practice thing - not the directory you're running it.

    I didn't say anything about the crash being recoverable. I said that the lock can be recovered; essentially Virtuoso has a stranded-lock recovery mechanism which I described earlier in this thread - 

    Andrew Beckett
    Replied to: virtuoso Segmentation fault
    Sanjay, The lock file shouldn't present a problem. The way that locking works is that when you next run virtuoso and it wants to try to lock the same file, it will look in the .cdslck file to see what…
    By Andrew Beckett over 9 years ago in Cadence Technology Forums > Custom IC Design

    So what I meant was even if the CDS.log.cdslck file is left behind after the crash, the next time you run virtuoso (provided the previous process has really exited), Virtuoso should be able to reclaim the lock on CDS.log for the new process without you needing to delete it.

    For the crash though, you need to either switch to a newer version (almost certainly, because it's a bug) or go via customer support so we can understand why it is crashing and if there's a fix.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SanjayNITT
    SanjayNITT over 9 years ago
    Mr. Andrew,
    I switch to new version IC6.1.6.500.11 . Now I can able to view and run my schematics. Thanks for your patience and support.

    Regards,
    Sanjay
    • 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