pawelsalawa / sqlitestudio

A free, open source, multi-platform SQLite database manager.
https://sqlitestudio.pl
Other
4.67k stars 571 forks source link

Mac Installer and Mac Portable App Do Not Check and Verify System Requirements #5070

Open RobK88 opened 1 month ago

RobK88 commented 1 month ago

Details

The Mac Installer and Mac Portable App for sqlitestudio do not check and verify the system requirements needed to run sqlitestudio.

Steps to reproduce

Install the latest version of sqlitestudio on an Mac running an old Mac OS X version (e.g. 10.7.5 Lion) or just run the Mac Portable version of sqlitestudio on an Mac running an old Mac OS X version (e.g. 10.7.5 Lion).

Here is the crash report

Process:         launchd [1352]
Path:            /Volumes/VOLUME/SQLiteStudio.app/Contents/MacOS/SQLiteStudio
Identifier:      pl.com.salsoft.SQLiteStudio
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [155]

Date/Time:       2024-10-07 10:50:20.181 -0400
OS Version:      Mac OS X 10.7.5 (11G63)
Report Version:  9

Interval Since Last Report:          52482090 sec
Crashes Since Last Report:           81929
Per-App Crashes Since Last Report:   8
Anonymous UUID:                      333ACC6A-FE2F-4613-B7CD-033326BB6210

Crashed Thread:  Unknown

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007fff5fc01028

Backtrace not available

etc...
etc...

Operating system

Mac 10.7.5 Lion

SQLiteStudio version

3.4.4

Solution

For the installer, check the Mac OS X version and display a message that your Mac OS X version is too old. sqlitestudio requires MacOS version ???

For the portable version, the plist file should specify the minimum version that sqlitestudio requires. This will prevent sqlitestudio from running.

RobK88 commented 1 month ago

P.S. I tried to compile sqlitestudio from source on an Mac running Lion. No go. The latest reliable version of qt for mac is 5.6.3_14. It looks like sqlitestudio requires qt 5.12

When I have time, I will create a MacPorts Portfile for sqlitestudio for newer versions of MacOS. It looks like the minimum system requirements for sqlitestudio on the Mac is Sierra (10.12).

See https://wohlsoft.ru/wiki/index.php?title=Qt_versions_and_platforms&mobileaction=toggle_view_desktop