powertab / powertabeditor

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

Crash when saving Guitar Pro format #379

Closed codewing closed 2 years ago

codewing commented 2 years ago

Description Program crashes when saving from pt2 to gp

To Reproduce

  1. Download this song
  2. Open it
  3. Save As -> select the GP format and enter a name
  4. Crash

Additional Info

Segmentation fault 0# 0x00007FF7FDAC7208 in powertabeditor
 1# 0x00007FF7FDAC643B in powertabeditor
 2# 0x00007FF7FDAC7B6F in powertabeditor
 3# seh_filter_exe in ucrtbase
 4# 0x00007FF7FDC83F19 in powertabeditor
 5# _C_specific_handler in VCRUNTIME140
 6# _chkstk in ntdll
 7# RtlRaiseException in ntdll
 8# KiUserExceptionDispatcher in ntdll
 9# 0x00007FF7FDBB7068 in powertabeditor
10# 0x00007FF7FDBB77E5 in powertabeditor
11# 0x00007FF7FDB74250 in powertabeditor
12# 0x00007FF7FDB71219 in powertabeditor
13# 0x00007FF7FDAF00C6 in powertabeditor
14# 0x00007FF7FDAF0538 in powertabeditor
15# QObject::qt_static_metacall in Qt5Core
16# QAction::activate in Qt5Widgets
17# QMenu::actionGeometry in Qt5Widgets
18# QMenu::actionGeometry in Qt5Widgets
19# QMenu::mouseReleaseEvent in Qt5Widgets
20# QWidget::event in Qt5Widgets
21# QMenu::event in Qt5Widgets
22# QApplicationPrivate::notify_helper in Qt5Widgets
23# QApplication::notify in Qt5Widgets
24# QCoreApplication::notifyInternal2 in Qt5Core
25# QApplicationPrivate::sendMouseEvent in Qt5Widgets
26# QSizePolicy::QSizePolicy in Qt5Widgets
27# QSizePolicy::QSizePolicy in Qt5Widgets
28# QApplicationPrivate::notify_helper in Qt5Widgets
29# QApplication::notify in Qt5Widgets
30# QCoreApplication::notifyInternal2 in Qt5Core
31# QGuiApplicationPrivate::processMouseEvent in Qt5Gui
32# QWindowSystemInterface::sendWindowSystemEvents in Qt5Gui
33# QEventDispatcherWin32::processEvents in Qt5Core
34# qt_plugin_query_metadata in qwindows
35# QEventLoop::exec in Qt5Core
36# QCoreApplication::exec in Qt5Core
37# 0x00007FF7FDAC8D66 in powertabeditor
38# 0x00007FF7FDC6A187 in powertabeditor
39# 0x00007FF7FDC688CA in powertabeditor
40# BaseThreadInitThunk in KERNEL32
41# RtlUserThreadStart in ntdll

Version Windows 10 - Alpha 18 - g1f2771b2

cameronwhite commented 2 years ago

Thanks for the bug report! You can download an installer with the fix from https://github.com/powertab/powertabeditor/actions/runs/2144552655 once it's completed

codewing commented 2 years ago

Thanks for the fast fix!