[lazarus] gtk_widget_show crashing problem...

Baeseman, Cliff Cliff.Baeseman at greenheck.com
Thu Jul 8 13:58:59 EDT 1999


Are you throwing a ton of gtk errors before it crashes....???

Cliff

-----Original Message-----
From: Michael A. Hess [mailto:mhess at miraclec.com]
Sent: Thursday, July 08, 1999 12:58 PM
To: lazarus at miraclec.com
Subject: Re: [lazarus] gtk_widget_show crashing problem...


Shane Miller wrote:
> 
> 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?

-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list