Summary: | crash during kontact startup | ||
---|---|---|---|
Product: | [Applications] kontact | Reporter: | Artur Souza (MoRpHeUz) <asouza> |
Component: | special dates | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | andresbajotierra, jcribb, kde, lukas.hetzenecker, rheinandco, santi.flores |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Artur Souza (MoRpHeUz)
2009-01-10 20:43:46 UTC
*** Bug 179940 has been marked as a duplicate of this bug. *** Application : Kontact (kontact), signal SIGABRT Thread 1 (Thread 0xb4c716c0 (LWP 5983)): [KCrash Handler] #6 0xb7f49430 in __kernel_vsyscall () #7 0xb6adc8a0 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb6ade268 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb764f795 in qt_message_output () from /usr/lib/libQtCore.so.4 #10 0xb764f872 in qFatal () from /usr/lib/libQtCore.so.4 #11 0xb764f915 in qt_assert () from /usr/lib/libQtCore.so.4 #12 0xb63e94be in KDBusServiceStarter::KDBusServiceStarter () from /usr/lib/libkio.so.5 #13 0xb7f0888c in Kontact::MainWindow::MainWindow () from /usr/lib/libkontactprivate.so.4 #14 0x0804ab7e in _start () same here... backtrace below Application: Kontact (kontact), signal SIGABRT 0x00007f32750a16e1 in nanosleep () from /lib/libc.so.6 Thread 1 (Thread 0x7f327b3fc6f0 (LWP 20159)): [KCrash Handler] #5 0x00007f327502c015 in raise () from /lib/libc.so.6 #6 0x00007f327502db83 in abort () from /lib/libc.so.6 #7 0x00007f3275024d89 in __assert_fail () from /lib/libc.so.6 #8 0x00007f32629548a4 in KMKernel::self () from /usr/lib/libkmailprivate.so.4 #9 0x00007f3262a1ce1e in kmcrashHandler () from /usr/lib/libkmailprivate.so.4 #10 0x00007f3277b86641 in KCrash::defaultCrashHandler (sig=11) at /build/buildd/kde4libs-4.2.1a/kdeui/util/kcrash.cpp:224 #11 <signal handler called> #12 0x0000000000000000 in ?? () #13 0x00007f3277b29226 in KUniqueApplicationAdaptor::newInstance (this=0x1355d20, asn_id=<value optimized out>, args=@0x33b1f10) at /build/buildd/kde4libs-4.2.1a/kdeui/kernel/kuniqueapplication_p.h:77 #14 0x00007f3277b275f2 in KUniqueApplicationAdaptor::qt_metacall (this=0x1355d20, _c=QMetaObject::InvokeMetaMethod, _id=1997792592, _a=0x7fff8344cb40) at /build/buildd/kde4libs-4.2.1a/obj-x86_64-linux-gnu/kdeui/kuniqueapplication_p.moc:74 #15 0x00007f3275f77ea3 in ?? () from /usr/lib/libQtDBus.so.4 #16 0x00007f3275f791b0 in ?? () from /usr/lib/libQtDBus.so.4 #17 0x00007f3275f79791 in ?? () from /usr/lib/libQtDBus.so.4 #18 0x00007f3275f79aa8 in ?? () from /usr/lib/libQtDBus.so.4 #19 0x00007f3275c78da5 in QObject::event () from /usr/lib/libQtCore.so.4 #20 0x00007f32767f534a in QApplication::event () from /usr/lib/libQtGui.so.4 #21 0x00007f32767efc3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #22 0x00007f32767f79ba in QApplication::notify () from /usr/lib/libQtGui.so.4 #23 0x00007f3275c69d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #24 0x00007f3275c6a9fa in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4 #25 0x00007f3275c924d3 in ?? () from /usr/lib/libQtCore.so.4 #26 0x00007f326f9cad3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #27 0x00007f326f9ce50d in ?? () from /usr/lib/libglib-2.0.so.0 #28 0x00007f326f9ce6cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #29 0x00007f3275c9215f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #30 0x00007f3276881a6f in ?? () from /usr/lib/libQtGui.so.4 #31 0x00007f3275c68682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #32 0x00007f3275c6880d in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #33 0x00007f325dc78c5d in KABC::ResourceLDAPKIO::Private::enter_loop (this=0x2074210) at /build/buildd/kdepimlibs-4.2.1/kabc/plugins/ldapkio/resourceldapkio.cpp:154 #34 0x00007f325dc7a6c4 in KABC::ResourceLDAPKIO::save (this=0x206fb40, ticket=<value optimized out>) at /build/buildd/kdepimlibs-4.2.1/kabc/plugins/ldapkio/resourceldapkio.cpp:815 #35 0x00007f32790ebcee in KABC::AddressBook::save (this=<value optimized out>, ticket=0x208df60) at /build/buildd/kdepimlibs-4.2.1/kabc/addressbook.cpp:383 #36 0x00007f32791155c5 in KABC::StdAddressBook::Private::saveAll (this=0x20701d0) at /build/buildd/kdepimlibs-4.2.1/kabc/stdaddressbook.cpp:203 #37 0x00007f3279115819 in ~StdAddressBook (this=0x2061cf0) at /build/buildd/kdepimlibs-4.2.1/kabc/stdaddressbook.cpp:138 #38 0x00007f3279114aa6 in deleteGlobalStdAddressBook () at /build/buildd/kdepimlibs-4.2.1/kabc/stdaddressbook.cpp:59 #39 0x00007f3275c6a315 in qt_call_post_routines () from /usr/lib/libQtCore.so.4 #40 0x00007f32767f9388 in QApplication::~QApplication () from /usr/lib/libQtGui.so.4 #41 0x0000000000404aa1 in _start () I'm not sure if this bug is similar to mine. Kontact starts duplicated at the beginning of the session and it crashes with SIGABRT when I try to close one of them: Aplicación: Kontact (kontact), señal SIGABRT [Current thread is 0 (LWP 14821)] Thread 4 (Thread 0xaccd6b90 (LWP 14897)): #0 0xb8082430 in __kernel_vsyscall () #1 0xb59dd7b1 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0xb5cb1380 in ?? () from /usr/lib/libQtCore.so.4 #3 0xb5bdf96e in ?? () from /usr/lib/libQtCore.so.4 #4 0xb51d64ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0xb59e549e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 3 (Thread 0xac4d5b90 (LWP 14900)): #0 0xb8082430 in __kernel_vsyscall () #1 0xb51da412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb59f4344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb5be098c in QWaitCondition::wait () from /usr/lib/libQtCore.so.4 #4 0xb5bd5e76 in ?? () from /usr/lib/libQtCore.so.4 #5 0xb5bdf96e in ?? () from /usr/lib/libQtCore.so.4 #6 0xb51d64ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb59e549e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 2 (Thread 0xabca9b90 (LWP 14901)): #0 0xb8082430 in __kernel_vsyscall () #1 0xb51da412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb59f4344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb5be098c in QWaitCondition::wait () from /usr/lib/libQtCore.so.4 #4 0xb5bd5e76 in ?? () from /usr/lib/libQtCore.so.4 #5 0xb5bdf96e in ?? () from /usr/lib/libQtCore.so.4 #6 0xb51d64ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb59e549e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb48f0700 (LWP 14821)): [KCrash Handler] #6 0xb8082430 in __kernel_vsyscall () #7 0xb592c6d0 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb592e098 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb59255ce in __assert_fail () from /lib/tls/i686/cmov/libc.so.6 #10 0xb103e13c in KMKernel::self () from /usr/lib/libkmailprivate.so.4 #11 0xb111638c in kmcrashHandler () from /usr/lib/libkmailprivate.so.4 #12 0xb6e3a17a in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5 #13 <signal handler called> #14 0xb8082430 in __kernel_vsyscall () #15 0xb592c6d0 in raise () from /lib/tls/i686/cmov/libc.so.6 #16 0xb592e098 in abort () from /lib/tls/i686/cmov/libc.so.6 #17 0xb59255ce in __assert_fail () from /lib/tls/i686/cmov/libc.so.6 #18 0xb103e13c in KMKernel::self () from /usr/lib/libkmailprivate.so.4 #19 0xb1128df7 in KMMainWidget::initializeFilterActions () from /usr/lib/libkmailprivate.so.4 #20 0xb159b9d6 in ?? () from /usr/lib/kde4/kmailpart.so #21 0xb71fedc4 in KParts::Part::customEvent () from /usr/lib/libkparts.so.4 #22 0xb5ce43ff in QObject::event () from /usr/lib/libQtCore.so.4 #23 0xb61a4f2c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #24 0xb61ad22e in QApplication::notify () from /usr/lib/libQtGui.so.4 #25 0xb6dc994d in KApplication::notify () from /usr/lib/libkdeui.so.5 #26 0xb5cd3a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #27 0xb720aaba in KParts::MainWindow::createGUI () from /usr/lib/libkparts.so.4 #28 0xb793f7d5 in Kontact::MainWindow::~MainWindow () from /usr/lib/libkontactprivate.so.4 #29 0x0804c0ae in _start () @rhein: your crash is probably related to bug 175144. @Santiago J. Flores: your crash is probably related to bug 185544. Both and Jeremy Cribb: If you can reproduce the crash at will (or you experience this regularly), may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace in a NEW REPORT? Thanks!! @Artur: is this still happening with an updated KDE ? Thanks i don't reproduce but i thins can still happen as mCalendar is used w/o being tested. is this patch ok to be commited ?Index: kontact/plugins/specialdates/sdsummarywidget.cpp =================================================================== --- kontact/plugins/specialdates/sdsummarywidget.cpp (revision 1061413) +++ kontact/plugins/specialdates/sdsummarywidget.cpp (working copy) -681,14 +681,15 @@ ResourceCalendar *SDSummaryWidget::usingBirthdayResource() { ResourceCalendar *resource = 0; - - CalendarResourceManager *manager = mCalendar->resourceManager(); - if ( !manager->isEmpty() ) { - CalendarResourceManager::Iterator it; - for ( it = manager->begin(); it != manager->end(); ++it ) { - if ( (*it)->type() == QLatin1String( "birthdays" ) ) { - resource = (*it); - break; + if ( mCalendar ) { + CalendarResourceManager *manager = mCalendar->resourceManager(); + if ( !manager->isEmpty() ) { + CalendarResourceManager::Iterator it; + for ( it = manager->begin(); it != manager->end(); ++it ) { + if ( (*it)->type() == QLatin1String( "birthdays" ) ) { + resource = (*it); + break; + } } } } forget the previous patch it is wrong Waiting for Artur feedback No feedback. Closing. Sorry for not giving any info back. For some reason I was not in CC: list. It's not happening anymore, so yep: we should close it. Sorry. Cheers, |