-
-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bus Error in wkb.hpp #806
Comments
You might be better just on the mailing list https://lists.openstreetmap.org/pipermail/tile-serving/ rather than here as well, but there's a bit of info missing:
|
|
I'm going to uninstall my copy and install from this project to see if that makes a difference. |
Alright, yeah, I got the same problem. I used: Here is it running:
|
As I understand it "bus error" means something has gone very wrong at a very low level (word alignment - see gperftools/gperftools#736 ). Unless someone's seen the same problem on the same platform, I'm not sure anyone will be able to help here. Maybe ask around the various ARM/Pi forums? |
Huh, interesting. I guess it makes sense that this could be an ARM only issue. Yeah, I'll do some more research but it seems like I'm sunk trying to get it to work. |
I also suspect something ARM-specific. Just to simplify this down to a minimal command, can you verify that the error still occurs with
|
I had similar issues with Overpass API on ARM (Raspberry Pi 2) (see wiki) due to unaligned memory accesses. Some optimization levels like -O2 or -O3 may generate instructions that fail during runtime. Maybe try a more conservative optimization level. I would also recommend to reduce the number of parallel processes to maybe 1-2 to see if this makes any difference (currently |
Sorry for the delayed response. I did the run as prescribed and ran into a bus error again.
Let me know if you want me to run anything else. |
Patch looks good. Here's a log on Raspberry Pi 2 Without #808
With #808
|
SIGILL is slightly odd. That rather sounds like the compiler has produced code that is unsuitable for your platform. |
Sarah Hoffmann <[email protected]> schrieb am Sa. 6. Jan. 2018 um
16:05:
SIGILL is slightly odd. That rather sounds like the compiler has produced
code that is unsuitable for your platform.
I think that’s just a gdb artifact, the relevant line is further down in
the log:
Program received signal SIGBUS, Bus error.
|
@lonvia, that seemed to have done it, so thank you!
|
This is an old thread but since this was one of the only Bus error issues, I wanted to give my additions. In my case, the issue was simply running out of disk space inside a Docker container. I'm importing a single country with the following command:
I'm running the import inside Docker, Macbook as the host. I gave Docker for Mac 8 cores, 8GB RAM, and 128GB disk space and the importing seems to work now. Having 64GB disk space was not enough. Hope this helps someone else later! |
I keep getting a bus error trying to run osm2pgsql. I've tried 2 separate PBF files but they both failed at the same place. I'm running osm2pgsql version 0.95.0-dev on a Raspberry Pi running Raspbian Stretch.
The osm2pgsql call is:
Does anyone have any thoughts as to why this is happening? Thanks in advance
GDB call stack output:
More in depth near the failure point:
The text was updated successfully, but these errors were encountered: