Bug 396282 - Segmentation fault on loading mail in Wayland
Summary: Segmentation fault on loading mail in Wayland
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: misc (show other bugs)
Version: 5.13.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 396780 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-07-07 17:06 UTC by Marcus Harrison
Modified: 2020-04-21 19:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Harrison 2018-07-07 17:06:35 UTC
On first opening KMail on Wayland, the window and widgets load, then it crashes before the E-mail view widget loads.

KDE's crash wizard won't spawn but I've run KMail from gdb to retrieve this backtrace:

#0  0x00007fffde284e42 in gl::GLSurfaceGLXQt::Initialize(gl::GLSurfaceFormat) ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#1  0x00007fffde26f0e8 in gl::init::CreateOffscreenGLSurfaceWithFormat(gfx::Size const&, gl::GLSurfaceFormat) ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#2  0x00007fffe02b5a8d in gl::init::CreateOffscreenGLSurface(gfx::Size const&) ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#3  0x00007fffe232a927 in gpu::GpuChannelManager::GetDefaultOffscreenSurface() ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x00007fffe232d8f0 in gpu::GLES2CommandBufferStub::Initialize(gpu::CommandBufferStub*, GPUCreateCommandBufferConfig const&, std::unique_ptr<base::SharedMemory, std::default_delete<base::SharedMemory> >) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#5  0x00007fffe2328e16 in gpu::GpuChannel::OnCreateCommandBuffer(GPUCreateCommandBufferConfig const&, int, base::SharedMemoryHandle, gpu::ContextResult*, gpu::Capabilities*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#6  0x00007fffe2326adf in bool IPC::MessageT<GpuChannelMsg_CreateCommandBuffer_Meta, std::tuple<GPUCreateCommandBufferConfig, int, base::SharedMemoryHandle>, std::tuple<gpu::ContextResult, gpu::Capabilities> >::Dispatch<gpu::GpuChannel, gpu::GpuChannel, void, void (gpu::GpuChannel::*)(GPUCreateCommandBufferConfig const&, int, base::SharedMemoryHandle, gpu::ContextResult*, gpu::Capabilities*)>(IPC::Message const*, gpu::GpuChannel*, gpu::GpuChannel*, void*, void (gpu::GpuChannel::*)(GPUCreateCommandBufferConfig const&, int, base::SharedMemoryHandle, gpu::ContextResult*, gpu::Capabilities*)) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#7  0x00007fffe2328022 in gpu::GpuChannel::OnControlMessageReceived(IPC::Message const&) ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#8  0x00007fffe2329bbd in gpu::GpuChannel::HandleMessageHelper(IPC::Message const&) ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#9  0x00007fffdf7f68d9 in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#10 0x00007fffdf817da0 in base::MessageLoop::RunTask(base::PendingTask*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#11 0x00007fffdf8187fd in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask) ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#12 0x00007fffdf818ae7 in base::MessageLoop::DoWork() [clone .part.156] [clone .constprop.178] ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#13 0x00007fffdf814679 in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#14 0x00007fffdf83abcf in base::RunLoop::Run() () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#15 0x00007fffdf85c71f in base::Thread::ThreadMain() () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#16 0x00007fffdf857d80 in base::(anonymous namespace)::ThreadFunc(void*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#17 0x00007fffea8946ba in start_thread (arg=0x7fff6d7fa700) at pthread_create.c:333
#18 0x00007ffff4fe841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Comment 1 markuss 2019-09-21 12:29:29 UTC
*** Bug 396780 has been marked as a duplicate of this bug. ***
Comment 2 Rainer Finke 2020-04-21 19:05:22 UTC
Even with Kmail 5.13.90 there are just black an white boxes in the main area where the mails are supposed to be when loading Kmail on Wayland. 

Operating System: Arch Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.15.0
Kernel Version: 5.6.5-arch3-1