Обсуждение: slony crash

Поиск
Список
Период
Сортировка

slony crash

От
Demitri Muna
Дата:
[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-I
path",and hit "ok", the app crashes every time.
 

If it helps, the path I entered was:

/Library/PostgreSQL8/versions/8.4.1/share/postgresql/

Thanks!

Demitri



Re: slony crash

От
Guillaume Lelarge
Дата:
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-I
path",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.


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com


Re: slony crash

От
Demitri Muna
Дата:
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-I
path",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. 

Cheers,
Demitri

Re: slony crash

От
"A.M."
Дата:
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

Re: slony crash

От
Dave Page
Дата:
On Thu, Nov 18, 2010 at 10:09 PM, A.M. <agentm@themactionfaction.com> wrote:
>
> 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,
itwill be 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*

I cannot reproduce on my Mac, in 1.12.0 (I don't have 1.12.1 to hand),
or in GIT master. Are you using your own build? Can you track down the
cause?

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Re: slony crash

От
Guillaume Lelarge
Дата:
Le 18/11/2010 23:18, Dave Page a écrit :
> On Thu, Nov 18, 2010 at 10:09 PM, A.M. <agentm@themactionfaction.com> wrote:
>>
>> 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,
itwill be 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*
> 
> I cannot reproduce on my Mac, in 1.12.0 (I don't have 1.12.1 to hand),
> or in GIT master. Are you using your own build? Can you track down the
> cause?
> 

Just for the record, I cannot reproduce it on Linux and Windows, with
1.12 and master.


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com