Bug 348416 - crash on Windows during decryption when used with Quassel
Summary: crash on Windows during decryption when used with Quassel
Status: RESOLVED WORKSFORME
Alias: None
Product: qca
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Ivan Romanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-29 19:40 UTC by Martin Sandsmark
Modified: 2018-11-30 04:06 UTC (History)
1 user (show)

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


Attachments
output from the .dmp file (36.00 KB, text/plain)
2015-05-29 20:39 UTC, Martin Sandsmark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Sandsmark 2015-05-29 19:40:11 UTC
inline backtrace:

Thread 4 (Thread 2280.0xf20):
#0  0x029d6bd8 in ?? ()
No symbol table info available.
#1  0x67b81d9b in QCA::ProviderManager::~ProviderManager (this=0x530b148,
    __in_chrg=<optimized out>)
    at D:/kde/download/git/qca/src/qca_plugin.cpp:313
No locals.
#2  0x67b528fa in ~Global (this=0x530b0f8, __in_chrg=<optimized out>)
    at D:/kde/download/git/qca/src/qca_core.cpp:116
No locals.
#3  QCA::deinit () at D:/kde/download/git/qca/src/qca_core.cpp:274
        locker = <optimized out>
#4  0x004a4df7 in Cipher::neededFeaturesAvailable ()
    at D:/quassel-noqt/build/qt-apps/quassel/work/quassel-0.12.2/src/core/cipher
.cpp:495
        init = {<No data fields>}
#5  0x0044b4b5 in IrcParser::decrypt (this=0x2a656d0, network=0x52d3848,
    bufferName=..., message=..., isTopic=isTopic@entry=true)
    at D:/quassel-noqt/build/qt-apps/quassel/work/quassel-0.12.2/src/core/ircpar
ser.cpp:58
        cipher = <optimized out>
#6  0x0044e7b5 in IrcParser::processNetworkIncoming (
    this=this@entry=0x2a656d0, e=0x52f50e0)
    at D:/quassel-noqt/build/qt-apps/quassel/work/quassel-0.12.2/src/core/ircpar
ser.cpp:290
        channel = {static null = <optimized out>, d = 0x5305700}
        net = <optimized out>
        msg = {static MaxSize = 1073741808, d = 0x53062a8}
        trailing = {static MaxSize = 1073741808, d = 0x52e4510}
        idx = <optimized out>
        iter = <optimized out>
        cmd = {static null = <optimized out>, d = 0x52f6ba0}
        target = {static null = <optimized out>, d = 0x52f4c88}
        foo = {static null = <optimized out>, d = 0x52f6ba0}
        events = {<QListSpecialMethods<Event*>> = {<No data fields>}, {p = {
              static shared_null = <optimized out>,
              d = 0x68b31a04 <ZN9QListData11shared_nullE>},
            d = 0x68b31a04 <ZN9QListData11shared_nullE>}}
        num = <optimized out>
        defaultHandling = true
        prefix = {static null = <optimized out>, d = 0x53051e0}
        params = {<QListSpecialMethods<QByteArray>> = {<No data fields>}, {
            p = {static shared_null = <optimized out>, d = 0x530d328},
            d = 0x530d328}}
        type = EventManager::IrcEventNumeric
        decParams = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No d
ata fields>}, {p = {static shared_null = <optimized out>, d = 0x52e2548},
              d = 0x52e2548}}, <No data fields>}
#7  0x00403d3f in IrcParser::qt_static_metacall (_o=0x2a656d0,
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x502d918)
    at src/core/moc_ircparser.cpp:81
        _t = 0x2a656d0
#8  0x00410881 in IrcParser::qt_metacall (this=0x2a656d0,
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x502d918)
    at src/core/moc_ircparser.cpp:122
No locals.
#9  0x004d5939 in EventManager::dispatchEvent (this=this@entry=0x2a64a40,
    event=event@entry=0x52f50e0)
    at D:/quassel-noqt/build/qt-apps/quassel/work/quassel-0.12.2/src/common/even
tmanager.cpp:310
        obj = 0x2a656d0
        param = {0x0, 0x502d940}
        filters = {{d = 0x68b31960 <ZN9QHashData11shared_nullE>,
            e = 0x68b31960 <ZN9QHashData11shared_nullE>}}
        type = 65545
        handlers = {<QListSpecialMethods<EventManager::Handler>> = {<No data fie
lds>}, {p = {static shared_null = <optimized out>, d = 0x52e2640},
            d = 0x52e2640}}
        ignored = {q_hash = {{d = 0x68b31960 <ZN9QHashData11shared_nullE>,
              e = 0x68b31960 <ZN9QHashData11shared_nullE>}}}
        checkDupes = <optimized out>
        it = {i = 0x52e2650}
#10 0x004d5d98 in EventManager::processEvent (this=this@entry=0x2a64a40,
    event=0x52f50e0)
    at D:/quassel-noqt/build/qt-apps/quassel/work/quassel-0.12.2/src/common/even
tmanager.cpp:241
No locals.
#11 0x004d60ad in EventManager::postEvent (this=this@entry=0x2a64a40,
    event=0x52f50e0)
    at D:/quassel-noqt/build/qt-apps/quassel/work/quassel-0.12.2/src/common/even
tmanager.cpp:221
No locals.
#12 0x004b8680 in EventManager::qt_static_metacall (_o=0x2a64a40,
    _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x502dab8)
    at src/common/moc_eventmanager.cpp:254
        _t = 0x2a64a40
#13 0x68a64e31 in ZN11QMetaObject8activateEP7QObjectiiPPv ()
   from C:\Program Files (x86)\QuasselTest\Qt5Core.dll
No symbol table info available.
#14 0x004025f4 in CoreNetwork::newEvent (this=<optimized out>,
    _t1=_t1@entry=0x52f50e0) at src/core/moc_corenetwork.cpp:716
        _a = {0x0, 0x502dad0}
#15 0x00494371 in CoreNetwork::socketHasData (this=this@entry=0x52d3848)
    at D:/quassel-noqt/build/qt-apps/quassel/work/quassel-0.12.2/src/core/corene
twork.cpp:431
        s = {static MaxSize = 1073741808, d = 0x52fcfe0}
        event = 0x52f50e0
#16 0x00409848 in CoreNetwork::qt_static_metacall (_o=0x52d3848,
    _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0x502dc00)
    at src/core/moc_corenetwork.cpp:422
        _t = 0x52d3848
#17 0x68a64e31 in ZN11QMetaObject8activateEP7QObjectiiPPv ()
   from C:\Program Files (x86)\QuasselTest\Qt5Core.dll
No symbol table info available.
#18 0x68abe243 in ZN9QIODevice9readyReadEv ()
   from C:\Program Files (x86)\QuasselTest\Qt5Core.dll
No symbol table info available.
#19 0x052d38d8 in ?? ()
No symbol table info available.
#20 0x68abe243 in ZN9QIODevice9readyReadEv ()
   from C:\Program Files (x86)\QuasselTest\Qt5Core.dll
No symbol table info available.


Reproducible: Always

Steps to Reproduce:
connect to a Quassel core
Comment 1 Martin Sandsmark 2015-05-29 20:39:05 UTC
Created attachment 92914 [details]
output from the .dmp file

not sure if this is useful
Comment 2 Martin Sandsmark 2015-05-29 20:39:37 UTC
some other output, really doubt this is useful, though:

*** WARNING: Unable to verify timestamp for libqca-qt5.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for libqca-qt5.dll -
eax=68c505d5 ebx=064a12c0 ecx=03ae0ad0 edx=00000b55 esi=039e2c28 edi=03ae0a70
eip=70688970 esp=05e2d46c ebp=05e2d4c8 iopl=0         nv up ei pl nz na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202
70688970 ??              ???
Comment 3 Martin Sandsmark 2015-06-18 10:56:56 UTC
inlining the crashing code:

ProviderManager::~ProviderManager()
{
        if(def)
                def->deinit();
        unloadAll();
        delete def;
        g_pluginman = 0;
}
 
what is crashing is the unloadAll() call, so I suspect that it is a double free of the ProviderManager.
Comment 4 Andrew Crouthamel 2018-10-31 04:12:24 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-15 10:53:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2018-11-30 04:06:05 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!