Bug 368776 - Kontact crashing on wayland.....
Summary: Kontact crashing on wayland.....
Status: RESOLVED WORKSFORME
Alias: None
Product: knotes
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-09-14 01:19 UTC by Tony
Modified: 2016-10-14 20:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
korganizer backtrace (6.26 KB, text/plain)
2016-09-14 01:22 UTC, Tony
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2016-09-14 01:19:40 UTC
Application: knotes (5.3.42 pre ())

Qt Version: 5.7.0
Frameworks Version: 5.27.0
Operating System: Linux 4.4.0-36-generic x86_64
Distribution: KDE neon User Edition 5.7

-- Information about the crash:
I am doing this from a virtaul box vm. Login to a wayland session and open Kontact, it will crashed right away.

This happens due to korganizer, knotes and akregator crashing or having conflicts under wayland.
Drkonqui can't generate a backtrace for kontact and akregator, i only get:

"Application: Kontact (kontact), signal: Segmentation fault"

The crash can be reproduced every time.

-- Backtrace:
Application: KNotes (knotes), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f034aed5a00 (LWP 4383))]

Thread 8 (Thread 0x7f0318d01700 (LWP 4391)):
#0  0x00007f034766de8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f033fc0d39c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f033fc0d4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f03481bd23b in QEventDispatcherGlib::processEvents (this=0x7f03100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0348167cea in QEventLoop::exec (this=this@entry=0x7f0318d00bc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007f0347f8cfb4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f0347f91b98 in QThreadPrivate::start (arg=0xbd9a50) at thread/qthread_unix.cpp:344
#7  0x00007f03416c26fa in start_thread (arg=0x7f0318d01700) at pthread_create.c:333
#8  0x00007f0347679b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f0319502700 (LWP 4390)):
#0  0x00007f033fc51ac9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f033fc0d382 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f033fc0d4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f03481bd23b in QEventDispatcherGlib::processEvents (this=0x7f030c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0348167cea in QEventLoop::exec (this=this@entry=0x7f0319501bc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007f0347f8cfb4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f0347f91b98 in QThreadPrivate::start (arg=0xbe4b70) at thread/qthread_unix.cpp:344
#7  0x00007f03416c26fa in start_thread (arg=0x7f0319502700) at pthread_create.c:333
#8  0x00007f0347679b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f031a71a700 (LWP 4389)):
#0  0x00007f034766de8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f033fc0d39c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f033fc0d4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f03481bd23b in QEventDispatcherGlib::processEvents (this=0x7f03140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0348167cea in QEventLoop::exec (this=this@entry=0x7f031a719b90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007f0347f8cfb4 in QThread::exec (this=this@entry=0x7f034ce6cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#6  0x00007f034cdf87a5 in QDBusConnectionManager::run (this=0x7f034ce6cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:196
#7  0x00007f0347f91b98 in QThreadPrivate::start (arg=0x7f034ce6cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:344
#8  0x00007f03416c26fa in start_thread (arg=0x7f031a71a700) at pthread_create.c:333
#9  0x00007f0347679b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f031b687700 (LWP 4388)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0320db1aa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f0320db1907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f03416c26fa in start_thread (arg=0x7f031b687700) at pthread_create.c:333
#4  0x00007f0347679b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f031be88700 (LWP 4387)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0320db1aa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f0320db1907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f03416c26fa in start_thread (arg=0x7f031be88700) at pthread_create.c:333
#4  0x00007f0347679b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f031c689700 (LWP 4386)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0320db1aa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f0320db1907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f03416c26fa in start_thread (arg=0x7f031c689700) at pthread_create.c:333
#4  0x00007f0347679b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f031ce8a700 (LWP 4385)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0320db1aa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f0320db1907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f03416c26fa in start_thread (arg=0x7f031ce8a700) at pthread_create.c:333
#4  0x00007f0347679b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f034aed5a00 (LWP 4383)):
[KCrash Handler]
#6  0x00007f034ba2364f in XInternAtoms (dpy=0xa284c0, names=names@entry=0x7ffec0998fe0, count=count@entry=2, onlyIfExists=onlyIfExists@entry=0, atoms_return=atoms_return@entry=0x7ffec0998fd0) at ../../src/IntAtom.c:254
#7  0x0000000000417ae8 in remove_sm_from_client_leader () at /workspace/build/src/apps/main.cpp:94
#8  0x0000000000415954 in main (argc=1, argv=0x7ffec0999278) at /workspace/build/src/apps/main.cpp:75

Reported using DrKonqi
Comment 1 Tony 2016-09-14 01:22:15 UTC
Created attachment 101076 [details]
korganizer backtrace
Comment 2 Tony 2016-10-14 20:08:22 UTC
Akregator is working now on wayland. kontact does not crashes anymore. 

Knotes and korganizer.....
If you install either individually without kontact they will crash.
If you already have kontact installed they will work ONLY by running kontact, individually they will still crash.

I am marking thit as "resolved/works for me" since kontact do not crashes anymore, and there are bugs already reported for knotes and korganizer crahsing on wayland.