Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-09

Access violation

8 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Compulife
to Chris Bruner: Someone else has had it, was any solution found? I've traced it to initialization code,…

I've gotten the snapshot from the freepascal and tried making it using my current version. It dies when trying to make win32zip, everything else it claims is fine. What do I need to get when I'm done recompiling the gtk-package. Am I looking for dll's or header source or something else?

Chris Bruner

Earlier message 51 lines
----- Original Message ----- From: "Vincent Snijders" To: Sent: Wednesday, September 20, 2000 11:57 PM Subject: Re: [lazarus] Access violation > I don't have it, (maybe have had it), but I have recompiled the gtk-package > with a snapshot compiler. > > So I think you can solve by downloading and installing snapshots from the > fpc site http://www.freepascal.org/develop.html > > > ----- Original Message ----- > From: Chris Bruner > To: Lazarus mailing list > Sent: Thursday, September 21, 2000 3:59 AM > 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 > > > > > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Chris Bruner

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

Reply by email

Compulife
to Chris Bruner

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)

Earlier message 31 lines
----- Original Message ----- From: "Chris Bruner" To: "Lazarus mailing list" 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 > > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Vincent Snijders
to Chris Bruner: Someone else has had it, was any solution found? I've traced it to initialization code,…

I don't have it, (maybe have had it), but I have recompiled the gtk-package with a snapshot compiler.

So I think you can solve by downloading and installing snapshots from the fpc site http://www.freepascal.org/develop.html

Earlier message 30 lines
----- Original Message ----- From: Chris Bruner To: Lazarus mailing list Sent: Thursday, September 21, 2000 3:59 AM 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 > > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Compulife
to Chris Bruner: Someone else has had it, was any solution found? I've traced it to initialization code,…

When I first read your message, I mis-understood it, and got a cvs image and tried recompiling the compiler etc. Tonight I tried the snapshots as you originally said, and I GOT IT WORKING!

Thanks for all the help everyone.

Earlier message 72 lines
----- Original Message ----- From: "Compulife" To: Sent: Thursday, September 21, 2000 1:49 AM Subject: Re: [lazarus] Access violation > I've gotten the snapshot from the freepascal and tried making it using my > current version. It dies when trying to make win32zip, everything else it > claims is fine. What do I need to get when I'm done recompiling the > gtk-package. Am I looking for dll's or header source or something else? > > Chris Bruner > > ----- Original Message ----- > From: "Vincent Snijders" > To: > Sent: Wednesday, September 20, 2000 11:57 PM > Subject: Re: [lazarus] Access violation > > > > I don't have it, (maybe have had it), but I have recompiled the > gtk-package > > with a snapshot compiler. > > > > So I think you can solve by downloading and installing snapshots from the > > fpc site http://www.freepascal.org/develop.html > > > > > > ----- Original Message ----- > > From: Chris Bruner > > To: Lazarus mailing list > > Sent: Thursday, September 21, 2000 3:59 AM > > 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 > > > > > > > > > > > > _________________________________________________________________ > > > To unsubscribe: mail with > > > "unsubscribe" as the Subject > > > archives at http://www.miraclec.com/list_archives/lazarus > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Vincent Snijders
to Chris Bruner: Someone else has had it, was any solution found? I've traced it to initialization code,…

Sorry, if I led you into the wrong direction.

Please,

Read the following mail thread in the lazarus-list archive: http://www.miraclec.com/list_archives/lazarus/msg00984.html

I hope this is the situation you are in and helps you. Vincent Snijders.

Earlier message 71 lines
----- Original Message ----- From: Compulife To: Sent: Thursday, September 21, 2000 7:49 AM Subject: Re: [lazarus] Access violation > I've gotten the snapshot from the freepascal and tried making it using my > current version. It dies when trying to make win32zip, everything else it > claims is fine. What do I need to get when I'm done recompiling the > gtk-package. Am I looking for dll's or header source or something else? > > Chris Bruner > > ----- Original Message ----- > From: "Vincent Snijders" > To: > Sent: Wednesday, September 20, 2000 11:57 PM > Subject: Re: [lazarus] Access violation > > > > I don't have it, (maybe have had it), but I have recompiled the > gtk-package > > with a snapshot compiler. > > > > So I think you can solve by downloading and installing snapshots from the > > fpc site http://www.freepascal.org/develop.html > > > > > > ----- Original Message ----- > > From: Chris Bruner > > To: Lazarus mailing list > > Sent: Thursday, September 21, 2000 3:59 AM > > 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 > > > > > > > > > > > > _________________________________________________________________ > > > To unsubscribe: mail with > > > "unsubscribe" as the Subject > > > archives at http://www.miraclec.com/list_archives/lazarus > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Compulife
to Chris Bruner: Someone else has had it, was any solution found? I've traced it to initialization code,…
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

Earlier message 90 lines
----- Original Message ----- From: "Compulife" To: 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" > To: "Lazarus mailing list" > 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 > > > > > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email