{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4909","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4909/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4909/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4909/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4909","id":152521206,"number":4909,"title":"[core] Crash when launching glfw app on Linux","user":{"login":"tmpsantos","id":996307,"avatar_url":"https://avatars.githubusercontent.com/u/996307?v=3","gravatar_id":"","url":"https://api.github.com/users/tmpsantos","html_url":"https://github.com/tmpsantos","followers_url":"https://api.github.com/users/tmpsantos/followers","following_url":"https://api.github.com/users/tmpsantos/following{/other_user}","gists_url":"https://api.github.com/users/tmpsantos/gists{/gist_id}","starred_url":"https://api.github.com/users/tmpsantos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmpsantos/subscriptions","organizations_url":"https://api.github.com/users/tmpsantos/orgs","repos_url":"https://api.github.com/users/tmpsantos/repos","events_url":"https://api.github.com/users/tmpsantos/events{/privacy}","received_events_url":"https://api.github.com/users/tmpsantos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/crash","name":"crash","color":"ff00ff"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Linux","name":"Linux","color":"1d76db"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-02T09:47:13Z","updated_at":"2016-05-02T18:41:48Z","closed_at":null,"body":"Release mode, crashes right after the window pops up.\r\n\r\nReverting #4900 fixes.\r\n\r\n```\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\nCore was generated by `./mapbox-glfw'.\r\nProgram terminated with signal SIGSEGV, Segmentation fault.\r\nbt#0  0x000000000051d37e in mbgl::GeometryTileFeatureExtractor::getValue (this=0x7f10e92aaf70, key=...)\r\n    at ../../src/mbgl/tile/geometry_tile.cpp:10\r\n10\t    return feature.getValue(key);\r\n[Current thread is 1 (Thread 0x7f10e92af700 (LWP 27117))]\r\n(gdb) bt\r\n#0  0x000000000051d37e in mbgl::GeometryTileFeatureExtractor::getValue (this=0x7f10e92aaf70, key=\"scalerank\")\r\n    at ../../src/mbgl/tile/geometry_tile.cpp:10\r\n#1  0x00000000004cbfc5 in mbgl::FilterEvaluator<mbgl::GeometryTileFeatureExtractor>::operator() (this=this@entry=0x7f10e92aaf60, \r\n    filter=...) at ../../src/mbgl/style/filter_evaluator.hpp:51\r\n#2  0x00000000004c6e28 in mapbox::util::detail::dispatcher<mbgl::FilterEvaluator<mbgl::GeometryTileFeatureExtractor>&, mapbox::util::variant<mbgl::NullFilter, mbgl::EqualsFilter, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>, bool, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>::apply_const (f=..., v=...)\r\n    at /opt/tmpsantos/Projects/mapbox-gl-native/mason_packages/headers/variant/1.1.0/include/mapbox/variant.hpp:302\r\n#3  mapbox::util::detail::dispatcher<mbgl::FilterEvaluator<mbgl::GeometryTileFeatureExtractor>&, mapbox::util::variant<mbgl::NullFilter, mbgl::EqualsFilter, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>, bool, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>::apply_const (f=..., \r\n    v=...) at /opt/tmpsantos/Projects/mapbox-gl-native/mason_packages/headers/variant/1.1.0/include/mapbox/variant.hpp:306\r\n#4  mapbox::util::detail::dispatcher<mbgl::FilterEvaluator<mbgl::GeometryTileFeatureExtractor>&, mapbox::util::variant<mbgl::NullFilter, mbgl::EqualsFilter, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>, bool, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>::apply_const (f=..., v=...)\r\n    at /opt/tmpsantos/Projects/mapbox-gl-native/mason_packages/headers/variant/1.1.0/include/mapbox/variant.hpp:306\r\n#5  mapbox::util::detail::dispatcher<mbgl::FilterEvaluator<mbgl::GeometryTileFeatureExtractor>&, mapbox::util::variant<mbgl::NullFilter, mbgl::EqualsFilter, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>, bool, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>::apply_const (f=..., v=...)\r\n    at /opt/tmpsantos/Projects/mapbox-gl-native/mason_packages/headers/variant/1.1.0/include/mapbox/variant.hpp:306\r\n#6  mapbox::util::detail::dispatcher<mbgl::FilterEvaluator<mbgl::GeometryTileFeatureExtractor>&, mapbox::util::variant<mbgl::NullFilter, mbgl::EqualsFilter, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>, bool, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>::apply_const (f=..., v=...)\r\n    at /opt/tmpsantos/Projects/mapbox-gl-native/mason_packages/headers/variant/1.1.0/include/mapbox/variant.hpp:306\r\n#7  mapbox::util::detail::dispatcher<mbgl::FilterEvaluator<mbgl::GeometryTileFeatureExtractor>&, mapbox::util::variant<mbgl::NullFilter, mbgl::EqualsFilter, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>, bool, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>::apply_const (f=..., v=...)\r\n    at /opt/tmpsantos/Projects/mapbox-gl-native/mason_packages/headers/variant/1.1.0/include/mapbox/variant.hpp:306\r\n#8  mapbox::util::detail::dispatcher<mbgl::FilterEvaluator<mbgl::GeometryTileFeatureExtractor>&, mapbox::util::variant<mbgl::NullFi---Type <return> to continue, or q <return> to quit---\r\nlter, mbgl::EqualsFilter, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>, bool, mbgl::EqualsFilter, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>::apply_const (f=..., v=...)\r\n    at /opt/tmpsantos/Projects/mapbox-gl-native/mason_packages/headers/variant/1.1.0/include/mapbox/variant.hpp:306\r\n#9  mapbox::util::detail::dispatcher<mbgl::FilterEvaluator<mbgl::GeometryTileFeatureExtractor>&, mapbox::util::variant<mbgl::NullFilter, mbgl::EqualsFilter, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>, bool, mbgl::NullFilter, mbgl::EqualsFilter, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>::apply_const (\r\n    f=..., v=...) at /opt/tmpsantos/Projects/mapbox-gl-native/mason_packages/headers/variant/1.1.0/include/mapbox/variant.hpp:306\r\n#10 mapbox::util::variant<mbgl::NullFilter, mbgl::EqualsFilter, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>::visit<mbgl::FilterEvaluator<mbgl::GeometryTileFeatureExtractor>&, mapbox::util::variant<mbgl::NullFilter, mbgl::EqualsFilter, mbgl::NotEqualsFilter, mbgl::LessThanFilter, mbgl::LessThanEqualsFilter, mbgl::GreaterThanFilter, mbgl::GreaterThanEqualsFilter, mbgl::InFilter, mbgl::NotInFilter, mbgl::AnyFilter, mbgl::AllFilter, mbgl::NoneFilter>, bool> (f=..., v=...)\r\n    at /opt/tmpsantos/Projects/mapbox-gl-native/mason_packages/headers/variant/1.1.0/include/mapbox/variant.hpp:782\r\n#11 mbgl::SymbolBucket::parseFeatures (this=this@entry=0x7f10d400b3f0, layer=..., filter=...)\r\n    at ../../src/mbgl/renderer/symbol_bucket.cpp:118\r\n#12 0x00000000004b6130 in mbgl::SymbolLayer::createBucket (this=0x18831a0, parameters=...)\r\n    at ../../src/mbgl/layer/symbol_layer.cpp:167\r\n#13 0x00000000005574fe in mbgl::TileWorker::parseLayer (this=this@entry=0x172db68, layer=layer@entry=0x18831a0, geometryTile=...)\r\n    at ../../src/mbgl/tile/tile_worker.cpp:162\r\n#14 0x00000000005582dd in mbgl::TileWorker::parseAllLayers (this=0x172db68, layers_=std::vector of length 0, capacity 0, \r\n    geometryTile=std::unique_ptr<const mbgl::GeometryTile> containing 0x172aa80, config=...)\r\n    at ../../src/mbgl/tile/tile_worker.cpp:58\r\n#15 0x000000000052e607 in mbgl::Worker::Impl::parseGeometryTile(mbgl::TileWorker*, std::vector<std::unique_ptr<mbgl::StyleLayer, std::default_delete<mbgl::StyleLayer> >, std::allocator<std::unique_ptr<mbgl::StyleLayer, std::default_delete<mbgl::StyleLayer> > > >, std::unique_ptr<mbgl::GeometryTile, std::default_delete<mbgl::GeometryTile> >, mbgl::PlacementConfig, std::function<void (mapbox::util::variant<mbgl::TileParseResultBuckets, std::__exception_ptr::exception_ptr>)>) (this=<optimized out>, \r\n    worker=<optimized out>, layers=..., tile=..., config=..., callback=...) at ../../src/mbgl/util/worker.cpp:37\r\n#16 0x000000000053172f in _ZZN4mbgl4util6ThreadINS_6Worker4ImplEE4bindIMS3_FvPNS_10TileWorkerESt6vectorISt10unique_ptrINS_10StyleLayerESt14default_deleteISA_EESaISD_EES9_INS_12GeometryTileESB_ISG_EENS_15PlacementConfigESt8functionIFvN6mapbox4util7variantIJNS_22TileParseResultBucketsENSt15__exception_ptr13exception_ptrEEEEEEEEEDaT_ENKUlDpOT_E_clIJS7_SF_SI_SJ_ZNS0_7RunLoop18invokeWithCallbackIS10_RST_JS7_SF_SI_RSJ_EEES9_INS_12AsyncRequestESB_IS16_EEOSW_OT0_DpOT1_EUlSZ_E_EEEDaSZ_ (__closure=0x1885e70)\r\n    at ../../src/mbgl/util/thread.hpp:75\r\n#17 _ZN4mbgl4util7RunLoop7InvokerIZNS0_6ThreadINS_6Worker4ImplEE4bindIMS5_FvPNS_10TileWorkerESt6vectorISt10unique_ptrINS_10StyleLayerESt14default_deleteISC_EESaISF_EESB_INS_12GeometryTileESD_ISI_EENS_15PlacementConfigESt8functionIFvN6mapbox4util7variantIJNS_22TileParseResultBucketsENSt15__exception_ptr13exception_ptrEEEEEEEEEDaT_EUlDpOT_E_St5tupleIJS9_SH_SK_SL_ZNS1_18invokeWithCallbackIS12_---Type\r\n```\r\n\r\n/cc @jfirebaugh "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/216323425","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4909#issuecomment-216323425","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4909","id":216323425,"user":{"login":"tmpsantos","id":996307,"avatar_url":"https://avatars.githubusercontent.com/u/996307?v=3","gravatar_id":"","url":"https://api.github.com/users/tmpsantos","html_url":"https://github.com/tmpsantos","followers_url":"https://api.github.com/users/tmpsantos/followers","following_url":"https://api.github.com/users/tmpsantos/following{/other_user}","gists_url":"https://api.github.com/users/tmpsantos/gists{/gist_id}","starred_url":"https://api.github.com/users/tmpsantos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmpsantos/subscriptions","organizations_url":"https://api.github.com/users/tmpsantos/orgs","repos_url":"https://api.github.com/users/tmpsantos/repos","events_url":"https://api.github.com/users/tmpsantos/events{/privacy}","received_events_url":"https://api.github.com/users/tmpsantos/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T18:41:48Z","updated_at":"2016-05-02T18:41:48Z","body":"> I'm not able to reproduce this on OS X or Ubuntu 12.04\r\n\r\nHave you tried debug build or Linux or running on valgrind? I get the crash on Ubuntu 16.04."}}