kbuildsycoca5 crashing

Jeremy Whiting jpwhiting at kde.org
Sun May 10 12:13:15 UTC 2015


Hey all,

Somehow kbuildsycoca5 is crashing here lately. I nuked my whole kde
prefix (/usr/local) and rebuilt with packaged qt from my distro
(arch). But kbuildsycoca5 is crashing every time I run it with some
issue in QByteArray. Has anyone seen this lately/before or know how I
can get past it? One of my config files broken or something? (I miss
the days of ~/.kde where I could move that out of the way to figure
out issues like this...) Here's a backtrace of the crash. Currently
running in a gnome terminal in a gnome session to test and such while
the rest of kde builds...

[jeremy at chrom ~]$ kbuildsycoca5
Could not find drkonqi at /usr/local/lib/libexec/drkonqi
QDBusConnection: session D-Bus connection created before
QCoreApplication. Application may misbehave.
kbuildsycoca5 running...
kf5.kservice.sycoca: Trying to open ksycoca from "/home/jeremy/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from
"/home/jeremy/.local/share/kservices5/ksycoca5"
kf5.kservice.sycoca: Trying to open ksycoca from "/home/jeremy/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from
"/home/jeremy/.local/share/kservices5/ksycoca5"
kf5.kservice.sycoca: Trying to open ksycoca from "/home/jeremy/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from
"/home/jeremy/.local/share/kservices5/ksycoca5"
Recreating ksycoca file ("/home/jeremy/.cache/ksycoca5", version 300)
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kbuildsycoca5 path = /usr/local/bin pid = 30152
KCrash: Arguments: /usr/local/bin/kbuildsycoca5
Segmentation fault (core dumped)
[jeremy at chrom ~]$ gdb kbuildsycoca5
GNU gdb (GDB) 7.9
Copyright (C) 2015 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-unknown-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"...
Reading symbols from kbuildsycoca5...done.
(gdb) r
Starting program: /usr/local/bin/kbuildsycoca5
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Could not find drkonqi at /usr/local/lib/libexec/drkonqi
QDBusConnection: session D-Bus connection created before
QCoreApplication. Application may misbehave.
kbuildsycoca5 running...
kf5.kservice.sycoca: Trying to open ksycoca from "/home/jeremy/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from
"/home/jeremy/.local/share/kservices5/ksycoca5"
kf5.kservice.sycoca: Trying to open ksycoca from "/home/jeremy/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from
"/home/jeremy/.local/share/kservices5/ksycoca5"
kf5.kservice.sycoca: Trying to open ksycoca from "/home/jeremy/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from
"/home/jeremy/.local/share/kservices5/ksycoca5"
Recreating ksycoca file ("/home/jeremy/.cache/ksycoca5", version 300)

Program received signal SIGSEGV, Segmentation fault.
0x0000000000433644 in load<int> (_q_value=@0xffffffff: <error reading
variable>) at /usr/include/qt/QtCore/qgenericatomic.h:90
90        return _q_value;
(gdb) bt
#0  0x0000000000433644 in load<int> (_q_value=@0xffffffff: <error
reading variable>) at /usr/include/qt/QtCore/qgenericatomic.h:90
#1  QBasicAtomicInteger<int>::load (this=0xffffffff) at
/usr/include/qt/QtCore/qbasicatomic.h:110
#2  0x0000000000432038 in QtPrivate::RefCount::ref (this=0xffffffff)
at /usr/include/qt/QtCore/qrefcount.h:49
#3  0x000000000043242b in QByteArray::QByteArray (this=0x69b900,
a=...) at /usr/include/qt/QtCore/qbytearray.h:461
#4  0x00000000004334b5 in KSycocaResource::KSycocaResource
(this=0x69b900) at
/home/jeremy/devel/kde/src/frameworks/kservice/src/kbuildsycoca/ksycocaresourcelist.h:25
#5  0x00000000004363fb in
QLinkedListNode<KSycocaResource>::QLinkedListNode (this=0x69b8f0,
arg=...) at /usr/include/qt/QtCore/qlinkedlist.h:65
#6  0x0000000000437a59 in QLinkedList<KSycocaResource>::detach_helper2
(this=0x69b140, orgite=...) at
/usr/include/qt/QtCore/qlinkedlist.h:275
#7  0x00000000004363d0 in QLinkedList<KSycocaResource>::detach
(this=0x69b140) at /usr/include/qt/QtCore/qlinkedlist.h:99
#8  0x0000000000439209 in QLinkedList<KSycocaResource>::append
(this=0x69b140, t=...) at /usr/include/qt/QtCore/qlinkedlist.h:366
#9  0x00000000004391c2 in KSycocaResourceList::add (this=0x69b140,
resource=..., subdir=..., filter=...) at
/home/jeremy/devel/kde/src/frameworks/kservice/src/kbuildsycoca/ksycocaresourcelist.h:44
#10 0x000000000043bd8e in
KBuildServiceTypeFactory::KBuildServiceTypeFactory (this=0x697520) at
/home/jeremy/devel/kde/src/frameworks/kservice/src/kbuildsycoca/kbuildservicetypefactory.cpp:35
#11 0x000000000042e302 in KBuildSycoca::recreate (this=0x69b680) at
/home/jeremy/devel/kde/src/frameworks/kservice/src/kbuildsycoca/kbuildsycoca.cpp:413
#12 0x0000000000431684 in main (argc=1, argv=0x7fffffffe7f8) at
/home/jeremy/devel/kde/src/frameworks/kservice/src/kbuildsycoca/kbuildsycoca.cpp:788

BR,
Jeremy


More information about the Kde-frameworks-devel mailing list