Re: show order difference between 0.99.9 and 0.99.10?




> Dave Reed <dreed@capital.edu> writes:
> 
> > In 0.99.9, I had something like:
> > 
> > 	 gtk_widget_show(verticalBox_);
> > 	 gtk_widget_show(menubar_);
> >     gtk_widget_show(baseWidget_);
> > 
> > where verticalBox_ and menubar_ are inside the baseWidget_
> > (baseWidget_ was a window containing them).  It worked fine.
> > 
> > With 0.99.10 this segfaults, but changing it to the following seems to
> > work:
> > 
> >     gtk_widget_show(baseWidget_);
> > 	 gtk_widget_show(verticalBox_);
> > 	 gtk_widget_show(menubar_);
> > 
> > 
> > Which of the following three is true? :-)
> > 
> > a. this is normal and is a result of some of the changes from 0.9 to
> > 0.10
> > 
> > b. this indicates there is some other bug in my code
> > 
> > c. this indicates a bug in gtk
> 
> Most likely c. Could you provide a short example that demonstrates the
> behavior? [ If that isn't possible, a stack trace of where it
> segfaults and any messages that were printed out before hand would be
> useful ] The order of showing things should make no difference.
> 
> Regards,
>                                         Owen


I couldn't reproduce it with a real simple program.  I have built a
very small layer on top of gtk so I'd have to send you that also to
try it (and will if a strack trace doesn't allow you to track down the
problem).  I'm at work right now using Solaris and strace is set so that
only root can execute it.  I will try it at home tonight on my Linux
machine and let you know what happens there.

Dave



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