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

--- Comment #5 from painless roaster <painless.roas...@gmail.com> ---
this is where it crashes:

(gdb) frame 0
#0  0x00007ffff759dba5 in QBoxLayout::itemAt (this=0x5555596e6c10, index=0) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/widgets/kernel/qboxlayout.cpp:692
692         return index >= 0 && index < d->list.size() ?
d->list.at(index)->item : nullptr;
(gdb) l
687         \reimp
688     */
689     QLayoutItem *QBoxLayout::itemAt(int index) const
690     {
691         Q_D(const QBoxLayout);
692         return index >= 0 && index < d->list.size() ?
d->list.at(index)->item : nullptr;
693     }
694
695     /*!
696         \reimp
(gdb) p d->list
$6 = {<QListSpecialMethods<QBoxLayoutItem*>> =
{<QListSpecialMethodsBase<QBoxLayoutItem*>> = {<No data fields>}, <No data
fields>}, d = {d = 0x555559661530, ptr = 0x555559661540, size = 1}}
(gdb) p d->list.d
$7 = {d = 0x555559661530, ptr = 0x555559661540, size = 1}
(gdb) p d->list.d.d
$8 = (QArrayDataPointer<QBoxLayoutItem*>::Data *) 0x555559661530
(gdb) p *d->list.d.d
$9 = {<QArrayData> = {ref_ = {_q_value = std::atomic<int> = { 1 }}, flags = {i
= 0}, alloc = 2}, <No data fields>}
(gdb) p d->list.d.ptr
$10 = (QBoxLayoutItem **) 0x555559661540
(gdb) p *d->list.d.ptr
$11 = (QBoxLayoutItem *) 0x3f46
(gdb) p **d->list.d.ptr
Cannot access memory at address 0x3f46

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

Reply via email to