Bug 257854

Summary: Dolphin crashed when copying file with "garbage" name
Product: [Applications] dolphin Reporter: paul s. romanchenko <kde>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, chrys87
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0
Sentry Crash Report:

Description paul s. romanchenko 2010-11-25 09:51:44 UTC
Application: dolphin (1.5)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.34-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

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

I have remote file system with unusual encoding in filenames (8-bit encoding).
When I try to copy file from it, dolphin crashed.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[KCrash Handler]
#6  0x00007fe0df3ef175 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fe0df3f1f80 in *__GI_abort () at abort.c:92
#8  0x00007fe0df4252bb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007fe0df42eb16 in malloc_printerr (action=3, str=0x7fe0df4e2bb0 "malloc(): memory corruption", ptr=<value optimized out>) at malloc.c:6267
#10 0x00007fe0df431bad in _int_malloc (av=0x7fe0df719e40, bytes=<value optimized out>) at malloc.c:4396
#11 0x00007fe0df433970 in *__GI___libc_malloc (bytes=200) at malloc.c:3661
#12 0x00007fe0db44e6bd in operator new(unsigned long) () from /usr/lib/libstdc++.so.6
#13 0x00007fe0dc6042ea in QPainter (this=0x7fff4b594490, pd=0x239a900) at painting/qpainter.cpp:1481
#14 0x00007fe0dc5031ff in QWidgetPrivate::drawWidget (this=0x24b2320, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x262cf60) at kernel/qwidget.cpp:5368
#15 0x00007fe0dc6d4988 in QWidgetBackingStore::sync (this=0x262cf60) at painting/qbackingstore.cpp:1328
#16 0x00007fe0dc4f6310 in QWidgetPrivate::syncBackingStore (this=0x24b2320) at kernel/qwidget.cpp:1776
#17 0x00007fe0dc4fc94b in QWidget::event (this=0x239a8f0, event=0x29a5af0) at kernel/qwidget.cpp:8451
#18 0x00007fe0dc8ddcbb in QMainWindow::event (this=0x239a8f0, event=0x29a5af0) at widgets/qmainwindow.cpp:1417
#19 0x00007fe0dd324aa3 in KXmlGuiWindow::event (this=0x485e, ev=0x485e) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:132
#20 0x00007fe0dc4a6a8c in QApplicationPrivate::notify_helper (this=0x2390ba0, receiver=0x239a8f0, e=0x29a5af0) at kernel/qapplication.cpp:4396
#21 0x00007fe0dc4ac62d in QApplication::notify (this=0x7fff4b595590, receiver=0x239a8f0, e=0x29a5af0) at kernel/qapplication.cpp:4277
#22 0x00007fe0dd20cef6 in KApplication::notify (this=0x7fff4b595590, receiver=0x239a8f0, event=0x29a5af0) at ../../kdeui/kernel/kapplication.cpp:310
#23 0x00007fe0db814a0c in QCoreApplication::notifyInternal (this=0x7fff4b595590, receiver=0x239a8f0, event=0x29a5af0) at kernel/qcoreapplication.cpp:732
#24 0x00007fe0db817920 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x236a350) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x236a350) at kernel/qcoreapplication.cpp:1373
#26 0x00007fe0dc559851 in QCoreApplication::sendPostedEvents (this=<value optimized out>, flags=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#27 QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:75
#28 0x00007fe0db813732 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#29 0x00007fe0db813b1c in QEventLoop::exec (this=0x7fff4b5954d0, flags=) at kernel/qeventloop.cpp:201
#30 0x00007fe0db817bbb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#31 0x00007fe0df7699ff in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#32 0x00007fe0df3dbc4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff4b595aa8) at libc-start.c:228
#33 0x0000000000400699 in _start ()

Possible duplicates by query: bug 255376, bug 254941, bug 253841, bug 250530, bug 246904.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-14 16:52:03 UTC
[Comment from a bug triager]
Looks related to memory corruption.
- Have you tried to repeat the situation to check if Dolphin crash again ?
Thanks
Comment 2 paul s. romanchenko 2010-12-14 16:55:21 UTC
No crash this time. But "file or directory doesn't exist" appears.

On Tue, Dec 14, 2010 at 18:52, Dario Andres <andresbajotierra@gmail.com>wrote:

> https://bugs.kde.org/show_bug.cgi?id=257854
>
>
> Dario Andres <andresbajotierra@gmail.com> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                 CC|                            |andresbajotierra@gmail.com
>
>
>
>
> --- Comment #1 from Dario Andres <andresbajotierra gmail com>  2010-12-14
> 16:52:03 ---
> [Comment from a bug triager]
> Looks related to memory corruption.
> - Have you tried to repeat the situation to check if Dolphin crash again ?
> Thanks
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Christian H 2011-05-03 20:59:31 UTC
Hi,
I can confirm this problem.
In my case an 

"file or directory doesn't exist" 

error appears too.