• 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. "incompatible with data - nil" problem

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 124
  • Views 3881
  • 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

"incompatible with data - nil" problem

archive
archive over 17 years ago

Hi, there:
   When I am running Spectre, I got "*Error* fprintf/sprintf: format spec. incompatible with data - nil"
   How can i get rid of it?

Thanks


Originally posted in cdnusers.org by julian2007
  • Cancel
  • archive
    archive over 17 years ago

    Unfortunately it could be virtually anything.

    It essentially indicates an untrapped error condition - what's happening is that somewhere in the code it's doing something like:

    printf("blah %s blah\n" myVar)

    and myVar is nil rather than a string as expected. Since fprintf/printf/sprintf is used all over the place, it could happen any time a call to any of these functions happens with an argument that doesn't match the expected type - probably because something unexpected went wrong. This could be in some custom code or in the Cadence code - it could be anywhere.

    To narrow it down a bit, perhaps you could enter in the CIW:

    _stacktrace=20
    tracelevel=20
    tracelength=20

    and then reproduce the problem - and post the lines around problem from your CDS.log file - including what you were doing at the time, and all the stacktrace, etc...

    Probably best to deal with this through customer support really, but I can try to help you here too.

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • 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