[lazarus] Runtimeerror

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jul 1 03:34:53 EDT 2001


On 2001.06.30 16:58 Marco van de Voort wrote:
> [ Charset ISO-8859-1 unsupported, converting... ]
> > When i start lazarus.exe under Windows commandline it occurs the following
> > error
> > 
> > An unhandled exception occurred at 0x1000D584 :
> > Access violation
> >   0x1000D584  UNIONRECT,  line 74 of graphics.pplcllinux.pp
> >   0x004EBC8B
> >   0x004A64C5  TGTKOBJECT__INTSENDMESSAGE3,  line 1007 of gtkobject.inc
> >   0x004B65B3  CNSENDMESSAGE,  line 853 of controls.pp
> >   0x004C34FE  GRAPHICS_init,  line 646 of graphics.pp
> >   0x004EA87A
> >   0x0040102A  main,  line 37 of lazarus.pp
> >   0x004F0851
> > 
> > where is the problem ?
> 
> No idea, but note to the Lazarus people: Maybe it is wise to generate the
> next snapshot with -gl ?

Information like "main, line 37 of lazarus.pp" results from the lineinfo unit (= -gl option).
The reason why you get stupid lineinfo like "UNIONRECT,  line 74 of graphics.pplcllinux.pp" is, that the access violation was raised in gtk code and there is no line information available for this code. This can mean that the gtk has a bug. But I think, the bug is located somewhere in the gtk-interfaces of lazarus, because I found and fixed a couple of them in the last few weeks. This kind of bugs are very difficult to track down.
Is the bug reproducable or does it only sometimes occur? Does it happen always at the same point?

Mattias Gaertner








More information about the Lazarus mailing list