Bug 178958 - Open dialog with preview crashes applications
Summary: Open dialog with preview crashes applications
Status: RESOLVED FIXED
Alias: None
Product: kfile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-28 13:03 UTC by Michal Sojka
Modified: 2008-12-29 12:04 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
This image causes the crash (261 bytes, image/png)
2008-12-28 13:05 UTC, Michal Sojka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Sojka 2008-12-28 13:03:28 UTC
Version:            (using Devel)
Compiler:           Debian experimental packages
OS:                Linux
Installed from:    Compiled sources

When open dialog enters a directory with a specific .png file and preview is switched on, the application crashes. I've tried several applications, below is backtrace from kwrite.

The .png file is (I try to attach it to the bug report)
gradient.png: PNG image, 1 x 64, 8-bit/color RGB, non-interlaced

Aplikace: KWrite (kwrite), signál SIGABRT

Thread 1 (Thread 0xb7f096c0 (LWP 4370)):
[KCrash Handler]
#6  0xb7f47424 in __kernel_vsyscall ()
#7  0x4c788640 in raise () from /lib/i686/cmov/libc.so.6
#8  0x4c78a018 in abort () from /lib/i686/cmov/libc.so.6
#9  0x4434bd6d in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2102
#10 0x4434be36 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2303
#11 0x4434bec5 in qt_assert (assertion=) at global/qglobal.cpp:1872
#12 0x456a3df0 in KDirModel::setData (this=) at ../../kio/kio/kdirmodel.cpp:712
#13 0x43f74356 in KFilePreviewGenerator::Private::dispatchPreviewQueue (this=<value optimized out>) at ../../kfile/kfilepreviewgenerator.cpp:493
#14 0x43f770d6 in KFilePreviewGenerator::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=<value optimized out>) at ./kfilepreviewgenerator.moc:80
#15 0x4445141b in QMetaCallEvent::placeMetaCall (this=) at kernel/qobject.cpp:529
#16 0x44452f91 in QObject::event (this=<value optimized out>, e=<value optimized out>) at kernel/qobject.cpp:1155
#17 0x447f0e9c in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3803
#18 0x447f8d1e in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3393
#19 0x453e0e7d in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at ../../kdeui/kernel/kapplication.cpp:307
#20 0x44443781 in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:587
#21 0x44444405 in QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#22 0x444445fd in QCoreApplication::sendPostedEvents (receiver=) at kernel/qcoreapplication.cpp:1091
#23 0x4446e03f in postEventSourceDispatch (s=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#24 0x4cd031b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0x4cd06853 in ?? () from /usr/lib/libglib-2.0.so.0
#26 0x08c97e98 in ?? ()
#27 0x00000000 in ?? ()

Standard output shows the following:

ASSERT: "!icon.isNull()" in file ../../kio/kio/kdirmodel.cpp, line 712
KCrash: Application 'kwrite' crashing...
Comment 1 Michal Sojka 2008-12-28 13:05:41 UTC
Created attachment 29695 [details]
This image causes the crash

Also I forget to mention, that the version used is 4.2 beta 2 (4.1.85).
Comment 2 Dario Andres 2008-12-28 13:40:34 UTC
This may be related to bug 178624 (same backtrace and probably the same situation)
Comment 3 FiNeX 2008-12-28 19:33:05 UTC
Cannot reproduce using trunk r902024.

@Dario: can you reproduce it?
Comment 4 Dario Andres 2008-12-28 19:50:02 UTC
I can't reproduce it here using:

Qt: 4.4.3 + qt-copy-patches-889120
KDE: 4.1.86 (KDE 4.1.86 (KDE 4.2 >= 20081221))
kdelibs svn rev. 902368 / kdebase svn rev. 902368
on ArchLinux x86_64 - Kernel 2.6.27.10
Comment 5 Modestas Vainius 2008-12-28 20:26:41 UTC
Michal, please retest with kdelibs5 4:4.1.86+svn901977. I can't reproduce.
Comment 6 Michal Sojka 2008-12-29 12:04:08 UTC
(In reply to comment #5)
> Michal, please retest with kdelibs5 4:4.1.86+svn901977. I can't reproduce.

I can't too. It seems it is fixed.