Re: [pgadmin-hackers] 1.2.2 testing == [PROBLEM]
Raphaël Enrici wrote: Great - thanks Andreas. I'll roll 1.2.2 as soon as Raphael et al. confirm there's no other problems. As usual... nothing to say :) Andreas, you know what? You rock! (I've tried to track this bug down but I didn't find anything else but this: I don't understand what's goin' on ;) The problem is hidden behind some macros, which doesn't display too well in backtraces. Regards, Andreas ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq
Re: [pgadmin-hackers] 1.2.2 testing == [PROBLEM]
Dave Page wrote: Hmm, I think Andreas will need to figure this one out - I can't see the problem :-( This is a wx weirdo, a wxObject ptr may not be zero (even if you expect it to be zero) After a longlonglong period of thinking I remembered that wxStaticCast needs to be redefined. Backport of workaround committed to svn. Regards, Andreas ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
Re: [pgadmin-hackers] 1.2.2 testing == [PROBLEM]
-Original Message- From: Andreas Pflug [mailto:[EMAIL PROTECTED] Sent: 24 May 2005 13:52 To: Dave Page Cc: Raphaël Enrici; pgadmin-hackers@postgresql.org Subject: Re: [pgadmin-hackers] 1.2.2 testing == [PROBLEM] Dave Page wrote: Hmm, I think Andreas will need to figure this one out - I can't see the problem :-( This is a wx weirdo, a wxObject ptr may not be zero (even if you expect it to be zero) After a longlonglong period of thinking I remembered that wxStaticCast needs to be redefined. Backport of workaround committed to svn. Great - thanks Andreas. I'll roll 1.2.2 as soon as Raphael et al. confirm there's no other problems. /D ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings
Re: [pgadmin-hackers] 1.2.2 testing == [PROBLEM]
Dave Page wrote: -Original Message- From: Andreas Pflug [mailto:[EMAIL PROTECTED] Sent: 24 May 2005 13:52 To: Dave Page Cc: Raphaël Enrici; pgadmin-hackers@postgresql.org Subject: Re: [pgadmin-hackers] 1.2.2 testing == [PROBLEM] Dave Page wrote: Hmm, I think Andreas will need to figure this one out - I can't see the problem :-( This is a wx weirdo, a wxObject ptr may not be zero (even if you expect it to be zero) After a longlonglong period of thinking I remembered that wxStaticCast needs to be redefined. Backport of workaround committed to svn. Great - thanks Andreas. I'll roll 1.2.2 as soon as Raphael et al. confirm there's no other problems. As usual... nothing to say :) Andreas, you know what? You rock! (I've tried to track this bug down but I didn't find anything else but this: I don't understand what's goin' on ;) I'm uploading pre-package to my own site and will ask ow to test them so that we have a first user feedback. @pgadmin-hackers: let's test it, let's release it... :) Cheers, Raphaël ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister YourEmailAddressHere to [EMAIL PROTECTED])
Re: [pgadmin-hackers] 1.2.2 testing == [PROBLEM]
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 this appears to happen for most dialogues. Regards, Dave. -Original Message- From: Raphaël Enrici [mailto:[EMAIL PROTECTED] 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
Re: [pgadmin-hackers] 1.2.2 testing == [PROBLEM]
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 ---(end of broadcast)--- TIP 8: explain analyze is your friend