Re: 1.2.2 testing ==> [PROBLEM] - Mailing list pgadmin-hackers

From Raphaël Enrici
Subject Re: 1.2.2 testing ==> [PROBLEM]
Date
Msg-id 428FADCB.7090400@club-internet.fr
Whole thread Raw
In response to 1.2.2 testing  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgadmin-hackers
Dave Page wrote:
> Hi all,
>
> I've made various changes to 1.2.0's build system based on Florian, Adam
> and Raphael's changes, including backporting the new acinclude.m4 from
> trunk.
>
> It seems to work OK on Slackware, but can I get some confirmation for
> other OS's before I roll 1.2.2 please?

Hi,

it must be a problem with my packaging but if someone has a quick idea
on what's going on, it would help me to gain time:

1.3.0 (just checked out) works smoothly under Debian.
1.2.2 causes a wxAssert as soon as I try to add a server or modify a
server configuration:

abstract from the log:
2005-05-21 22:47:32 INFO   : Creating a pgServer object
2005-05-21 22:47:32 INFO   : Creating a pgServer object
2005-05-21 22:47:32 INFO   : Creating a pgServer object
2005-05-21 22:47:32 INFO   : Creating a pgServer object
2005-05-21 22:47:32 INFO   : Creating a pgServer object
2005-05-21 22:47:44 STATUS : Interrogation en cours de la configuration
du serveur....
2005-05-21 22:47:44 INFO   : Displaying properties for Server localhost:5434
2005-05-21 22:47:44 INFO   : Displaying properties for server localhost:5434
2005-05-21 22:47:44 STATUS : Interrogation en cours de la configuration
du serveur.... (0,00 secondes)
2005-05-21 22:47:46 DEBUG  : Empty addr2line output?
2005-05-21 22:47:46 DEBUG  : Empty addr2line output?
2005-05-21 22:47:47 DEBUG  : Empty addr2line output?
2005-05-21 22:47:47 DEBUG  : Empty addr2line output?
2005-05-21 22:47:47 DEBUG  : Empty addr2line output?
2005-05-21 22:47:47 DEBUG  : Empty addr2line output?
2005-05-21 22:47:47 DEBUG  : Empty addr2line output?
2005-05-21 22:47:47 DEBUG  : Empty addr2line output?

The last lines are looping for a while.
If I ask to cancel the wxAssert, the windows I've asked for appears
correctly.
On console, I have many lines likes this one:
addr2line: 'pgadmin3': No such file

To me, the addr2line can be ignored and is generated by wxWid launching
addr2line on pgadmin3 but here is the assert:

/usr/include/wx-2.6-pga3/wx/object.h(326): assert "ptr" failed:
wxStaticCast() used incorrectly

Call stack:
[05] wxStackWalker::Walk(unsigned)
[06] 0x40792ea8
[07] wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t
const*)
[08] wxApp::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)
[09] wxOnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)
[10] wxAssert(int, wchar_t const*, int, wchar_t const*, wchar_t const*)
[11] 0x0811760b
[12] 0x08192195
[13] 0x081a715a
[14] 0x081359cd
[15] wxAppConsole::HandleEvent(wxEvtHandler*, void
(wxEvtHandler::*)(wxEvent&), wxEvent&) const
[16] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&)
[17] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[18] wxEvtHandler::ProcessEvent(wxEvent&)
[19] 0x40505bba
[20] __float128
[21] __float128
[22] 0x410ebdcf
[23] __float128
[24] __float128
[25] __float128
Do you want to stop the program?
You can also choose [Cancel] to suppress further warnings.

Any idea?

Regards,
Raphaël

pgadmin-hackers by date:

Previous
From: OpenMacNews
Date:
Subject: Re: pgAgent usage string should be reviewed
Next
From: "Dave Page"
Date:
Subject: Re: pgAgent usage string should be reviewed