Re: segfault with saving postgresql.conf - Mailing list pgadmin-support

From Tim Rupp
Subject Re: segfault with saving postgresql.conf
Date
Msg-id 44E4CE1E.10403@fnal.gov
Whole thread Raw
In response to Re: segfault with saving postgresql.conf  (Dave Page <dpage@vale-housing.co.uk>)
List pgadmin-support
Hi Dave,

RHEL 4. The libraries for wxGTK and wxWidgets arent available in the 
versions recommended for pgadmin so I had to download them and compile them.

-Tim

Dave Page wrote:
> I'm unable to reproduce this on OSX which is all I have with me at the
> moment. Can anyone else reproduce the problem on a wxGTK platform (Linux,
> FreeBSD or Solaris)?
> 
> What OS are you on Tim?
> 
> Regards, Dave
> 
> 
> On 17/8/06 15:59, "Tim Rupp" <tarupp@fnal.gov> wrote:
> 
>> Hi,
>>
>> After opening a postgres.conf file, changing the listen_addresses, and
>> then clicking the save button, pgadmin3 segfaults.
>>
>> - pgadmin3 1.4.3
>> - wxGTK-2.6.3
>> - wxWidgets-2.6.3
>>
>> gdb stack trace
>>
>> #0  0x0820861f in pgConfigLine::GetNewText ()
>> #1  0x0818848e in frmMainConfig::WriteFile ()
>> #2  0x081810ee in frmConfig::OnSave ()
>> #3  0x007dfcf9 in wxAppConsole::HandleEvent () from
>> /usr/local/lib/libwx_baseu-2.6.so.0
>> #4  0x00864670 in wxEvtHandler::ProcessEventIfMatches () from
>> /usr/local/lib/libwx_baseu-2.6.so.0
>> #5  0x00864909 in wxEventHashTable::HandleEvent () from
>> /usr/local/lib/libwx_baseu-2.6.so.0
>> #6  0x00865468 in wxEvtHandler::ProcessEvent () from
>> /usr/local/lib/libwx_baseu-2.6.so.0
>> #7  0x004cbfd8 in wxWindowBase::TryParent () from
>> /usr/local/lib/libwx_gtk2u_core-2.6.so.0
>> #8  0x00865421 in wxEvtHandler::ProcessEvent () from
>> /usr/local/lib/libwx_baseu-2.6.so.0
>> #9  0x004bed8f in wxToolBarBase::OnLeftClick () from
>> /usr/local/lib/libwx_gtk2u_core-2.6.so.0
>> #10 0x00453205 in gtk_toolbar_callback () from
>> /usr/local/lib/libwx_gtk2u_core-2.6.so.0
>> #11 0x00b740ae in g_cclosure_marshal_VOID__VOID () from
>> /usr/lib/libgobject-2.0.so.0
>> #12 0x00b5c347 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
>> #13 0x00b7194e in g_signal_has_handler_pending () from
>> /usr/lib/libgobject-2.0.so.0
>> #14 0x00b739bc in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
>> #15 0x00b73c5a in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
>> #16 0x00f8e294 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
>> #17 0x00f8fd0e in gtk_button_get_alignment () from
>> /usr/lib/libgtk-x11-2.0.so.0
>> #18 0x00b740ae in g_cclosure_marshal_VOID__VOID () from
>> /usr/lib/libgobject-2.0.so.0
>> #19 0x00b5c6b2 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
>> #20 0x00b5c347 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
>> #21 0x00b71616 in g_signal_has_handler_pending () from
>> /usr/lib/libgobject-2.0.so.0
>> #22 0x00b739bc in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
>> #23 0x00b73c5a in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
>> #24 0x00f8e1dc in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
>> #25 0x00f8f283 in gtk_button_set_relief () from /usr/lib/libgtk-x11-2.0.so.0
>> #26 0x01045d87 in gtk_marshal_VOID__UINT_STRING () from
>> /usr/lib/libgtk-x11-2.0.so.0
>> #27 0x00b5c6b2 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
>> #28 0x00b5c347 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
>> #29 0x00b72576 in g_signal_has_handler_pending () from
>> /usr/lib/libgobject-2.0.so.0
>> #30 0x00b73613 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
>> #31 0x00b73c5a in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
>> #32 0x01139815 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
>> #33 0x0104404b in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
>> #34 0x01044350 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
>> #35 0x00ad90a2 in gdk_event_get_graphics_expose () from
>> /usr/lib/libgdk-x11-2.0.so.0
>> #36 0x00e55581 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
>> #37 0x00e56fce in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
>> #38 0x00e57264 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
>> #39 0x010436a7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
>> #40 0x003dde55 in wxEventLoop::Run () from
>> /usr/local/lib/libwx_gtk2u_core-2.6.so.0
>> #41 0x0045c29e in wxAppBase::MainLoop () from
>> /usr/local/lib/libwx_gtk2u_core-2.6.so.0
>> #42 0x0045c3c7 in wxAppBase::OnRun () from
>> /usr/local/lib/libwx_gtk2u_core-2.6.so.0
>> #43 0x00812196 in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
>> #44 0x00812275 in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
>> #45 0x080693e4 in main ()
>>
>> If I'm just missing an obvious sequence of events here, then I'd really
>> like to know where I'm going wrong.
>>
>> Thanks for the help and the great app!
>>
>> -Tim
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 5: don't forget to increase your free space map settings
> 



pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: segfault with saving postgresql.conf
Next
From: Gibson
Date:
Subject: How to add a function that returns the result of a select statement?