This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Crash: gl::PushGroupMarkerEXT(...): Error GL_INVALID_ENUM #1550
Comments
4 tasks
Got this again on vanilla Steps to reproduce:
This happens a second or so after locking: 2015-05-13 18:51:21.953 Mapbox GL[2730:808566] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x145d9a70> to GL_RENDERBUFFER 1
2015-05-13 18:51:21.955 Mapbox GL[2730:808566] Failed to make complete framebuffer object 8cd6 And then it crashes on unlock: libc++abi.dylib: terminating with uncaught exception of type mbgl::gl::Error: gl::PushGroupMarkerEXT(GLsizei(str.size() + 1), str.c_str()): Error GL_INVALID_ENUM - include/mbgl/platform/gl.hpp:162 |
Still happens on current 2015-08-24 15:55:51.062 Mapbox GL[536:131059] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x165379f0> to GL_RENDERBUFFER 1
2015-08-24 15:55:51.063 Mapbox GL[536:131059] Failed to make complete framebuffer object 8cd6 |
@friedbunny do you still remember what you were doing? Anything in particular or just a random crash? |
@kkaefer Yes, this is reproducible using Trying it again on the latest 2015-09-14 10:09:34.566 Mapbox GL[245:10112] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x16dd86c0> to GL_RENDERBUFFER 1
2015-09-14 10:09:34.567 Mapbox GL[245:10112] Failed to make complete framebuffer object 8cd6
libc++abi.dylib: terminating with uncaught exception of type mbgl::gl::Error: glBindTexture(GL_TEXTURE_2D, texture): Error GL_INVALID_ENUM - /mapbox-gl-native/src/mbgl/geometry/sprite_atlas.cpp:207
(lldb) bt
* thread #14: tid = 0x27d8, 0x35ff4d24 libsystem_kernel.dylib`__pthread_kill + 8, name = 'Map', stop reason = signal SIGABRT
frame #0: 0x35ff4d24 libsystem_kernel.dylib`__pthread_kill + 8
frame #1: 0x36094b5a libsystem_pthread.dylib`pthread_kill + 62
frame #2: 0x35f8cf50 libsystem_c.dylib`abort + 108
frame #3: 0x34fca7dc libc++abi.dylib`abort_message + 108
frame #4: 0x34fe366a libc++abi.dylib`default_terminate_handler() + 214
frame #5: 0x357fb0bc libobjc.A.dylib`_objc_terminate() + 228
frame #6: 0x34fe0e16 libc++abi.dylib`std::__terminate(void (*)()) + 78
frame #7: 0x34fe0f3a libc++abi.dylib`std::terminate() + 190
frame #8: 0x0011c810 Mapbox GL`__clang_call_terminate + 16
* frame #9: 0x0009861c Mapbox GL`mbgl::SpriteAtlas::bind(this=0x405a01f4)::$_4::operator()() const::__MBGL_C_E::~__MBGL_C_E() + 196 at sprite_atlas.cpp:207
frame #10: 0x00098538 Mapbox GL`mbgl::SpriteAtlas::bind(this=0x405a01f4)::$_4::operator()() const::__MBGL_C_E::~__MBGL_C_E() + 32 at sprite_atlas.cpp:207
frame #11: 0x00097924 Mapbox GL`mbgl::SpriteAtlas::bind(this=0x405a0324)::$_4::operator()() const + 132 at sprite_atlas.cpp:207
frame #12: 0x000967f0 Mapbox GL`mbgl::SpriteAtlas::bind(this=0x16e6a430, linear=false) + 212 at sprite_atlas.cpp:207
frame #13: 0x00096700 Mapbox GL`mbgl::SpriteAtlas::upload(this=0x16e6a430) + 124 at sprite_atlas.cpp:162
frame #14: 0x001a945e Mapbox GL`mbgl::Painter::render(this=0x17a6ba00, style=0x16de0bb0, state_=<unavailable>, frame_=0x1b19db38, time=0x405a0e34) + 954 at painter.cpp:191
frame #15: 0x0011860c Mapbox GL`mbgl::MapContext::renderSync(this=0x405a6af0, state=0x1b19dae0, frame=0x1b19db38) + 1076 at map_context.cpp:343
frame #16: 0x000fda48 Mapbox GL`std::__1::__packaged_task_func<std::__1::__bind<bool (mbgl::MapContext::*&)(mbgl::TransformState const&, mbgl::FrameData const&), mbgl::MapContext*&, mbgl::TransformState const&, mbgl::FrameData&>, std::__1::allocator<std::__1::__bind<bool (mbgl::MapContext::*&)(mbgl::TransformState const&, mbgl::FrameData const&), mbgl::MapContext*&, mbgl::TransformState const&, mbgl::FrameData&> >, bool ()>::operator()() [inlined] decltype(__f=0x1b19dad4, __a0=0x1b19dadc, __args=0x1b19dae0, __args=0x1b19db38)).*fp(std::__1::forward<mbgl::TransformState&, mbgl::FrameData&>(fp1))) std::__1::__invoke<bool (mbgl::MapContext::*&)(mbgl::TransformState const&, mbgl::FrameData const&), mbgl::MapContext*&, mbgl::TransformState&, mbgl::FrameData&, void>(bool (mbgl::MapContext::*&&&)(mbgl::TransformState const&, mbgl::FrameData const&), mbgl::MapContext*&&&, mbgl::TransformState&&&, mbgl::FrameData&&&) + 82 at __functional_base:382
... |
This no longer happens at all. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Crashed on device unlock, after being idle for some tens of minutes. Was testing my
location-annotation
branch (#1222), which is even withmaster
@ 1d38b63./cc @jfirebaugh @kkaefer
The text was updated successfully, but these errors were encountered: