Home > Community > Forums > Custom IC Design > "incompatible with data - nil" problem

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 "incompatible with data - nil" problem 

Last post Wed, Dec 19 2007 5:28 AM by archive. 1 replies.
Started by archive 19 Dec 2007 05:28 AM. Topic has 1 replies and 1923 views
Page 1 of 1 (2 items)
Sort Posts:
  • Wed, Dec 19 2007 5:28 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    "incompatible with data - nil" problem Reply

    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
    • Post Points: 0
  • Wed, Dec 19 2007 5:36 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: "incompatible with data - nil" problem Reply

    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
    • Post Points: 0
Page 1 of 1 (2 items)
Sort Posts:
Started by archive at 19 Dec 2007 05:28 AM. Topic has 1 replies.