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

From Dave Page
Subject Re: 1.2.2 testing ==> [PROBLEM]
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E490E01D@ratbert.vale-housing.co.uk
Whole thread Raw
Responses Re: 1.2.2 testing ==> [PROBLEM]  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgadmin-hackers
Hmm, I think Andreas will need to figure this one out - I can't see the problem :-(

Incidently, I get slightly more helpful output :-)

2005-05-23 15:24:48 DEBUG  : /usr/local/include/wx-2.6/wx/object.h(326): assert "ptr" failed: wxStaticCast() used
incorrectly

Call stack:
[05] wxStackWalker::Walk(unsigned int)          src/unix/stackwalk.cpp:218
[06] ShowAssertDialog                           src/common/appbase.cpp:781
[07] wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)        src/common/appbase.cpp:458
[08] wxApp::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)       src/gtk/app.cpp:720
[09] wxOnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)    src/common/appbase.cpp:646
[10] wxAssert(int, wchar_t const*, int, wchar_t const*, wchar_t const*) src/common/appbase.cpp:613
[11] pgDialog::PostCreation()                   /usr/local/include/wx-2.6/wx/object.h:326
[12] dlgProperty::dlgProperty(frmMain*, wxString const&)        /usr/local/include/wx-2.6/wx/object.h:521
[13] dlgServer::dlgServer(frmMain*, pgServer*)  /usr/local/include/wx-2.6/wx/string.h:258
[14] dlgProperty::CreateDlg(frmMain*, pgObject*, bool, int)     ui/dlgProperty.cpp:622
[15] dlgProperty::EditObjectDialog(frmMain*, ctlSQLBox*, pgObject*)     ui/dlgProperty.cpp:803
[16] frmMain::OnProperties(wxCommandEvent&)     ui/events.cpp:1316
[17] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const
src/common/appbase.cpp:325
[18] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
src/common/event.cpp:1183
[19] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)     src/common/event.cpp:867
[20] wxEvtHandler::ProcessEvent(wxEvent&)       src/common/event.cpp:1245
[21] wxWindowBase::TryParent(wxEvent&)          src/common/wincmn.cpp:2509
[22] wxEvtHandler::ProcessEvent(wxEvent&)       src/common/event.cpp:1258
[23] wxWindowBase::TryParent(wxEvent&)          src/common/wincmn.cpp:2509
[24] wxEvtHandler::ProcessEvent(wxEvent&)       src/common/event.cpp:1258
[25] wxMenuBase::SendEvent(int, int)            src/common/menucmn.cpp:612
2005-05-23 15:26:59 DEBUG  : /usr/local/include/wx-2.6/wx/object.h(326): assert "ptr" failed: wxStaticCast() used
incorrectly

I'm guessing that addr2line is part of wx's assert handling code - I don't see any mention of it in my logs. Oh, and
thisappears to happen for most dialogues. 

Regards, Dave.

> -----Original Message-----
> From: Raphaël Enrici [mailto:blacknoz@club-internet.fr]
> Sent: 21 May 2005 22:53
> To: Dave Page; pgadmin-hackers@postgresql.org; Andreas Pflug
> Subject: Re: [pgadmin-hackers] 1.2.2 testing ==> [PROBLEM]
>
>
> 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: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r4232 - trunk/pgadmin3/src/agent
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r4233 - in trunk/pgadmin3/xtra/pgagent: . include