SIGBUS
can happen in Linux for quite a few reasons other than memory alignment faults – for example, if you attempt to access an mmap
region beyond the end of the mapped file.
Are you using anything like mmap
, shared memory regions, or similar?
More Related Contents:
- How do I analyze a program’s core dump file with GDB when it has command-line parameters?
- How should strace be used?
- Tool to trace local function calls in Linux
- Can I use GDB to debug a running process?
- How do I use GDB in Eclipse for C/C++ Debugging?
- sed in-place flag that works both on Mac (BSD) and Linux
- Use Expect in a Bash script to provide a password to an SSH command
- How to declare 2D array in bash
- What does $@ mean in a shell script?
- how to install gcc 4.9.2 on RHEL 7.4
- How to convert DOS/Windows newline (CRLF) to Unix newline (LF)
- What happens if there is no exit system call in an assembly program?
- How do I run a program with a different working directory from current, from Linux shell?
- How do I view the list of functions a Linux shared library is exporting?
- Why are the backslash and semicolon required with the find command’s -exec option?
- Managing log files created by cron jobs
- How to change the default browser used by the ipython/jupyter notebook in Linux?
- equivalent date from GNU to solaris
- Use sudo without password INSIDE a script
- What is the difference between “source script.sh” and “./script.sh”?
- How to restrict SSH users to a predefined set of commands after login?
- Running a cron job on Linux every six hours
- How can I programmatically manage iptables rules on the fly?
- Add a newline only if it doesn’t exist
- Need a good hex editor for Linux [closed]
- How is the Linux kernel tested?
- Alias with variable in bash [duplicate]
- How find out which process is using a file in Linux?
- Creating temporary files in bash
- Maximum number of concurrent connections on a single port (socket) of Server