Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Andreas Radke (AndyRTR) - Thursday, 15 April 2021, 13:34 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

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

Comment by bartus (bartoszek) - Wednesday, 14 April 2021, 14:20 GMT
back trace from unstripped binary
```
(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 ()
```
Comment by Levente Polyak (anthraxx) - Thursday, 15 April 2021, 14:04 GMT
please report this upstream, this looks more like a logic/application bug rather then distro specific problem.
Comment by bartus (bartoszek) - Thursday, 15 April 2021, 14:06 GMT
Will do.
Comment by Giuseppe (G-G) - Sunday, 18 April 2021, 10:09 GMT Comment by bartus (bartus) - Sunday, 18 April 2021, 12:06 GMT
Applied in `rz-cutter-git` AUR package
Comment by Karlis Senko (karliss) - Tuesday, 27 April 2021, 06:29 GMT
2.0.2 update resolved the QT issue, but it fails to run due to being linked against rizin 0.2.0 instead of 0.2.1 .
Comment by Giuseppe (G-G) - Monday, 03 May 2021, 11:57 GMT
last version (2.0.2-2) works for me

Loading...