Re: slony crash

Поиск
Список
Период
Сортировка
От A.M.
Тема Re: slony crash
Дата
Msg-id 58263A45-A3B8-4705-B4F5-62713F10BCBB@themactionfaction.com
обсуждение исходный текст
Ответ на Re: slony crash  (Demitri Muna <thatsanicehatyouhave@mac.com>)
Ответы Re: slony crash  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-support
On Nov 18, 2010, at 4:53 PM, Demitri Muna wrote:

>
> On Nov 16, 2010, at 5:24 PM, Guillaume Lelarge wrote:
>
>> Le 16/11/2010 19:15, Demitri Muna a écrit :
>>> [Apologies if this appears twice; I didn't see it on the archive after it was sent.]
>>>
>>> Hi,
>>>
>>> I'm using pgAdmin 3 version 1.12.1 on Mac OS X (10.6.4). When I go to Preferences->General, enter a path in
"Slony-Ipath", and hit "ok", the app crashes every time. 
>>>
>>> If it helps, the path I entered was:
>>>
>>> /Library/PostgreSQL8/versions/8.4.1/share/postgresql/
>>>
>>
>> I tried it on Linux and didn't reproduce it. Could be a Mac OS X
>> specific bug, but I still cannot compile pgAdmin on this OS.
>
>
> I've discovered a workaround. If you open an older version of pgAdmin3 (e.g. 1.10.5), set the path there and quit, it
willbe written to the preference file and therefore be set in 1.12.1. 

I am able to reproduce this with 1.12 (1.12.1)

1) Open Preferences
2) type any string into "Slony-I" path.
3) Click "OK- "changes will not be saved..." dialog is displayed
*crash*

Here is the backtrace- it looks like a NULL dereference:

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread
0   libwx_macu_core-2.8.0.dylib       0x00fbafc3 wxPickerBase::OnTextCtrlKillFocus(wxFocusEvent&) + 27
1   libwx_base_carbonu-2.8.0.dylib    0x01420570 wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&,
wxEvtHandler*,wxEvent&) + 108 
2   libwx_base_carbonu-2.8.0.dylib    0x01420610 wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 74
3   libwx_base_carbonu-2.8.0.dylib    0x01420887 wxEvtHandler::ProcessEvent(wxEvent&) + 155
4   libwx_macu_core-2.8.0.dylib       0x00f2b984 wxMacWindowControlEventHandler(OpaqueEventHandlerCallRef*,
OpaqueEventRef*,void*) + 456 
5   libwx_macu_core-2.8.0.dylib       0x00f2c359 wxMacWindowEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*,
void*)+ 309 
6   com.apple.HIToolbox               0x933e9f2f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,
HandlerCallRec*)+ 1567 
7   com.apple.HIToolbox               0x933e91f6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*)+ 411 
8   com.apple.HIToolbox               0x933e9055 SendEventToEventTargetWithOptions + 58
9   com.apple.HIToolbox               0x93451d95 HIView::SendFocusPartChanged(short, short, unsigned long) + 345
10  com.apple.HIToolbox               0x93451531 HIView::SetFocusPart(short, unsigned char, unsigned char, unsigned
long,FocusData*) + 555 
11  com.apple.HIToolbox               0x93463909 ClearKeyboardFocus + 193
12  com.apple.HIToolbox               0x934637d2 _ClearKeyboardFocusWithExtremePrejudice + 26
13  com.apple.HIToolbox               0x934ca56a HIView::RemoveFromSuperView(bool, bool, bool) + 104
14  com.apple.HIToolbox               0x934caada HIView::DisposeSubPanes(bool) + 58
15  com.apple.HIToolbox               0x934b9bed HIView::Destruct() + 149
16  com.apple.CoreFoundation          0x94b79dfd _CFRelease + 301
17  libwx_macu_core-2.8.0.dylib       0x00eb9a0c wxMacControl::Dispose() + 36
18  libwx_macu_core-2.8.0.dylib       0x00f297ce wxWindow::~wxWindow() + 340
19  libwx_macu_core-2.8.0.dylib       0x00f17233 wxTextCtrl::~wxTextCtrl() + 143
20  libwx_macu_core-2.8.0.dylib       0x00fd6ebd wxWindowBase::DestroyChildren() + 35
21  libwx_macu_core-2.8.0.dylib       0x00f29724 wxWindow::~wxWindow() + 170
22  libwx_macu_core-2.8.0.dylib       0x0108952f wxDirPickerCtrl::~wxDirPickerCtrl() + 43
23  libwx_macu_core-2.8.0.dylib       0x00fd6ebd wxWindowBase::DestroyChildren() + 35
24  libwx_macu_core-2.8.0.dylib       0x00f29724 wxWindow::~wxWindow() + 170
25  libwx_macu_core-2.8.0.dylib       0x00ffbc78 wxPanel::~wxPanel() + 32
26  libwx_macu_core-2.8.0.dylib       0x00fd6ebd wxWindowBase::DestroyChildren() + 35
27  libwx_macu_core-2.8.0.dylib       0x00f29724 wxWindow::~wxWindow() + 170
28  libwx_macu_core-2.8.0.dylib       0x00efe10e wxNotebook::~wxNotebook() + 58
29  libwx_macu_core-2.8.0.dylib       0x00fd6ebd wxWindowBase::DestroyChildren() + 35
30  libwx_macu_core-2.8.0.dylib       0x00f29724 wxWindow::~wxWindow() + 170
31  org.postgresql.pgadmin            0x00200a0b 0x1000 + 2095627
32  libwx_macu_core-2.8.0.dylib       0x00f5ecd8 wxAppBase::DeletePendingObjects() + 88
33  libwx_macu_core-2.8.0.dylib       0x00ec0d97 wxApp::MacDoOneEvent() + 159
34  libwx_macu_core-2.8.0.dylib       0x00ed8ee8 wxEventLoop::Dispatch() + 32
35  libwx_macu_core-2.8.0.dylib       0x00f84d89 wxEventLoopManual::Run() + 97
36  libwx_macu_core-2.8.0.dylib       0x00f5e8a6 wxAppBase::MainLoop() + 76
37  libwx_base_carbonu-2.8.0.dylib    0x013d86ba wxEntry(int&, wchar_t**) + 86
38  org.postgresql.pgadmin            0x00008ea4 0x1000 + 32420
39  org.postgresql.pgadmin            0x0000881a 0x1000 + 30746
40  org.postgresql.pgadmin            0x00008741 0x1000 + 30529


Cheers,
M

В списке pgadmin-support по дате отправления:

Предыдущее
От: Demitri Muna
Дата:
Сообщение: Re: slony crash
Следующее
От: Dave Page
Дата:
Сообщение: Re: slony crash