Bug 355720

Summary: Dolphin crash when right click mouse, move poiter outside menu
Product: [Applications] dolphin Reporter: opensuse.lietuviu.kalba
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: frank78ac
Priority: NOR    
Version: 15.08.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: backtrace

Description opensuse.lietuviu.kalba 2015-11-22 09:51:05 UTC
Dolphin crash when mouse pioter leaves right click context menu.

Reproducible: Always

Steps to Reproduce:
1. Start Dolphin, press rigth button of mouse at any file/folder.
2. Move mouse around.
3. Mouve mouse outside context menu or even outside Dolphin.

Actual Results:  
Dolphin closes imidiately, no crash notification appears.

Expected Results:  
No crash.

KDE Plasma 5.4.2 and KDE Plasma 5.4.3 both affected.
Comment 1 opensuse.lietuviu.kalba 2015-11-22 09:51:58 UTC
Created attachment 95651 [details]
backtrace

It is impossible to get backtrace from same tty, because if you run gdb, then at crash moment all desktop becames inresponsible (mouse can move, clock shows running seconds, keyboard not work, mouse clicks not work). So I run gdb from different tty. See attachment.
Comment 2 opensuse.lietuviu.kalba 2015-11-22 09:53:11 UTC
#0  QMutex::lock (this=this@entry=0x84) at thread/qmutex.cpp:212
        current = <optimized out>
#1  0x00007f6f8ad48798 in QMutexLocker (m=0x84, this=<synthetic pointer>) at ../../src/corelib/thread/qmutex.h:128
No locals.
#2  QThreadPrivate::finish (arg=arg@entry=0x1519fa0) at thread/qthread_unix.cpp:343
        locker = {val = 132}
        data = <optimized out>
        thr = 0x1519fa0
        d = 0x14
#3  0x00007f6f8ad49581 in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>)
    at /usr/include/pthread.h:572
No locals.
#4  QThreadPrivate::start (arg=0x1519fa0) at thread/qthread_unix.cpp:333
        __clframe = {__cancel_routine = 0x7f6f8ad48770 <QThreadPrivate::finish(void*)>, __cancel_arg = 0x1519fa0, __do_it = 1, 
          __cancel_type = <optimized out>}
        thr = 0x1519fa0
        data = <optimized out>
        objectName = {static null = {<No data fields>}, d = 0x7f6f8afd9e20 <QArrayData::shared_null>}
#5  0x00007f6f866ee0a4 in start_thread (arg=0x7f6f6339b700) at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7f6f6339b700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140116382824192, -4648005269674152498, 0, 140117152247808, 7, 
                140116382824192, 4728834197902175694, 4729337098081381838}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 
              0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#6  0x00007f6f909ae04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
Comment 3 Frank Reininghaus 2015-11-22 18:04:33 UTC
Thanks for the bug report. Can you try to disable some of the the context menu plugins ("Services" in the Settings dialog) and check if that fixes the problem?
Comment 4 opensuse.lietuviu.kalba 2015-11-22 23:44:50 UTC
After more testing:
it most often crash, if mouse pointer fast pass Activities entry in context menu. Leaving context menu is not so danger. After dissabling activities service in Dolphin, I can no longer reproduce bug.
Comment 5 Frank Reininghaus 2015-11-23 21:10:41 UTC
Thanks for the quick reply. It's probably related to bug 351485 then.

*** This bug has been marked as a duplicate of bug 351485 ***