https://bugs.kde.org/show_bug.cgi?id=397243

--- Comment #4 from Øystein Steffensen-Alværvik <yst...@posteo.net> ---
Here's a backtrace with gdb set to G_DEBUG=fatal-criticals. I hope I did it
right. I know you requested it in https://bugs.kde.org/show_bug.cgi?id=397144
but since Discover with snap backend freezes upon launch, I can't reproduce bug
397144 (but they're probably the same, as you say).

GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) handle SIG33 pass nostop noprint
Signal        Stop      Print   Pass to program Description
SIG33         No        No      Yes             Real-time event 33
(gdb) set pagination 0
(gdb) attach 24839
Attaching to process 24839
[New LWP 24840]
[New LWP 24841]
[New LWP 24842]
[New LWP 24843]
[New LWP 24844]
[New LWP 24845]
[New LWP 24846]
[New LWP 24850]
[New LWP 24854]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
_IO_new_file_overflow (f=0x7fce86608540 <_IO_2_1_stderr_>, ch=-1) at
fileops.c:808
808     fileops.c: No such file or directory.
(gdb) backtrace full
Python Exception <class 'gdb.error'> Attempt to dereference a generic pointer.: 
#0  0x00007fce862bd730 in _IO_new_file_overflow (f=0x7fce86608540
<_IO_2_1_stderr_>, ch=-1) at fileops.c:808
#1  0x00007fce862bc28d in _IO_new_file_xsputn (f=0x7fce86608540
<_IO_2_1_stderr_>, data=0x217c9720, n=112) at fileops.c:1331
        block_size = <optimized out>
        do_write = <optimized out>
        s = 0x217c9720 "\n(process:24839): GLib-CRITICAL **:
g_byte_array_remove_range: assertion 'index_ + length <= array->len' failed\n"
        to_do = 112
        must_flush = <optimized out>
        count = <optimized out>
        n = 112
        data = 0x217c9720
        f = 0x7fce86608540 <_IO_2_1_stderr_>
        s = 0x217c9720 "\n(process:24839): GLib-CRITICAL **:
g_byte_array_remove_range: assertion 'index_ + length <= array->len' failed\n"
        to_do = 112
#2  0x00007fce862b10c8 in __GI__IO_fputs (str=str@entry=0x217c9720
"\n(process:24839): GLib-CRITICAL **: g_byte_array_remove_range: assertion
'index_ + length <= array->len' failed\n", fp=fp@entry=0x7fce86608540
<_IO_2_1_stderr_>) at iofputs.c:38
        _IO_acquire_lock_file = 0x7fce86608540 <_IO_2_1_stderr_>
        len = 112
        result = -1
#3  0x00007fce80f8441f in g_log_default_handler (string=0x217c9720
"\n(process:24839): GLib-CRITICAL **: g_byte_array_remove_range: assertion
'index_ + length <= array->len' failed\n", stream=0x7fce86608540
<_IO_2_1_stderr_>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmessages.c:367
        level_prefix = "CRITICAL
**\000\316\177\000\000\060q,\206\316\177\000\000\360t,\206\316\177\000\000\360^\372$\376\177\000\000\060_\372$\376\177\000\000\000\000\000\000\000\000\000\000`A$"
        string = 0x217c9720 "\n(process:24839): GLib-CRITICAL **:
g_byte_array_remove_range: assertion 'index_ + length <= array->len' failed\n"
        gstring = 0x4c59f00
        stream = 0x7fce86608540 <_IO_2_1_stderr_>
        domains = <optimized out>
#4  0x00007fce80f8441f in g_log_default_handler
(log_domain=log_domain@entry=0x7fce80fc57ee "GLib",
log_level=log_level@entry=G_LOG_LEVEL_CRITICAL,
message=message@entry=0x217c4800 "g_byte_array_remove_range: assertion 'index_
+ length <= array->len' failed", unused_data=unused_data@entry=0x0) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmessages.c:1507
        level_prefix = "CRITICAL
**\000\316\177\000\000\060q,\206\316\177\000\000\360t,\206\316\177\000\000\360^\372$\376\177\000\000\060_\372$\376\177\000\000\000\000\000\000\000\000\000\000`A$"
        string = 0x217c9720 "\n(process:24839): GLib-CRITICAL **:
g_byte_array_remove_range: assertion 'index_ + length <= array->len' failed\n"
        gstring = 0x4c59f00
        stream = 0x7fce86608540 <_IO_2_1_stderr_>
        domains = <optimized out>
#5  0x00007fce80f849a4 in g_logv (log_domain=0x7fce80fc57ee "GLib",
log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>,
args=args@entry=0x7ffe24fa6010) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmessages.c:1059
        domain = 0x0
        data = 0x0
        depth = 1
        log_func = 0x7fce80f84220 <g_log_default_handler>
        domain_fatal_mask = <optimized out>
        masquerade_fatal = 0
        test_level = G_LOG_LEVEL_CRITICAL
        was_fatal = <optimized out>
        was_recursion = <optimized out>
        msg = 0x217c4800 "g_byte_array_remove_range: assertion 'index_ + length
<= array->len' failed"
        msg_alloc = 0x217c4800 "g_byte_array_remove_range: assertion 'index_ +
length <= array->len' failed"
        i = 3
#6  0x00007fce80f84bcf in g_log (log_domain=log_domain@entry=0x7fce80fc57ee
"GLib", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL,
format=format@entry=0x7fce80fcf374 "%s: assertion '%s' failed") at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmessages.c:1119
#7  0x00007fce80f84c09 in g_return_if_fail_warning
(log_domain=log_domain@entry=0x7fce80fc57ee "GLib",
pretty_function=pretty_function@entry=0x7fce80fc5f70 <__func__.5554>
"g_byte_array_remove_range", expression=expression@entry=0x7fce80fc5e67 "index_
+ length <= array->len") at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmessages.c:1134
#8  0x00007fce80f528ca in g_byte_array_remove_range (array=<optimized out>,
index_=<optimized out>, length=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/garray.c:1817
        __func__ = "g_byte_array_remove_range"
#9  0x00007fce4274577c in  () at /usr/lib/x86_64-linux-gnu/libsnapd-glib.so.1
#10 0x00007fce5534c901 in socket_source_dispatch (source=0x23d9800,
callback=0x7fce42745570, user_data=0x20f5b70) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./gio/gsocket.c:3543
        func = 0x7fce42745570
        socket_source = 0x23d9800
        socket = 0x267ca60 [GSocket]
        timeout = <optimized out>
        events = 1
        ret = <optimized out>
#11 0x00007fce80f7e04a in g_main_context_dispatch (context=0x7fce700016f0) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3154
        dispatch = 0x7fce5534c8b0 <socket_source_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x20f5b70
        callback = 0x7fce42745570
        cb_funcs = <optimized out>
        cb_data = 0x23d9880
        need_destroy = <optimized out>
        source = 0x23d9800
        current = 0x1168110
        i = 1
#12 0x00007fce80f7e04a in g_main_context_dispatch
(context=context@entry=0x7fce700016f0) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3769
#13 0x00007fce80f7e3f0 in g_main_context_iterate
(context=context@entry=0x7fce700016f0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3840
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 6
        fds = 0x4a2d7d0
#14 0x00007fce80f7e49c in g_main_context_iteration (context=0x7fce700016f0,
may_block=may_block@entry=1) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
        retval = <optimized out>
#15 0x00007fce86f5f09f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x1156dc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
        d = 0x1159250
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#16 0x00007fce7abe79a1 in
QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x1156dc0, flags=...) at qeventdispatcher_glib.cpp:69
        didSendEvents = <optimized out>
#17 0x00007fce86f065ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffe24fa63d0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:214
        d = 0x11db690
        locker = {val = 17877728}
        ref = {d = 0x11db690, locker = @0x7ffe24fa6350, exceptionCaught = true}
#18 0x00007fce86f0f6c4 in QCoreApplication::exec() () at
kernel/qcoreapplication.cpp:1336
        threadData = 0x110c9f0
        eventLoop = {<QObject> = {_vptr.QObject = 0x7fce873893c8 <vtable for
QEventLoop+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata =
0x7fce87091880 <qt_meta_stringdata_QObject>, data = 0x7fce87091760
<qt_meta_data_QObject>, static_metacall = 0x7fce86f3d0c0
<QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>,
relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x11db690}, static
staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7fce87094640
<qt_meta_stringdata_Qt>, data = 0x7fce870919a0 <qt_meta_data_Qt>,
static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static
staticMetaObject = {d = {superdata = 0x7fce87381a40
<QObject::staticMetaObject>, stringdata = 0x7fce8708c360
<qt_meta_stringdata_QEventLoop>, data = 0x7fce8708c300
<qt_meta_data_QEventLoop>, static_metacall = 0x7fce86f062f0
<QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>,
relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#19 0x00007fce87d4cf8c in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1762
#20 0x00007fce885612f5 in QApplication::exec() () at
kernel/qapplication.cpp:2901
#21 0x000000000041319f in main(int, char**) (argc=1, argv=<optimized out>) at
/workspace/build/discover/main.cpp:156
        app = {<QGuiApplication> = {<QCoreApplication> = {<QObject> =
{_vptr.QObject = 0x7fce88c3ba10 <vtable for QApplication+16>, static
staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7fce87091880
<qt_meta_stringdata_QObject>, data = 0x7fce87091760 <qt_meta_data_QObject>,
static_metacall = 0x7fce86f3d0c0 <QObject::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}},
d_ptr = {d = 0x110cf80}, static staticQtMetaObject = {d = {superdata = 0x0,
stringdata = 0x7fce87094640 <qt_meta_stringdata_Qt>, data = 0x7fce870919a0
<qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata =
0x0}}}, static staticMetaObject = {d = {superdata = 0x7fce87381a40
<QObject::staticMetaObject>, stringdata = 0x7fce8708c9a0
<qt_meta_stringdata_QCoreApplication>, data = 0x7fce8708c880
<qt_meta_data_QCoreApplication>, static_metacall = 0x7fce86f09d50
<QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int,
void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static self =
0x7ffe24fa64b0}, static staticMetaObject = {d = {superdata = 0x7fce87389560
<QCoreApplication::staticMetaObject>, stringdata = 0x7fce8810b0c0
<qt_meta_stringdata_QGuiApplication>, data = 0x7fce8810ae40
<qt_meta_data_QGuiApplication>, static_metacall = 0x7fce87d585b0
<QGuiApplication::qt_static_metacall(QObject*, QMetaObject::Call, int,
void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject
= {d = {superdata = 0x7fce883f1ec0 <QGuiApplication::staticMetaObject>,
stringdata = 0x7fce888e1380 <qt_meta_stringdata_QApplication>, data =
0x7fce888e1200 <qt_meta_data_QApplication>, static_metacall = 0x7fce88566480
<QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>,
relatedMetaObjects = 0x0, extradata = 0x0}}}
        about = {d = 0x11de960}
        mainWindow = 0x11dbd20
(gdb) x/16i $pc
=> 0x7fce862bd730 <_IO_new_file_overflow>:      mov    (%rdi),%ecx
   0x7fce862bd732 <_IO_new_file_overflow+2>:    test   $0x8,%cl
   0x7fce862bd735 <_IO_new_file_overflow+5>:    jne    0x7fce862bd8d0
<_IO_new_file_overflow+416>
   0x7fce862bd73b <_IO_new_file_overflow+11>:   test   $0x8,%ch
   0x7fce862bd73e <_IO_new_file_overflow+14>:   push   %r12
   0x7fce862bd740 <_IO_new_file_overflow+16>:   push   %rbp
   0x7fce862bd741 <_IO_new_file_overflow+17>:   mov    %esi,%ebp
   0x7fce862bd743 <_IO_new_file_overflow+19>:   push   %rbx
   0x7fce862bd744 <_IO_new_file_overflow+20>:   mov    %rdi,%rbx
   0x7fce862bd747 <_IO_new_file_overflow+23>:   je     0x7fce862bd798
<_IO_new_file_overflow+104>
   0x7fce862bd749 <_IO_new_file_overflow+25>:   mov    0x20(%rdi),%rsi
   0x7fce862bd74d <_IO_new_file_overflow+29>:   test   %rsi,%rsi
   0x7fce862bd750 <_IO_new_file_overflow+32>:   je     0x7fce862bd8f0
<_IO_new_file_overflow+448>
   0x7fce862bd756 <_IO_new_file_overflow+38>:   mov    0x28(%rdi),%rdx
   0x7fce862bd75a <_IO_new_file_overflow+42>:   cmp    $0xffffffff,%ebp
   0x7fce862bd75d <_IO_new_file_overflow+45>:   je     0x7fce862bd8b0
<_IO_new_file_overflow+384>
(gdb) thread apply all backtrace

Thread 10 (Thread 0x7fce33df3700 (LWP 24854)):
#0  0x00007fce8633e74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fce80f7e38c in g_main_context_iterate (priority=2147483647, n_fds=1,
fds=0x7fce280013a0, timeout=<optimized out>, context=0x7fce28000990) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fce80f7e38c in g_main_context_iterate
(context=context@entry=0x7fce28000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fce80f7e49c in g_main_context_iteration (context=0x7fce28000990,
may_block=may_block@entry=1) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007fce86f5f0bb in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fce280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fce86f065ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fce33df2cf0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:214
#6  0x00007fce86d3b5e4 in QThread::exec() (this=<optimized out>) at
thread/qthread.cpp:525
#7  0x00007fce86d46727 in QThreadPrivate::start(void*) (arg=0x2830c00) at
thread/qthread_unix.cpp:367
#8  0x00007fce82de36ba in start_thread (arg=0x7fce33df3700) at
pthread_create.c:333
#9  0x00007fce8634a41d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fce419d0700 (LWP 24850)):
#0  0x00007fce863444d9 in syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fce86d39fa4 in QSemaphore::acquire(int) (val3=0, addr2=0x0, val2=0,
val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:92
#2  0x00007fce86d39fa4 in QSemaphore::acquire(int) (expectedValue=<optimized
out>, futex=...) at thread/qfutex_p.h:107
#3  0x00007fce86d39fa4 in QSemaphore::acquire(int) (timeout=-1, nn=8589934593,
curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:221
#4  0x00007fce86d39fa4 in QSemaphore::acquire(int) (timeout=-1, n=1, u=...) at
thread/qsemaphore.cpp:264
#5  0x00007fce86d39fa4 in QSemaphore::acquire(int)
(this=this@entry=0x7fce419ce140, n=n@entry=1) at thread/qsemaphore.cpp:328
#6  0x00007fce86f351b6 in QMetaObject::activate(QObject*, int, int, void**)
(sender=sender@entry=0x23c7470, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at
kernel/qobject.cpp:3739
#7  0x00007fce86f35887 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x23c7470, m=m@entry=0x7fce8450d4c0
<QHttpThreadDelegate::staticMetaObject>,
local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at
kernel/qobject.cpp:3633
#8  0x00007fce842b6cb3 in QHttpThreadDelegate::encrypted()
(this=this@entry=0x23c7470) at .moc/moc_qhttpthreaddelegate_p.cpp:511
#9  0x00007fce84216378 in QHttpThreadDelegate::encryptedSlot() (this=0x23c7470)
at access/qhttpthreaddelegate.cpp:694
#10 0x00007fce842b7d3d in QHttpThreadDelegate::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at
.moc/moc_qhttpthreaddelegate_p.cpp:246
#11 0x00007fce86f34f79 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x7fce38009d40, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at
kernel/qobject.cpp:3771
#12 0x00007fce86f35887 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=<optimized out>, m=m@entry=0x7fce8450d300
<QHttpNetworkReply::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at
kernel/qobject.cpp:3633
#13 0x00007fce842b5db0 in QHttpNetworkReply::encrypted() (this=<optimized out>)
at .moc/moc_qhttpnetworkreply_p.cpp:338
#14 0x00007fce8420bc02 in QHttpNetworkConnectionChannel::_q_encrypted()
(this=0x7fce3800a018) at access/qhttpnetworkconnectionchannel.cpp:1234
#15 0x00007fce8420c4cd in
QHttpNetworkConnectionChannel::qt_static_metacall(QObject*, QMetaObject::Call,
int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>,
_a=<optimized out>) at .moc/moc_qhttpnetworkconnectionchannel_p.cpp:132
#16 0x00007fce86f34f79 in QMetaObject::activate(QObject*, int, int, void**)
(sender=sender@entry=0x7fce38007890, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at
kernel/qobject.cpp:3771
#17 0x00007fce86f35887 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x7fce38007890, m=m@entry=0x7fce8450c3c0
<QSslSocket::staticMetaObject>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x0) at kernel/qobject.cpp:3633
#18 0x00007fce8428c270 in QSslSocket::encrypted()
(this=this@entry=0x7fce38007890) at .moc/moc_qsslsocket.cpp:301
#19 0x00007fce842b1d77 in QSslSocketBackendPrivate::continueHandshake()
(this=0x7fce3800a590) at ssl/qsslsocket_opensslpre11.cpp:413
#20 0x00007fce842ae0db in QSslSocketBackendPrivate::startHandshake()
(this=this@entry=0x7fce3800a590) at ssl/qsslsocket_openssl.cpp:1018
#21 0x00007fce842aeac6 in QSslSocketBackendPrivate::transmit()
(this=0x7fce3800a590) at ssl/qsslsocket_openssl.cpp:730
#22 0x00007fce842918d1 in QSslSocket::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at .moc/moc_qsslsocket.cpp:180
#23 0x00007fce86f34f79 in QMetaObject::activate(QObject*, int, int, void**)
(sender=sender@entry=0x7fce3800aae0, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at
kernel/qobject.cpp:3771
#24 0x00007fce86f35887 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x7fce3800aae0, m=m@entry=0x7fce87386880
<QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x0) at kernel/qobject.cpp:3633
#25 0x00007fce86e41250 in QIODevice::readyRead()
(this=this@entry=0x7fce3800aae0) at .moc/moc_qiodevice.cpp:185
#26 0x00007fce8425c973 in QAbstractSocketPrivate::emitReadyRead(int)
(this=this@entry=0x7fce3800afa0, channel=channel@entry=0) at
socket/qabstractsocket.cpp:1307
#27 0x00007fce8425ca2c in QAbstractSocketPrivate::canReadNotification()
(this=0x7fce3800afa0) at socket/qabstractsocket.cpp:734
#28 0x00007fce84270371 in QReadNotifier::event(QEvent*) (this=<optimized out>,
e=<optimized out>) at socket/qnativesocketengine.cpp:1274
#29 0x00007fce8856139c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x7fce38007710, e=0x7fce419cfad0) at
kernel/qapplication.cpp:3727
#30 0x00007fce88568ab0 in QApplication::notify(QObject*, QEvent*)
(this=0x7ffe24fa64b0, receiver=0x7fce38007710, e=0x7fce419cfad0) at
kernel/qapplication.cpp:3486
#31 0x00007fce86f08228 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x7fce38007710, event=event@entry=0x7fce419cfad0) at
kernel/qcoreapplication.cpp:1048
#32 0x00007fce86f5fd1d in socketNotifierSourceDispatch(GSource*, GSourceFunc,
gpointer) (event=0x7fce419cfad0, receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#33 0x00007fce86f5fd1d in socketNotifierSourceDispatch(GSource*, GSourceFunc,
gpointer) (source=0x7fce380013a0) at kernel/qeventdispatcher_glib.cpp:106
#34 0x00007fce80f7e197 in g_main_context_dispatch (context=0x7fce38000990) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3154
#35 0x00007fce80f7e197 in g_main_context_dispatch
(context=context@entry=0x7fce38000990) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3769
#36 0x00007fce80f7e3f0 in g_main_context_iterate
(context=context@entry=0x7fce38000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3840
#37 0x00007fce80f7e49c in g_main_context_iteration (context=0x7fce38000990,
may_block=may_block@entry=1) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#38 0x00007fce86f5f0bb in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fce380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#39 0x00007fce86f065ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fce419cfcf0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:214
#40 0x00007fce86d3b5e4 in QThread::exec() (this=<optimized out>) at
thread/qthread.cpp:525
#41 0x00007fce86d46727 in QThreadPrivate::start(void*) (arg=0x242da00) at
thread/qthread_unix.cpp:367
#42 0x00007fce82de36ba in start_thread (arg=0x7fce419d0700) at
pthread_create.c:333
#43 0x00007fce8634a41d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fce531e0700 (LWP 24846)):
#0  0x00007fce8633e74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fce80f7e38c in g_main_context_iterate (priority=2147483647, n_fds=1,
fds=0x7fce48002870, timeout=<optimized out>, context=0x7fce48000990) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fce80f7e38c in g_main_context_iterate
(context=context@entry=0x7fce48000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fce80f7e49c in g_main_context_iteration (context=0x7fce48000990,
may_block=may_block@entry=1) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007fce86f5f09f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fce480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fce86f065ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fce531dfcf0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:214
#6  0x00007fce86d3b5e4 in QThread::exec() (this=<optimized out>) at
thread/qthread.cpp:525
#7  0x00007fce86d46727 in QThreadPrivate::start(void*) (arg=0x164fad0) at
thread/qthread_unix.cpp:367
#8  0x00007fce82de36ba in start_thread (arg=0x7fce531e0700) at
pthread_create.c:333
#9  0x00007fce8634a41d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fce539e1700 (LWP 24845)):
#0  0x00007fce8633e74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fce80f7e38c in g_main_context_iterate (priority=2147483647, n_fds=2,
fds=0x7fce440010c0, timeout=<optimized out>, context=0x2b73940) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fce80f7e38c in g_main_context_iterate (context=0x2b73940,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fce80f7e712 in g_main_loop_run (loop=0x2b738d0) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4034
#4  0x00007fce553b99d6 in gdbus_shared_thread_func (user_data=0x2b73910) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./gio/gdbusprivate.c:246
#5  0x00007fce80fa4bb5 in g_thread_proxy (data=0x1630cf0) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gthread.c:780
#6  0x00007fce82de36ba in start_thread (arg=0x7fce539e1700) at
pthread_create.c:333
#7  0x00007fce8634a41d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fce541e2700 (LWP 24844)):
#0  0x00007fce8633e74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fce80f7e38c in g_main_context_iterate (priority=2147483647, n_fds=1,
fds=0x7fce4c0008c0, timeout=<optimized out>, context=0x2b73120) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fce80f7e38c in g_main_context_iterate
(context=context@entry=0x2b73120, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fce80f7e49c in g_main_context_iteration (context=0x2b73120,
may_block=may_block@entry=1) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007fce80f7e4d9 in glib_worker_main (data=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:5672
#5  0x00007fce80fa4bb5 in g_thread_proxy (data=0x1630ca0) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gthread.c:780
#6  0x00007fce82de36ba in start_thread (arg=0x7fce541e2700) at
pthread_create.c:333
#7  0x00007fce8634a41d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fce5e1e6700 (LWP 24843)):
#0  0x00007fce8633e74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fce80f7e38c in g_main_context_iterate (priority=2147483647, n_fds=1,
fds=0x7fce580013c0, timeout=<optimized out>, context=0x7fce58000990) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fce80f7e38c in g_main_context_iterate
(context=context@entry=0x7fce58000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fce80f7e49c in g_main_context_iteration (context=0x7fce58000990,
may_block=may_block@entry=1) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007fce86f5f0bb in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fce580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fce86f065ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fce5e1e5c80, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:214
#6  0x00007fce86d3b5e4 in QThread::exec() (this=this@entry=0x2aeeee0) at
thread/qthread.cpp:525
#7  0x00007fce8a188f86 in QQuickPixmapReader::run() (this=0x2aeeee0) at
util/qquickpixmapcache.cpp:934
#8  0x00007fce86d46727 in QThreadPrivate::start(void*) (arg=0x2aeeee0) at
thread/qthread_unix.cpp:367
#9  0x00007fce82de36ba in start_thread (arg=0x7fce5e1e6700) at
pthread_create.c:333
#10 0x00007fce8634a41d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fce6e0fa700 (LWP 24842)):
#0  0x00007fce8633e74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fce80f7e38c in g_main_context_iterate (priority=2147483647, n_fds=1,
fds=0x7fce60002e70, timeout=<optimized out>, context=0x7fce60000990) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fce80f7e38c in g_main_context_iterate
(context=context@entry=0x7fce60000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fce80f7e49c in g_main_context_iteration (context=0x7fce60000990,
may_block=may_block@entry=1) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007fce86f5f09f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fce600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fce86f065ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fce6e0f9cd0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:214
#6  0x00007fce86d3b5e4 in QThread::exec() (this=this@entry=0x11d93a0) at
thread/qthread.cpp:525
#7  0x00007fce878c5195 in QQmlThreadPrivate::run() (this=0x11d93a0) at
qml/ftw/qqmlthread.cpp:148
#8  0x00007fce86d46727 in QThreadPrivate::start(void*) (arg=0x11d93a0) at
thread/qthread_unix.cpp:367
#9  0x00007fce82de36ba in start_thread (arg=0x7fce6e0fa700) at
pthread_create.c:333
#10 0x00007fce8634a41d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fce6f30b700 (LWP 24841)):
#0  0x00007fce8633e74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fce80f7e38c in g_main_context_iterate (priority=2147483647, n_fds=4,
fds=0x7fce68018cf0, timeout=<optimized out>, context=0x7fce68000990) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007fce80f7e38c in g_main_context_iterate
(context=context@entry=0x7fce68000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007fce80f7e49c in g_main_context_iteration (context=0x7fce68000990,
may_block=may_block@entry=1) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007fce86f5f0bb in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fce680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fce86f065ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fce6f30acc0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:214
#6  0x00007fce86d3b5e4 in QThread::exec() (this=this@entry=0x7fce88ef9d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:525
#7  0x00007fce88c80f35 in QDBusConnectionManager::run() (this=0x7fce88ef9d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x00007fce86d46727 in QThreadPrivate::start(void*) (arg=0x7fce88ef9d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:367
#9  0x00007fce82de36ba in start_thread (arg=0x7fce6f30b700) at
pthread_create.c:333
#10 0x00007fce8634a41d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fce78149700 (LWP 24840)):
#0  0x00007fce8633e74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fce80d1bc62 in _xcb_conn_wait (__timeout=-1, __nfds=1,
__fds=0x7fce78148bf0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007fce80d1bc62 in _xcb_conn_wait (c=c@entry=0x111d5c0,
cond=cond@entry=0x111d600, vector=vector@entry=0x0, count=count@entry=0x0) at
../../src/xcb_conn.c:459
#3  0x00007fce80d1d8d7 in xcb_wait_for_event (c=0x111d5c0) at
../../src/xcb_in.c:693
#4  0x00007fce7ab5e489 in QXcbEventReader::run() (this=0x1128610) at
qxcbconnection.cpp:1388
#5  0x00007fce86d46727 in QThreadPrivate::start(void*) (arg=0x1128610) at
thread/qthread_unix.cpp:367
#6  0x00007fce82de36ba in start_thread (arg=0x7fce78149700) at
pthread_create.c:333
#7  0x00007fce8634a41d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fce8b06d8c0 (LWP 24839)):
#0  0x00007fce862bd730 in _IO_new_file_overflow (f=0x7fce86608540
<_IO_2_1_stderr_>, ch=-1) at fileops.c:808
#1  0x00007fce862bc28d in _IO_new_file_xsputn (f=0x7fce86608540
<_IO_2_1_stderr_>, data=0x217c9720, n=112) at fileops.c:1331
#2  0x00007fce862b10c8 in __GI__IO_fputs (str=str@entry=0x217c9720
"\n(process:24839): GLib-CRITICAL **: g_byte_array_remove_range: assertion
'index_ + length <= array->len' failed\n", fp=fp@entry=0x7fce86608540
<_IO_2_1_stderr_>) at iofputs.c:38
#3  0x00007fce80f8441f in g_log_default_handler (string=0x217c9720
"\n(process:24839): GLib-CRITICAL **: g_byte_array_remove_range: assertion
'index_ + length <= array->len' failed\n", stream=0x7fce86608540
<_IO_2_1_stderr_>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmessages.c:367
#4  0x00007fce80f8441f in g_log_default_handler
(log_domain=log_domain@entry=0x7fce80fc57ee "GLib",
log_level=log_level@entry=G_LOG_LEVEL_CRITICAL,
message=message@entry=0x217c4800 "g_byte_array_remove_range: assertion 'index_
+ length <= array->len' failed", unused_data=unused_data@entry=0x0) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmessages.c:1507
#5  0x00007fce80f849a4 in g_logv (log_domain=0x7fce80fc57ee "GLib",
log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>,
args=args@entry=0x7ffe24fa6010) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmessages.c:1059
#6  0x00007fce80f84bcf in g_log (log_domain=log_domain@entry=0x7fce80fc57ee
"GLib", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL,
format=format@entry=0x7fce80fcf374 "%s: assertion '%s' failed") at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmessages.c:1119
#7  0x00007fce80f84c09 in g_return_if_fail_warning
(log_domain=log_domain@entry=0x7fce80fc57ee "GLib",
pretty_function=pretty_function@entry=0x7fce80fc5f70 <__func__.5554>
"g_byte_array_remove_range", expression=expression@entry=0x7fce80fc5e67 "index_
+ length <= array->len") at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmessages.c:1134
#8  0x00007fce80f528ca in g_byte_array_remove_range (array=<optimized out>,
index_=<optimized out>, length=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/garray.c:1817
#9  0x00007fce4274577c in  () at /usr/lib/x86_64-linux-gnu/libsnapd-glib.so.1
#10 0x00007fce5534c901 in socket_source_dispatch (source=0x23d9800,
callback=0x7fce42745570, user_data=0x20f5b70) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./gio/gsocket.c:3543
#11 0x00007fce80f7e04a in g_main_context_dispatch (context=0x7fce700016f0) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3154
#12 0x00007fce80f7e04a in g_main_context_dispatch
(context=context@entry=0x7fce700016f0) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3769
#13 0x00007fce80f7e3f0 in g_main_context_iterate
(context=context@entry=0x7fce700016f0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3840
#14 0x00007fce80f7e49c in g_main_context_iteration (context=0x7fce700016f0,
may_block=may_block@entry=1) at
/build/glib2.0-b4FPyK/glib2.0-2.48.2/./glib/gmain.c:3901
#15 0x00007fce86f5f09f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x1156dc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#16 0x00007fce7abe79a1 in
QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x1156dc0, flags=...) at qeventdispatcher_glib.cpp:69
#17 0x00007fce86f065ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffe24fa63d0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:214
#18 0x00007fce86f0f6c4 in QCoreApplication::exec() () at
kernel/qcoreapplication.cpp:1336
#19 0x00007fce87d4cf8c in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1762
#20 0x00007fce885612f5 in QApplication::exec() () at
kernel/qapplication.cpp:2901
#21 0x000000000041319f in main(int, char**) (argc=1, argv=<optimized out>) at
/workspace/build/discover/main.cpp:156
(gdb) quit
A debugging session is active.

        Inferior 1 [process 24839] will be detached.

Quit anyway? (y or n) y
Detaching from program: /usr/bin/plasma-discover, process 24839

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to