Bug 418300 - Crash using keyboard to rename folder after folder
Summary: Crash using keyboard to rename folder after folder
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.12.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-02-28 17:14 UTC by Jaime Torres
Modified: 2024-01-08 14:48 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 Jaime Torres 2020-02-28 17:14:50 UTC
Application: dolphin (19.12.2)

Qt Version: 5.14.1
Frameworks Version: 5.67.0
Operating System: Linux 5.5.4-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

I was adding metainformation to several folders (rating) and then renaming then one by one. After one rename, the folder became the last in the view, so I used keyboard to go to the top of the view to rename the next one, after 5 times, speeding time after time, dolphin crashed.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
29	  return SYSCALL_CANCEL (poll, fds, nfds, timeout);
[Current thread is 1 (Thread 0x7f43fd66a800 (LWP 4864))]

Thread 10 (Thread 0x7f43e5d62700 (LWP 5056)):
#0  __GI___libc_read (nbytes=10, buf=0x7f43e5d61bde, fd=28) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=28, buf=0x7f43e5d61bde, nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f43fdc380f1 in pa_read () from /usr/lib64/pulseaudio/libpulsecommon-13.0.so
#3  0x00007f43fed62a0e in pa_mainloop_prepare () from /usr/lib64/libpulse.so.0
#4  0x00007f43fed634b0 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#5  0x00007f43fed63570 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#6  0x00007f43fed71439 in ?? () from /usr/lib64/libpulse.so.0
#7  0x00007f43fdc65c78 in ?? () from /usr/lib64/pulseaudio/libpulsecommon-13.0.so
#8  0x00007f43fede4efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f440254a3bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f43e759a700 (LWP 5285)):
#0  0x00007f43fe3995e9 in g_mutex_lock (mutex=mutex@entry=0x7f43c8000c20) at ../glib/gthread-posix.c:1363
#1  0x00007f43fe34d707 in g_main_context_prepare (context=context@entry=0x7f43c8000c20, priority=priority@entry=0x7f43e7599c60) at ../glib/gmain.c:3427
#2  0x00007f43fe34e21b in g_main_context_iterate (context=context@entry=0x7f43c8000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3897
#3  0x00007f43fe34e40f in g_main_context_iteration (context=0x7f43c8000c20, may_block=may_block@entry=1) at ../glib/gmain.c:3978
#4  0x00007f440053bc6b in QEventDispatcherGlib::processEvents (this=0x7f43c8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f44004e3bfb in QEventLoop::exec (this=this@entry=0x7f43e7599da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007f440030e62e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x00007f440030f6f8 in QThreadPrivate::start (arg=0x564d597e7680) at thread/qthread_unix.cpp:342
#8  0x00007f43fede4efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f440254a3bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f43f1d3d700 (LWP 4894)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x564d5932fc18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564d5932fbc8, cond=0x564d5932fbf0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564d5932fbf0, mutex=0x564d5932fbc8) at pthread_cond_wait.c:638
#3  0x00007f43f86e3deb in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007f43f86e3cc7 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007f43fede4efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f440254a3bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f43f253e700 (LWP 4893)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x564d5932fc18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564d5932fbc8, cond=0x564d5932fbf0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564d5932fbf0, mutex=0x564d5932fbc8) at pthread_cond_wait.c:638
#3  0x00007f43f86e3deb in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007f43f86e3cc7 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007f43fede4efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f440254a3bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f43f2d3f700 (LWP 4892)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x564d5932fc18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564d5932fbc8, cond=0x564d5932fbf0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564d5932fbf0, mutex=0x564d5932fbc8) at pthread_cond_wait.c:638
#3  0x00007f43f86e3deb in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007f43f86e3cc7 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007f43fede4efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f440254a3bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f43f3540700 (LWP 4891)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x564d5932fc18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564d5932fbc8, cond=0x564d5932fbf0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564d5932fbf0, mutex=0x564d5932fbc8) at pthread_cond_wait.c:638
#3  0x00007f43f86e3deb in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007f43f86e3cc7 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007f43fede4efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f440254a3bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f43f3e96700 (LWP 4890)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x564d59549648) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564d595495f8, cond=0x564d59549620) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564d59549620, mutex=0x564d595495f8) at pthread_cond_wait.c:638
#3  0x00007f43f86e3deb in ?? () from /usr/lib64/dri/r600_dri.so
#4  0x00007f43f86e3cc7 in ?? () from /usr/lib64/dri/r600_dri.so
#5  0x00007f43fede4efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f440254a3bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f43faaa4700 (LWP 4868)):
#0  0x00007ffe46fc16ab in ?? ()
#1  0x00007ffe46fc18a8 in clock_gettime ()
#2  0x00007f4402511cf1 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7f43faaa3ad0) at ../sysdeps/unix/sysv/linux/clock_gettime.c:38
#3  0x00007f440053b571 in qt_clock_gettime (ts=0x7f43faaa3ad0, clock=1) at kernel/qelapsedtimer_unix.cpp:175
#4  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#5  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#6  0x00007f4400539e89 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f43ec004d50) at kernel/qtimerinfo_unix.cpp:91
#7  0x00007f440053a455 in QTimerInfoList::timerWait (this=0x7f43ec004d50, tm=...) at kernel/qtimerinfo_unix.cpp:388
#8  0x00007f440053b9ce in timerSourcePrepareHelper (timeout=0x7f43faaa3ba4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:162
#9  timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f43faaa3ba4) at kernel/qeventdispatcher_glib.cpp:166
#10 0x00007f43fe34d87a in g_main_context_prepare (context=context@entry=0x7f43ec000c20, priority=priority@entry=0x7f43faaa3c30) at ../glib/gmain.c:3489
#11 0x00007f43fe34e21b in g_main_context_iterate (context=context@entry=0x7f43ec000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3897
#12 0x00007f43fe34e40f in g_main_context_iteration (context=0x7f43ec000c20, may_block=may_block@entry=1) at ../glib/gmain.c:3978
#13 0x00007f440053bc6b in QEventDispatcherGlib::processEvents (this=0x7f43ec000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#14 0x00007f44004e3bfb in QEventLoop::exec (this=this@entry=0x7f43faaa3d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#15 0x00007f440030e62e in QThread::exec (this=this@entry=0x7f4400849da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#16 0x00007f44007c7507 in QDBusConnectionManager::run (this=0x7f4400849da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#17 0x00007f440030f6f8 in QThreadPrivate::start (arg=0x7f4400849da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#18 0x00007f43fede4efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#19 0x00007f440254a3bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f43fb5cb700 (LWP 4867)):
#0  0x00007f440253facf in __GI___poll (fds=fds@entry=0x7f43fb5caca8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f43fedb2752 in poll (__timeout=-1, __nfds=1, __fds=0x7f43fb5caca8) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (cond=<optimized out>, count=<optimized out>, vector=<optimized out>, c=<optimized out>) at xcb_conn.c:479
#3  _xcb_conn_wait (c=0x564d59184710, cond=<optimized out>, vector=0x0, count=0x0) at xcb_conn.c:435
#4  0x00007f43fedb340a in xcb_wait_for_event (c=c@entry=0x564d59184710) at xcb_in.c:697
#5  0x00007f43fb7d5ab0 in QXcbEventQueue::run (this=0x564d59199c70) at qxcbeventqueue.cpp:228
#6  0x00007f440030f6f8 in QThreadPrivate::start (arg=0x564d59199c70) at thread/qthread_unix.cpp:342
#7  0x00007f43fede4efa in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f440254a3bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f43fd66a800 (LWP 4864)):
[KCrash Handler]
#6  QObject::parent (this=0x1000564d941d4bc0) at /usr/include/qt5/QtCore/qobject.h:425
#7  KAcceleratorManagerPrivate::traverseChildren (widget=widget@entry=0x564d592aba30, item=item@entry=0x564db68207e0) at /usr/src/debug/kwidgetsaddons-5.67.0-1.1.x86_64/src/kacceleratormanager.cpp:195
#8  0x00007f4401974670 in KAcceleratorManagerPrivate::manageWidget (w=w@entry=0x564d592aba30, item=item@entry=0x564db68207e0) at /usr/src/debug/kwidgetsaddons-5.67.0-1.1.x86_64/src/kacceleratormanager.cpp:261
#9  0x00007f44019740eb in KAcceleratorManagerPrivate::manageWidget (w=w@entry=0x564d592aba30, item=item@entry=0x564db68207e0) at /usr/src/debug/kwidgetsaddons-5.67.0-1.1.x86_64/src/kacceleratormanager.cpp:237
#10 0x00007f4401975262 in KAcceleratorManagerPrivate::manage (widget=0x564d592aba30) at /usr/src/debug/kwidgetsaddons-5.67.0-1.1.x86_64/src/kacceleratormanager.cpp:109
#11 KAcceleratorManager::manage (widget=widget@entry=0x564d592aba30, programmers_mode=programmers_mode@entry=false) at /usr/src/debug/kwidgetsaddons-5.67.0-1.1.x86_64/src/kacceleratormanager.cpp:435
#12 0x00007f4401b017ea in KCheckAccelerators::checkAccelerators (this=this@entry=0x564d59be7d60, automatic=<optimized out>) at /usr/src/debug/kxmlgui-5.67.0-1.1.x86_64/src/kcheckaccelerators.cpp:303
#13 0x00007f4401b021ee in KCheckAccelerators::autoCheckSlot (this=0x564d59be7d60) at /usr/src/debug/kxmlgui-5.67.0-1.1.x86_64/src/kcheckaccelerators.cpp:254
#14 0x00007f4400519a5e in QtPrivate::QSlotObjectBase::call (a=0x7ffe46e905b0, r=0x564d59be7d60, this=0x564d59cadeb0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#15 doActivate<false> (sender=0x564d59be7d80, signal_index=3, argv=0x7ffe46e905b0) at kernel/qobject.cpp:3870
#16 0x00007f440051421f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f44007a7cc0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe46e905b0) at kernel/qobject.cpp:3930
#17 0x00007f440051d67a in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#18 0x00007f4400511995 in QObject::event (this=0x564d59be7d80, e=0x7ffe46e908e0) at kernel/qobject.cpp:1361
#19 0x00007f44010bacaf in QApplicationPrivate::notify_helper (this=this@entry=0x564d5915f660, receiver=receiver@entry=0x564d59be7d80, e=e@entry=0x7ffe46e908e0) at kernel/qapplication.cpp:3684
#20 0x00007f44010c3df0 in QApplication::notify (this=0x7ffe46e90c20, receiver=0x564d59be7d80, e=0x7ffe46e908e0) at kernel/qapplication.cpp:3430
#21 0x00007f44004e5062 in QCoreApplication::notifyInternal2 (receiver=0x564d59be7d80, event=0x7ffe46e908e0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#22 0x00007f440053b020 in QTimerInfoList::activateTimers (this=0x564d59177040) at kernel/qtimerinfo_unix.cpp:643
#23 0x00007f440053b8dc in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#24 idleTimerSourceDispatch (source=source@entry=0x564d5923d7c0) at kernel/qeventdispatcher_glib.cpp:230
#25 0x00007f43fe34dff8 in g_main_dispatch (context=0x7f43f4005000) at ../glib/gmain.c:3179
#26 g_main_context_dispatch (context=context@entry=0x7f43f4005000) at ../glib/gmain.c:3844
#27 0x00007f43fe34e380 in g_main_context_iterate (context=context@entry=0x7f43f4005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3917
#28 0x00007f43fe34e40f in g_main_context_iteration (context=0x7f43f4005000, may_block=may_block@entry=1) at ../glib/gmain.c:3978
#29 0x00007f440053bc4e in QEventDispatcherGlib::processEvents (this=0x564d59249c10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007f44004e3bfb in QEventLoop::exec (this=this@entry=0x7ffe46e90b20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#31 0x00007f44004eb9d2 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#32 0x00007f44009be56c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1866
#33 0x00007f44010bac25 in QApplication::exec () at kernel/qapplication.cpp:2824
#34 0x00007f44024100cd in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-19.12.2-1.2.x86_64/src/main.cpp:171
#35 0x00007f4402471ceb in __libc_start_main (main=0x564d58aa7050 <main(int, char**)>, argc=3, argv=0x7ffe46e90d98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe46e90d88) at ../csu/libc-start.c:308
#36 0x0000564d58aa708a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 4864) detached]

Possible duplicates by query: bug 337337, bug 276066, bug 235906, bug 232091, bug 169910.

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2020-06-07 22:45:19 UTC
Can you reproduce this crash? If yes, please provide a valgrind log.
Comment 2 Jaime Torres 2020-06-20 08:29:36 UTC
As soon as I can use valgrind again I'll try to reproduce it.
Lately valgrind always crashes dolphin (and other kde programs) before showing any window.

Application: Dolphin (memcheck-amd64-linux), signal: Segmentation fault
vgModuleLocal_do_syscall_for_client_WRK () at ../../coregrind/m_syswrap/syscall-amd64-linux.S:171
171		POP_di_si_dx_cx_8
Comment 3 Jaime Torres 2021-12-19 10:15:01 UTC
FYI: I'm still unable to start dolphin under valgrind.
At least I know where the problem is: The included PCRE versión in Qt5, which uses previous versions of https://github.com/zherczeg/sljit
which causes, with development version of valgrind, the errors:  
==32395== Conditional jump or move depends on uninitialised value(s)
==32395==    at 0xF034DED: ??? (in /memfd:sljit (deleted))
==32395==    by 0xDF671F9: ???
before crashing.
Any other Qt program that doesn't uses PCRE just runs as it used to.