What is a Bus Error (SIGBUS)?

What is a Bus Error (SIGBUS)?

Post by Will Mor » Thu, 27 Jul 1995 04:00:00



What is a Bus Error (SIGBUS)?

For no obvious reason, I have seen several programs on several machines
at several sites failing with a bus error recently.  These are all SPARC
systems, but of various vintages.  All run SunOS 4.1.3*  The program
fails, but does not take down the system.  

The man pages talk about SIGBUS and signal 10, but I have not been able
thus far to figure out what the bus might be.  Since it only affects
the running program, I am assuming it does not have anything to do with
the Sbus or SCSI bus.

It seems to make a difference on some machines if I change the order of
/usr/lib and /usr/5lib in LD_LIBRARY_PATH, but this might just be an
artifact.

Can anyone tell me what a bus error is and what I should be looking for?

Thanks in advance.
--
#      Gravity,                    #    Will Morse
#      not just a good idea,       #    BHP Petroleum (Americas) Inc.
#              it's the law.       #    Houston, Texas

#
#   These are my views and do not necessarly reflect the views of BHP !

 
 
 

1. SIGBUS: Bus Error: E450/solaris 2.6

Hi,
i'm using Solaris 2.6 on E450 hardware. I have compiled xmllint (twice -
first using c and then gcc - problem persist in both cases) and i get
"SIGBUS: Bus Error" when i'm trying parse some bigger xml files. Bus Error
doesnt look like software problem. Has somebody any advice, where is
problem, or what to do?

Thanks
Pavel

2. Someone spewing old articles...

3. Standard reason for bus error SIGBUS?

4. Applying patches on iplanet server - how?

5. Bus Error (SIGBUS)

6. Q:Network Concurrent License (2)

7. SIGBUS - bus error at runtime (HPUX)

8. finding function address in dynamically loaded object

9. "Bus error" please help, I am going insane!

10. I am with the following error, when i am running lilo...

11. Errors: Bus Error and Error 554

12. What is SIGBUS - Object specific hardware error?

13. SIGBUS error using #pragma pack