[Bug 232736] x11-wm/plasma5-kwin 5.14.2 hangs during configure phase

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 13 00:43:55 BST 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232736

--- Comment #14 from Alexander Kabaev <kan at FreeBSD.org> ---
Full backtrace of the crash. It does appear QT tries to destruct already freed
object:

Program terminated with signal SIGBUS, Bus error.
#0  0x00000008023af496 in QHashData::detach_helper (this=0x8038bf230,
    node_duplicate=0x801187640 <QHash<QMetaObject const*,
int>::duplicateNode(QHashData::Node*, void*)>, 
    node_delete=0x801186e50 <QHash<QMetaObject const*,
int>::deleteNode2(QHashData::Node*)>, nodeSize=32, nodeAlign=8)
    at tools/qhash.cpp:531
531                 Node *oldNode = buckets[i];
(gdb) print *this
$2 = {fakeNext = 0x5a5a5a5a5a5a5a5a, buckets = 0x5a5a5a5a5a5a5a5a, ref =
{atomic = {
      _q_value = {<std::__1::__atomic_base<int, true>> =
{<std::__1::__atomic_base<int, false>> = {__a_ = 1515870810, 
            static is_always_lock_free = <optimized out>}, <No data fields>},
<No data fields>}}}, size = 1515870810, 
  nodeSize = 1515870810, userNumBits = 23130, numBits = 23130, numBuckets =
1515870810, seed = 1515870810, 
  sharable = 0, strictAlignment = 1, reserved = 378967702, static shared_null =
{fakeNext = 0x0, buckets = 0x0, ref = {
      atomic = {_q_value = {<std::__1::__atomic_base<int, true>> =
{<std::__1::__atomic_base<int, false>> = {
              __a_ = -1, static is_always_lock_free = <optimized out>}, <No
data fields>}, <No data fields>}}}, 
    size = 0, nodeSize = 0, userNumBits = 4, numBits = 0, numBuckets = 0, seed
= 0, sharable = 1, strictAlignment = 0, 
    reserved = 0, static shared_null = <same as static member of an already
seen type>}}
(gdb) bt
#0  0x00000008023af496 in QHashData::detach_helper (this=0x8038bf230,
node_duplicate=
    0x801187640 <QHash<QMetaObject const*,
int>::duplicateNode(QHashData::Node*, void*)>, 
    node_delete=0x801186e50 <QHash<QMetaObject const*,
int>::deleteNode2(QHashData::Node*)>, nodeSize=32, nodeAlign=8)
    at tools/qhash.cpp:531
#1  0x00000008011875ff in QHash<QMetaObject const*, int>::detach_helper (
    this=0x801359558 <QQmlTypePrivate::attachedPropertyIds>) at
/usr/local/include/qt5/QtCore/qhash.h:599
#2  0x0000000801187509 in QHash<QMetaObject const*, int>::detach (
    this=0x801359558 <QQmlTypePrivate::attachedPropertyIds>) at
/usr/local/include/qt5/QtCore/qhash.h:275
#3  0x0000000801182010 in QHash<QMetaObject const*, int>::find (
    this=0x801359558 <QQmlTypePrivate::attachedPropertyIds>, 
    akey=@0x805ad9518: 0x80134f120 <QQmlComponent::staticMetaObject>) at
/usr/local/include/qt5/QtCore/qhash.h:901
#4  0x00000008011778c6 in QQmlType::~QQmlType (this=0x805b35d50) at
qml/qqmlmetatype.cpp:576
#5  0x0000000000220bb9 in QHashNode<QQmlType, QHashDummyValue>::~QHashNode
(this=0x805b35d40)
    at /usr/local/include/qt5/QtCore/qhash.h:149
#6  0x0000000000220abd in QHash<QQmlType, QHashDummyValue>::deleteNode2
(node=0x805b35d40)
    at /usr/local/include/qt5/QtCore/qhash.h:547
#7  0x00000008023af69a in QHashData::free_helper (this=0x805b32510, 
    node_delete=0x220aa0 <QHash<QQmlType,
QHashDummyValue>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:572
#8  0x0000000000220b23 in QHash<QQmlType, QHashDummyValue>::freeData
(this=0x805b35d38, x=0x805b32510)
    at /usr/local/include/qt5/QtCore/qhash.h:587
#9  0x00000000002214ba in QHash<QQmlType, QHashDummyValue>::~QHash
(this=0x805b35d38)
    at /usr/local/include/qt5/QtCore/qhash.h:254
#10 0x000000000021f265 in QSet<QQmlType>::~QSet (this=0x805b35d38) at
/usr/local/include/qt5/QtCore/qdatastream.h:60
#11 0x00000000002278c3 in QHashNode<QByteArray, QSet<QQmlType> >::~QHashNode
(this=0x805b35d20)
    at /usr/local/include/qt5/QtCore/qhash.h:149
#12 0x000000000022786d in QHash<QByteArray, QSet<QQmlType> >::deleteNode2
(node=0x805b35d20)
    at /usr/local/include/qt5/QtCore/qhash.h:547
#13 0x00000008023af69a in QHashData::free_helper (this=0x8038c0100, 
    node_delete=0x227850 <QHash<QByteArray, QSet<QQmlType>
>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:572
#14 0x0000000000227843 in QHash<QByteArray, QSet<QQmlType> >::freeData
(this=0x230038 <qmlTypesByCppName>, 
    x=0x8038c0100) at /usr/local/include/qt5/QtCore/qhash.h:587
#15 0x000000000021816a in QHash<QByteArray, QSet<QQmlType> >::~QHash
(this=0x230038 <qmlTypesByCppName>)
    at /usr/local/include/qt5/QtCore/qhash.h:254
#16 0x00000008028b8571 in __cxa_finalize (dso=0x0)
    at /export/poudriere/jails/pkgbuild/usr/src/lib/libc/stdlib/atexit.c:237
#17 0x00000008028496b1 in exit (status=0) at
/export/poudriere/jails/pkgbuild/usr/src/lib/libc/stdlib/exit.c:74
#18 0x0000000000211116 in _start (ap=<optimized out>, cleanup=<optimized out>)
    at /export/poudriere/jails/pkgbuild/usr/src/lib/csu/amd64/crt1.c:76

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list