| Summary: | Preforming CUT on directory with a custom icon with graphic not present, causes crash | ||
|---|---|---|---|
| Product: | [Applications] dolphin | Reporter: | Charles Phoenix <phoenixreads> |
| Component: | general | Assignee: | Peter Penz <peter.penz19> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | andresbajotierra, tomasvanverrewegen |
| Priority: | NOR | ||
| Version First Reported In: | 16.12.2 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Charles Phoenix
2008-10-14 01:13:40 UTC
*** Bug 172867 has been marked as a duplicate of this bug. *** I do apologize for the bad english Additional information... when preforming a cut console output is identical to 172867 EXCEPT it happens in all three views QPainter::begin: Cannot paint on a null pixmap ASSERT: "!icon.isNull()" in file /build/buildd/kde4libs-4.1.2/kio/kio/kdirmodel.cpp, line 616 Qt: 4.4.3 KDE: 4.1.2 (KDE 4.1.2) Dolphin: 1.1 in ArchLinux i686: I can reproduce this bug. (I created an empty folder , and put on it the testcase .directory file; but I needed to do a previous move operation in order to bypass bug 172759 (make Dolphin update the folder icon, in this case, an non existant icon file) When Dolphin realized that the folder didn't have a valid icon (its icon was void), cutting the folder triggers the crash. Here is the full backtrace: Aplicación: Dolphin (dolphin), señal SIGABRT [Thread debugging using libthread_db enabled] [New Thread 0xb5f08700 (LWP 3838)] [KCrash handler] #6 0xb7efc424 in __kernel_vsyscall () #7 0xb6463720 in raise () from /lib/libc.so.6 #8 0xb6465058 in abort () from /lib/libc.so.6 #9 0xb7d78965 in qt_message_output () from /usr/lib/libQtCore.so.4 #10 0xb7d78a17 in qFatal () from /usr/lib/libQtCore.so.4 #11 0xb7d78aa6 in qt_assert () from /usr/lib/libQtCore.so.4 #12 0xb75efd90 in KDirModel::setData (this=0x988ca78, index=@0x3, value=@0xbfa161dc, role=1) at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.1.2/kio/kio/kdirmodel.cpp:620 #13 0xb7399bcb in IconManager::applyCutItemEffect (this=0x9a1aa70) at /home/jan/Dev/packages/kdemod-core/work/kdebase/src/kdebase-4.1.2/apps/dolphin/src/iconmanager.cpp:430 #14 0xb7399fa1 in IconManager::updateCutItems (this=0x9a1aa70) at /home/jan/Dev/packages/kdemod-core/work/kdebase/src/kdebase-4.1.2/apps/dolphin/src/iconmanager.cpp:300 #15 0xb739a24b in IconManager::qt_metacall (this=0x9a1aa70, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfa16348) at /home/jan/Dev/packages/kdemod-core/work/kdebase/src/kdebase-4.1.2/apps/dolphin/src/iconmanager.moc:78 #16 0xb7e6db03 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #17 0xb7e6e063 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #18 0xb7071f28 in QClipboard::dataChanged () from /usr/lib/libQtGui.so.4 #19 0xb6b1cf2d in QClipboard::emitChanged () from /usr/lib/libQtGui.so.4 #20 0xb6b7b6c5 in QClipboard::setMimeData () from /usr/lib/libQtGui.so.4 #21 0xb7392426 in DolphinView::cutSelectedItems (this=0x98accf8) at /home/jan/Dev/packages/kdemod-core/work/kdebase/src/kdebase-4.1.2/apps/dolphin/src/dolphinview.cpp:607 #22 0x08071f9a in DolphinMainWindow::qt_metacall (this=0x98292f8, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfa1657c) at /home/jan/Dev/packages/kdemod-core/work/kdebase/src/kdebase-4.1.2/apps/dolphin/src/dolphinmainwindow.cpp:449 #23 0xb7e6db03 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #24 0xb7e6ddd1 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #25 0xb6b086b2 in QAction::triggered () from /usr/lib/libQtGui.so.4 #26 0xb6b0904b in QAction::activate () from /usr/lib/libQtGui.so.4 #27 0xb6e8c882 in ?? () from /usr/lib/libQtGui.so.4 #28 0x098ce3c8 in ?? () #29 0x00000000 in ?? () #0 0xb7efc424 in __kernel_vsyscall () ASSERT: "!icon.isNull()" in file /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.1.2/kio/kio/kdirmodel.cpp, line 620 I can't reproduce this bug using: KDE4.1.3 or KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2)) kdelibs svn rev. 896844 / kdebase svn rev. 896844 (yesterday build) with QT 4.4.3 on ArchLinux x86_64 Can anyone else confirm this? Thanks Darío for testing, I cannot reproduce this issue too and have set it to fixed (David Faure did some improvements in KDirModel). |