• Post Reply Bookmark Topic Watch Topic
  • New Topic

SIGBUS error

 
Vels Manian
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!