powertab / powertabeditor

View and edit guitar tablature.
https://powertab.github.io
GNU General Public License v3.0
547 stars 70 forks source link

Error when playing a tablature #501

Open alexisguerreroabg opened 21 hours ago

alexisguerreroabg commented 21 hours ago

Description Hello. I can't play this tablature: the-beatles-let_it_be.tar.gz

The error occurs immediately upon pressing play and throws the following:

Segmentation fault 0# 0x00005582E29473A7 in powertabeditor 1# 0x00005582E29477A7 in powertabeditor 2# 0x00007FB9D9C51E80 in /usr/lib/x86_64-linux-gnu/libc.so.6 3# QTransform::type() const in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6 4# QRasterPaintEngine::clip(QRect const&, Qt::ClipOperation) in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6 5# QPainter::setClipRect(QRect const&, Qt::ClipOperation) in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6 6# QPlainTextEdit::paintEvent(QPaintEvent) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 7# QWidget::event(QEvent) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 8# QFrame::event(QEvent) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 9# QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject, QEvent) in /usr/lib/x86_64-linux-gnu/libQt6Core.so.6 10# QApplicationPrivate::notify_helper(QObject, QEvent) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 11# QCoreApplication::notifyInternal2(QObject, QEvent) in /usr/lib/x86_64-linux-gnu/libQt6Core.so.6 12# QWidgetPrivate::sendPaintEvent(QRegion const&) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 13# QWidgetPrivate::drawWidget(QPaintDevice, QRegion const&, QPoint const&, QFlags, QPainter, QWidgetRepaintManager) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 14# QWidgetPrivate::paintSiblingsRecursive(QPaintDevice, QList<QObject> const&, int, QRegion const&, QPoint const&, QFlags, QPainter, QWidgetRepaintManager) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 15# QWidgetPrivate::paintSiblingsRecursive(QPaintDevice, QList<QObject> const&, int, QRegion const&, QPoint const&, QFlags, QPainter, QWidgetRepaintManager) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 16# QWidgetPrivate::paintSiblingsRecursive(QPaintDevice, QList<QObject> const&, int, QRegion const&, QPoint const&, QFlags, QPainter, QWidgetRepaintManager) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 17# QWidgetPrivate::paintSiblingsRecursive(QPaintDevice, QList<QObject> const&, int, QRegion const&, QPoint const&, QFlags, QPainter, QWidgetRepaintManager) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 18# QWidgetPrivate::paintSiblingsRecursive(QPaintDevice, QList<QObject> const&, int, QRegion const&, QPoint const&, QFlags, QPainter, QWidgetRepaintManager) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 19# QWidgetPrivate::drawWidget(QPaintDevice, QRegion const&, QPoint const&, QFlags, QPainter, QWidgetRepaintManager) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 20# QWidgetPrivate::paintSiblingsRecursive(QPaintDevice, QList<QObject> const&, int, QRegion const&, QPoint const&, QFlags, QPainter, QWidgetRepaintManager) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 21# QWidgetPrivate::paintSiblingsRecursive(QPaintDevice, QList<QObject> const&, int, QRegion const&, QPoint const&, QFlags, QPainter, QWidgetRepaintManager) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 22# QWidgetPrivate::paintSiblingsRecursive(QPaintDevice, QList<QObject> const&, int, QRegion const&, QPoint const&, QFlags, QPainter, QWidgetRepaintManager) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 23# QWidgetPrivate::drawWidget(QPaintDevice, QRegion const&, QPoint const&, QFlags, QPainter, QWidgetRepaintManager) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 24# QWidgetRepaintManager::paintAndFlush() in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 25# QWidgetRepaintManager::sync(QWidget, QRegion const&) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 26# 0x00007FB9DB813B26 in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 27# QApplicationPrivate::notify_helper(QObject, QEvent) in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6 28# QCoreApplication::notifyInternal2(QObject, QEvent) in /usr/lib/x86_64-linux-gnu/libQt6Core.so.6 29# QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent) in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6 30# QWindowSystemInterface::sendWindowSystemEvents(QFlags) in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6 31# 0x00007FB9DB331A44 in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6 32# g_main_context_dispatch in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 33# 0x00007FB9D9A402B8 in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 34# g_main_context_iteration in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 35# QEventDispatcherGlib::processEvents(QFlags) in /usr/lib/x86_64-linux-gnu/libQt6Core.so.6 36# QEventLoop::exec(QFlags) in /usr/lib/x86_64-linux-gnu/libQt6Core.so.6 37# QCoreApplication::exec() in /usr/lib/x86_64-linux-gnu/libQt6Core.so.6 38# 0x00005582E2943600 in powertabeditor 39# 0x00007FB9D9C3B08A in /usr/lib/x86_64-linux-gnu/libc.so.6 40# __libc_start_main in /usr/lib/x86_64-linux-gnu/libc.so.6 41# 0x00005582E2946A75 in powertabeditor

Backup folder: /home/myuser/.var/app/com.github.powertab.powertabeditor/data/powertab/powertabeditor/backup

To Reproduce 1.- Open Tablature 2.- Play

Version Power Tab Editor 2.0.21 (v2.0.21-0-g59302eb) Flathub Versión in Fedora Kinoite 41

cameronwhite commented 16 hours ago

Thanks for the report! I tested on macOS and with the flatpak build on Manjaro, and didn't get the crash - does it happen reliably for you with this file, and also do you get crashes with any other files?