NetBSD Problem Report #30997
From erh@swapsimple.com Tue Aug 16 00:21:48 2005
Return-Path: <erh@swapsimple.com>
Received: from neal.swapsimple.com (neal.swapsimple.com [66.225.208.96])
by narn.netbsd.org (Postfix) with ESMTP id 528D463B116
for <gnats-bugs@gnats.NetBSD.org>; Tue, 16 Aug 2005 00:21:48 +0000 (UTC)
Message-Id: <20050816002147.CFD646C6B26@poe.swapsimple.com>
Date: Mon, 15 Aug 2005 19:21:47 -0500 (CDT)
From: erh@swapsimple.com
Reply-To: erh@swapsimple.com
To: gnats-bugs@netbsd.org
Subject: pgadmin3 crashes on too many env variables
X-Send-Pr-Version: 3.95
>Number: 30997
>Category: pkg
>Synopsis: pgadmin3 crashes on too many env variables
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: joerg
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 16 00:22:00 +0000 2005
>Closed-Date: Wed Mar 19 14:40:45 +0000 2008
>Last-Modified: Wed Mar 19 14:40:45 +0000 2008
>Originator: Eric Haszlakiewicz
>Release: NetBSD 3.99.7
>Organization:
>Environment:
See PR 30996 for details of packages installed.
System: NetBSD poe.swapsimple.com 3.99.7 NetBSD 3.99.7 (POE) #12: Sun Jul 24 12:28:42 CDT 2005 erh@poe.swapsimple.com:/usr/build/POE i386
Architecture: i386
Machine: i386
>Description:
When there are more than 30 environment variables defined, pgadmin3
crashes right after displaying a splash screen.
>How-To-Repeat:
Assuming the bug in PR#30996 is fixed or worked around, do something like
so:
env -i /bin/sh
export DISPLAY=:0.0
pgadmin3
# notice that it works.
# exit
for f in 1 2 3 ; do
for g in 1 2 3 4 5 6 7 8 9 10; do
eval export X$f$g=x
done
done
pgadmin3
# notice that it crashes.
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: joerg@netbsd.org
State-Changed-When: Wed, 27 Dec 2006 15:14:49 +0000
State-Changed-Why:
Does this still apply for a current pkgsrc tree?
From: erh <erh@swapsimple.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/30997 (pgadmin3 crashes on too many env variables)
Date: Wed, 27 Dec 2006 12:21:34 -0600
joerg@netbsd.org wrote:
>Synopsis: pgadmin3 crashes on too many env variables
>
>State-Changed-From-To: open->feedback
>State-Changed-By: joerg@netbsd.org
>State-Changed-When: Wed, 27 Dec 2006 15:14:49 +0000
>State-Changed-Why:
>Does this still apply for a current pkgsrc tree?
>
>
>
>
dunno. I'll try it in the next few days and let you know.
From: Eric Haszlakiewicz <erh@swapsimple.com>
To: gnats-bugs@NetBSD.org
Cc: joerg@netbsd.org
Subject: Re: pkg/30997 (pgadmin3 crashes on too many env variables)
Date: Sun, 31 Dec 2006 12:53:27 -0600
On Wed, Dec 27, 2006 at 03:14:50PM +0000, joerg@netbsd.org wrote:
> Synopsis: pgadmin3 crashes on too many env variables
>
> State-Changed-From-To: open->feedback
> State-Changed-By: joerg@netbsd.org
> State-Changed-When: Wed, 27 Dec 2006 15:14:49 +0000
> State-Changed-Why:
> Does this still apply for a current pkgsrc tree?
>
Yes, it still applies. However, it seems to crash now even without all
the environment variables set. It does marginally better if I run it
with most variables cleared out.
If I open one of the menus at the top before clicking on the server,
and again before clicking on a database to open, then it seems to mostly
work, but it's still very fragile.
I now get errors popping up saying
"Failed to display HTML document in ISO-8859-1 encoding", but those
happen regardless of the number of environment variables set.
On stdout I also get messages saying:
(pgadmin3:1784) Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
and
pgadmin3 in free(): warning: modified (chunk-) pointer.
So, there's definitely things broken, but I don't know if it relates to
the original problem in any way.
Here's what I have installed now:
pgadmin3-1.4.2nb1
wxGTK-2.6.3nb
wxGTK-contrib-2.6.3nb1
postgresql80-client-8.0.9
Other dependencies:
MesaLib-6.4.2nb2
Xfixes-2.0.1nb4
Xft2-2.1.7nb2
Xrandr-1.0.2nb3
Xrender-0.9.0nb1
atk-1.12.3
cairo-1.2.6
expat-2.0.0nb1
fontconfig-2.4.2
freetype2-2.2.1nb2
glib2-2.12.4nb1
glitz-0.5.6nb2
glu-6.4.2
gtk2+-2.10.6
jpeg-6bnb3
pango-1.14.8
perl-5.8.7nb3
png-1.2.14
readline-5.0
tiff-3.8.2nb3
xcursor-1.1.2nb2
xdg-dirs-1.4
office: uname -a
NetBSD office.swapsimple.com 4.99.5 NetBSD 4.99.5 (GENERIC) #0: Mon Dec 4 17:24:07 UTC 2006 builds@b2.netbsd.org:/home/builds/ab/HEAD/i386/200612040000Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386
office: X -version
XFree86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System:NetBSD/i386 3.99.7 - The NetBSD Foundation, Inc.
Current Operating System: NetBSD office.swapsimple.com 4.99.5 NetBSD 4.99.5 (GENERIC) #0: Mon Dec 4 17:24:07 UTC 2006 builds@b2.netbsd.org:/home/builds/ab/HEAD/i386/200612040000Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386
Build Date: 22 July 2005
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Command line: X -version
State-Changed-From-To: feedback->open
State-Changed-By: wiz@netbsd.org
State-Changed-When: Mon, 01 Jan 2007 04:29:45 +0000
State-Changed-Why:
Feedback provided.
Responsible-Changed-From-To: pkg-manager->joerg
Responsible-Changed-By: joerg@netbsd.org
Responsible-Changed-When: Tue, 02 Jan 2007 13:56:28 +0000
Responsible-Changed-Why:
debugging it.
From: Joerg Sonnenberger <joerg@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/30997 CVS commit: pkgsrc/databases/pgadmin3
Date: Tue, 2 Jan 2007 16:49:34 +0000 (UTC)
Module Name: pkgsrc
Committed By: joerg
Date: Tue Jan 2 16:49:34 UTC 2007
Modified Files:
pkgsrc/databases/pgadmin3: Makefile
Log Message:
Mark this officially as broken for now. See PR 30997 for further
reasons.
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 pkgsrc/databases/pgadmin3/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/30997 (pgadmin3 crashes on too many env variables)
Date: Tue, 2 Jan 2007 17:51:13 +0100
The problem is that wxUtffile is overriding a non-virtual base class and
beside other problems, the length calculation in the read method is
completely broken. Adding 4 to -1 is a classical integer overflow.
I've marked this as broken for now. I'm working on updating it, but that
needs a newer wxGTK as well.
Joerg
From: Lubomir Sedlacik <salo@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/30997 CVS commit: [pkgsrc-2006Q4] pkgsrc/databases/pgadmin3
Date: Tue, 2 Jan 2007 22:29:53 +0000 (UTC)
Module Name: pkgsrc
Committed By: salo
Date: Tue Jan 2 22:29:53 UTC 2007
Modified Files:
pkgsrc/databases/pgadmin3 [pkgsrc-2006Q4]: Makefile
Log Message:
Pullup ticket 1972 - requested by joerg
mark pgadmin3 as BROKEN
Revisions pulled up:
- pkgsrc/databases/pgadmin3/Makefile 1.5
Module Name: pkgsrc
Committed By: joerg
Date: Tue Jan 2 16:49:34 UTC 2007
Modified Files:
pkgsrc/databases/pgadmin3: Makefile
Log Message:
Mark this officially as broken for now. See PR 30997 for further
reasons.
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.4.2.1 pkgsrc/databases/pgadmin3/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: asau@inbox.ru
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/30997
Date: Wed, 19 Mar 2008 15:00:47 +0300
The package was removed.
State-Changed-From-To: open->closed
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Wed, 19 Mar 2008 14:40:45 +0000
State-Changed-Why:
Package was removed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.