Repository navigation
PostgreSQL client crash on connection pools #394
Description
Activity
Thanks, I'll take a look. The crash is coming from mit-krb5, and it doesn't look like the OmniOS packages enable GSS/KRB5 support, so that probably explains the difference.
This turned out to be caused by an incorrect configure argument in our mit-krb5 build, and also explains why I was previously seeing a crash when using a different application. I've committed a fix for this now, and there should be an updated
mit-krb5-1.21.3nb1package available in the repository in due course.Thank you so much. May I ask how much often upstream changes are committed to this fork of pkgsrc, and how often MNX rebuilds its package repository?
I have GitHub actions that sync my feature trees every hour with upstream. Updates to the package repository are usually every few days, the limit is how fast I can build 25,000+ packages, and if updates trigger most packages then it can take around 2 days for the build to complete.
Reacted by AndrewThanks, the new package revision has just reached me via
pkgin upgrade, and PGSQL client works nicely over pooled connections!Reacted by Jonathan Perkin- added 2 commits that reference this issue
on Jan 2, 2025 - added a commit that references this issue
on Jan 28, 2025 - added a commit that references this issue
on Jul 23, 2025 - added a commit that references this issue
on Nov 16, 2025 - added a commit that references this issue
on May 9, 2026 - added 2 commits that reference this issue
on May 14, 2026 6 remaining items
- added 8 commits that reference this issue
on May 14, 2026 - added 3 commits that reference this issue
on May 22, 2026 - added a commit that references this issue
on May 24, 2026 - added a commit that references this issue
on Jun 8, 2026 - added a commit that references this issue
on Jul 26, 2026 - added a commit that references this issue
on Jul 27, 2026
Trying to establish a connection pool via TCP/IP with a PGSQL server using a client installed from pkgsrc in a OmniOS r151052 pkgsrc zone, the client crashes and a core dump is generated:
I'm new to OmniOS and pkgsrc, and I'm not a dev, so I have no more clue how to better debug it.... thanks for any suggestion about this.
I can confirm that there is no problem by using the PostgreSQL client installed from IPS. I tried with several versions of both PostgreSQL client and server. The problem seems to be reproducible: it happened on two different servers.