Thread: [pgAdmin III] #299: Crash on table refresh

[pgAdmin III] #299: Crash on table refresh

From
"pgAdmin Trac"
Date:
#299: Crash on table refresh
---------------------+------------------------------------------------------
 Reporter:  mha      |       Owner:  dpage 
     Type:  bug      |      Status:  new   
 Priority:  major    |   Milestone:  1.12.3
Component:  pgadmin  |     Version:  1.12  
 Keywords:           |    Platform:  linux 
---------------------+------------------------------------------------------
 Opened database->catalogs->pg_catalogs->tables. Right click + refresh =
 crash.

 The tables node need to be open.

 ASSERT INFO:
 ../src/generic/treectlg.cpp(201): assert "m_heightText != -1" failed
 in GetTextHeight(): must call CalculateSize() first

 BACKTRACE:
 [1] wxGenericTreeCtrl::PaintLevel(wxGenericTreeItem*, wxDC&, int, int&)
 [2] wxGenericTreeCtrl::PaintLevel(wxGenericTreeItem*, wxDC&, int, int&)
 [3] wxGenericTreeCtrl::PaintLevel(wxGenericTreeItem*, wxDC&, int, int&)
 [4] wxGenericTreeCtrl::PaintLevel(wxGenericTreeItem*, wxDC&, int, int&)
 [5] wxGenericTreeCtrl::PaintLevel(wxGenericTreeItem*, wxDC&, int, int&)
 [6] wxGenericTreeCtrl::PaintLevel(wxGenericTreeItem*, wxDC&, int, int&)
 [7] wxGenericTreeCtrl::PaintLevel(wxGenericTreeItem*, wxDC&, int, int&)
 [8] wxGenericTreeCtrl::PaintLevel(wxGenericTreeItem*, wxDC&, int, int&)
 [9] wxGenericTreeCtrl::PaintLevel(wxGenericTreeItem*, wxDC&, int, int&)
 [10] wxGenericTreeCtrl::OnPaint(wxPaintEvent&)
 [11] wxAppConsole::HandleEvent(wxEvtHandler*, void
 (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
 [12] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&,
 wxEvtHandler*, wxEvent&)
 [13] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
 [14] wxEvtHandler::ProcessEvent(wxEvent&)
 [15] wxEvtHandler::ProcessEvent(wxEvent&)
 [16] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&)
 [17] wxWindow::GtkSendPaintEvents()
 [18] g_closure_invoke()
 [19] g_signal_emit_valist()
 [20] g_signal_emit()
 [21] gtk_main_do_event()
 [22] gdk_window_process_updates()
 [23] wxWindow::GtkUpdate()
 [24] wxWindow::Update()
 [25] wxStatusBar::SetStatusText(wxString const&, int)
 [26] frmMain::EndMsg(bool)
 /opt/pgsql/pgadmin/pgadmin3/pgadmin/./frm/frmMain.cpp:1246
 [27] frmMain::Refresh(pgObject*)
 /opt/pgsql/pgadmin/pgadmin3/pgadmin/./frm/frmMain.cpp:565
 [28] refreshFactory::StartDialog(frmMain*, pgObject*)
 /opt/pgsql/pgadmin/pgadmin3/pgadmin/./dlg/dlgProperty.cpp:2199
 [29] frmMain::OnAction(wxCommandEvent&)
 /opt/pgsql/pgadmin/pgadmin3/pgadmin/./frm/events.cpp:191
 [30] wxAppConsole::HandleEvent(wxEvtHandler*, void
 (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
 [31] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&,
 wxEvtHandler*, wxEvent&)
 [32] wxEvtHandler::SearchDynamicEventTable(wxEvent&)
 [33] wxEvtHandler::ProcessEvent(wxEvent&)
 [34] wxEvtHandler::ProcessEvent(wxEvent&)
 [35] wxWindowBase::TryParent(wxEvent&)
 [36] wxEvtHandler::ProcessEvent(wxEvent&)
 [37] wxEvtHandler::ProcessEvent(wxEvent&)
 [38] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&)
 [39] wxMenuBase::SendEvent(int, int)
 [40] g_cclosure_marshal_VOID__VOID()
 [41] g_closure_invoke()
 [42] g_signal_emit_valist()
 [43] g_signal_emit()
 [44] gtk_widget_activate()
 [45] gtk_menu_shell_activate_item()
 [46] g_closure_invoke()
 [47] g_signal_emit_valist()
 [48] g_signal_emit()

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/299>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

Re: [pgAdmin III] #299: Crash on table refresh

From
"pgAdmin Trac"
Date:
#299: Crash on table refresh
---------------------+------------------------------------------------------
 Reporter:  mha      |       Owner:  dpage 
     Type:  bug      |      Status:  new   
 Priority:  major    |   Milestone:  1.12.3
Component:  pgadmin  |     Version:  1.12  
 Keywords:           |    Platform:  linux 
---------------------+------------------------------------------------------

Comment(by gleu):

 I don't have the issue. Was it fixed?

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/299#comment:1>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

Re: [pgAdmin III] #299: Crash on table refresh

From
"pgAdmin Trac"
Date:
#299: Crash on table refresh
---------------------+------------------------------------------------------
 Reporter:  mha      |       Owner:  dpage 
     Type:  bug      |      Status:  new   
 Priority:  major    |   Milestone:  1.12.3
Component:  pgadmin  |     Version:  1.12  
 Keywords:           |    Platform:  linux 
---------------------+------------------------------------------------------

Comment(by brsa):

 I could not reproduce this on Win XP with pgAdmin 1.12.3 against pg 8.4.7
 on Debian Lenny.

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/299#comment:2>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

Re: [pgAdmin III] #299: Crash on table refresh

From
Vladimir Kokovic
Date:
Hi,

That happens sometime on my Kubuntu 10.10 Maverick with wxWidgets 2.8
but not with 2.9 !

My pgAdmin:

#define VERSION_SVN "REL-1_13_DEV-335-g0934949"

PostgreSQL directory:            /home/src/postgresql-devel/20110329
PostgreSQL pg_config binary:        /home/src/postgresql-devel/20110329/bin/pg_config
PostgreSQL version:            PostgreSQL 9.1devel

PostgreSQL PQconninfoParse support:     Present
PostgreSQL SSL support:            Missing

wxWidgets directory:            /usr
wxWidgets wx-config binary:        /usr/bin/wx-config
wxWidgets version:            wxWidgets 2.8.11

libxml2 directory:            /usr
libxml2 xml2-config binary:        /usr/bin/xml2-config
libxml2 version:            libxml2 2.7.7

libxslt directory:            /usr
libxslt xslt-config binary:        /usr/bin/xslt-config
libxslt version:            libxslt 1.1.26

Building a debug version of pgAdmin:    Yes
Statically linking pgAdmin:        No
Building a Mac OS X appbundle:        No

pgAdmin configuration is now complete. You can now compile and
install pgAdmin using 'make; make install'.


Best regards,
Vladimir Kokovic, DP senior, Belgrade,Serbia


On 4/20/11, pgAdmin Trac <trac@code.pgadmin.org> wrote:
> #299: Crash on table refresh
> ---------------------+------------------------------------------------------
>  Reporter:  mha      |       Owner:  dpage
>      Type:  bug      |      Status:  new
>  Priority:  major    |   Milestone:  1.12.3
> Component:  pgadmin  |     Version:  1.12
>  Keywords:           |    Platform:  linux
> ---------------------+------------------------------------------------------
>
> Comment(by brsa):
>
>  I could not reproduce this on Win XP with pgAdmin 1.12.3 against pg 8.4.7
>  on Debian Lenny.
>
> --
> Ticket URL: <http://code.pgadmin.org/trac/ticket/299#comment:2>
> pgAdmin III <http://code.pgadmin.org/trac/>
> pgAdmin III
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>

Attachment

Re: [pgAdmin III] #299: Crash on table refresh

From
"pgAdmin Trac"
Date:
#299: Crash on table refresh
---------------------+------------------------------------------------------
 Reporter:  mha      |       Owner:  dpage 
     Type:  bug      |      Status:  new   
 Priority:  major    |   Milestone:  1.12.4
Component:  pgadmin  |     Version:  1.12  
 Keywords:           |    Platform:  linux 
---------------------+------------------------------------------------------

Comment(by thom):

 I can't reproduce this either.  Is this still a problem?

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/299#comment:3>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

Re: [pgAdmin III] #299: Crash on table refresh

From
"pgAdmin Trac"
Date:
#299: Crash on table refresh
---------------------+------------------------------------------------------
 Reporter:  mha      |       Owner:  dpage
     Type:  bug      |      Status:  new  
 Priority:  major    |   Milestone:       
Component:  pgadmin  |     Version:  1.12 
 Keywords:           |    Platform:  linux
---------------------+------------------------------------------------------
Changes (by gleu):

  * milestone:  1.14 =>


--
Ticket URL: <http://code.pgadmin.org/trac/ticket/299#comment:5>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III