Describe the bug
SQLPro Studio crashes when attempting to connect to PostgreSQL.
This reproduces with any PostgreSQL connection I try, including SQLPro's demo PostgreSQL connection. The crash happens during connection initialization, before a normal connection error/result is returned.
I could not find an open issue matching this current PostgreSQL connection crash. I found an older similar issue (#704), but it was from 2021 and was fixed at the time.
To Reproduce
Steps to reproduce the behavior:
- Open SQLPro Studio.
- Create or select any PostgreSQL connection.
- Attempt to connect.
- The app crashes.
This also reproduces with SQLPro's demo PostgreSQL connection.
Expected behavior
SQLPro should connect successfully, or show a normal connection error if the server/settings are invalid.
Screenshots
Not applicable. I can provide the macOS crash report.
Additional details
Environment:
- Product: SQLPro Studio
- Installation source: Setapp
- App version: 2026.163
- Build: 111249
- Bundle ID:
com.hankinsoft.sqlpro-studio-setapp
- Platform: macOS
- macOS version: 15.3.2 (24D81)
- Architecture: Apple Silicon / ARM64
- Device model: MacBookPro18,1
Crash summary:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Crashed Thread: 18 Dispatch queue: com.apple.root.default-qos
Relevant crashing stack:
Thread 18 Crashed:
0 ??? 0x0 ???
1 libpq pg_vsnprintf + 72
2 libpq appendPQExpBufferVA + 68
3 libpq appendPQExpBuffer + 80
4 libpq emitHostIdentityInfo + 276
5 libpq PQconnectPoll + 1800
6 libpq pqConnectDBStart + 116
7 libpq PQconnectStart + 64
8 libpq PQconnectdb + 16
9 SQLProPostgresCore -[PostgresDatabaseClient connect:sshDelegate:] + 1812
10 HSShared __55-[SQLProConnectionWindowController doConnect:password:]_block_invoke.359 + 244
The ARM thread state also shows a null program counter / fault address:
pc: 0x0000000000000000
far: 0x0000000000000000
esr: 0x82000006 (Instruction Abort) Translation fault
Since this reproduces with multiple PostgreSQL servers, including the demo connection, this does not appear to be server-specific. The stack suggests the crash is happening inside the bundled libpq / SQLProPostgresCore connection path while calling PQconnectdb.
Full crash log
Product
SQLPro Studio
App version
2026.163
Platform
macOS
Installation source
Setapp
Describe the bug
SQLPro Studio crashes when attempting to connect to PostgreSQL.
This reproduces with any PostgreSQL connection I try, including SQLPro's demo PostgreSQL connection. The crash happens during connection initialization, before a normal connection error/result is returned.
I could not find an open issue matching this current PostgreSQL connection crash. I found an older similar issue (#704), but it was from 2021 and was fixed at the time.
To Reproduce
Steps to reproduce the behavior:
This also reproduces with SQLPro's demo PostgreSQL connection.
Expected behavior
SQLPro should connect successfully, or show a normal connection error if the server/settings are invalid.
Screenshots
Not applicable. I can provide the macOS crash report.
Additional details
Environment:
com.hankinsoft.sqlpro-studio-setappCrash summary:
Relevant crashing stack:
The ARM thread state also shows a null program counter / fault address:
Since this reproduces with multiple PostgreSQL servers, including the demo connection, this does not appear to be server-specific. The stack suggests the crash is happening inside the bundled
libpq/SQLProPostgresCoreconnection path while callingPQconnectdb.Full crash log
Product
SQLPro Studio
App version
2026.163
Platform
macOS
Installation source
Setapp