[lazarus] Access violation
Compulife
cbruner at compulife.com
Thu Sep 21 00:11:44 EDT 2000
Ok going a bit further.
in the gtkobject.inc module (why use include?) there is a big scarry note
saying:
WriteLN('LM_SCREENINIT called --> should go to GTKObject.Init');
WriteLN('TODO: check this');
{ Initialize gdk }
//??? shouldn't this go to init ????
// MWE: Move this to init !!!!!
gdk_init(@argc, @argv);
and in the
----- Original Message -----
From: "Compulife" <cbruner at compulife.com>
To: <lazarus at miraclec.com>
Sent: Wednesday, September 20, 2000 11:29 PM
Subject: Re: [lazarus] Access violation
found the line but don't know how to fix it.
In module gtkobject.inc in Init, it calls gtk_tooltips_new, I put write
lines before and after
writeln('Error is here1');
// Init tooltips
FGTKToolTips := gtk_tooltips_new;
writeln('Error is here2');
Error is here1
An unhandled exception occurred at 0x000E0004 :
Unknown Run-Time error : 217
0x000E0004
0x00447737
0x004528C3
0x004611C9
> This is my debug session which shows where the first exception occurs.
>
> (gdbpas) bt
> #0 $64a4b0 in gtk_init ()
> #1 $43e9d9 in GTKINT ()
> #2 $44c737 in FORMS ()
> #3 $4578c3 in main () at lazarus.pp:45
> (gdbpas) step
> Single stepping until exit from function gtk_init,
> which has no line number information.
> $43e9d9 in GTKINT ()
> (gdbpas) step
> Single stepping until exit from function GTKINT$$_$$_TGTKOBJECT_$$_INIT,
> which has no line number information.
> gdb: unknown target exception 0xc000001d at 0x000e4888
>
> Program received signal ?, Unknown signal.
> $e4888 in ?? ()
> (gdbpas) bt
> #0 $e4888 in ?? ()
> #1 $44c737 in FORMS ()
> #2 $4578c3 in main () at lazarus.pp:45
> (gdbpas)
>
>
>
>
> ----- Original Message -----
> From: "Chris Bruner" <cbruner at ionline.net>
> To: "Lazarus mailing list" <lazarus at miraclec.com>
> Sent: Wednesday, September 20, 2000 9:59 PM
> Subject: [lazarus] Access violation
>
>
> > Someone else has had it, was any solution found? I've traced it to
> > initialization code, but got lost in the details.
> >
> > D:\lazarus>lazarus
> > LM_SCREENINIT called --> should go to GTKObject.Init
> > TODO: check this
> > An unhandled exception occurred at 0x000DF888 :
> > Access violation
> > 0x000DF888
> > 0x00447677
> > 0x00452803
> > 0x00461109
> >
> > Best Regards,
> >
> > Chris Bruner
> > cbruner at ionline.net
> >
> >
> > _________________________________________________________________
> > To unsubscribe: mail lazarus-request at miraclec.com with
> > "unsubscribe" as the Subject
> > archives at http://www.miraclec.com/list_archives/lazarus
> >
>
> _________________________________________________________________
> 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