Re: pgAdmin3 svn 4409 on Debian - segfault - Mailing list pgadmin-hackers

From Tomasz Rybak
Subject Re: pgAdmin3 svn 4409 on Debian - segfault
Date
Msg-id 1124657228.4626.9.camel@localhost.localdomain
Whole thread Raw
In response to Re: pgAdmin3 svn 4409 on Debian - segfault  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgadmin-hackers
Dnia 21-08-2005, nie o godzinie 17:26 +0000, Andreas Pflug napisał(a):
> Tomasz Rybak wrote:
> > Hello.
> > I've downloaded pgAdmin3 from trunk 4409.
>
> Use the latest (4412); there was a major problem with wxgtk in a
> previous version.
>

I upgraded to latest version, made Debian package, installed
debug (not-stripped) libraries and:

tomus@barad-dur:~$ ulimit -c unlimited
tomus@barad-dur:~$ export
LD_LIBRARY_PATH=/usr/lib/debug:/usr/lib/debug/lib:/usr/lib/debug/usr/lib
tomus@barad-dur:~$ /usr/bin/pgadmin3 --version
Naruszenie ochrony pamięci (core dumped)
tomus@barad-dur:~$ gdb /usr/bin/pgadmin3 core
#0  actionFactory (this=0xbfa0cf40, list=0x0) at ./base/factory.cpp:292
292         id = list->GetCount()+MNU_ACTION -1;
(gdb) bt
#0  actionFactory (this=0xbfa0cf40, list=0x0) at ./base/factory.cpp:292
#1  0x081b9d29 in tipOfDayFactory (this=0xbfa0cf40, list=0x0, mnu=0x0,
    toolbar=0x0) at ./frm/frmHint.cpp:401
#2  0x0806979b in pgAdmin3::OnInit (this=0x8429c28)
at ./pgAdmin3.cpp:366
#3  0x08069eff in wxAppConsole::CallOnInit (this=0xbfa0cf40) at app.h:87
#4  0xb780e4da in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#5  0xb780e5de in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#6  0x08067f19 in main (argc=2, argv=0xbfa0d0d4) at ./pgAdmin3.cpp:101
(gdb)

I don't know pgAdmin (planned to play with it), so I cannot tell,
what's wrong.

Libraries versions:
ii  libwxgtk2.6-0                    2.6.1.1
wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)
ii  libwxgtk2.6-dbg                  2.6.1.1
wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)
ii  libwxgtk2.6-dev                  2.6.1.1
wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)
ii  wx2.6-common                     2.6.1.1
wxWidgets Cross-platform C++ GUI toolkit (common support files)
ii  wx2.6-headers                    2.6.1.1
wxWidgets Cross-platform C++ GUI toolkit (header files)
ii  postgresql-8.0                   8.0.3-12
object-relational SQL database, version 8.0 server
ii  postgresql-8.0-plr               0.6.1-2
Procedural language interface between PostgreSQL 8.0 and R
ii  postgresql-autodoc               1.25-1
utility to create system tables overview in HTML, DOT and XML
ii  postgresql-client-8.0            8.0.3-12
front-end programs for PostgreSQL 8.0
ii  postgresql-common                23
manager for PostgreSQL database clusters
ii  postgresql-contrib-8.0           8.0.3-12
additional facilities for PostgreSQL
ii  postgresql-doc-8.0               8.0.3-12
documentation for the PostgreSQL database management system
ii  postgresql-plperl-8.0            8.0.3-12
PL/Perl procedural language for PostgreSQL 8.0
ii  postgresql-plpython-8.0          8.0.3-12
PL/Python procedural language for PostgreSQL 8.0
ii  postgresql-server-dev-8.0        8.0.3-12
development files for PostgreSQL 8.0 server-side programming



BTW: during start-up notice window appears, and text is put
into pgadmin.log:
2005-08-21 22:35:01 ERROR  : can't open file
'/usr/bin/../i18n/pgadmin3.lng' (error 2: Nie ma takiego pliku ani
katalogu)

But it can be because of wrong directory with i18n stuff, like I've
written in previous letter.

Best regards.
Tomasz



pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: pgAdmin3 svn 4409 on Debian - segfault
Next
From: Diego Gil
Date:
Subject: Re: compilation errors: wrong actions SOLVED