[lazarus] gtk_widget_show crashing problem...

Peter Vreman pfvreman at wins.uva.nl
Thu Jul 8 19:17:00 EDT 1999



> > OK, here's the problem.  When we do a gtk_widget_show on the menu bar
> > a RESIZE event is fired.  For what component, I'm not quite sure yet.
> >
> > When DispatchStr('resize') is called, C R A S H !  that's where the
> > exceptionaddressstack error occurs.
>
>Good trace job!
>
> > I haven't gone deeper than that.  It never gets past the dispatchstr
> > function but it DOES it.  It may have to do with the "TControl(data)"
> > part of the call.  Perhaps "data" isn't being sent correctly.
>
>That means the exception is coming out of the RTL. Do I understand
>correctly that the DispatchStr('resize') routine is called but it
>doesn't survive it? It never makes it to DoResize for whatever control
>it is being sent to, is that correct?
The you need to recompile the rtl with 'make OPT=-g' this will generate 
debugger info for the rtl units and you can also backtrace them nicely and 
even trace them with rhgdb/gdb









More information about the Lazarus mailing list