Application crashes on launch when built for debug with Qt 5.9.1
Steps to reproduce:
- build with make installdebug
- run the application
Expected behavior:
The application launches
Actual behavior:
The application crashes with a SIGABRT
Version number:
Issue was observed when trying to build the current master (49efff0)
Operating System:
Ubuntu 16.04 with Qt 5.9.1
I've pinpointed the issue to an incorrect handling of the case where indexOf
in Shortcut::getMenuShortcutString
fails. In this case the index is 0. If we pass a child with an empty title (e.g. a separator) the Q_ASSERT
in QString.at
will try to assert that 0 < 0 and fail.
Comments
Fixed in branch master, commit ec9be4b55f
fix #237396: Application crashes on launch when built for debug
Automatically closed -- issue fixed for 2 weeks with no activity.