Thread: 1.15 Dev: menu "table -> maintenance"

1.15 Dev: menu "table -> maintenance"

From
Colin Beckingham
Date:
1. open pgadmin
2. drill down to tables in a db
3. right click to open submenu for a table
4. select Maintenance, crash, offers backtrace, pgadmin dies.

ASSERT INFO:
./src/gtk/textctrl.cpp(828): assert "IsSingleLine()" failed in 
GetEditable(): shouldn't be called for multiline

BACKTRACE:
[1] wxOnAssert(char const*, int, char const*, char const*, char const*)
[2] wxTextCtrl::GetEditable() cons)
[3] wxTextEntry::SetMaxLength(unsigned long)
[4] frmMaintenance::frmMaintenance(frmMain*, pgObject*)
[5] maintenanceFactory::StartDialog(frmMain*, pgObject*)
[6] frmMain::OnAction(wxCommandEvent&)
[7] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, 
wxEvent&) cons)
[8] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&)
[9] wxEvtHandler::SearchDynamicEventTable(wxEvent&)
[10] wxEvtHandler::TryHereOnly(wxEvent&)
[11] wxEvtHandler::DoTryChain(wxEvent&)
[12] wxEvtHandler::ProcessEvent(wxEvent&)
[13] wxWindowBase::TryAfter(wxEvent&)
[14] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&)
[15] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[16] wxMenuBase::SendEvent(int, int)
[17] g_closure_invoke()
[18] g_signal_emit_valist()
[19] g_signal_emit()
[20] gtk_widget_activate()
[21] gtk_menu_shell_activate_item()
[22] g_closure_invoke()
[23] g_signal_emit_valist()
[24] g_signal_emit()
[25] gtk_propagate_event()
[26] gtk_main_do_event()
[27] g_main_context_dispatch()
[28] g_main_context_iteration()
[29] gtk_main_iteration()
[30] wxWindow::DoPopupMenu(wxMenu*, int, int)
[31] wxWindowBase::PopupMenu(wxMenu*, int, int)
[32] frmMain::doPopup(wxWindow*, wxPoint, pgObject*)
[33] frmMain::OnSelRightClick(wxTreeEvent&)
[34] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, 
wxEvent&) cons)
[35] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&)
[36] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[37] wxEvtHandler::DoTryChain(wxEvent&)
[38] wxEvtHandler::ProcessEvent(wxEvent&)
[39] wxWindowBase::TryAfter(wxEvent&)
[40] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&)
[41] wxGenericTreeCtrl::OnMouse(wxMouseEvent&)
[42] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, 
wxEvent&) cons)
[43] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&)
[44] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[45] wxEvtHandler::ProcessEventLocally(wxEvent&)
[46] wxEvtHandler::ProcessEvent(wxEvent&)
[47] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&)
[48] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[49] g_closure_invoke()
[50] g_signal_emit_valist()
[51] g_signal_emit()
[52] gtk_propagate_event()
[53] gtk_main_do_event()
[54] g_main_context_dispatch()
[55] g_main_loop_run()
[56] gtk_main()



-- 
---
Colin Beckingham
613-454-5369
http://www.it4gh.com


Re: 1.15 Dev: menu "table -> maintenance"

From
Guillaume Lelarge
Date:
On Sat, 2012-03-10 at 15:10 -0500, Colin Beckingham wrote:
> 1. open pgadmin
> 2. drill down to tables in a db
> 3. right click to open submenu for a table
> 4. select Maintenance, crash, offers backtrace, pgadmin dies.
> 

Thanks, fixed (and also in backup, restore, backup globals, backup
server).


-- 
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com