bus-error Questions
4
Solved
I have a git repository on an OS X server that used to work fine. I was able to add files, commit them, and pull the content to my laptop.
Now, when I ssh into the server and do git commit or git ...
Monopolize asked 3/4, 2011 at 0:8
17
Solved
What does the "bus error" message mean, and how does it differ from a segmentation fault?
Deweydewhirst asked 17/10, 2008 at 14:48
1
Solved
I can not produce a "Bus error" with the following assembly code. Here the memory address I use is not a legal "canonical-address". So, how can I trigger that error?
I was runni...
9
Solved
What can cause SIGBUS (bus error) on a generic x86 userland application in Linux? All of the discussion I've been able to find online is regarding memory alignment errors, which from what I underst...
3
Solved
I updated Xcode to new stable 10.2v. I tried to build my project and it was successful. When I'm trying to archive the project (workspace), I'm getting errors like on screenshot below:
What I've...
7
Solved
Difference between a bus error and a segmentation fault?
Can it happen that a program gives a seg fault and stops for the first time and for the second time it may give a bus error and exit ?
Bermejo asked 8/5, 2009 at 6:56
12
Solved
I am trying very hard to get a bus error.
One way is misaligned access and I have tried the examples given here and here, but no error for me - the programs execute just fine.
Is there some situa...
2
Solved
I'm on macOS High Sierra.
$ uname -v
Darwin Kernel Version 17.2.0: Fri Sep 29 18:27:05 PDT 2017; root:xnu-4570.20.62~3/RELEASE_X86_64
I have the following synthesized program.
void nop1() {
f...
2
Solved
When I first made this project last semester, the code worked fine. Now I get a bus error when the mmapped memory to share between processes is being written to and I'm not sure why it is not worki...
Accumulate asked 9/10, 2016 at 1:22
2
Solved
We are dealing with C here. I'm just had this idea, wondering if it is possible to access the point in memory where a function is stored, say foo and copying the contents of the function to another...
Anthropomorphic asked 27/11, 2015 at 20:11
3
I feel confusion about the swap two characters in one string with C.
It works well when I set it as an array:
char strBase[8] = "acbdefg";
in this case I could swap any character.
But it trigger...
1
Solved
I am getting bus error in my code. With this code I am trying to convert numbers to words, but I know that there is a flaw in my logic. But before that, when I compile and run this code using g++ o...
3
Solved
I think it's the very first strtok call that's failing. It's been a while since I've written C and I'm at a loss. Thanks very much.
#include <stdio.h>
#include <string.h>
int main(int...
1
© 2022 - 2024 — McMap. All rights reserved.