[Bug 153200] New: kio cannot generate thumbnail in file dialog for certain JPEG and SIGSEGV's when image is chosen

Charles Connell charles at connells.org
Sat Dec 1 00:18:04 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=153200         
           Summary: kio cannot generate thumbnail in file dialog for certain
                    JPEG and SIGSEGV's when image is chosen
           Product: kdelibs
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdelibs-bugs kde org
        ReportedBy: charles connells org


Version:            (using KDE KDE 3.96.0)
Installed from:    Compiled From Sources
Compiler:          gcc version 4.1.2 20061115 (prerelease) (SUSE Linux) 
OS:                Linux

I am using brand new SVN Kopete to choose avatars for some meta-contacts in my contact list. When I mouse-roll-over some of the images, the file dialog does not generate thumbnails on its right pane. The console shows this message every time a thumbnail is not generated:

kopete(25124)/kio (KIOJob) KIO::SlaveInterface::dispatch: error 104 "Cannot create thumbnail for /home/connellcharles/Pictures/becca.jpg"
(or whatever image I try)

For a small percentage of these non-thumbnailable images, selecting Open causes a crash with console error:

ASSERT: "!pixmap.isNull()" in file /home/kde-devel/KDE/src/KDE/kdelibs/kdeui/widgets/kpixmapregionselectorwidget.cpp, line 115

This is the backtrace when the SIGSEGV is caught by gdb:

#0  0xb7ef9410 in ?? ()
#1  0xbfb4060c in ?? ()
#2  0x00000006 in ?? ()
#3  0xb608c801 in abort () from /lib/libc.so.6
#4  0xb7db3dad in qt_message_output (msgType=QtFatalMsg,
    buf=0xbfb40790 "ASSERT: \"!pixmap.isNull()\" in file /home/kde-devel/KDE/src/KDE/kdelibs/kdeui/widgets/kpixmapregionselectorwidget.cpp, line 115") at global/qglobal.cpp:2162
#5  0xb7db3e11 in qFatal (msg=0xb7ea9b10 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2393
#6  0xb7db3f6b in qt_assert (assertion=0xb7a80f58 "!pixmap.isNull()",
    file=0xb7a80ed0 "/home/kde-devel/KDE/src/KDE/kdelibs/kdeui/widgets/kpixmapregionselectorwidget.cpp", line=115)
    at global/qglobal.cpp:1919
#7  0xb7a01d89 in KPixmapRegionSelectorWidget::setPixmap (this=0x879bc20, pixmap= 0xbfb42908)
    at /home/kde-devel/KDE/src/KDE/kdelibs/kdeui/widgets/kpixmapregionselectorwidget.cpp:115
#8  0xb78ca978 in KPixmapRegionSelectorDialog::getSelectedImage (pixmap= 0xbfb42908, aspectRatioWidth=96, aspectRatioHeight=96,
    parent=0x8875130) at /home/kde-devel/KDE/src/KDE/kdelibs/kdeui/dialogs/kpixmapregionselectordialog.cpp:137
#9  0xb6ccb88e in Kopete::UI::AvatarSelectorWidget::buttonAddAvatarClicked (this=0x8875130)
    at /home/kde-devel/KDE/src/KDE/kdenetwork/kopete/libkopete/ui/avatarselectorwidget.cpp:186
#10 0xb6ccbc44 in Kopete::UI::AvatarSelectorWidget::qt_metacall (this=0x8875130, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfb42ebc)
    at /home/kde-devel/KDE/build/KDE/kdenetwork/kopete/libkopete/avatarselectorwidget.moc:76
#11 0xb7e8281a in QMetaObject::activate (sender=0x87e91a8, from_signal_index=29, to_signal_index=30, argv=0xbfb42ebc)
    at kernel/qobject.cpp:3089
#12 0xb7e829d0 in QMetaObject::activate (sender=0x87e91a8, m=0xb7553e24, from_local_signal_index=2, to_local_signal_index=3,
    argv=0xbfb42ebc) at kernel/qobject.cpp:3171
#13 0xb749cef4 in QAbstractButton::clicked (this=0x87e91a8, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:180
#14 0xb7246610 in QAbstractButtonPrivate::emitClicked (this=0x87f5db8) at widgets/qabstractbutton.cpp:532
#15 0xb7247a19 in QAbstractButtonPrivate::click (this=0x87f5db8) at widgets/qabstractbutton.cpp:525
#16 0xb7247cbe in QAbstractButton::mouseReleaseEvent (this=0x87e91a8, e=0xbfb436a8) at widgets/qabstractbutton.cpp:1102
#17 0xb6f4f111 in QWidget::event (this=0x87e91a8, event=0xbfb436a8) at kernel/qwidget.cpp:6129
#18 0xb72465aa in QAbstractButton::event (this=0x87e91a8, e=0xbfb436a8) at widgets/qabstractbutton.cpp:1064
#19 0xb72edc81 in QPushButton::event (this=0x87e91a8, e=0xbfb436a8) at widgets/qpushbutton.cpp:667
#20 0xb6efd445 in QApplicationPrivate::notify_helper (this=0x80c0d28, receiver=0x87e91a8, e=0xbfb436a8) at kernel/qapplication.cpp:3558
#21 0xb6efe01f in QApplication::notify (this=0xbfb467d0, receiver=0x87e91a8, e=0xbfb436a8) at kernel/qapplication.cpp:3257
#22 0xb79339dd in KApplication::notify (this=0xbfb467d0, receiver=0x87e91a8, event=0xbfb436a8)
    at /home/kde-devel/KDE/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:319
#23 0xb7e713a2 in QCoreApplication::notifyInternal (this=0xbfb467d0, receiver=0x87e91a8, event=0xbfb436a8)
    at kernel/qcoreapplication.cpp:532
#24 0xb6f088ef in QCoreApplication::sendSpontaneousEvent (receiver=0x87e91a8, event=0xbfb436a8)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:205
#25 0xb6f6976a in QETWidget::translateMouseEvent (this=0x87e91a8, event=0xbfb43b30) at kernel/qapplication_x11.cpp:3871
#26 0xb6f67482 in QApplication::x11ProcessEvent (this=0xbfb467d0, event=0xbfb43b30) at kernel/qapplication_x11.cpp:2922
#27 0xb6f93e52 in x11EventSourceDispatch (s=0x80c3200, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:137
#28 0xb5ff4de2 in g_main_context_dispatch () from /opt/gnome/lib/libglib-2.0.so.0
#29 0xb5ff7e1f in ?? () from /opt/gnome/lib/libglib-2.0.so.0
#30 0x080c2128 in ?? ()
#31 0x00000000 in ?? ()

I will attach the only two images that I have found to cause a crash and also not generate thumbnails. These are both normal (I hope!) JPEG's that render fine everywhere in KDE 3.


More information about the Kdelibs-bugs mailing list