-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Details for the issue
I am working with a fresh build (May 3, 2020).
I open a *.sqbpro project file created with the actual version 3.11.2-1.
It loads without error messages or warnings.
I open the TableBrowser to view table contents. The program crashes on some of the tables.
What did you expect to see?
The table content.
What did you see instead?
The program crashes with a segmentation fault.
Useful extra information
The error message on the command line is:
QFont::fromString: Invalid description '(empty)'
I rebuilt in Qt Creator.
When debugging, the crash happens in TableBrowser.cpp, line 786.
Relevant parts of the call stack:
1 TableBrowser::applySettings TableBrowser.cpp 786 0x5555557b6946
2 TableBrowser::unlockViewEditing TableBrowser.cpp 938 0x5555557b7803
3 TableBrowser::applySettings TableBrowser.cpp 777 0x5555557b684c
4 TableBrowser::updateTable TableBrowser.cpp 544 0x5555557b3ba4
5 TableBrowser::qt_static_metacall moc_TableBrowser.cpp 317 0x555555807bd2
It seems that, after parsing the older *.sqbpro XML file, some checks for unset values are missing when the results are applied to the UI.
The error message is not pointing to the real reason for the crash.
I think there should be a quiet and error-free migration from the v.3.11 project file format to 3.12.
What operating system are you using?
ArchLinux 5.6.10
What is your DB4S version?
Current build from source, 3.12.0-(alpha or betas)
Did you also
- Try out the latest nightly version: https://github.com/sqlitebrowser/sqlitebrowser#nightly-builds
- Search for an existing similar issue: https://github.com/sqlitebrowser/sqlitebrowser/issues?utf8=%E2%9C%93&q=is%3Aissue%20