Bug 205220 - Kontact crash on KDE startup
Summary: Kontact crash on KDE startup
Status: RESOLVED NOT A BUG
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 250472 262245 262377 263616 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-26 19:17 UTC by Alec Moskvin
Modified: 2011-01-23 13:50 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Moskvin 2009-08-26 19:17:26 UTC
Application that crashed: kontact
Version of the application: 4.3.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.5 i686

What I was doing when the application crashed:
Kontact appeared for a few seconds after KDE started. After that, it started checking for new messages, whne the message pane turned black and it crashed.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 0 (LWP 13654)]

Thread 3 (Thread 0xb113db70 (LWP 13659)):
#0  0xb7f20424 in __kernel_vsyscall ()
#1  0x46fd9a92 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x46f2a694 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0x47483c7c in QWaitCondition::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#4  0x4747a52e in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:140
#5  0x47482ec8 in QThreadPrivate::start (arg=) at thread/qthread_unix.cpp:188
#6  0x46fd4900 in start_thread () from /lib/libpthread.so.0

Thread 2 (Thread 0xb073db70 (LWP 13663)):
#0  0xb7f20424 in __kernel_vsyscall ()
#1  0x46fd9a92 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x46f2a694 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0x47483c7c in QWaitCondition::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#4  0x4747a52e in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:140
#5  0x47482ec8 in QThreadPrivate::start (arg=) at thread/qthread_unix.cpp:188
#6  0x46fd4900 in start_thread () from /lib/libpthread.so.0

Thread 1 (Thread 0xb596a700 (LWP 13654)):
[KCrash Handler]
#6  0xb5cba26e in jpeg_CreateDecompress () from /usr/lib/libjpeg.so.62
#7  0xbf85ce5c in ?? ()
#8  0x45ed6a80 in ?? () from /lib/ld-linux.so.2
#9  0xb44c7bcc in read_jpeg_image (device=0x1d4, outImage=<value optimized out>, parameters=@0x8c88b24, scaledSize={wd = -1, ht = -1}, inQuality=-1) at qjpeghandler.cpp:757
#10 0xb44c8b0b in QJpegHandler::read (this=0x8c88b18, image=0xbf85cec4) at qjpeghandler.cpp:1201
#11 0xb73485dd in QImageReader::read (this=0xbf85cf00, image=0xbf85cec4) at image/qimagereader.cpp:1077
#12 0xb7348b5b in QImageReader::read (this=0xbf85cf00) at image/qimagereader.cpp:1027
#13 0xb7334dfe in QImage::fromData (data=0x8c3df60 "ÿØÿà", size=663, format=0x0) at image/qimage.cpp:4642
#14 0xb73367d1 in QImage::loadFromData (this=0xbf85cfac, data=0x8c3df60 "ÿØÿà", len=663, format=0x0) at image/qimage.cpp:4607
#15 0xb632775d in KABC::VCardTool::parsePicture (this=0xbf85d410, line=@0x8c88328) at /usr/include/qt4/QtGui/qimage.h:231
#16 0xb632938e in KABC::VCardTool::parseVCards (this=0xbf85d410, vcard=@0xbf85d4d4) at /var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/kabc/vcardtool.cpp:554
#17 0xb631575c in KABC::VCardConverter::parseVCards (this=0x8b364bc, vcard=@0xbf85d4d4) at /var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/kabc/vcardconverter.cpp:61
#18 0xb63157b7 in KABC::VCardConverter::parseVCard (this=0x8b364bc, vcard=@0xbf85d4d4) at /var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/kabc/vcardconverter.cpp:52
#19 0xaff38d5d in Akonadi::SerializerPluginAddressee::deserialize (this=0x8b364b0, item=@0xbf85d6ec, label=@0xbf85d6d8, data=@0xbf85d550, version=0)
    at /var/tmp/portage/kde-base/akonadi-4.3.0/work/kdepim-runtime-4.3.0/plugins/akonadi_serializer_addressee.cpp:39
#20 0xb083d5b3 in Akonadi::ItemSerializer::deserialize (item=@0xbf85d6ec, label=@0xbf85d6d8, data=@0xbf85d550, version=0)
    at /var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/akonadi/itemserializer.cpp:240
#21 0xb083d96a in Akonadi::ItemSerializer::deserialize (item=@0xbf85d6ec, label=@0xbf85d6d8, data=@0xbf85d6c0, version=0, external=false)
    at /var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/akonadi/itemserializer.cpp:232
#22 0xb0835fb4 in Akonadi::ItemFetchJob::doHandleResponse (this=0x8c39ee0, tag=@0xbf85d7e8, data=@0xbf85d7e4)
    at /var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/akonadi/itemfetchjob.cpp:251
#23 0xb084b68c in Akonadi::JobPrivate::handleResponse (this=0x8c39e70, tag=@0xbf85d7e8, data=@0xbf85d7e4) at /var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/akonadi/job.cpp:72
#24 0xb086fb42 in Akonadi::SessionPrivate::dataReceived (this=0x8b369c0) at /var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/akonadi/session.cpp:121
#25 0xb087091e in Akonadi::Session::qt_metacall (this=0x8b368f8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf85d8d8)
    at /var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0_build/akonadi/session.moc:81
#26 0x47577a01 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3101
#27 0x47577fc3 in QMetaObject::activate (sender=<value optimized out>, m=<value optimized out>, local_signal_index=<value optimized out>, argv=) at kernel/qobject.cpp:3178
#28 0x475ad7f8 in QIODevice::readyRead (this=) at .moc/release-shared/moc_qiodevice.cpp:85
#29 0x475ad8c5 in QIODevice::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=<value optimized out>) at .moc/release-shared/moc_qiodevice.cpp:71
#30 0x4617054b in QLocalSocket::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=<value optimized out>) at .moc/release-shared/moc_qlocalsocket.cpp:75
#31 0x47577a01 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3101
#32 0x47577fc3 in QMetaObject::activate (sender=<value optimized out>, m=<value optimized out>, local_signal_index=<value optimized out>, argv=) at kernel/qobject.cpp:3178
#33 0x475ad7f8 in QIODevice::readyRead (this=) at .moc/release-shared/moc_qiodevice.cpp:85
#34 0x4616b5b2 in QAbstractSocketPrivate::canReadNotification (this=<value optimized out>) at socket/qabstractsocket.cpp:604
#35 0x4615a18b in QAbstractSocketEngine::readNotification (this=<value optimized out>) at socket/qabstractsocketengine.cpp:154
#36 0x4615b3f6 in QReadNotifier::event (this=) at socket/qnativesocketengine.cpp:1036
#37 0xb729612c in QApplicationPrivate::notify_helper (this=0x80a7e80, receiver=0x8b36470, e=0xbf85dd90) at kernel/qapplication.cpp:4056
#38 0xb729c2fd in QApplication::notify (this=0xbf85ebdc, receiver=0x8b36470, e=0xbf85dd90) at kernel/qapplication.cpp:3952
#39 0xb7c0e67e in KApplication::notify (this=0xbf85ebdc, receiver=0x8b36470, event=0xbf85dd90) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#40 0x475651f2 in QCoreApplication::notifyInternal (this=) at kernel/qcoreapplication.cpp:606
#41 0x4758cfc7 in socketNotifierSourceDispatch (source=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#42 0x4728043f in IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:1824
#43 0x47283b8b in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, self=) at gmain.c:2455
#44 0x47283d19 in IA__g_main_context_iteration (context=<value optimized out>, may_block=<value optimized out>) at gmain.c:2518
#45 0x4758cd29 in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#46 0xb732a69b in QGuiEventDispatcherGlib::processEvents (this=0x80a7bf8, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#47 0x4756393b in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#48 0x47563b1a in QEventLoop::exec (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:197
#49 0xb26992b9 in KMAccount::runPrecommand (this=0x835a180, precommand=@0x835a194) at /var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/kmaccount.cpp:407
#50 0xb2733acb in KMAcctLocal::preProcess (this=0x835a180) at /var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/kmacctlocal.cpp:128
#51 0xb2734874 in KMAcctLocal::processNewMail (this=0x835a180) at /var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/kmacctlocal.cpp:66
#52 0xb2729983 in KMail::AccountManager::processNextCheck (this=0x831a688, _newMail=false) at /var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/accountmanager.cpp:230
#53 0xb272a450 in KMail::AccountManager::singleCheckMail (this=0x831a688, account=0x835a180, interactive=true) at /var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/accountmanager.cpp:157
#54 0xb272a890 in KMail::AccountManager::checkMail (this=0x831a688, _interactive=true) at /var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/accountmanager.cpp:352
#55 0xb28e7c20 in KMMainWidget::slotCheckMail (this=0x838f920) at /var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/kmmainwidget.cpp:1045
#56 0xb290ff91 in KMMainWidget::qt_metacall (this=0x838f920, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf85e3c8)
    at /var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0_build/kmail/kmmainwidget.moc:355
#57 0x47577a01 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3101
#58 0x47577fc3 in QMetaObject::activate (sender=<value optimized out>, m=<value optimized out>, local_signal_index=<value optimized out>, argv=) at kernel/qobject.cpp:3178
#59 0x4757e2c8 in QSingleShotTimer::timeout (this=) at .moc/release-shared/qtimer.moc:76
#60 0x4757e3fd in QSingleShotTimer::timerEvent (this=<value optimized out>) at kernel/qtimer.cpp:298
#61 0x4757470f in QObject::event (this=<value optimized out>, e=<value optimized out>) at kernel/qobject.cpp:1066
#62 0xb729612c in QApplicationPrivate::notify_helper (this=0x80a7e80, receiver=0x87a05d0, e=0xbf85e81c) at kernel/qapplication.cpp:4056
#63 0xb729c2fd in QApplication::notify (this=0xbf85ebdc, receiver=0x87a05d0, e=0xbf85e81c) at kernel/qapplication.cpp:3952
#64 0xb7c0e67e in KApplication::notify (this=0xbf85ebdc, receiver=0x87a05d0, event=0xbf85e81c) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#65 0x475651f2 in QCoreApplication::notifyInternal (this=) at kernel/qcoreapplication.cpp:606
#66 0x47590191 in QTimerInfoList::activateTimers (this=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#67 0x4758cdd1 in timerSourceDispatch (source=) at kernel/qeventdispatcher_glib.cpp:165
#68 0x4728043f in IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:1824
#69 0x47283b8b in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, self=) at gmain.c:2455
#70 0x47283d19 in IA__g_main_context_iteration (context=<value optimized out>, may_block=<value optimized out>) at gmain.c:2518
#71 0x4758cd29 in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#72 0xb732a69b in QGuiEventDispatcherGlib::processEvents (this=0x80a7bf8, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#73 0x4756393b in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#74 0x47563b1a in QEventLoop::exec (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:197
#75 0x47565d91 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#76 0xb7295f95 in QApplication::exec () at kernel/qapplication.cpp:3525
#77 0x0804bfd7 in main (argc=1, argv=0xbf85edd4) at /var/tmp/portage/kde-base/kontact-4.3.0/work/kontact-4.3.0/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-26 19:58:59 UTC
From the backtrace I can say that Kontact is crashing on loading a jpeg image (corrupted) while loading the a contact.
It seems you are using Gentoo.
- When this crash appeared ? After some update ?
- Does KAddressBook crashes too ?
Thanks
Comment 2 Alec Moskvin 2009-08-26 23:26:32 UTC
Actually, I just got Kontact working and saw this message.

The problem was that some of my KDE/Qt packages were linked against the new libjpeg.so.7 while some others were still using libjpeg.so.62 (I have both). So, I recompiled any packages that were the old version and could be related to Kontact, and now it all seems to work.

I guess this is not a bug, so you can close it.
Comment 3 Dario Andres 2009-08-26 23:42:52 UTC
Ok, closing as INVALID as the crash was caused by a invalid/broken install.
I'm glad it works now.
Thanks
Comment 4 Christophe Marin 2010-09-30 19:39:10 UTC
*** Bug 250472 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2011-01-06 11:34:47 UTC
*** Bug 262245 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2011-01-07 13:24:50 UTC
*** Bug 262377 has been marked as a duplicate of this bug. ***
Comment 7 Gerry Gavigan 2011-01-07 18:14:13 UTC
You've marked my report as a duplicate of this one.  However I used openSUSE RPMs and there was no jpeg involved.

I'm unclear why my bug, by association, is now invalid?

Just asking not shouting.
Comment 8 Christophe Marin 2011-01-23 13:50:20 UTC
*** Bug 263616 has been marked as a duplicate of this bug. ***