Created attachment 202907 [details]
GDB log of the pgadmin3 crash
After wxGTK3.0 (x11-toolkits/wxgtk30, r493853) switched to gtk3 and webkit2, databases/pgadmin3 crashes at runtime, when starting a sql query:
1. Open an existing database
2. Open the query tool for a sql query: Tools -> Query tool
3. Core dump (see attachment of GDB output)
This is on FreeBSD 13.0-CURRENT amd64 r344972. The port builds and installs fine, many of pgadmin3's runtime functionalities also work fine.
Unfortunately, pgadmin3 is pretty useless without the query tool.
Please let me know, if you need the core file or if I can test something. Many thanks in advance.
If forgot to mention, that pgadmin3 throws two messages on the shell, before it crashes:
(pgadmin3:43087): Gdk-CRITICAL **: 14:34:13.679: The window 0x808d13320 already has a drawing context. You cannot call gdk_window_begin_draw_frame() without calling gdk_window_end_draw_frame() first.
(pgadmin3:43087): Gdk-CRITICAL **: 14:34:13.679: gdk_drawing_context_get_cairo_context: assertion 'GDK_IS_DRAWING_CONTEXT (context)' failed
WARNING: pgAdmin 3 is no longer supported. It is recommended that you download pgAdmin 4 instead.
2019-03-07 - pgAdmin 4 v4.3 Released
(In reply to w.schwarzenfeld from comment #2)
Of course, this is true. But we do not have pgAdmin IV in the ports until now and pgAdmin III was very functional until the change of wxGTK3.
A commit references this bug:
Date: Mon Dec 9 09:29:14 UTC 2019
New revision: 519598
- Add support for PostgreSQL 10 
- Add support for PostgreSQL 11 
- Fix query tool window crash 
- Bump PORTREVISION
PR: 236572, 238135
Submitted by: email@example.com 
Obtained from: Debian 
Fixed in pgadmin3-1.22.2_4