Forums Register Login

SIGBUS error

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
Drove my Chevy to the levee but the levee was dry. A wrung this tiny ad and it was still dry.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 822 times.
Similar Threads
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
Radio Buttons
SIGBUS 10 bus error in a java.io.IOException: Broken pipe
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:56:57.