pgadmin goes to infinite loop

From: Madis Pärn <madis(at)jawilla(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: pgadmin goes to infinite loop
Date: 2009-07-09 09:02:43
Message-ID: 4A55B233.2060900@jawilla.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

hello

when i click fast and repeatedly (5 times) on refresh button in 'Edit Data' window, pgadmin hogs all CPU and I have to kill it manually.
Does not depend on underlying data.

xp sp3, pgadmin trunk rev 7966 debug build, wxMSW-2.8.10, compiler Microsoft Visual C++ 200

stack with ProcessExplorer:
ntkrnlpa.exe!KiUnlockDispatcherDatabase+0x77
ntkrnlpa.exe!KeSetEvent+0x74
ntkrnlpa.exe!PspGetSetContextSpecialApc+0x4e
ntkrnlpa.exe!KiDeliverApc+0xb3
hal.dll!HalpApcInterrupt+0xc5
MSVCR90D.dll!_heap_alloc_dbg_impl+0x392
MSVCR90D.dll!_heap_alloc_dbg_impl+0x38e
MSVCR90D.dll!_nh_malloc_dbg_impl+0x1f
MSVCR90D.dll!_nh_malloc_dbg+0x2c
MSVCR90D.dll!malloc+0x1b
MSVCR90D.dll!operator new+0x11
pgAdmin3_d.exe!wxGridCellCoordsArray::Add+0x1b
pgAdmin3_d.exe!wxGridCellCoordsArray::DoCopy+0x3f
pgAdmin3_d.exe!wxGridCellCoordsArray::wxGridCellCoordsArray+0x41
pgAdmin3_d.exe!wxGrid::CalcCellsExposed+0x1fd
pgAdmin3_d.exe!wxGridWindow::OnPaint+0xaa
pgAdmin3_d.exe!wxAppConsole::HandleEvent+0x11
pgAdmin3_d.exe!wxEvtHandler::ProcessEventIfMatches+0x97
pgAdmin3_d.exe!wxEventHashTable::HandleEvent+0xaf
pgAdmin3_d.exe!wxEvtHandler::ProcessEvent+0xdb
pgAdmin3_d.exe!wxWindow::HandlePaint+0x135
pgAdmin3_d.exe!wxWindow::MSWWindowProc+0x45c
pgAdmin3_d.exe!wxWndProc+0xb3
USER32.dll!InternalCallWinProc+0x28
USER32.dll!UserCallWinProcCheckWow+0x150
USER32.dll!DispatchClientMessage+0xa3
USER32.dll!__fnDWORD+0x24
ntdll.dll!KiUserCallbackDispatcher+0x13
USER32.dll!NtUserDispatchMessage+0xc
USER32.dll!DispatchMessageW+0xf
USER32.dll!DialogBox2+0x15a
USER32.dll!InternalDialogBox+0xd0
USER32.dll!SoftModalMessageBox+0x938
USER32.dll!MessageBoxWorker+0x2ba
USER32.dll!MessageBoxTimeoutW+0x7a
USER32.dll!MessageBoxExW+0x1b
USER32.dll!MessageBoxW+0x45
pgAdmin3_d.exe!wxMessageDialog::ShowModal+0x294
pgAdmin3_d.exe!wxMessageBox+0x87
pgAdmin3_d.exe!sysLogger::DoLog+0x4c5
pgAdmin3_d.exe!wxLog::OnLog+0x10e
pgAdmin3_d.exe!wxVLogError+0x71
pgAdmin3_d.exe!wxLogError+0x17
pgAdmin3_d.exe!pgConn::LogError+0xc3
pgAdmin3_d.exe!pgConn::ExecuteScalar+0x140
pgAdmin3_d.exe!pgSet::ExecuteScalar+0x25
pgAdmin3_d.exe!pgSet::ColType+0xfd
pgAdmin3_d.exe!sqlTable::GetValue+0x254
pgAdmin3_d.exe!wxGrid::GetCellValue+0x46
pgAdmin3_d.exe!wxGridCellStringRenderer::GetBestSize+0x3c
pgAdmin3_d.exe!wxGridCellStringRenderer::Draw+0xce
pgAdmin3_d.exe!wxGrid::DrawCell+0x119
pgAdmin3_d.exe!wxGrid::DrawGridCellArea+0x3bb
pgAdmin3_d.exe!wxGridWindow::OnPaint+0xcd
pgAdmin3_d.exe!wxAppConsole::HandleEvent+0x11
pgAdmin3_d.exe!wxEvtHandler::ProcessEventIfMatches+0x97
pgAdmin3_d.exe!wxEventHashTable::HandleEvent+0xaf
pgAdmin3_d.exe!wxEvtHandler::ProcessEvent+0xdb
pgAdmin3_d.exe!wxWindow::HandlePaint+0x135
pgAdmin3_d.exe!wxWindow::MSWWindowProc+0x45c
pgAdmin3_d.exe!wxWndProc+0xb3
USER32.dll!InternalCallWinProc+0x28
USER32.dll!UserCallWinProcCheckWow+0x150
USER32.dll!DispatchClientMessage+0xa3
USER32.dll!__fnDWORD+0x24
ntdll.dll!KiUserCallbackDispatcher+0x13
USER32.dll!NtUserDispatchMessage+0xc
USER32.dll!DispatchMessageW+0xf
pgAdmin3_d.exe!wxEventLoop::ProcessMessage+0x33
pgAdmin3_d.exe!wxEventLoop::Dispatch+0x252
pgAdmin3_d.exe!wxAppBase::Dispatch+0x24
pgAdmin3_d.exe!wxApp::Yield+0xb7
pgAdmin3_d.exe!frmEditGrid::Go+0x9d1
pgAdmin3_d.exe!frmEditGrid::OnRefresh+0x197
pgAdmin3_d.exe!wxAppConsole::HandleEvent+0x11
pgAdmin3_d.exe!wxEvtHandler::ProcessEventIfMatches+0x97
pgAdmin3_d.exe!wxEventHashTable::HandleEvent+0xaf
pgAdmin3_d.exe!wxEvtHandler::ProcessEvent+0xdb
pgAdmin3_d.exe!wxEvtHandler::ProcessEvent+0x10e
pgAdmin3_d.exe!wxWindowBase::TryParent+0x93
pgAdmin3_d.exe!wxEvtHandler::ProcessEvent+0x12a
pgAdmin3_d.exe!wxToolBarBase::OnLeftClick+0x84
pgAdmin3_d.exe!wxToolBar::MSWCommand+0xee
pgAdmin3_d.exe!wxFrame::HandleCommand+0x3e
pgAdmin3_d.exe!wxFrame::MSWWindowProc+0xfe
pgAdmin3_d.exe!wxWndProc+0xb3
USER32.dll!InternalCallWinProc+0x28
USER32.dll!UserCallWinProcCheckWow+0x150
USER32.dll!SendMessageWorker+0x4a5
USER32.dll!SendMessageW+0x7f
COMCTL32.dll!TBOnLButtonUp+0x122
COMCTL32.dll!ToolbarWndProc+0xb30
USER32.dll!InternalCallWinProc+0x28
USER32.dll!UserCallWinProcCheckWow+0x150
USER32.dll!CallWindowProcAorW+0x98
USER32.dll!CallWindowProcW+0x1b
pgAdmin3_d.exe!wxWindow::MSWDefWindowProc+0x38
pgAdmin3_d.exe!wxWindow::MSWWindowProc+0x1240
pgAdmin3_d.exe!wxToolBar::MSWWindowProc+0x84
pgAdmin3_d.exe!wxWndProc+0xb3
USER32.dll!InternalCallWinProc+0x28
USER32.dll!UserCallWinProcCheckWow+0x150
USER32.dll!DispatchMessageWorker+0x306
USER32.dll!DispatchMessageW+0xf
pgAdmin3_d.exe!wxEventLoop::ProcessMessage+0x33

Madis Pärn
Jawilla Software

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2009-07-09 09:08:47 Re: pgadmin goes to infinite loop
Previous Message Michael Shapiro 2009-07-08 20:59:27 Re: Segmentation fault