Bug 421554 - Dolphin crashes when new file / folder is created with an underscore in the name
Summary: Dolphin crashes when new file / folder is created with an underscore in the name
Status: RESOLVED DOWNSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.04.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2020-05-15 10:51 UTC by Angelos Skembris
Modified: 2020-05-17 22:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Angelos Skembris 2020-05-15 10:51:41 UTC
Application: dolphin (20.04.0)

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

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

Tried to create a new file or folder with an underscore in the file name (e.g. Test_name.txt)

Dolphin crashes every time I try to do this. This is a new occurrence (I have created such folders / names in the past).

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f08644c4340 (LWP 11645))]

Thread 8 (Thread 0x7f0847fff700 (LWP 11653)):
#0  0x00007f0869331acf in poll () from /lib64/libc.so.6
#1  0x00007f08651ea9de in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f08651eaaff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0867405beb in QEventDispatcherGlib::processEvents (this=0x7f083c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f08673adb7b in QEventLoop::exec (this=this@entry=0x7f0847ffeda0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f08671d85ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f08671d9698 in QThreadPrivate::start (arg=0x559aefd63590) at thread/qthread_unix.cpp:342
#7  0x00007f0865c64efa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f086933c3bf in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f0859a7f700 (LWP 11652)):
#0  0x00007f0865c6b795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f085b7c181b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f085b7c1697 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f0865c64efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f086933c3bf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f085a280700 (LWP 11651)):
#0  0x00007f0865c6b795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f085b7c181b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f085b7c1697 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f0865c64efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f086933c3bf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f085aa81700 (LWP 11650)):
#0  0x00007f0865c6b795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f085b7c181b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f085b7c1697 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f0865c64efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f086933c3bf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f085b282700 (LWP 11649)):
#0  0x00007f0865c6b795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f085b7c181b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f085b7c1697 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f0865c64efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f086933c3bf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f08618ea700 (LWP 11648)):
#0  0x00007f086932d4fc in read () from /lib64/libc.so.6
#1  0x00007f086523237f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f08651ea537 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f08651ea982 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f08651eaaff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f0867405beb in QEventDispatcherGlib::processEvents (this=0x7f0854000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f08673adb7b in QEventLoop::exec (this=this@entry=0x7f08618e9d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#7  0x00007f08671d85ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#8  0x00007f0867691507 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f08671d9698 in QThreadPrivate::start (arg=0x7f0867713da0) at thread/qthread_unix.cpp:342
#10 0x00007f0865c64efa in start_thread () from /lib64/libpthread.so.0
#11 0x00007f086933c3bf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f086240e700 (LWP 11647)):
#0  0x00007f0869331acf in poll () from /lib64/libc.so.6
#1  0x00007f0865ca2772 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f0865ca343a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f086260aab0 in QXcbEventQueue::run (this=0x559aef59ce60) at qxcbeventqueue.cpp:228
#4  0x00007f08671d9698 in QThreadPrivate::start (arg=0x559aef59ce60) at thread/qthread_unix.cpp:342
#5  0x00007f0865c64efa in start_thread () from /lib64/libpthread.so.0
#6  0x00007f086933c3bf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f08644c4340 (LWP 11645)):
[KCrash Handler]
#4  doActivate<false> (sender=0x559aefeb3880, signal_index=17, argv=0x0) at kernel/qobject.h:132
#5  0x00007f08673de19f in QMetaObject::activate (sender=sender@entry=0x559aefeb3880, m=m@entry=0x7f0867df17e0 <QWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=14, argv=argv@entry=0x0) at kernel/qobject.cpp:3930
#6  0x00007f0867898ad3 in QWindow::activeChanged (this=this@entry=0x559aefeb3880) at .moc/moc_qwindow.cpp:811
#7  0x00007f0867891c1c in QGuiApplicationPrivate::processActivatedEvent (e=<optimized out>) at kernel/qguiapplication.cpp:2450
#8  0x00007f0867896a9c in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x559aefb64260) at kernel/qguiapplication.cpp:1962
#9  0x00007f086787053b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1163
#10 0x00007f086260ba6a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#11 0x00007f08651ea6e8 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#12 0x00007f08651eaa70 in ?? () from /usr/lib64/libglib-2.0.so.0
#13 0x00007f08651eaaff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#14 0x00007f0867405bce in QEventDispatcherGlib::processEvents (this=0x559aef6b39b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#15 0x00007f08673adb7b in QEventLoop::exec (this=this@entry=0x7ffe383531f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#16 0x00007f08673b5952 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#17 0x00007f08694ab4f7 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-20.04.0-1.1.x86_64/src/main.cpp:172
#18 0x00007f0869263ceb in __libc_start_main () from /lib64/libc.so.6
#19 0x0000559aed86c08a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 11645) detached]

Possible duplicates by query: bug 420495, bug 419844, bug 419229, bug 418595, bug 418300.

Reported using DrKonqi
Comment 1 Nate Graham 2020-05-15 15:58:49 UTC
Cannot reproduce with those same versions and the same distro.
Comment 2 Angelos Skembris 2020-05-16 00:31:49 UTC
Thanks for looking into it, Nate. 

Apparently the problem occurred when the time format chosen through system settings was "Europe - English (En_150)". I had chosen this out of curiosity a few days ago to fix the date format after an upgrade to the latest plasma version. 

Once I changed that to e.g. UK English (en_GB) dolphin stopped crashing.

That locale setting cost me a couple of hours worth of hunting down a bunch of problems (e.g. ibus stopped typing Greek in Wine).

I suppose the rest of the programs should behave properly with this setting or the locale should be removed (or at least a bit of warning would be nice).
Comment 3 Elvis Angelaccio 2020-05-17 22:21:08 UTC
If that locale is broken there is nothing we can do from the dolphin side. I think we can close this.