➜ build git:(bde5619e) ✗ LD_LIBRARY_PATH=/usr/lib/nvidia-384 QSG_RENDER_LOOP=threaded QSG_INFO=1 /usr/bin/gdb ./minimal-qml GNU gdb (Ubuntu 7.12.50.20170314-0ubuntu1.1) 7.12.50.20170314-git Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./minimal-qml...done. (gdb) r Starting program: /home/bassem/Dev/qt5/qtwayland/examples/wayland/minimal-qml/build/minimal-qml [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. [New Thread 0x7fffed3ce700 (LWP 10546)] [New Thread 0x7fffe531c700 (LWP 10547)] [New Thread 0x7fffe4b1b700 (LWP 10549)] qt.scenegraph.general: threaded render loop qt.scenegraph.general: Using sg animation driver qt.scenegraph.general: Animation Driver: using vsync: 16.95 ms [New Thread 0x7fffde390700 (LWP 10550)] qt.scenegraph.general: Using sg animation driver qt.scenegraph.general: Animation Driver: using vsync: 16.95 ms qt.scenegraph.general: texture atlas dimensions: 1024x1024 qt.scenegraph.general: R/G/B/A Buffers: 8 8 8 0 qt.scenegraph.general: Depth Buffer: 24 qt.scenegraph.general: Stencil Buffer: 8 qt.scenegraph.general: Samples: 0 qt.scenegraph.general: GL_VENDOR: NVIDIA Corporation qt.scenegraph.general: GL_RENDERER: GeForce GTX 960M/PCIe/SSE2 qt.scenegraph.general: GL_VERSION: OpenGL ES 3.2 NVIDIA 384.69 qt.scenegraph.general: GL_EXTENSIONS: GL_NV_polygon_mode GL_NV_shadow_samplers_cube GL_OES_vertex_array_object GL_EXT_gpu_shader5 GL_NV_bgr GL_NV_occlusion_query_samples GL_NV_conditional_render GL_OES_EGL_image GL_NV_path_rendering GL_EXT_protected_textures GL_EXT_blend_func_extended GL_OES_texture_cube_map_array GL_EXT_render_snorm GL_OES_mapbuffer GL_EXT_shader_group_vote GL_NV_draw_buffers GL_NV_generate_mipmap_sRGB GL_EXT_polygon_offset_clamp GL_NV_pixel_buffer_object GL_OES_gpu_shader5 GL_NV_draw_instanced GL_EXT_color_buffer_float GL_EXT_texture_cube_map_array GL_NV_read_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_tessellation_point_size GL_OES_EGL_image_external GL_OES_texture_half_float_linear GL_OES_tessellation_point_size GL_EXT_disjoint_timer_query GL_EXT_texture_buffer GL_OES_texture_buffer GL_KHR_robustness GL_EXT_texture_norm16 GL_NV_read_buffer GL_NV_read_depth GL_OES_depth_texture_cube_map GL_OES_copy_image GL_EXT_geometry_point_size GL_EXT_copy_image GL_EXT_texture_sRGB_R8 GL_EXT_sparse_texture GL_EXT_texture_compression_s3tc GL_EXT_memory_object GL_OES_depth24 GL_NV_packed_float GL_OES_texture_float GL_OES_texture_float_linear GL_OES_EGL_sync GL_NV_image_formats GL_OES_surfaceless_context GL_KHR_no_error GL_EXT_float_blend GL_OES_EGL_image_external_essl3 GL_EXT_texture_storage GL_OES_element_index_uint GL_OES_standard_derivatives GL_NV_draw_texture GL_OES_shader_multisample_interpolation GL_OES_texture_npot GL_OES_draw_buffers_indexed GL_OES_depth_texture GL_EXT_base_instance GL_EXT_occlusion_query_boolean GL_NV_framebuffer_blit GL_OES_shader_image_atomic GL_EXT_semaphore_fd GL_NV_blend_equation_advanced_coherent GL_OES_compressed_ETC1_RGB8_texture GL_OES_vertex_half_float GL_KHR_blend_equation_advanced GL_OES_rgb8_rgba8 GL_EXT_robustness GL_KHR_robust_buffer_access_behavior GL_OES_shader_io_blocks GL_KHR_blend_equation_advanced_coherent GL_OES_depth32 GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_NV_texture_compression_s3tc GL_EXT_shader_texture_lod GL_EXT_multi_draw_indirect GL_NV_blend_equation_advanced GL_NV_framebuffer_multisample GL_OES_texture_half_float GL_EXT_draw_buffers_indexed GL_EXT_shadow_samplers GL_NV_timer_query GL_EXT_compressed_ETC1_RGB8_sub_texture GL_NV_shader_noperspective_interpolation GL_EXT_multisample_compatibility GL_EXT_window_rectangles GL_OES_get_program_binary GL_EXT_clip_cull_distance GL_NV_packed_float_linear GL_EXT_separate_shader_objects GL_EXT_shader_integer_mix GL_NV_internalformat_sample_query GL_NV_texture_compression_s3tc_update GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_NV_copy_buffer GL_OES_sample_variables GL_NV_explicit_attrib_location GL_NV_fbo_color_attachments GL_OES_texture_storage_multisample_2d_array GL_EXT_unpack_subimage GL_NV_texture_compression_latc GL_EXT_draw_transform_feedback GL_OES_packed_depth_stencil GL_EXT_semaphore GL_OES_tessellation_shader GL_OES_geometry_point_size GL_EXT_frag_depth GL_NV_copy_image GL_EXT_texture_compression_dxt1 GL_NV_read_stencil GL_EXT_geometry_shader GL_EXT_color_buffer_half_float GL_EXT_buffer_storage GL_NV_texture_barrier GL_EXT_sRGB GL_EXT_texture_view GL_NV_texture_array GL_OES_texture_border_clamp GL_EXT_texture_filter_anisotropic GL_OES_texture_stencil8 GL_EXT_tessellation_shader GL_NV_viewport_array GL_OES_draw_elements_base_vertex GL_NV_secure_context GL_EXT_map_buffer_range GL_KHR_context_flush_control GL_OES_texture_view GL_EXT_shader_implicit_conversions GL_EXT_texture_border_clamp GL_NV_pack_subimage GL_OES_fbo_render_mipmap GL_NV_instanced_arrays GL_NV_gpu_shader5 GL_NV_EGL_stream_consumer_external GL_NV_sRGB_formats GL_EXT_draw_elements_base_vertex GL_EXT_sRGB_write_control GL_NV_bindless_texture GL_NV_texture_border_clamp GL_ANDROID_extension_pack_es31a GL_EXT_debug_label GL_EXT_texture_sRGB_decode GL_EXT_texture_rg GL_OES_geometry_shader GL_KHR_debug GL_EXT_memory_object_fd GL_NV_shadow_samplers_array GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_io_blocks GL_NV_draw_vulkan_image GL_OES_viewport_array GL_OES_sample_shading GL_NV_non_square_matrices qt.scenegraph.general: Max Texture Size: 16384 qt.scenegraph.general: Debug context: false [New Thread 0x7fffdd620700 (LWP 10554)] EglClientBufferIntegration: creating texture with no current context [Thread 0x7fffdd620700 (LWP 10554) exited] [New Thread 0x7fffdce1f700 (LWP 10557)] EglClientBufferIntegration: creating texture with no current context [Thread 0x7fffdce1f700 (LWP 10557) exited] [New Thread 0x7fffd3fff700 (LWP 10560)] EglClientBufferIntegration: creating texture with no current context [Thread 0x7fffd3fff700 (LWP 10560) exited] [New Thread 0x7fffd37fe700 (LWP 10562)] EglClientBufferIntegration: creating texture with no current context [Thread 0x7fffd37fe700 (LWP 10562) exited] [New Thread 0x7fffd2ffd700 (LWP 10564)] EglClientBufferIntegration: creating texture with no current context [Thread 0x7fffd2ffd700 (LWP 10564) exited] Thread 5 "QSGRenderThread" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffde390700 (LWP 10550)] QOpenGLTexturePrivate::bind (this=) at /home/bassem/Dev/qt5/qtbase/src/gui/opengl/qopengltexture.cpp:237 237 functions->glBindTexture(target, textureId); (gdb) bt #0 QOpenGLTexturePrivate::bind (this=) at /home/bassem/Dev/qt5/qtbase/src/gui/opengl/qopengltexture.cpp:237 #1 0x00007ffff7cb3828 in QOpenGLTexture::bind (this=this@entry=0x55555575f3a0) at /home/bassem/Dev/qt5/qtbase/src/gui/opengl/qopengltexture.cpp:2462 #2 0x00007ffff7e02c65 in WaylandEglClientBuffer::toOpenGlTexture (this=0x5555556ecd20, plane=0) at /home/bassem/Dev/qt5/qtwayland/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp:497 #3 0x00007fffe428bcc5 in QWaylandBufferRef::toOpenGLTexture (this=this@entry=0x7fffde38fa98, plane=plane@entry=0) at /home/bassem/Dev/qt5/qtwayland/src/compositor/compositor_api/qwaylandbufferref.cpp:280 #4 0x00007fffe4293c14 in QWaylandQuickItem::updatePaintNode (this=, oldNode=) at /home/bassem/Dev/qt5/qtwayland/src/compositor/compositor_api/qwaylandquickitem.cpp:1221 #5 0x00007fffdf15f667 in QQuickWindowPrivate::updateDirtyNode (this=this@entry=0x555555624d60, item=item@entry=0x55555575d230) at /home/bassem/Dev/qt5/qtdeclarative/src/quick/items/qquickwindow.cpp:3176 #6 0x00007fffdf15fe98 in QQuickWindowPrivate::updateDirtyNodes (this=this@entry=0x555555624d60) at /home/bassem/Dev/qt5/qtdeclarative/src/quick/items/qquickwindow.cpp:2921 #7 0x00007fffdf15ff66 in QQuickWindowPrivate::syncSceneGraph (this=this@entry=0x555555624d60) at /home/bassem/Dev/qt5/qtdeclarative/src/quick/items/qquickwindow.cpp:420 #8 0x00007fffdf0f9220 in QSGRenderThread::sync (this=this@entry=0x555555659060, inExpose=inExpose@entry=false) at /home/bassem/Dev/qt5/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:555 #9 0x00007fffdf0fad51 in QSGRenderThread::syncAndRender (this=this@entry=0x555555659060) at /home/bassem/Dev/qt5/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:602 #10 0x00007fffdf100271 in QSGRenderThread::run (this=0x555555659060) at /home/bassem/Dev/qt5/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:722 #11 0x00007ffff6f15f0b in QThreadPrivate::start (arg=0x555555659060) at /home/bassem/Dev/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:368 #12 0x00007ffff68856da in start_thread (arg=0x7fffde390700) at pthread_create.c:456 #13 0x00007ffff6ba4d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105