Bug 316024 - Crash on Start: Choqok::PluginManagerPrivate::~PluginManagerPrivate: Destructing plugin manager without going through the shutdown process!
Summary: Crash on Start: Choqok::PluginManagerPrivate::~PluginManagerPrivate: Destruct...
Status: RESOLVED FIXED
Alias: None
Product: choqok
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 1.3
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-02 17:55 UTC by Duncan MC Leod
Modified: 2016-08-04 10:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 1.6
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan MC Leod 2013-03-02 17:55:02 UTC
Application: choqok (1.3)
KDE Platform Version: 4.10.00
Qt Version: 4.8.3
Operating System: Linux 3.5.0-18-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:

I started Choqok, some seconds later it crashed.
Version is the latest git version: commit c9799c0184ca61a19c26f2d8fa16003ca800859d
In my console was this:

  Choqok  1.3 
  QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
  QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
  QSystemTrayIcon::setVisible: No Icon set
  QSystemTrayIcon::setVisible: No Icon set
  QDBusObjectPath: invalid path ""
  QDBusObjectPath: invalid path ""
  QDBusObjectPath: invalid path ""
  ICE default IO error handler doing an exit(), pid = 14332, errno = 32

The crash can be reproduced every time.

-- Backtrace:
Application: Choqok (choqok), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc73edf9840 (LWP 14332))]

Thread 2 (Thread 0x7fc734b56700 (LWP 14334)):
#0  0x00007fc748faf313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc745c7dd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc745c7e1e2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc7408eb4a6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fc745ca1645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc74614de9a in start_thread (arg=0x7fc734b56700) at pthread_create.c:308
#6  0x00007fc748fbaccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc73edf9840 (LWP 14332)):
[KCrash Handler]
#6  0x00007fc74ae32193 in Choqok::Account::~Account (this=0xdc3a80, __in_chrg=<optimized out>) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/libchoqok/account.cpp:70
#7  0x00007fc74ae322b9 in Choqok::Account::~Account (this=0xdc3a80, __in_chrg=<optimized out>) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/libchoqok/account.cpp:72
#8  0x00007fc7497141b2 in QObjectPrivate::deleteChildren (this=this@entry=0xe02c60) at kernel/qobject.cpp:1908
#9  0x00007fc749717ff6 in QObject::~QObject (this=0xdd6b00, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#10 0x00007fc74ae33c44 in Choqok::MicroBlog::~MicroBlog (this=0xdd6b00, __in_chrg=<optimized out>) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/libchoqok/microblog.cpp:60
#11 0x00007fc724f03a30 in TwitterApiMicroBlog::~TwitterApiMicroBlog (this=0xdd6b00, __in_chrg=<optimized out>) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/helperlibs/twitterapihelper/twitterapimicroblog.cpp:147
#12 0x00007fc7255a91cb in ?? () from /usr/lib/kde4/choqok_twitter.so
#13 0x00007fc7255a9239 in ?? () from /usr/lib/kde4/choqok_twitter.so
#14 0x00007fc7497141b2 in QObjectPrivate::deleteChildren (this=this@entry=0xdf4240) at kernel/qobject.cpp:1908
#15 0x00007fc749717ff6 in QObject::~QObject (this=0xdf43c8, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#16 0x00007fc74ae34292 in Choqok::PluginManager::~PluginManager (this=0xdf43c8, __in_chrg=<optimized out>) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/libchoqok/pluginmanager.cpp:112
#17 0x00007fc74ae36e51 in ~PluginManagerPrivate (this=0xdf43a0, __in_chrg=<optimized out>) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/libchoqok/pluginmanager.cpp:55
#18 destroy () at /home/actionluzifer/Dokumente/sourcen/gits/choqok/libchoqok/pluginmanager.cpp:96
#19 0x00007fc748f02901 in __run_exit_handlers (status=1, listp=0x7fc74927f6a8 <__exit_funcs>, run_list_atexit=true) at exit.c:78
#20 0x00007fc748f02985 in __GI_exit (status=<optimized out>, status@entry=1) at exit.c:100
#21 0x00007fc748aa973a in _IceDefaultIOErrorHandler (iceConn=<optimized out>) at ../../src/error.c:603
#22 0x00007fc748ab06b4 in IceFlush (iceConn=0x9f8d40) at ../../src/misc.c:78
#23 0x00007fc74a14b844 in sm_setProperty (name=<optimized out>, type=type@entry=0x7fc74a75f54f "ARRAY8", num_vals=num_vals@entry=1, vals=vals@entry=0x7fffc13497d0) at kernel/qapplication_x11.cpp:6008
#24 0x00007fc74a14bf79 in detach (this=0x7fffc13497c0) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:436
#25 data (this=0x7fffc13497c0) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:430
#26 sm_setProperty (name=..., value=...) at kernel/qapplication_x11.cpp:6023
#27 0x00007fc74a157cd4 in sm_performSaveYourself (smd=0xbc82b0) at kernel/qapplication_x11.cpp:6087
#28 0x00007fc74a158845 in sm_saveYourselfCallback (smcConn=<optimized out>, clientData=<optimized out>, saveType=<optimized out>, shutdown=<optimized out>, interactStyle=<optimized out>) at kernel/qapplication_x11.cpp:6066
#29 0x00007fc748cc3d37 in _SmcProcessMessage (iceConn=0x9f8d40, clientData=0x9f8f00, opcode=<optimized out>, length=<optimized out>, swap=0, replyWait=<optimized out>, replyReadyRet=0x7fffc1349eb8) at ../../src/sm_process.c:241
#30 0x00007fc748ab48c7 in IceProcessMessages (iceConn=0x9f8d40, replyWait=0x0, replyReadyRet=0x0) at ../../src/process.c:386
#31 0x00007fc749716f8f in QMetaObject::activate (sender=0x9ff900, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc134a020) at kernel/qobject.cpp:3547
#32 0x00007fc7497617ce in QSocketNotifier::activated (this=<optimized out>, _t1=14) at .moc/release-shared/moc_qsocketnotifier.cpp:103
#33 0x00007fc74971e81b in QSocketNotifier::event (this=0x9ff900, e=0x7fffc134a640) at kernel/qsocketnotifier.cpp:317
#34 0x00007fc74a0e2e9c in QApplicationPrivate::notify_helper (this=this@entry=0x9a2ec0, receiver=receiver@entry=0x9ff900, e=e@entry=0x7fffc134a640) at kernel/qapplication.cpp:4562
#35 0x00007fc74a0e730a in QApplication::notify (this=0x7fffc134be30, receiver=0x9ff900, e=0x7fffc134a640) at kernel/qapplication.cpp:4423
#36 0x00007fc74b4b9636 in KApplication::notify (this=0x7fffc134be30, receiver=0x9ff900, event=0x7fffc134a640) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007fc74970159e in QCoreApplication::notifyInternal (this=0x7fffc134be30, receiver=0x9ff900, event=0x7fffc134a640) at kernel/qcoreapplication.cpp:915
#38 0x00007fc74972f428 in sendEvent (event=0x7fffc134a640, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 socketNotifierSourceDispatch (source=0x9a2810) at kernel/qeventdispatcher_glib.cpp:110
#40 0x00007fc745c7dab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fc745c7dde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fc745c7dea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fc74972fc26 in QEventDispatcherGlib::processEvents (this=0x910540, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#44 0x00007fc74a187c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007fc7497002ef in QEventLoop::processEvents (this=this@entry=0x7fffc134a890, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007fc749700578 in QEventLoop::exec (this=0x7fffc134a890, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007fc74a59b428 in QDialog::exec (this=0xdb3030) at dialogs/qdialog.cpp:554
#48 0x00007fc74b42b4da in KMessageBox::createKMessageBox (dialog=dialog@entry=0xdb3030, icon=..., text=..., strlist=..., ask=..., checkboxReturn=checkboxReturn@entry=0x7fffc134accf, options=..., details=..., notifyType=notifyType@entry=QMessageBox::Information) at ../../kdeui/dialogs/kmessagebox.cpp:344
#49 0x00007fc74b42ba8a in KMessageBox::createKMessageBox (dialog=dialog@entry=0xdb3030, icon=icon@entry=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=checkboxReturn@entry=0x7fffc134accf, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:159
#50 0x00007fc74b42e760 in informationListWId (options=..., dontShowAgainName=..., caption=..., strlist=..., text=..., parent_id=85983250) at ../../kdeui/dialogs/kmessagebox.cpp:1005
#51 KMessageBox::informationListWId (parent_id=85983250, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:979
#52 0x00007fc74b42e90f in KMessageBox::informationList (parent=<optimized out>, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:976
#53 0x00007fc74b42e960 in KMessageBox::information (parent=<optimized out>, text=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:963
#54 0x00007fc74ae45ad4 in openWallet (this=0x9fa110) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/libchoqok/passwordmanager.cpp:74
#55 openWallet (this=0x9fa110) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/libchoqok/passwordmanager.cpp:109
#56 Choqok::PasswordManager::readPassword (this=0xd22280, alias=...) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/libchoqok/passwordmanager.cpp:111
#57 0x00007fc74ae31fd4 in Private (mAlias=..., parent=<optimized out>, this=0xddc9a0) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/libchoqok/account.cpp:47
#58 Choqok::Account::Account (this=0xdc3a80, parent=<optimized out>, alias=...) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/libchoqok/account.cpp:61
#59 0x00007fc724f001a1 in TwitterApiAccount::TwitterApiAccount (this=0xdc3a80, parent=0xdd6b00, alias=...) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/helperlibs/twitterapihelper/twitterapiaccount.cpp:55
#60 0x00007fc7255a82f3 in ?? () from /usr/lib/kde4/choqok_twitter.so
#61 0x00007fc7255a8c0a in ?? () from /usr/lib/kde4/choqok_twitter.so
#62 0x00007fc74ae44e87 in Choqok::AccountManager::loadAllAccounts (this=0x9902e0) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/libchoqok/accountmanager.cpp:193
#63 0x00007fc74971646e in QObject::event (this=0x9902e0, e=<optimized out>) at kernel/qobject.cpp:1195
#64 0x00007fc74a0e2e9c in QApplicationPrivate::notify_helper (this=this@entry=0x9a2ec0, receiver=receiver@entry=0x9902e0, e=e@entry=0xe01e50) at kernel/qapplication.cpp:4562
#65 0x00007fc74a0e730a in QApplication::notify (this=0x7fffc134be30, receiver=0x9902e0, e=0xe01e50) at kernel/qapplication.cpp:4423
#66 0x00007fc74b4b9636 in KApplication::notify (this=0x7fffc134be30, receiver=0x9902e0, event=0xe01e50) at ../../kdeui/kernel/kapplication.cpp:311
#67 0x00007fc74970159e in QCoreApplication::notifyInternal (this=0x7fffc134be30, receiver=receiver@entry=0x9902e0, event=event@entry=0xe01e50) at kernel/qcoreapplication.cpp:915
#68 0x00007fc749705421 in sendEvent (event=0xe01e50, receiver=0x9902e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#69 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x90f000) at kernel/qcoreapplication.cpp:1539
#70 0x00007fc74972fa93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#71 postEventSourceDispatch (s=0x9a5400) at kernel/qeventdispatcher_glib.cpp:279
#72 0x00007fc745c7dab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007fc745c7dde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007fc745c7dea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#75 0x00007fc74972fc26 in QEventDispatcherGlib::processEvents (this=0x910540, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#76 0x00007fc74a187c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#77 0x00007fc7497002ef in QEventLoop::processEvents (this=this@entry=0x7fffc134bd00, flags=...) at kernel/qeventloop.cpp:149
#78 0x00007fc749700578 in QEventLoop::exec (this=0x7fffc134bd00, flags=...) at kernel/qeventloop.cpp:204
#79 0x00007fc749705738 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#80 0x0000000000409846 in main (argc=1, argv=0x7fffc134bf78) at /home/actionluzifer/Dokumente/sourcen/gits/choqok/choqok/main.cpp:63

Possible duplicates by query: bug 285930, bug 270698, bug 270377, bug 268815.

Reported using DrKonqi
Comment 1 Andrea Scarpino 2015-08-04 08:56:15 UTC
I suppose this is fixed now. Cannot reproduce with current git.