The SIGBUS signal is sent to a process when it causes a bus error. The conditions that lead to the signal being raised are, for example, incorrect memory access alignment or non-existent physical address.
Questions tagged [sigbus]
65 questions
0
votes
1 answer
error Command failed with signal "SIGBUS"
I am a junior and still new to server or building a site. And now I am trying to build a next.js project on a server, it builds well until it says Creating an optimized production build..., then this error occurs error Command failed with signal…

Tsikitsiky
- 1
- 1
0
votes
0 answers
C++: SIGBUS Error after increasing stack size to avoid SIGSEV
UPDATE: I solved it, just increased the stack size to 0x40000000, and now my code runs perfectly. (Earlier, I thought the stack size would be sufficient because I was getting a different error before (SIGSEV), and I did not think SIGBUS was also due…

MangoPizza
- 269
- 2
- 8
0
votes
0 answers
Unknown SIGBUS error on Android production app
I was looking for crashes on the Playstore console and found some crashes which weren’t captured by Dynatrace.
It seems like logs from NDK (which I'm not aware of) but the app isn’t built using it.
Has anyone faced similar crashing logs? Any help…

Viks
- 1,510
- 4
- 22
- 50
0
votes
1 answer
Bug Process finished with exit code 138 (interrupted by signal 10: SIGBUS)
I ask for your help because I have a problem :(
I am currently in a computer project with a group. We have to code a Dofus
My team codes under Windows and I under Mac OS.
We all use the Allegro5 graphics library.
We are on JetBrain's CLion IDE and…

KilcarNa
- 11
0
votes
1 answer
GCC 4.0.2 dereference pointer to double type member of structure raises SIGBUS error
The follow sample code looks OK to me but always fails executing on Solaris with SIGBUS error if compiled with GCC 4.0.2, however it runs fine if compiled with GCC 3.4.2 version. Any thought?
//params is a pointer to a structure Param, which…

Charles
- 1
- 1
0
votes
1 answer
SIGBUS occurs when fortran code reads file on linux cluster
When I run my fortran code in parallel on a linux cluster with mpirun I get a sigbus error.
It occurs while reading a file, the timing is irregular, and sometimes it proceeds without error.
I have tried debug compilation options like -g, but I…

Eggrice
- 1
- 1
0
votes
1 answer
TTF_RenderText_Solid causes SIGBUS
I have this code, which should load a font using SDL2_ttf and draw a text onto the screen:
Structs declaration:
typedef struct {
SDL_Window* win;
SDL_Event* e;
SDL_Renderer* renderer;
} SL_Window;
typedef struct {
TTF_Font* font;
…

iTs.SL4y3R
- 74
- 8
0
votes
2 answers
Diagnosing SIGBUS in third party jars used with JNI from c++
I'm using CLion with a c++ project (cmake), which starts a jvm. The java part is built with gradle. The project works, but I'm having a problem with debugging.
When I start the JVM, I immediately get a SIGSEGV. I understand that it's normal and…

TalL
- 1,661
- 16
- 16
0
votes
0 answers
is all the signal handlers invoked by kernel when a signal was pended?
I have three different process. They all have their own signal handlers for a signal. All handlers has its own logs. I create artificially signal with another process. I saw only one handler's log in the console. I expected to see all the logs. Is…

mehmet riza oz
- 541
- 6
- 18
0
votes
0 answers
Segmentation (SIGSEV) fault and SIGBUS fault while running fortran code
I'm running a fortran code using .f90 to do some cavity study for natural convection. However I encountered the above mentioned errors.
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this…

Kae Luen
- 1
0
votes
2 answers
Caught a fatal signal: SIGBUS(7) on node 2/32
I'm trying to run NAS-UPC benchmarks on a 32 node cluster.
It works fine in cases where the problem size is small . When I graduate to a bigger problem size (CLASS D), I get this error (for MG benchmark)
*** Caught a fatal signal: SIGBUS(7) on node…

Sharat Chandra
- 4,434
- 7
- 49
- 66
0
votes
0 answers
mmap memory alignment in ARM
I'm working on a project that's being ported to ARM7 (was originally on x86). It runs on QNX. We've had a few memory alignment issues (SIGBUS error crashes) due to reading/writing with misaligned pointers. I've been fixing most alignment issues…

freejuices
- 121
- 6
0
votes
1 answer
SIGBUS when trying to call recv on socket after server crash (Android 6.0.1)
I am currently doing some app stability testing and I am running in to an issue when calling the following method;
vector buffer( 256 );
received = recv( fd, buffer.data(), buffer.size(), MSG_NOSIGNAL );
In this case fd is a TCP…

Thizzer
- 16,153
- 28
- 98
- 139
0
votes
0 answers
What to do with 'Bus error' in caffe while training?
I am using NVIDIA Jetson TX1 and caffe to train the AlexNet on my own data.
I have 104,000 train and 20,000 validation images fed to my model. with batch size of 16 for both test and train.
I run the solver for training and I get this Bus error…

user6726469
- 231
- 1
- 3
- 14
0
votes
1 answer
iOS app crash - SIGBUS - BUS_ADRALN
My app is crashing on iPhone 4 iOS 7.1.3. On iOS 9 and iP6 everything is ok.
It's caused by instantiating rather complex generic class with two generic types.
I can provide details about implementation but the class has several hundreds…

Martin Kubišta
- 63
- 1
- 6