Re: [gnome-db] libgda/libgnome questions



On Tue, 2003-08-12 at 14:38, Loren Bandiera wrote:
> 
> > > I commented out and it stopped crashed but the program would just hang
> > > after the gtk_widget_destroy() call.  
> > > 
> > hmm, no backtrace for that hang?
> 
> Oops forgot to include that.  Here it is:
> 
> (gdb) bt
> #0  0x40bc02f7 in poll () from /lib/libc.so.6
> 
ugh, that says nothing :-( Is your app multithreaded? If so, instead of
'bt' run 'thread apply all bt'

> The code is basically:
> 
>   check if this is first time running
>   if it's the first time
>      create app directory
>      set default preferences
>      run getting started druid
> 
>      if user selected to create new DSN
>         load DSN config druid
>         gtk_dialog_run 
>      end if
> 
>      create connection to DSN
>   end if
> 
> Then it hits the callback which just saves the datasource info and calls
> gtk_widget_destroy on the dialog containing the DSN Config Druid. 
> Control never returns from the callback.
> 
> If I just call gtk_widget_hide it will get rid of the dialog and the
> program continues to run as expected. 
> 
hmm, strange indeed. Please try to get a better backtrace.

cheers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]