Subject: pgadmin3 crashes -- help debugging
To: None <pkgsrc-users@netbsd.org, netbsd-help@netbsd.org>
From: Jan Danielsson <jan.m.danielsson@gmail.com>
List: pkgsrc-users
Date: 10/15/2006 14:29:05
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig750A7B98F1D657442D62F3B0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,

   I want to be able to check if autovacuuming is working in my
postgresql setup. I have no idea how to find that out, so I asked in the
postgresql lists. Someone suggested that I try to use pgadmin3 to try to
monitor how many rows a table has in the data files.

   So I built pgadmin3.

   But as soon as I run it, it core dumps.

   Now I would like to debug the problem, but I have no idea how to do th=
at.

   When I use OS/2, I simply compile with the appropriate debugging
options, and made sure that the linker didn't strip debugging
information. Then I run the program through the debugger, and .. well..
I find, and fix the, problem(s). Even if I forget to compile the program
with the appropriate debugging options, I could always see the machine
code in the debugger.

   I don't even know where to begin when it comes to debugging programs
in NetBSD. Well, actually, I do. I guess I should use "gdb" (and since I
have some experience kernel debugging OS/2 with the debug kernel, I
don't feel completely lost). But how do I get source code view in "gdb"?
How do I make sure that the appropriate debugging data is compiled in
when I build packages from pkgsrc?

   It's about time I learn this stuff on NetBSD, but I'm quite
overwhelmed by it. Not nearly as simple as on OS/2 and Windows, IMHO.
Anyone want to help me get started?

--=20
Kind regards,
Jan Danielsson



--------------enig750A7B98F1D657442D62F3B0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFFMimYbgs4ia4rq9IRCl/5AJ9ZgFYCKq7jCrh8xuhBq41T2VVmzACgjHO3
wITcEO3q1CLzzWpNbYKdCNI=
=Ehrl
-----END PGP SIGNATURE-----

--------------enig750A7B98F1D657442D62F3B0--