Bug 339875

Summary: Plasma plasmapkg2 Master seems to crash on QT 5.4
Product: [Plasma] plasmashell Reporter: bluescreenavenger
Component: generalAssignee: Sebastian Kügler <sebas>
Status: RESOLVED FIXED    
Severity: crash CC: bhush94
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bluescreenavenger 2014-10-11 12:32:24 UTC
I recently rebuilt all of KDE Frameworks and plasma framework master against QT 5.4. I don't know if I am missing something or it is an actual bug, as I use my own scripts to build all the frameworks with the default settings (except I use the prefix /opt)



Reproducible: Always


Actual Results:  
I get this stack trace. I hope it's not too large, as I can't find any place to attach it as a file

#0  0xb7fdbc7c in __kernel_vsyscall ()
No symbol table info available.
#1  0xb74d4577 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = <optimized out>
        resultvar = <optimized out>
        pid = -1218117632
        selftid = 2868
#2  0xb74d5cf3 in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x806a248, 
            sa_sigaction = 0x806a248}, sa_mask = {__val = {134651528, 
              370023680, 3084140532, 3087003648, 3085945080, 1, 3221219760, 
              3086926129, 3085945520, 2999591872, 1, 1, 0, 3221219912, 
              134652328, 3086951600, 3221219732, 3084142224, 3078107352, 
              3078014440, 3221219784, 3078602976, 3, 3075129624, 3221219844, 
              3078602846, 3221219844, 3084140532, 1, 0, 3221219800, 
              3086951600}}, sa_flags = -1073747452, 
          sa_restorer = 0xb74d5bb0 <__GI_abort>}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0xb78008f1 in qt_message_fatal (context=..., message=...)
    at /srcbuild/qtbase/src/corelib/global/qlogging.cpp:1411
No locals.
#4  0xb77fce8e in QMessageLogger::fatal (this=0xbfffea48, 
    msg=0xb7e95748 "Accessed invalid KPluginInfo object")
    at /srcbuild/qtbase/src/corelib/global/qlogging.cpp:639
        message = {static null = {<No data fields>}, d = 0x806a1a8}
        ap = 0xbfffea28 "\264\001"
#5  0xb7e767ba in KPluginInfo::property (this=0xbfffeb38, key=...)
    at /srcbuild/kf5-kservice/src/services/kplugininfo.cpp:436
        __PRETTY_FUNCTION__ = "QVariant KPluginInfo::property(const QString&) const"
#6  0x0805395c in Plasma::PlasmaPkg::runMain (this=0xbffff0bc)
    at /srcbuild/plasma-framework/src/plasmapkg/plasmapkg.cpp:150
        package = {d = {d = 0x80695b0}}
        serviceType = {static null = {<No data fields>}, 
          d = 0x80623e0 <QArrayData::shared_null>}
        structure = 0x8067b58
        type = {static null = {<No data fields>}, d = 0x8068808}
        packageRoot = {static null = {<No data fields>}, d = 0x8068808}
        __PRETTY_FUNCTION__ = "void Plasma::PlasmaPkg::runMain()"
#7  0x0805967e in Plasma::PlasmaPkg::qt_static_metacall (_o=0xbffff0bc, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x8067dc8)
    at /srcbuild/plasma-framework/build/src/plasmapkg/moc_plasmapkg.cpp:77
        _t = 0xbffff0bc
#8  0xb7a77858 in QMetaCallEvent::placeMetaCall (this=0x80683c8, 
    object=0xbffff0bc) at /srcbuild/qtbase/src/corelib/kernel/qobject.cpp:485
No locals.
#9  0xb7a788ea in QObject::event (this=0xbffff0bc, e=0x80683c8)
    at /srcbuild/qtbase/src/corelib/kernel/qobject.cpp:1245
        mce = 0x80683c8
        sw = {receiver = 0xbffff0bc, previousSender = 0x0, currentSender = {
            sender = 0x0, signal = -1, ref = 1}, switched = true}
#10 0xb7a3daff in QCoreApplication::event (this=0xbffff0bc, e=0x80683c8)
    at /srcbuild/qtbase/src/corelib/kernel/qcoreapplication.cpp:1671
No locals.
#11 0xb7a3c49d in QCoreApplicationPrivate::notify_helper (this=0x80644b0, 
    receiver=0xbffff0bc, event=0x80683c8)
    at /srcbuild/qtbase/src/corelib/kernel/qcoreapplication.cpp:1049
No locals.
#12 0xb7a3c12a in QCoreApplication::notify (this=0xbffff0bc, 
    receiver=0xbffff0bc, event=0x80683c8)
    at /srcbuild/qtbase/src/corelib/kernel/qcoreapplication.cpp:994
        d = 0x80644b0
        __PRETTY_FUNCTION__ = "virtual bool QCoreApplication::notify(QObject*, QEvent*)"
#13 0xb7a3c009 in QCoreApplication::notifyInternal (this=0xbffff0bc, 
    receiver=0xbffff0bc, event=0x80683c8)
    at /srcbuild/qtbase/src/corelib/kernel/qcoreapplication.cpp:932
        threadData = 0x8063b80
        loopLevelCounter = {threadData = 0x8063b80}
        result = false
        cbdata = {0xbffff0bc, 0x80683c8, 0xbfffed53}
        d = 0x80644b0
#14 0xb7a4002c in QCoreApplication::sendEvent (receiver=0xbffff0bc, 
    event=0x80683c8)
    at ../../include/QtCore/../../../src/corelib/kernel/qcoreapplication.h:228
No locals.
#15 0xb7a3d32d in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x8063b80)
    at /srcbuild/qtbase/src/corelib/kernel/qcoreapplication.cpp:1536
        e = 0x80683c8
        pe = @0x8068044: {receiver = 0xbffff0bc, event = 0x0, priority = 0}
        r = 0xbffff0bc
        unlocker = {m = @0xbfffedcc}
        event_deleter = {d = 0x80683c8}
        __PRETTY_FUNCTION__ = "static void QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)"
        locker = {val = 134626204}
        startOffset = 0
        i = @0x8063b94: 2
        cleanup = {receiver = 0x0, event_type = 0, data = 0x8063b80, 
          exceptionCaught = true}
#16 0xb7a3cdb7 in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0)
    at /srcbuild/qtbase/src/corelib/kernel/qcoreapplication.cpp:1394
        data = 0x8063b80
#17 0xb7ab5f94 in postEventSourceDispatch (s=0x8064368)
    at /srcbuild/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:271
        source = 0x8064368
#18 0xb5b34ac4 in g_main_dispatch (context=<optimized out>) at gmain.c:3122
        user_data = 0x0
        callback = 0x0
        cb_funcs = 0x6
        source = 0x8064368
        current = 0x8064d98
        i = 6
#19 g_main_context_dispatch (context=0x0) at gmain.c:3721
No locals.
#20 0xb5b34de9 in g_main_context_iterate (context=0x8064e00, block=6, 
    block@entry=1, dispatch=1, self=<optimized out>) at gmain.c:3792
        max_priority = 0
        timeout = 0
        some_ready = 1
        fds = 0x1
#21 0xb5b34eb6 in g_main_context_iteration (context=0x8064e00, may_block=1)
    at gmain.c:3853
        retval = <optimized out>
#22 0xb7ab66fc in QEventDispatcherGlib::processEvents (this=0x80641a8, 
    flags=...)
    at /srcbuild/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:418
        d = 0x8064e78
        canWait = true
        savedFlags = {i = 0}
        result = 163
#23 0xb7a389e3 in QEventLoop::processEvents (this=0xbffff058, flags=...)
    at /srcbuild/qtbase/src/corelib/kernel/qeventloop.cpp:128
        d = 0x8069348
#24 0xb7a38cf6 in QEventLoop::exec (this=0xbffff058, flags=...)
    at /srcbuild/qtbase/src/corelib/kernel/qeventloop.cpp:204
        locker = {val = 134626312}
        __PRETTY_FUNCTION__ = "int QEventLoop::exec(QEventLoop::ProcessEventsFlags)"
        ref = {d = 0x8069348, locker = @0xbfffeff4, exceptionCaught = true}
        app = 0xbffff0bc
        d = 0x8069348
#25 0xb7a3c7df in QCoreApplication::exec ()
    at /srcbuild/qtbase/src/corelib/kernel/qcoreapplication.cpp:1185
        threadData = 0x8063b80
        __PRETTY_FUNCTION__ = "static int QCoreApplication::exec()"
        eventLoop = {<QObject> = {
            _vptr.QObject = 0xb7d430e8 <vtable for QEventLoop+8>, 
            static staticMetaObject = {d = {superdata = 0x0, 
                stringdata = 0xb7c3afc0 <qt_meta_stringdata_QObject>, 
                data = 0xb7c3b0c0 <qt_meta_data_QObject>, 
                static_metacall = 0xb7a818ae <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, 
                extradata = 0x0}}, d_ptr = {d = 0x8069348}, 
            static staticQtMetaObject = {d = {superdata = 0x0, 
                stringdata = 0xb7c4b540 <qt_meta_stringdata_Qt>, 
                data = 0xb7c536c0 <qt_meta_data_Qt>, static_metacall = 0x0, 
                relatedMetaObjects = 0x0, extradata = 0x0}}}, 
          static staticMetaObject = {d = {
              superdata = 0xb7d3f6f0 <QObject::staticMetaObject>, 
              stringdata = 0xb7c5ec40 <qt_meta_stringdata_QEventLoop>, 
              data = 0xb7c5ecc0 <qt_meta_data_QEventLoop>, 
              static_metacall = 0xb7b1128e <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, 
              extradata = 0x0}}}
        returnCode = -1073745680
#26 0x08052741 in main (argc=1, argv=0xbffff184)
    at /srcbuild/plasma-framework/src/plasmapkg/main.cpp:74
        parser = {d = 0x8064480}
        app = {<QCoreApplication> = {<QObject> = {
              _vptr.QObject = 0x805de48 <vtable for Plasma::PlasmaPkg+8>, 
              static staticMetaObject = {d = {superdata = 0x0, 
                  stringdata = 0xb7c3afc0 <qt_meta_stringdata_QObject>, 
                  data = 0xb7c3b0c0 <qt_meta_data_QObject>, 
                  static_metacall = 0xb7a818ae <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, 
                  extradata = 0x0}}, d_ptr = {d = 0x80644b0}, 
              static staticQtMetaObject = {d = {superdata = 0x0, 
                  stringdata = 0xb7c4b540 <qt_meta_stringdata_Qt>, 
                  data = 0xb7c536c0 <qt_meta_data_Qt>, static_metacall = 0x0, 
                  relatedMetaObjects = 0x0, extradata = 0x0}}}, 
            static staticMetaObject = {d = {
                superdata = 0xb7d3f6f0 <QObject::staticMetaObject>, 
                stringdata = 0xb7c5ee00 <qt_meta_stringdata_QCoreApplication>, 
                data = 0xb7c5efc0 <qt_meta_data_QCoreApplication>, 
                static_metacall = 0xb7b113f4 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, 
                extradata = 0x0}}, static self = 0xbffff0bc}, 
          static staticMetaObject = {d = {
              superdata = 0x806242c <QCoreApplication::staticMetaObject>, 
              stringdata = 0x805dbc0 <qt_meta_stringdata_Plasma__PlasmaPkg>, 
              data = 0x805dc80 <qt_meta_data_Plasma__PlasmaPkg>, 
              static_metacall = 0x805964e <Plasma::PlasmaPkg::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, 
              extradata = 0x0}}, d = 0x8067be8}
        description = {static null = {<No data fields>}, d = 0x8068400}
        version = "2.0"
A debugging session is active.

	Inferior 1 [process 2868] will be killed.

Quit anyway? (y or n)
Comment 1 Marco Martin 2014-10-16 08:46:33 UTC
Git commit 7f9693746f437da98c8b3a5d229ea8a1f0185842 by Marco Martin.
Committed on 16/10/2014 at 08:45.
Pushed by mart into branch 'master'.

crash--
Change-Id: Ic8ab63853fa9b58dd83e1aa868e9599b0e37f09e

M  +1    -1    src/plasmapkg/plasmapkg.cpp

http://commits.kde.org/plasma-framework/7f9693746f437da98c8b3a5d229ea8a1f0185842