Bug 353462 - Dolphin crashes trying to rename a file with iso15 filename
Summary: Dolphin crashes trying to rename a file with iso15 filename
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kjobwidgets
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: drkonqi
: 340921 357884 358058 358404 358509 358693 362354 362668 362901 365915 368370 373103 373963 374585 376493 378145 379661 383596 383814 388463 390181 391096 392790 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-02 18:21 UTC by Roberto Romero
Modified: 2020-08-18 14:32 UTC (History)
27 users (show)

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


Attachments
New crash information added by DrKonqi (5.28 KB, text/plain)
2020-08-18 14:32 UTC, WILFREDO JOSE LOVERA PEREGO
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Romero 2015-10-02 18:21:33 UTC
Application: dolphin (15.08.1)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to renam a file named "Viernes.Org � Bit�cora � Internet con Yoigo desde GNU_Linux.htm" to "Viernes.Org  » Bitácora » Internet con Yoigo desde GNU_Linux.htm". I right clicked on the file, selected Properties, and then proceeded to change the file name. After clicking OK, I got a pop up with the message "El archivo o carpeta /home/sildur/Documentos/pen_viejo/wvdial/docs/Viernes.Org � Bit�cora � Internet con Yoigo desde GNU_Linux.htm no existe." ("File or folder/home/sildur/Documentos/pen_viejo/wvdial/docs/Viernes.Org � Bit�cora � Internet con Yoigo desde GNU_Linux.htm does not exist"). After that, dolphin crashes. It happens always.

If I right click on the file and select "Rename", after I enter the new name I get the same error message, but dolphin does not crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f40186e1940 (LWP 20755))]

Thread 2 (Thread 0x7f4014e68700 (LWP 20757)):
#0  0x00000037728dd52d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003510e4a1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x0000003510e4a2ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00000033468d8e4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x000000334687f2ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x000000334669d374 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00000033466a225e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00000037734080a4 in start_thread (arg=0x7f4014e68700) at pthread_create.c:309
#8  0x00000037728e606d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f40186e1940 (LWP 20755)):
[KCrash Handler]
#6  0x00000033468916b5 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x000000334ce0eea9 in KDialogJobUiDelegate::Private::next() () from /usr/lib/x86_64-linux-gnu/libKF5JobWidgets.so.5
#8  0x00000033468b31c1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x0000003347359b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x000000334735f230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x0000003346881a8b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x0000003346883bc7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00000033468d8a23 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x0000003510e49fe7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x0000003510e4a240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x0000003510e4a2ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00000033468d8e2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x000000334687f2ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x0000003346886e3c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x000000335085e294 in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#21 0x0000003772821b45 in __libc_start_main (main=0x400730 <main>, argc=2, argv=0x7fff92395af8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff92395ae8) at libc-start.c:287
#22 0x000000000040075e in _start ()

Possible duplicates by query: bug 352141, bug 349761, bug 348803, bug 348641, bug 348432.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2015-10-03 07:54:13 UTC
Thanks for the bug report! It crashes in KDialogJobUiDelegate from the kjobwidgets framework.
Comment 2 Frank Reininghaus 2016-01-24 10:39:08 UTC
*** Bug 358404 has been marked as a duplicate of this bug. ***
Comment 3 Frank Reininghaus 2016-01-24 10:44:55 UTC
*** Bug 357884 has been marked as a duplicate of this bug. ***
Comment 4 Frank Reininghaus 2016-01-24 10:45:33 UTC
*** Bug 358058 has been marked as a duplicate of this bug. ***
Comment 5 Frank Reininghaus 2016-01-24 10:52:48 UTC
The duplicates describe different situations in which a crash with this backtrace happened:

Bug 357884:
> i connect to other system with sshfs, then i copy file with dolphin from my system to remote, dolphis say thet it can't change permission/update date to destination file and it crahes;

Bug 358058:
> I tried to change permisions on folder recrusivelly, and Dolphin crashed

Bug 358404:
> Opening a smb folder previously stored for further access.

Bug 355525 also looks related.

If anyone can reproduce this crash reliably, it would be great if you could
1. Install debugging packages, such that we get a more detailed backtrace.
2. Ideally, run Dolphin in Valgrind, such that we might get more detailed output about what happened before the invalid memory access.

Further information can be found at https://community.kde.org/Dolphin/FAQ/Crashes

Thanks!
Comment 6 Frank Reininghaus 2016-01-26 06:22:16 UTC
*** Bug 358509 has been marked as a duplicate of this bug. ***
Comment 7 Frank Reininghaus 2016-01-29 22:16:13 UTC
*** Bug 358693 has been marked as a duplicate of this bug. ***
Comment 8 Wolfgang Bauer 2016-02-07 01:11:30 UTC
Seems to be the same as Bug#356321, which has a fix now.
Comment 9 David Edmundson 2016-02-08 15:13:12 UTC
Git commit e984dab0a6cd9541ae178c104f0228ae264284a6 by David Edmundson.
Committed on 08/02/2016 at 15:13.
Pushed by davidedmundson into branch 'master'.

Fix crash in KJob dialogs.

Guard "this" being deleted whilst running new eventloop

KMessageBox spawns a new event loop, during which the parent kjob can be
completed and deleted, deleting the UIDelegate with it.
Related: bug 356321, bug 356964, bug 355052, bug 355525, bug 358954, bug 346215
REVIEW: 126999

M  +9    -0    src/kdialogjobuidelegate.cpp

http://commits.kde.org/kjobwidgets/e984dab0a6cd9541ae178c104f0228ae264284a6
Comment 10 Christoph Feck 2016-11-15 12:37:58 UTC
*** Bug 362354 has been marked as a duplicate of this bug. ***
Comment 11 Christoph Feck 2016-11-15 12:38:24 UTC
*** Bug 362668 has been marked as a duplicate of this bug. ***
Comment 12 Christoph Feck 2016-11-15 12:38:42 UTC
*** Bug 362901 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2016-11-15 12:39:04 UTC
*** Bug 365915 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2016-11-15 12:39:22 UTC
*** Bug 368370 has been marked as a duplicate of this bug. ***
Comment 15 Christoph Feck 2016-11-15 12:42:03 UTC
*** Bug 340921 has been marked as a duplicate of this bug. ***
Comment 16 Christoph Feck 2016-11-30 15:53:59 UTC
*** Bug 373103 has been marked as a duplicate of this bug. ***
Comment 17 Christoph Feck 2016-12-21 01:11:57 UTC
*** Bug 373963 has been marked as a duplicate of this bug. ***
Comment 18 Christoph Feck 2017-01-10 19:32:07 UTC
*** Bug 374585 has been marked as a duplicate of this bug. ***
Comment 19 Elvis Angelaccio 2017-02-15 10:10:46 UTC
*** Bug 376493 has been marked as a duplicate of this bug. ***
Comment 20 Elvis Angelaccio 2017-03-28 21:19:33 UTC
*** Bug 378145 has been marked as a duplicate of this bug. ***
Comment 21 Elvis Angelaccio 2017-05-13 15:35:00 UTC
*** Bug 379661 has been marked as a duplicate of this bug. ***
Comment 22 Christoph Feck 2017-08-16 15:54:47 UTC
*** Bug 383596 has been marked as a duplicate of this bug. ***
Comment 23 Elvis Angelaccio 2017-08-21 21:12:37 UTC
*** Bug 383814 has been marked as a duplicate of this bug. ***
Comment 24 Christoph Feck 2018-01-17 18:17:22 UTC
*** Bug 388463 has been marked as a duplicate of this bug. ***
Comment 25 Christoph Feck 2018-02-22 03:01:05 UTC
*** Bug 390181 has been marked as a duplicate of this bug. ***
Comment 26 Elvis Angelaccio 2018-02-26 21:49:37 UTC
*** Bug 391096 has been marked as a duplicate of this bug. ***
Comment 27 Elvis Angelaccio 2018-04-07 11:14:38 UTC
*** Bug 392790 has been marked as a duplicate of this bug. ***
Comment 28 WILFREDO JOSE LOVERA PEREGO 2020-08-18 14:32:46 UTC
Created attachment 130972 [details]
New crash information added by DrKonqi

dolphin (16.04.3) using Qt 5.6.1

- What I was doing when the application crashed:
I was sharing files on a lan network
- Unusual behavior I noticed:
the application was closed unexpectedly
- Custom settings of the application:
default to share data

-- Backtrace (Reduced):
#7  0x00007feede0bab99 in KDialogJobUiDelegate::Private::next() () from /usr/lib/x86_64-linux-gnu/libKF5JobWidgets.so.5
#8  0x00007feeda7ff719 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007feedb107afc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007feedb10d036 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007feeda7d22a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5