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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|BACKTRACE                   |---
             Status|NEEDSINFO                   |REPORTED

--- Comment #4 from [email protected] ---
i cant provide much useful infomation. gdb always crash when im trying to debug
discover.
```
(gdb) run
Starting program: /usr/bin/plasma-discover 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffed5ff6c0 (LWP 2043) (id 2)]
[New Thread 0x7fffecba06c0 (LWP 2044) (id 3)]
[New Thread 0x7fffe7fff6c0 (LWP 2045) (id 4)]
/usr/include/c++/16/string_view:291: constexpr const
std::basic_string_view<_CharT, _Traits>::value_type&
std::basic_string_view<_CharT, _Traits>::back() const [with _CharT = char;
_Traits = std::char_traits<char>; const_reference = const char&]: Assertion
'this->_M_len > 0' failed.


Fatal signal: 已中止
----- Backtrace -----
0x55e1362e0481 ???
0x55e1364741ed ???
0x7fab3a83e6ef ???
0x7fab3a89a11c ???
0x7fab3a83e5cf gsignal
0x7fab3a825684 abort
0x7fab3ac9d5bc _ZSt21__glibcxx_assert_failPKciS0_S0_
0x55e136127f73 ???
0x55e13614257d ???
0x55e1363c4638 ???
0x55e1363c372a ???
0x55e1363c34b5 ???
0x7fab3a89d79b ???
0x7fab3a89d818 pthread_once
0x55e136e21e6e ???
0x7fab3acea858 ???
0x7fab3a898041 ???
0x7fab3a92072b ???
0xffffffffffffffff ???
---------------------
A fatal error internal to GDB has been detected, further
debugging is not possible.  GDB will now terminate.

This is a bug, please report it.  For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.

fish: 作业 1, 'gdb plasma-discover' 终止于信号 SIGABRT (中止)
```

but it catched something when i run gdb with sudo and attach a process. but
they might be useless just like screenshot.

```
(gdb) attach 1222
Attaching to process 1222
[New LWP 1720 (id 2)]
[New LWP 1439 (id 3)]
[New LWP 1430 (id 4)]
[New LWP 1429 (id 5)]
[New LWP 1424 (id 6)]
[New LWP 1423 (id 7)]
[New LWP 1422 (id 8)]
[New LWP 1421 (id 9)]
[New LWP 1420 (id 10)]
[New LWP 1419 (id 11)]
[New LWP 1417 (id 12)]
[New LWP 1416 (id 13)]
[New LWP 1415 (id 14)]
[New LWP 1289 (id 15)]
[New LWP 1288 (id 16)]
[New LWP 1275 (id 17)]
[New LWP 1271 (id 18)]
[New LWP 1270 (id 19)]
[New LWP 1261 (id 20)]
[New LWP 1260 (id 21)]
[New LWP 1234 (id 22)]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Switching to thread 1 (Thread 0x7f5b38c0fcc0 (LWP 1222))]
0x00007f5b3f776e55 in ?? () from /usr/lib/libc.so.6
(gdb) backtrace
#0  0x00007f5b3f776e55 in ?? () from /usr/lib/libc.so.6
#1  0x00007f5b40b8d732 in ?? () from /usr/lib/libQt6Gui.so.6
#2  0x00007f5b40b9f9e0 in ?? () from /usr/lib/libQt6Gui.so.6
#3  0x00007f5b40b9fea9 in QGridLayoutEngine::setGeometries(QRectF const&,
QAbstractLayoutStyleInfo const*) ()
   from /usr/lib/libQt6Gui.so.6
#4  0x00007f5b063356b0 in QQuickGridLayoutBase::rearrange(QSizeF const&) ()
   from /usr/lib/qt6/qml/QtQuick/Layouts/../../../../libQt6QuickLayouts.so.6
#5  0x00007f5b06331c16 in QQuickLayout::geometryChange(QRectF const&, QRectF
const&) ()
   from /usr/lib/qt6/qml/QtQuick/Layouts/../../../../libQt6QuickLayouts.so.6
#6  0x00007f5b41b8b19d in QQuickItem::setSize(QSizeF const&) () from
/usr/lib/libQt6Quick.so.6
#7  0x00007f5b06333bd6 in ?? () from
/usr/lib/qt6/qml/QtQuick/Layouts/../../../../libQt6QuickLayouts.so.6
#8  0x00007f5b40ba0066 in QGridLayoutEngine::setGeometries(QRectF const&,
QAbstractLayoutStyleInfo const*) ()
   from /usr/lib/libQt6Gui.so.6
#9  0x00007f5b063356b0 in QQuickGridLayoutBase::rearrange(QSizeF const&) ()
   from /usr/lib/qt6/qml/QtQuick/Layouts/../../../../libQt6QuickLayouts.so.6
#10 0x00007f5b06334c26 in QQuickLayout::updatePolish() ()
   from /usr/lib/qt6/qml/QtQuick/Layouts/../../../../libQt6QuickLayouts.so.6
#11 0x00007f5b41c66eb5 in QQuickWindowPrivate::polishItems() () from
/usr/lib/libQt6Quick.so.6
#12 0x00007f5b41ecacfd in ?? () from /usr/lib/libQt6Quick.so.6
#13 0x00007f5b41c67584 in QQuickWindow::event(QEvent*) () from
/usr/lib/libQt6Quick.so.6
#14 0x00007f5b4230325f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /usr/lib/libQt6Widgets.so.6
#15 0x00007f5b3ff822b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
   from /usr/lib/libQt6Core.so.6
#16 0x00007f5b408017f6 in QPlatformWindow::deliverUpdateRequest() () from
/usr/lib/libQt6Gui.so.6
#17 0x00007f5b3ffe6b96 in QObject::event(QEvent*) () from
/usr/lib/libQt6Core.so.6
#18 0x00007f5b4230325f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
--Type <RET> for more, q to quit, c to continue without paging--
```

after that, i can only get these with gdb.
```
(gdb) attach 1214
Attaching to process 1214
[New LWP 1516 (id 2)]
[New LWP 1495 (id 3)]
[New LWP 1494 (id 4)]
[New LWP 1493 (id 5)]
[New LWP 1492 (id 6)]
[New LWP 1491 (id 7)]
[New LWP 1490 (id 8)]
[New LWP 1489 (id 9)]
[New LWP 1488 (id 10)]
[New LWP 1487 (id 11)]
[New LWP 1359 (id 12)]
[New LWP 1358 (id 13)]
[New LWP 1313 (id 14)]
[New LWP 1301 (id 15)]
[New LWP 1300 (id 16)]
[New LWP 1298 (id 17)]
[New LWP 1297 (id 18)]
[New LWP 1250 (id 19)]
[New LWP 1249 (id 20)]
[New LWP 1237 (id 21)]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Switching to thread 1 (Thread 0x7f079fb44cc0 (LWP 1214))]
0x00007f07a6fd5dac in QObjectPrivate::maybeSignalConnected(unsigned int) const
() from /usr/lib/libQt6Core.so.6
```

i will add more when i can catch more infomation.

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

Reply via email to