Technical article 100814

dbx fails with "dbx:internal error:missing size information for record".

OpenServer 5.0.0

Written · Last revised

Problem

Having compiled a program using icc -g and then running dbx a.out, dbx(CP) fails with the error message:

dbx:internal error:missing size information for record

Cause

This is caused by a problem in icc(icc) where the COFF debug information generated is incorrect, which causes the error from dbx(CP).

Solution

To work around this problem, add -belf to the compile line. The ELF debugging information produced by icc(icc) does not suffer from the same problem.

This problem also occurs with dbxtra(CP) and dbXtra(CP).

This has been reported to SCO Engineering.

From the Xinuos technical article database, record 100814. Reproduced with permission. The original is at www.sco.com/ta/100814, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.