Bug 262054 - Crash with "KProtocolManagerPrivate *kProtocolManagerPrivate()' after destruction" on quit
Summary: Crash with "KProtocolManagerPrivate *kProtocolManagerPrivate()' after destruc...
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 11:29 UTC by Thomas Tanghus
Modified: 2011-07-06 23:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Tanghus 2011-01-04 11:29:31 UTC
Application: korganizer (4.4.9)
KDE Platform Version: 4.5.90 (4.6 RC1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I was running KOrganizer standalone to test a bug in the holidays when I got this crash on exit. It doesn't occur when running in Kontact.

- Unusual behavior I noticed:
I have had several plasma-desktop crashes which I suspect is a result of the calendar widget accessing my remote calendar running a Calendar in remote file (on http://www.memotoo.com ).
I have no idea if they are related:
https://bugs.kde.org/show_bug.cgi?id=261593

-- Backtrace:
Application: KOrganizer (korganizer), signal: Aborted
[Current thread is 1 (Thread 0xb7704950 (LWP 5628))]

Thread 2 (Thread 0xb44dcb70 (LWP 5629)):
#0  __i686.get_pc_thunk.bx () at ../sysdeps/i386/i686/multiarch/strcmp.S:50
#1  0x00a7af3b in pthread_mutex_lock (mutex=0x96353ac) at forward.c:182
#2  0x075774a4 in ?? () from /lib/libglib-2.0.so.0
#3  0x07577848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x01f3c59f in QEventDispatcherGlib::processEvents (this=0x9634bd0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x01f0c609 in QEventLoop::processEvents (this=0xb44dc270, flags=) at kernel/qeventloop.cpp:149
#6  0x01f0ca8a in QEventLoop::exec (this=0xb44dc270, flags=...) at kernel/qeventloop.cpp:201
#7  0x01e08b7e in QThread::exec (this=0x94be258) at thread/qthread.cpp:490
#8  0x01eeb35b in QInotifyFileSystemWatcherEngine::run (this=0x94be258) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x01e0bdf9 in QThreadPrivate::start (arg=0x94be258) at thread/qthread_unix.cpp:266
#10 0x019fdcc9 in start_thread (arg=0xb44dcb70) at pthread_create.c:304
#11 0x00a6d69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7704950 (LWP 5628)):
[KCrash Handler]
#7  0x00d7b416 in __kernel_vsyscall ()
#8  0x009c7941 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x009cae42 in abort () at abort.c:92
#10 0x01e022dc in qt_message_output (msgType=QtFatalMsg, buf=0x9b3baa0 "Fatal Error: Accessed global static 'KProtocolManagerPrivate *kProtocolManagerPrivate()' after destruction. Defined at ../../kio/kio/kprotocolmanager.cpp:70") at global/qglobal.cpp:2259
#11 0x01e024aa in qt_message (msgType=<value optimized out>, msg=0x46b8634 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0xbfe2f3d4 "hil\004Pil\004\334kl\004F") at global/qglobal.cpp:2305
#12 0x01e025b9 in qFatal (msg=0x46b8634 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2488
#13 0x045a143c in operator-> (url=..., proxy=...) at ../../kio/kio/kprotocolmanager.cpp:70
#14 operator KProtocolManagerPrivate* (url=..., proxy=...) at ../../kio/kio/kprotocolmanager.cpp:70
#15 KProtocolManager::slaveProtocol (url=..., proxy=...) at ../../kio/kio/kprotocolmanager.cpp:352
#16 0x045d77ef in KIO::SchedulerPrivate::doJob (this=0x97cd7c0, job=0x9b5a258) at ../../kio/kio/scheduler.cpp:913
#17 0x045d7b6a in KIO::Scheduler::doJob (job=0x9b5a258) at ../../kio/kio/scheduler.cpp:772
#18 0x0452de17 in KIO::SimpleJobPrivate::simpleJobInit (this=0x9c60ef0) at ../../kio/kio/job.cpp:339
#19 0x0452eba9 in KIO::TransferJob::TransferJob (this=0x9b5a258, dd=...) at ../../kio/kio/job.cpp:985
#20 0x0452ed1e in newJob (url=..., permissions=-1, flags=...) at ../../kio/kio/job_p.h:291
#21 KIO::put (url=..., permissions=-1, flags=...) at ../../kio/kio/job.cpp:1581
#22 0x0452edf3 in KIO::FileCopyJobPrivate::startDataPump (this=0x9b67618) at ../../kio/kio/job.cpp:2079
#23 0x0453116e in KIO::FileCopyJobPrivate::startBestCopyMethod (this=0x9b67618) at ../../kio/kio/job.cpp:1937
#24 0x04535cd9 in KIO::FileCopyJobPrivate::slotStart (this=0x9b67618) at ../../kio/kio/job.cpp:1913
#25 0x04536099 in KIO::FileCopyJob::qt_metacall (this=0x97ad380, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x9752b88) at ./jobclasses.moc:722
#26 0x01f138ca in QMetaObject::metacall (object=0x97ad380, cl=5628, idx=33, argv=0x9752b88) at kernel/qmetaobject.cpp:237
#27 0x01f1edf6 in QMetaCallEvent::placeMetaCall (this=0x9743cc8, object=0x97ad380) at kernel/qobject.cpp:534
#28 0x01f206a2 in QObject::event (this=0x97ad380, e=0x6) at kernel/qobject.cpp:1219
#29 0x00fc8fdc in QApplicationPrivate::notify_helper (this=0x9366168, receiver=0x97ad380, e=0x9743cc8) at kernel/qapplication.cpp:4396
#30 0x00fcf04e in QApplication::notify (this=0xbfe30360, receiver=0x97ad380, e=0x9743cc8) at kernel/qapplication.cpp:3798
#31 0x01f0db3b in QCoreApplication::notifyInternal (this=0xbfe30360, receiver=0x97ad380, event=0x9743cc8) at kernel/qcoreapplication.cpp:732
#32 0x01f10d8b in sendEvent (receiver=0x0, event_type=0, data=0x933b020) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x933b020) at kernel/qcoreapplication.cpp:1373
#34 0x01f10f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#35 0x01f3ca74 in sendPostedEvents (s=0x9361d20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 postEventSourceDispatch (s=0x9361d20) at kernel/qeventdispatcher_glib.cpp:277
#37 0x07573855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x07577668 in ?? () from /lib/libglib-2.0.so.0
#39 0x07577848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x01f3c565 in QEventDispatcherGlib::processEvents (this=0x935e058, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#41 0x0108abe5 in QGuiEventDispatcherGlib::processEvents (this=0x935e058, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x01f0c609 in QEventLoop::processEvents (this=0xbfe2ff64, flags=) at kernel/qeventloop.cpp:149
#43 0x01f0ca8a in QEventLoop::exec (this=0xbfe2ff64, flags=...) at kernel/qeventloop.cpp:201
#44 0x045bf40b in KIO::NetAccess::enter_loop (this=0xbfe30014) at ../../kio/kio/netaccess.cpp:510
#45 0x045bf7a0 in KIO::NetAccess::filecopyInternal (this=0xbfe30014, src=..., target=..., permissions=-1, flags=..., window=0x0, move=false) at ../../kio/kio/netaccess.cpp:332
#46 0x045c0a20 in KIO::NetAccess::upload (src=..., target=..., window=0x0) at ../../kio/kio/netaccess.cpp:142
#47 0x036502f9 in KABC::ResourceNet::save (this=0x97c2718, ticket=0x9a0b5c8) at ../../../../kabc/plugins/net/resourcenet.cpp:252
#48 0x06716a27 in KABC::AddressBook::save (this=0x97af928, ticket=0x9a0b5c8) at ../../kabc/addressbook.cpp:390
#49 0x067300c0 in KABC::StdAddressBook::Private::saveAll (this=0x97b18c0) at ../../kabc/stdaddressbook.cpp:203
#50 0x0673045b in KABC::StdAddressBook::~StdAddressBook (this=0x97af928, __in_chrg=<value optimized out>) at ../../kabc/stdaddressbook.cpp:138
#51 0x0672e8f4 in deleteGlobalStdAddressBook () at ../../kabc/stdaddressbook.cpp:59
#52 0x01f0e002 in qt_call_post_routines () at kernel/qcoreapplication.cpp:203
#53 0x00fd5238 in QApplication::~QApplication (this=0xbfe30360, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1044
#54 0x00317e5a in KApplication::~KApplication (this=0xbfe30360, __in_chrg=<value optimized out>) at ../../kdeui/kernel/kapplication.cpp:909
#55 0x0031f6b8 in KUniqueApplication::~KUniqueApplication (this=0xbfe30360, __in_chrg=<value optimized out>) at ../../kdeui/kernel/kuniqueapplication.cpp:346
#56 0x0062be28 in KontactInterface::PimUniqueApplication::~PimUniqueApplication (this=0xbfe30360, __in_chrg=<value optimized out>) at ../../kontactinterface/pimuniqueapplication.cpp:58
#57 0x0804e31e in main (argc=1, argv=0xbfe304c4) at ../../korganizer/main.cpp:61

This bug may be a duplicate of or related to bug 171797.

Possible duplicates by query: bug 214330.

Reported using DrKonqi
Comment 1 Sergio Martins 2011-06-11 17:50:47 UTC
Try with kdepim 4.6.
Comment 2 Thomas Tanghus 2011-06-11 18:52:45 UTC
(In reply to comment #1)
> Try with kdepim 4.6.

I haven't installed kdepim 4.6 yet (waiting for Kubuntu binaries) but I haven't had that specific crash since and stopped reporting bugs against kdepim 4.4.x for months.
Looking forward to trying 4.6 :-)
Comment 3 Sergio Martins 2011-07-06 23:55:33 UTC
Ok, reopen if needed.