aspose file tools
The moose likes Threads and Synchronization and the fly likes SIGBUS error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "SIGBUS error" Watch "SIGBUS error" New topic
Author

SIGBUS error

Vels Manian
Greenhorn

Joined: Jun 28, 2001
Posts: 22
Hi,
I'm using a multi threaded program in my project. Once in a while I get an error which says SIGBUS error occured and the program closes. I'm not able to simulate it again to find out the reason. Can anyone tell me whats the reason for this error and how to fix it. Is it something to do with the stack allocation!!!
Thanks & Regards
Vels
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Vels,
What flavor of Unix are you using? In general the SIGBUS signal indicates an attempt to access an invalid memory position (or a BUS error if you prefer). It can potentially mean a hardware (or driver failure). I assume that the OS is shutting down the VM and that the VM is not catching the signal which seems odd. It also could indicate a swap file problem. Is your application very memory intensive?
Michael Morris


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
 
 
subject: SIGBUS error
 
Threads others viewed
SIGBUS 10 bus error in a java.io.IOException: Broken pipe
Radio Buttons
Java Core Dump Debug
SIGBUS 10 bus error in a java.io.IOException: Broken pipe
SIGBUS 10 bus error in a java.io.IOException: Broken pipe
developer file tools