Technical article 100851

I get the error "bus error or something nasty like that" when compiling.

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

I am compiling some C++ code and I get the message:

bus error or something nasty like that

Cause

This cfront message is emitted when an internal error such as an
invalid memory reference is made. It is a "catch-all" message for
compiler aborts.  Unless there is a serious hardware problem, the
same source program should continually fail with the same error
message. If there is a hardware problem, such as a faulty CPU, the
program could fail with this message on some occasions, and yet
compile successfully on other occasions.

Other possible causes include multiply-nested include files and use of features not supported by cfront 3.02.

Solution

Check to see if the program in question will compile on another hardware platform. If it does, it is likely that a hardware problem on the machine generated the error. If the hardware is not suspect, see if there are any nested include files and if so, try to reference each include file directly for testing purposes.

From the Xinuos technical article database, record 100851. Reproduced with permission. The original is at www.sco.com/ta/100851, 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.