FS#70440 - [rz-cutter] segfoult in libqt5core
Attached to Project:
Community Packages
Opened by bartus (bartoszek) - Wednesday, 14 April 2021, 14:10 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 09 May 2023, 05:51 GMT
Opened by bartus (bartoszek) - Wednesday, 14 April 2021, 14:10 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 09 May 2023, 05:51 GMT
|
Details
Looks like a rebuild is required? ( rechecked in clean
docker image )
``` [root@29b92ac9ab38 /]# xvfb-run gdb cutter ... Reading symbols from cutter... (No debugging symbols found in cutter) (gdb) r Starting program: /usr/bin/cutter warning: Error disabling address space randomization: Operation not permitted [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7f6e1be0f640 (LWP 2107)] QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' [New Thread 0x7f6e19976640 (LWP 2108)] [New Thread 0x7f6e19175640 (LWP 2109)] [New Thread 0x7f6e18974640 (LWP 2110)] [New Thread 0x7f6e0e5a0640 (LWP 2111)] [New Thread 0x7f6e0dd9f640 (LWP 2112)] [New Thread 0x7f6e0d59e640 (LWP 2113)] [New Thread 0x7f6e0cd9d640 (LWP 2114)] [New Thread 0x7f6deffff640 (LWP 2115)] "0.2.0" "0.2.0" [New Thread 0x7f6def7fe640 (LWP 2116)] Plugins are loaded from "/root/.local/share/rizin/cutter/plugins" Loaded 0 plugin(s). Plugins are loaded from "/usr/local/share/rizin/cutter/plugins" Plugins are loaded from "/usr/share/rizin/cutter/plugins" Thread 1 "cutter" received signal SIGSEGV, Segmentation fault. 0x000055d0f4f22ac7 in ?? () (gdb) bt #0 0x000055d0f4f22ac7 in ?? () #1 0x00007f6e20eb19db in ?? () from /usr/lib/libQt5Core.so.5 #2 0x00007f6e20ebb982 in QSortFilterProxyModel::setSourceModel(QAbstractItemModel*) () from /usr/lib/libQt5Core.so.5 #3 0x000055d0f4fea581 in AddressableFilterProxyModel::setSourceModel(AddressableItemModelI*) () #4 0x000055d0f4fea5d8 in AddressableFilterProxyModel::AddressableFilterProxyModel(AddressableItemModelI*, QObject*) () #5 0x000055d0f4f233f1 in ?? () #6 0x000055d0f4ee2bf2 in ?? () #7 0x000055d0f4eea684 in ?? () #8 0x000055d0f4eeb9b7 in ?? () #9 0x000055d0f4f80341 in ?? () #10 0x000055d0f4e6f36d in ?? () #11 0x00007f6e2074ab25 in __libc_start_main () from /usr/lib/libc.so.6 #12 0x000055d0f4e77c6e in _start () ``` |
This task depends upon
```
(gdb) bt
#0 0x00005555556c3cd7 in ImportsModel::rowCount(QModelIndex const&) const ()
#1 0x00007ffff5b689db in () at /usr/lib/libQt5Core.so.5
#2 0x00007ffff5b72982 in QSortFilterProxyModel::setSourceModel(QAbstractItemModel*) () at /usr/lib/libQt5Core.so.5
#3 0x000055555578cc21 in AddressableFilterProxyModel::setSourceModel(AddressableItemModelI*) ()
#4 0x000055555578cc78 in AddressableFilterProxyModel::AddressableFilterProxyModel(AddressableItemModelI*, QObject*) ()
#5 0x00005555556c4601 in ImportsWidget::ImportsWidget(MainWindow*) ()
#6 0x00005555556832f2 in MainWindow::initDocks() ()
#7 0x000055555568ac04 in MainWindow::initUI() ()
#8 0x000055555568bf57 in MainWindow::MainWindow(QWidget*) ()
#9 0x0000555555721f11 in CutterApplication::CutterApplication(int&, char**) ()
#10 0x000055555560ef0d in main ()
```
https://github.com/rizinorg/cutter/pull/2664