Bug 353604 - drkonqui crashed on startup
Summary: drkonqui crashed on startup
Status: RESOLVED UPSTREAM
Alias: None
Product: drkonqi
Classification: Applications
Component: general (show other bugs)
Version: 5.4.2
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-06 13:20 UTC by Vit Pelcak
Modified: 2015-10-11 15:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vit Pelcak 2015-10-06 13:20:59 UTC
Hello.

On startup several things crashed and drkonqui as well.

As it doesn't support filing and sending bugreport directly, I'm doing it manually.

I got this trace reporte by drkonqui:
Application: drkonqi (drkonqi), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f263c8818c0 (LWP 27466))]

Thread 2 (Thread 0x7f2621dd8700 (LWP 27504)):
#0  0x00007f2637ff2e7d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f26310a7432 in poll (__timeout=-1, __nfds=1, __fds=0x7f2621dd7c00) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x1ca1400, cond=cond@entry=0x1ca1440, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f26310a9007 in xcb_wait_for_event (c=0x1ca1400) at xcb_in.c:693
#4  0x00007f262412be89 in QXcbEventReader::run (this=0x1cabad0) at qxcbconnection.cpp:1214
#5  0x00007f26386e1a9f in QThreadPrivate::start (arg=0x1cabad0) at thread/qthread_unix.cpp:331
#6  0x00007f26334454a4 in start_thread (arg=0x7f2621dd8700) at pthread_create.c:334
#7  0x00007f2637ffb80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f263c8818c0 (LWP 27466)):
[KCrash Handler]
#6  0x00007f26241441df in QXcbWindow::handleClientMessageEvent (this=0x1e335d0, event=0x7f261c0034d0) at qxcbwindow.cpp:1947
#7  0x00007f262412fc33 in QXcbConnection::handleXcbEvent (this=this@entry=0x1c9fc60, event=event@entry=0x7f261c0034d0) at qxcbconnection.cpp:1043
#8  0x00007f262413045b in QXcbConnection::processXcbEvents (this=0x1c9fc60) at qxcbconnection.cpp:1487
#9  0x00007f26388e0b89 in QObject::event (this=0x1c9fc60, e=<optimized out>) at kernel/qobject.cpp:1246
#10 0x00007f26395988fc in QApplicationPrivate::notify_helper (this=this@entry=0x1c908a0, receiver=receiver@entry=0x1c9fc60, e=e@entry=0x7f261c0032b0) at kernel/qapplication.cpp:3717
#11 0x00007f263959da06 in QApplication::notify (this=0x7ffd75254f80, receiver=0x1c9fc60, e=0x7f261c0032b0) at kernel/qapplication.cpp:3500
#12 0x00007f26388b2b33 in QCoreApplication::notifyInternal (this=0x7ffd75254f80, receiver=0x1c9fc60, event=event@entry=0x7f261c0032b0) at kernel/qcoreapplication.cpp:965
#13 0x00007f26388b4e56 in sendEvent (event=0x7f261c0032b0, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1c8f260) at kernel/qcoreapplication.cpp:1593
#15 0x00007f26388b5338 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#16 0x00007f2638905f33 in postEventSourceDispatch (s=0x1cc8ed0) at kernel/qeventdispatcher_glib.cpp:271
#17 0x00007f2632ac7cc7 in g_main_dispatch (context=0x7f261c0016f0) at gmain.c:3122
#18 g_main_context_dispatch (context=context@entry=0x7f261c0016f0) at gmain.c:3737
#19 0x00007f2632ac7ef8 in g_main_context_iterate (context=context@entry=0x7f261c0016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
#20 0x00007f2632ac7f9c in g_main_context_iteration (context=0x7f261c0016f0, may_block=may_block@entry=1) at gmain.c:3869
#21 0x00007f263890633f in QEventDispatcherGlib::processEvents (this=0x1cc9180, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#22 0x00007f26388b047a in QEventLoop::exec (this=this@entry=0x7ffd75254d90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#23 0x00007f26388b811d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#24 0x00007f2638dee1bc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1528
#25 0x00007f2639594fa5 in QApplication::exec () at kernel/qapplication.cpp:2977
#26 0x0000000000434ef3 in main (argc=19, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.4.1/drkonqi/main.cpp:150



Additionally, I chose option to debug in drkonqui and in gdb prompt ran "bt full".

This is the output:

(gdb) bt full
#0  0x00007f2637fcb9fd in nanosleep () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1  0x00007f2637fcb894 in __sleep (seconds=0, seconds@entry=1) at ../sysdeps/unix/sysv/linux/sleep.c:138
        ts = {tv_sec = 0, tv_nsec = 392833149}
        set = {__val = {65536, 0 <repeats 15 times>}}
        oset = {__val = {1024, 140726568828496, 3815434820, 139802197079856, 4294967295, 139802127836512, 15, 140726568828880, 
            0, 139802199195928, 15, 140726568828880, 0, 30063336, 0, 139802199258541}}
        result = <optimized out>
#2  0x00007f263c4bd563 in startProcessInternal (argc=15, argv=<optimized out>, waitAndExit=waitAndExit@entry=true, 
    directly=directly@entry=false) at /usr/src/debug/kcrash-5.14.0/src/kcrash.cpp:628
        pid = 28603
#3  0x00007f263c4bdb99 in KCrash::startProcess (argc=argc@entry=15, argv=argv@entry=0x7ffd75253ff0, 
    waitAndExit=waitAndExit@entry=true) at /usr/src/debug/kcrash-5.14.0/src/kcrash.cpp:594
        startDirectly = true
#4  0x00007f263c4bdff9 in KCrash::defaultCrashHandler (sig=<optimized out>) at /usr/src/debug/kcrash-5.14.0/src/kcrash.cpp:505
        argv = {0x1d64900 "/usr/lib64/libexec/drkonqi", 0x7f263c4bedd2 "-platform", 0x1ce4b68 "xcb", 0x7f263c4bee68 "-display", 
          0x1c98090 ":0", 0x7f263c4beddc "--appname", 0x1d28830 "drkonqi", 0x7f263c4bedf0 "--apppath", 
          0x1d28080 "/usr/lib64/libexec", 0x7f263c4bedfd "--signal", 0x7ffd752540e0 "11", 0x7f263c4bee0b "--pid", 
          0x7ffd752540f0 "27466", 0x7f263c4bee39 "--startupid", 0x1cd16a8 "0", 0x0, 
          0x2 <error: Cannot access memory at address 0x2>, 0x3 <error: Cannot access memory at address 0x3>, 
          0x7ffd752540a0 "\002", 0x1d65ce0 "H\025k", 0x7ffd752542f0 "\"\004", 0x7f26388b2852
     <QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*)+258> "\204\300\017\205\022\377\377\377I\213F0H\213@ D\213@\f\213H\bė’\017\037@", 0x2 <error: Cannot access memory at address 0x2>, 
          0x7ffd752543a0 <incomplete sequence \372>, 0x1e63460 "P\311\307\071&\177", 0x1d65ce0 "H\025k", 
          0x7ffd752542f0 "\"\004", 0x1c908a0 "\320Q\307\071&\177", 0x401 <error: Cannot access memory at address 0x401>}
        i = 15
        platformName = {static MaxSize = 1073741800, d = 0x1ce4b50}
        about = 0x0
        sigtxt = "11\000\001\000\000\000", <incomplete sequence \374\210>
        pidtxt = "27466", '\000' <repeats 14 times>
        startupId = {static MaxSize = 1073741800, d = 0x1cd1690}
        crashRecursionCounter = 2
#5  <signal handler called>
No locals.
#6  0x00007f26241441df in QXcbWindow::handleClientMessageEvent (this=0x1e335d0, event=0x7f261c0034d0) at qxcbwindow.cpp:1947
        reply = {response_type = 96 '`', format = 252 '\374', sequence = 457, window = 0, type = 605207172, data = {
            data8 = "&\177\000\000U\000\000\000\000\000\000\000\320\064\000\034\332\000\000", data16 = {32550, 0, 85, 0, 0, 0, 
              13520, 7168, 218, 0}, data32 = {32550, 85, 0, 469775568, 218}}}
        event = 0x7f261c0034d0
        this = 0x1e335d0
#7  0x00007f262412fc33 in QXcbConnection::handleXcbEvent (this=this@entry=0x1c9fc60, event=event@entry=0x7f261c0034d0)
    at qxcbconnection.cpp:1043
        result = 0
        dispatcher = <optimized out>
        handled = false
        response_type = 33
#8  0x00007f262413045b in QXcbConnection::processXcbEvents (this=0x1c9fc60) at qxcbconnection.cpp:1487
        accepted = false
        it = 0x7f263895fd10 <qt_array+48>
        event = 0x7f261c0034d0
        eventGuard = {d = 0x7f261c0034d0}
        response_type = <optimized out>
        i = <optimized out>
        connection_error = <optimized out>
        eventqueue = 0x1cabae8
#9  0x00007f26388e0b89 in QObject::event (this=0x1c9fc60, e=<optimized out>) at kernel/qobject.cpp:1246
        mce = <optimized out>
        sw = {receiver = 0x1c9fc60, previousSender = 0x0, currentSender = {sender = 0x1cabad0, signal = 5, ref = 1}, 
          switched = true}
#10 0x00007f26395988fc in QApplicationPrivate::notify_helper (this=this@entry=0x1c908a0, receiver=receiver@entry=0x1c9fc60, 
    e=e@entry=0x7f261c0032b0) at kernel/qapplication.cpp:3717
        consumed = <optimized out>
#11 0x00007f263959da06 in QApplication::notify (this=0x7ffd75254f80, receiver=0x1c9fc60, e=0x7f261c0032b0)
    at kernel/qapplication.cpp:3500
        w = 0x1c9fc60
        extra = <optimized out>
        isProxyWidget = <optimized out>
        res = false
#12 0x00007f26388b2b33 in QCoreApplication::notifyInternal (this=0x7ffd75254f80, receiver=0x1c9fc60, 
    event=event@entry=0x7f261c0032b0) at kernel/qcoreapplication.cpp:965
        result = false
        cbdata = {0x1c9fc60, 0x7f261c0032b0, 0x7ffd75254adf}
        d = <optimized out>
        threadData = 0x1c8f260
        loopLevelCounter = {threadData = 0x1c8f260}
#13 0x00007f26388b4e56 in sendEvent (event=0x7f261c0032b0, receiver=<optimized out>) at kernel/qcoreapplication.h:224
No locals.
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1c8f260)
    at kernel/qcoreapplication.cpp:1593
        e = 0x7f261c0032b0
        pe = <optimized out>
        r = <optimized out>
        unlocker = {m = <synthetic pointer>}
        event_deleter = {d = 0x7f261c0032b0}
        locker = {val = 29946504}
        startOffset = 0
        i = @0x1c8f27c: 1
        cleanup = {receiver = 0x0, event_type = 0, data = 0x1c8f260, exceptionCaught = true}
#15 0x00007f26388b5338 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0)
    at kernel/qcoreapplication.cpp:1451
        data = <optimized out>
#16 0x00007f2638905f33 in postEventSourceDispatch (s=0x1cc8ed0) at kernel/qeventdispatcher_glib.cpp:271
        source = 0x1cc8ed0
#17 0x00007f2632ac7cc7 in g_main_dispatch (context=0x7f261c0016f0) at gmain.c:3122
        dispatch = 0x7f2638905f20 <postEventSourceDispatch(GSource*, GSourceFunc, gpointer)>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x0
        callback = 0x0
        cb_funcs = <optimized out>
        cb_data = <optimized out>
---Type <return> to continue, or q <return> to quit---
        need_destroy = <optimized out>
        source = 0x1cc8ed0
        current = 0x1c8b670
        i = 0
#18 g_main_context_dispatch (context=context@entry=0x7f261c0016f0) at gmain.c:3737
No locals.
#19 0x00007f2632ac7ef8 in g_main_context_iterate (context=context@entry=0x7f261c0016f0, block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
        max_priority = 2147483647
        timeout = 602
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 5
        fds = 0x1e50340
#20 0x00007f2632ac7f9c in g_main_context_iteration (context=0x7f261c0016f0, may_block=may_block@entry=1) at gmain.c:3869
        retval = <optimized out>
#21 0x00007f263890633f in QEventDispatcherGlib::processEvents (this=0x1cc9180, flags=...) at kernel/qeventdispatcher_glib.cpp:418
        d = 0x1d26ba0
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#22 0x00007f26388b047a in QEventLoop::exec (this=this@entry=0x7ffd75254d90, flags=..., flags@entry=...)
    at kernel/qeventloop.cpp:204
        d = 0x1eb7dc0
        locker = {val = 29946704}
        ref = {d = 0x1eb7dc0, locker = @0x7ffd75254d20, exceptionCaught = true}
#23 0x00007f26388b811d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
        threadData = 0x1c8f260
        eventLoop = {<QObject> = {_vptr.QObject = 0x7f2638cf6518 <vtable for QEventLoop+16>, static staticMetaObject = {d = {
                superdata = 0x0, stringdata = 0x7f2638a05300 <qt_meta_stringdata_QObject>, 
                data = 0x7f2638a051e0 <qt_meta_data_QObject>, 
                static_metacall = 0x7f26388e7ab0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
                relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x1eb7dc0}, static staticQtMetaObject = {d = {
                superdata = 0x0, stringdata = 0x7f2638a4f400 <qt_meta_stringdata_Qt>, data = 0x7f2638a4ca00 <qt_meta_data_Qt>, 
                static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x7f2638cedbc0 <QObject::staticMetaObject>, 
              stringdata = 0x7f2638a643c0 <qt_meta_stringdata_QEventLoop>, data = 0x7f2638a64360 <qt_meta_data_QEventLoop>, 
              static_metacall = 0x7f263895a360 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
              relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#24 0x00007f2638dee1bc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1528
No locals.
#25 0x00007f2639594fa5 in QApplication::exec () at kernel/qapplication.cpp:2977
No locals.
#26 0x0000000000434ef3 in main (argc=19, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.4.1/drkonqi/main.cpp:150
        qa = {<QGuiApplication> = {<QCoreApplication> = {<QObject> = {
                _vptr.QObject = 0x7f2639c75248 <vtable for QApplication+16>, static staticMetaObject = {d = {superdata = 0x0, 
                    stringdata = 0x7f2638a05300 <qt_meta_stringdata_QObject>, data = 0x7f2638a051e0 <qt_meta_data_QObject>, 
                    static_metacall = 0x7f26388e7ab0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
                    relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x1c908a0}, static staticQtMetaObject = {d = {
                    superdata = 0x0, stringdata = 0x7f2638a4f400 <qt_meta_stringdata_Qt>, 
                    data = 0x7f2638a4ca00 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, 
                    extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7f2638cedbc0 <QObject::staticMetaObject>, 
                  stringdata = 0x7f2638a645a0 <qt_meta_stringdata_QCoreApplication>, 
                  data = 0x7f2638a64480 <qt_meta_data_QCoreApplication>, 
                  static_metacall = 0x7f263895a4e0 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x7ffd75254f80}, static staticMetaObject = {d = {
                superdata = 0x7f2638cf6660 <QCoreApplication::staticMetaObject>, 
                stringdata = 0x7f26391664e0 <qt_meta_stringdata_QGuiApplication>, 
                data = 0x7f26391662e0 <qt_meta_data_QGuiApplication>, 
                static_metacall = 0x7f2638df80f0 <QGuiApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x7f26394224e0 <QGuiApplication::staticMetaObject>, 
              stringdata = 0x7f2639919d20 <qt_meta_stringdata_QApplication>, data = 0x7f2639919ba0 <qt_meta_data_QApplication>, 
              static_metacall = 0x7f263959b340 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
              relatedMetaObjects = 0x0, extradata = 0x0}}}
        aboutData = {d = 0x1cd2550}
        parser = {d = 0x1ccfdb0}
        signalOption = {d = {d = 0x1ccfe10}}
        appNameOption = {d = {d = 0x1cd0d00}}
        appPathOption = {d = {d = 0x1d34f40}}
        appVersionOption = {d = {d = 0x1cd3ee0}}
        bugAddressOption = {d = {d = 0x1cd04a0}}
        programNameOption = {d = {d = 0x1cd29e0}}
        pidOption = {d = {d = 0x1cd2a40}}
        startupIdOption = {d = {d = 0x1cd4580}}
        kdeinitOption = {d = {d = 0x1d34d30}}
        saferOption = {d = {d = 0x1d34d90}}
        restartedOption = {d = {d = 0x1d35010}}
        keepRunningOption = {d = {d = 0x1d3ad70}}
        threadOption = {d = {d = 0x1d3add0}}
        startupId = {static null = {<No data fields>}, d = 0x1d3b150}
        w = 0x1d65ce0
        ret = <optimized out


Hopefully it will be useful.

Reproducible: Couldn't Reproduce
Comment 1 Christoph Cullmann 2015-10-11 15:18:19 UTC
That is a qt issue, that part could be fixed in 5.5.x

See https://bugreports.qt.io/browse/QTBUG-47041