Skip site navigation (1) Skip section navigation (2)

pgadmin crash on refresh

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: pgadmin crash on refresh
Date: 2011-01-19 12:18:39
Message-ID: AANLkTikXtBMUFFa3qTksfEd+zD0NKFv8fKQG+VHr3f-+@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
Opened database->catalogs->pg_catalogs->tables. Right click + refresh = crash.

Don't have time to dig in right now myself, but here's a backtrace if
somebody wants to get started, or perhaps has a clue what it could
be...

this is with  current git master tip, debugging enabled.


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()




-- 
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Responses

pgadmin-hackers by date

Next:From: Magnus HaganderDate: 2011-01-19 12:20:49
Subject: Vacuum full warning
Previous:From: Magnus HaganderDate: 2011-01-19 11:36:24
Subject: Re: wxWidgets 2.9 build

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group