Bug 268815 - choqok is crashing when exiting (QCA::ProviderManager::~ProviderManager)
Summary: choqok is crashing when exiting (QCA::ProviderManager::~ProviderManager)
Status: RESOLVED FIXED
Alias: None
Product: choqok
Classification: Applications
Component: Twitter (show other bugs)
Version: unspecified
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
: 261026 270377 270391 270463 270698 278306 285930 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-18 13:17 UTC by Balcaen John
Modified: 2011-11-12 14:09 UTC (History)
13 users (show)

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


Attachments
New crash information added by DrKonqi (4.02 KB, text/plain)
2011-06-11 20:29 UTC, phoenix092-kdebugs
Details
New crash information added by DrKonqi (5.27 KB, text/plain)
2011-10-07 07:30 UTC, Michele Gastaldo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Balcaen John 2011-03-18 13:17:56 UTC
Application: choqok (1.0)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.1
Operating System: Linux 2.6.37.4-desktop-1.mga x86_64
Distribution: "Mageia 1"

-- Information about the crash:
- What I was doing when the application crashed:
I simply quit choqok using the menu.
The application is also crashing when i'm closing the session.
All plugins are enabled
The package also have the fix for #262480, #268128, #237265, #265013, #267175 & #267852 if it can help.

Regards,

The crash can be reproduced every time.

-- Backtrace:
Application: Choqok (choqok), signal: Segmentation fault
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f9a1f09fca3 in QLibraryPrivate::unload (this=0x14e06d0) at plugin/qlibrary.cpp:455
#8  0x00007f9a1f098ed5 in QPluginLoader::unload (this=0x15514c0) at plugin/qpluginloader.cpp:251
#9  0x00007f9a0cfc6428 in ~PluginInstance (this=0x134aa10) at /usr/src/debug/qca-2.0.3/src/qca_plugin.cpp:160
#10 ~ProviderItem (this=0x134aa10) at /usr/src/debug/qca-2.0.3/src/qca_plugin.cpp:254
#11 QCA::ProviderManager::unloadAll (this=0x134aa10) at /usr/src/debug/qca-2.0.3/src/qca_plugin.cpp:521
#12 0x00007f9a0cfc66d0 in QCA::ProviderManager::~ProviderManager (this=0x134aa10, __in_chrg=<value optimized out>) at /usr/src/debug/qca-2.0.3/src/qca_plugin.cpp:313
#13 0x00007f9a0cf7da36 in QCA::Global::~Global (this=0x134a980, __in_chrg=<value optimized out>) at /usr/src/debug/qca-2.0.3/src/qca_core.cpp:95
#14 0x00007f9a0cf751e9 in QCA::deinit () at /usr/src/debug/qca-2.0.3/src/qca_core.cpp:244
#15 0x00007f9a0d44704d in ~InterfacePrivate (this=0x14e66f0, __in_chrg=<value optimized out>) at interface_p.h:44
#16 QOAuth::Interface::~Interface (this=0x14e66f0, __in_chrg=<value optimized out>) at interface.cpp:438
#17 0x00007f9a0d447159 in QOAuth::Interface::~Interface (this=0x14e66f0, __in_chrg=<value optimized out>) at interface.cpp:439
#18 0x00007f9a1f0c623f in QObjectPrivate::deleteChildren (this=0x11dec70) at kernel/qobject.cpp:1949
#19 0x00007f9a1f0cd23b in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#20 0x00007f9a207eec63 in Choqok::Account::~Account (this=0x11de680, __in_chrg=<value optimized out>) at /usr/src/debug/choqok-1.0/libchoqok/account.cpp:66
#21 0x00007f9a0d8b7f89 in LaconicaAccount::~LaconicaAccount (this=0x11de680, __in_chrg=<value optimized out>) at /usr/src/debug/choqok-1.0/microblogs/laconica/laconicaaccount.cpp:46
#22 0x00007f9a1f0c623f in QObjectPrivate::deleteChildren (this=0x11e1e70) at kernel/qobject.cpp:1949
#23 0x00007f9a1f0cd23b in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#24 0x00007f9a207f07b4 in Choqok::MicroBlog::~MicroBlog (this=0x1357a10, __in_chrg=<value optimized out>) at /usr/src/debug/choqok-1.0/libchoqok/microblog.cpp:53
#25 0x00007f9a0d6726a5 in TwitterApiMicroBlog::~TwitterApiMicroBlog (this=0x1357a10, __in_chrg=<value optimized out>)
    at /usr/src/debug/choqok-1.0/helperlibs/twitterapihelper/twitterapimicroblog.cpp:146
#26 0x00007f9a0d8b8a4e in LaconicaMicroBlog::~LaconicaMicroBlog (this=0x1357a10, __in_chrg=<value optimized out>) at /usr/src/debug/choqok-1.0/microblogs/laconica/laconicamicroblog.cpp:67
#27 0x00007f9a0d8b8ab9 in LaconicaMicroBlog::~LaconicaMicroBlog (this=0x1357a10, __in_chrg=<value optimized out>) at /usr/src/debug/choqok-1.0/microblogs/laconica/laconicamicroblog.cpp:70
#28 0x00007f9a207f4cab in ~PluginManagerPrivate () at /usr/src/debug/choqok-1.0/libchoqok/pluginmanager.cpp:70
#29 destroy () at /usr/src/debug/choqok-1.0/libchoqok/pluginmanager.cpp:96
#30 0x00007f9a1e908f31 in __run_exit_handlers () from /lib64/libc.so.6
#31 0x00007f9a1e908f85 in exit () from /lib64/libc.so.6
#32 0x00007f9a1e8f2c44 in __libc_start_main () from /lib64/libc.so.6
#33 0x0000000000408fc9 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Mehrdad Momeny 2011-03-19 20:05:07 UTC
the crash seems related to qca lib
Comment 2 Mehrdad Momeny 2011-04-09 07:15:07 UTC
*** Bug 270377 has been marked as a duplicate of this bug. ***
Comment 3 Mehrdad Momeny 2011-04-09 07:16:28 UTC
*** Bug 270463 has been marked as a duplicate of this bug. ***
Comment 4 Mehrdad Momeny 2011-04-12 06:36:03 UTC
*** Bug 270698 has been marked as a duplicate of this bug. ***
Comment 5 Darin McBride 2011-04-18 20:00:00 UTC
I get this consistently, too, whether with qca 2.0.2 or 2.0.3.  Perhaps it's just an order thing where objects are hanging around too long, and the library isn't being unloaded late enough?
Comment 6 phoenix092-kdebugs 2011-06-11 20:29:19 UTC
Created attachment 60912 [details]
New crash information added by DrKonqi

choqok (1.0) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:

I simply closed the application thanks to the cross in the upper right corner and the application crashed.

-- Backtrace (Reduced):
#8  0xb6f70d43 in QLibraryPrivate::unload (this=0x857a888) at plugin/qlibrary.cpp:455
#9  0xb6f6ad77 in QPluginLoader::unload (this=0x85a42b8) at plugin/qpluginloader.cpp:251
#10 0xb14f52db in QCA::PluginInstance::~PluginInstance (this=0x85a2d78, __in_chrg=<value optimized out>) at qca_plugin.cpp:160
#11 0xb14f56c3 in QCA::ProviderItem::~ProviderItem (this=0x83fc6c0, __in_chrg=<value optimized out>) at qca_plugin.cpp:254
#12 0xb14f37f2 in QCA::ProviderManager::unloadAll (this=0x8573748) at qca_plugin.cpp:521
Comment 7 Christoph Feck 2011-06-21 13:41:05 UTC
*** Bug 261026 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2011-06-21 13:41:49 UTC
*** Bug 270391 has been marked as a duplicate of this bug. ***
Comment 9 Mehrdad Momeny 2011-07-23 03:42:14 UTC
*** Bug 278306 has been marked as a duplicate of this bug. ***
Comment 10 Brad Hards 2011-08-24 09:57:52 UTC
Which QCA plugin(s) are you using?
Comment 11 Mehrdad Momeny 2011-08-25 01:20:30 UTC
Actually we use QtOAuth library https://github.com/ayoy/qoauth/wiki
And as mentioned there, it uses "OpenSSL plugin to QCA"
Comment 12 Mehrdad Momeny 2011-08-25 12:07:17 UTC
*** Bug 280679 has been marked as a duplicate of this bug. ***
Comment 13 Mehrdad Momeny 2011-08-25 12:12:39 UTC
(In reply to comment #12)
> *** Bug 280679 has been marked as a duplicate of this bug. ***

This was my fault :| two different bugs :D
Comment 14 Michele Gastaldo 2011-10-07 07:30:36 UTC
Created attachment 64300 [details]
New crash information added by DrKonqi

choqok (1.0) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.2

Same problem here: choqok crashes with segfault every time I quit the application.

-- Backtrace (Reduced):
#6  0x00007f22f23eeb8d in QLibraryPrivate::unload (this=0xfb9e60) at plugin/qlibrary.cpp:455
#7  0x00007f22f23e8e4d in QPluginLoader::unload (this=0xfb7030) at plugin/qpluginloader.cpp:251
#8  0x00007f22e0483945 in QCA::ProviderManager::unloadAll() () from /usr/lib/libqca.so.2
#9  0x00007f22e0483b80 in QCA::ProviderManager::~ProviderManager() () from /usr/lib/libqca.so.2
#10 0x00007f22e047eab6 in QCA::Global::~Global() () from /usr/lib/libqca.so.2
Comment 15 Mehrdad Momeny 2011-10-31 15:45:56 UTC
Git commit 4214713a3def2c50b16b17b3eabf6da24fec61cf by Mehrdad Momeny.
Committed on 31/10/2011 at 16:41.
Pushed by momeny into branch 'master'.

BUG:268815 Choqok crash on quite fixed

M  +2    -1    helperlibs/twitterapihelper/twitterapiaccount.cpp
M  +38   -38   helperlibs/twitterapihelper/twitterapimicroblog.cpp

http://commits.kde.org/choqok/4214713a3def2c50b16b17b3eabf6da24fec61cf
Comment 16 Christoph Feck 2011-11-12 14:04:00 UTC
*** Bug 285930 has been marked as a duplicate of this bug. ***
Comment 17 Christoph Feck 2011-11-12 14:09:15 UTC
Mehrdad, if you make a release with this bug fixed, please set the "Version Fixed In" information.