Comments (9)
Hi,
I'm the current maintainer of AUR package. This is a bug in tilemaker v3.0.0 because only difference to "source build" is that makepkg reads CFLAGS and CXXFLAGS from makepkg.conf
. AUR is after all just source builds packaged most of the time. I've tested makepkg
build without these flags by adding !buildflags
to PKGBUILD options and everything worked.
These are default flags used by makepkg
which reproduce the assertion error
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection \
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
Assertion gives suggestion that there is out of bounds access so checking _GLIBCXX_ASSERTIONS
was a first suspect.
I've tested the command used to reproduce failure for builds with and without _GLIBCXX_ASSERTIONS
-
works:
cmake -S. -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
-
fails:
cmake -S. -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS"
Note that master branch doesnt seem to be affected with this problem only v3.0.0
from tilemaker.
What OS are you running on?
from tilemaker.
(And how much RAM?)
from tilemaker.
My OS is Arch LInux x86_64, and I have 16 GB of RAM.
Edit: I have also installed the package through the AUR. So I will build from source to make sure that the way it's built isn't the cause of this crash.
from tilemaker.
On my Ubuntu box it's running fine with the Belgium extract from Geofabrik: max RAM used c. 6GB, complete in 1m41. So yes, I'd try building from source.
from tilemaker.
Alright, when building from source it works (v3 and master). So this can be closed, and I'll have a look at the AUR package.
from tilemaker.
I'm the current maintainer of AUR package.
For which thank you. :)
Note that master branch doesnt seem to be affected with this problem only v3.0.0
So if I tag a 3.0.1 release then this will be resolved, I guess?
from tilemaker.
For which thank you. :)
Thank you for the program, maintaining packages is much less work than building the program :)
So if I tag a 3.0.1 release then this will be resolved, I guess?
I think so. Just tried testing it again and the example pbf file is not available anymore so hopefully I did previous tests correctly...
from tilemaker.
I am running into the same crash.
So if you're up for a 3.0.1 release that'd be fabulous!
from tilemaker.
Related Issues (20)
- Buildings and piers missing at zoom level 13 HOT 3
- Trying to install on Mac HOT 2
- Zoom level simplification HOT 1
- lua error: table is not a function HOT 1
- lua missing, ubuntu 23.04 HOT 1
- Assertion failed: (has_wire_type(pbf_wire_type::varint) && "not a varint"), function get_sint64, file pbf_reader.hpp, line 570 HOT 2
- Invalid polygons after clipping at tile boundaries HOT 15
- terminate called after throwing an instance of 'std::out_of_range' HOT 1
- tilemaker-server terminated by signal SIGKILL (Forced quit) HOT 9
- build problems HOT 1
- Planet generation issues on hardware-constrained machine HOT 5
- Tilemaker does not support maritime boundaries HOT 2
- Huge file for simple map. HOT 1
- Roundabouts missing if the first node reference is the same as the last one HOT 2
- Making Tiles With Zoom 15 Removes Place Names
- terminate called after throwing an instance of 'boost::interprocess::interprocess_exception'
- CI is broken
- Support writing MultiPoint into vector tiles HOT 1
- Ocean and land area is missing HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tilemaker.