Bug 461817

Summary: Crash on dragging from dolphin to firefox
Product: [Applications] dolphin Reporter: Phos <phyllon>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: akselmo, kfm-devel, nicolas.fella
Priority: NOR    
Version: 22.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Dolphin backtrace

Description Phos 2022-11-14 13:21:36 UTC
Created attachment 153736 [details]
Dolphin backtrace

SUMMARY
A crash occurs after dragging a file from dolphin to firefox


STEPS TO REPRODUCE
1. Drag file from dolphin to firefox
2. Crash

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7
Kernel Version: 5.15.78-1-lts (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Crash log generated with gdb debuginfod.
Comment 1 Nicolas Fella 2022-11-14 13:24:28 UTC
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = <optimized out>
        old_mask = {__val = {0}}
        ret = <optimized out>
#1  0x00007fc57482c6b3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
No locals.
#2  0x00007fc5747dc958 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
        ret = <optimized out>
#3  0x00007fc5766dd868 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash-5.99.0/src/kcrash.cpp:633
        crashRecursionCounter = 3
#4  <signal handler called>
No locals.
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = <optimized out>
        old_mask = {__val = {140485830172496}}
        ret = <optimized out>
#6  0x00007fc57482c6b3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
No locals.
#7  0x00007fc5747dc958 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
        ret = <optimized out>
#8  <signal handler called>
No locals.
#9  0x00007fc57489f0bf in __GI___poll (fds=0x7fc568012ac0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = 3
        sc_cancel_oldtype = 0
        sc_ret = <optimized out>
#10 0x00007fc572b821df in g_main_context_poll (priority=<optimized out>, n_fds=4, fds=0x7fc568012ac0, timeout=<optimized out>, context=0x7fc568001cf0) at ../glib/glib/gmain.c:4543
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7fc572b32140 <g_poll>
        poll_func = <optimized out>
        ret = <optimized out>
        errsv = <optimized out>
#11 g_main_context_iterate.constprop.0 (context=0x7fc568001cf0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4233
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 4
        allocated_nfds = <optimized out>
        fds = 0x7fc568012ac0
        begin_time_nsec = 21805512967949
#12 0x00007fc572b2a132 in g_main_context_iteration (context=0x7fc568001cf0, may_block=1) at ../glib/glib/gmain.c:4303
        retval = <optimized out>
#13 0x00007fc574e99c4c in QEventDispatcherGlib::processEvents (this=0x7fc568000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
        d = 0x7fc568000b90
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#14 0x00007fc574e4773c in QEventLoop::exec (this=0x7fc56f2f9a90, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
        d = 0x7fc568001890
        threadData = <optimized out>
        locker = {val = 94440304046584}
        ref = <optimized out>
        app = <optimized out>
#15 0x00007fc574ca921f in QThread::exec (this=this@entry=0x7fc575ed8560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
        d = 0x55e498c671a0
        locker = {val = 94440304046584}
        eventLoop = {<QObject> = {_vptr.QObject = 0x7fc5750d3730 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0},
                stringdata = 0x7fc574f36920 <_ZL26qt_meta_stringdata_QObject.lto_priv.0>, data = 0x7fc574f36800 <_ZL20qt_meta_data_QObject.lto_priv.0>,
                static_metacall = 0x7fc574e7fe80 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7fc568001890},
            static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fc574f5d500 <_ZL21qt_meta_stringdata_Qt.lto_priv.0>, data = 0x7fc574f5a680 <_ZL15qt_meta_data_Qt.lto_priv.0>, static_metacall = 0x0,
                relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fc5750cc560 <QObject::staticMetaObject>},
              stringdata = 0x7fc574f322e0 <_ZL29qt_meta_stringdata_QEventLoop.lto_priv.0>, data = 0x7fc574f32280 <_ZL23qt_meta_data_QEventLoop.lto_priv.0>,
              static_metacall = 0x7fc574e45f80 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#16 0x00007fc575e7ccba in QDBusConnectionManager::run (this=0x7fc575ed8560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusconnection.cpp:179
        locker = <optimized out>
#17 0x00007fc574ca62ea in QThreadPrivate::start (arg=0x7fc575ed8560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330
        thr = 0x7fc575ed8560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>
        data = 0x55e498c68ad0
        __clframe = {__cancel_routine = 0x7fc574ca4500 <QThreadPrivate::finish(void*)>, __cancel_arg = 0x7fc575ed8560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>, __do_it = 1,
          __cancel_type = <optimized out>}
#18 0x00007fc57482a8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140485950678720, -8718020935200539497, -288, 2, 140737264447600, 140485942288384, 8685614615456119959, 8685674717465148567}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0,
              0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#19 0x00007fc5748aca60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Comment 2 Akseli Lahtinen 2024-02-06 14:16:24 UTC
Can't reproduce on Plasma 6.
Have you encountered this again?

my system

Operating System: Fedora Linux 39
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.0
Kernel Version: 6.7.3-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Comment 3 Phos 2024-02-06 14:57:43 UTC
(In reply to Akseli Lahtinen from comment #2)
> Can't reproduce on Plasma 6.
> Have you encountered this again?
> 
> my system
> 
> Operating System: Fedora Linux 39
> KDE Plasma Version: 6.0.80
> KDE Frameworks Version: 6.0.0
> Qt Version: 6.6.0
> Kernel Version: 6.7.3-200.fc39.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
> Memory: 15.5 GiB of RAM
> Graphics Processor: AMD Radeon RX 6600

Wow, I've completely forgotten about this.
Anyways, changing status to RESOLVED & FIXED since it no longer happens

Operating System: Arch Linux 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12
Kernel Version: 6.6.14-2-lts (64-bit)
Graphics Platform: Wayland