Sign in Join

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

Mailing lists / lazarus / 1999-07

Test case for internal error 10998

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Peter Vreman
to Brian Ryner: Hi- The attached test case demonstrates the sort of crash I'm getting when attempting to…
Show quoted text 27 lines
Hi- The attached test case demonstrates the sort of crash I'm getting when attempting to compile programs that use the Graphics unit. To see the crash: tar zxvf crash-10998.tar.gz cd test make graphics make crashit and you should see: graphics.pp(7,14) Fatal: Internal error 10998 These are all stripped down versions of various files from lazarus and gtk, just what was needed to cause the crash. Interesting things to note: - In graphics.pp, if you make FColor be a type other than TColor, the crash does not happen - If you do "make crashit" without compiling graphics first, the crash does not happen. - If the position of "glib" in the uses line of vclglobals.pp is switched (or if it is removed), the crash does not happen. Ideas, anyone?

add 'gdk' to the uses clauss of graphics.pas and it works also.

But the problem can't solved quickly. It has to do with types that use definitions from other units. And those other units are not used in the 'main' source where the type is used.

Peter

Reply by email

Brian Ryner

Hi-

The attached test case demonstrates the sort of crash I'm getting when attempting to compile programs that use the Graphics unit. To see the crash:

tar zxvf crash-10998.tar.gz
cd test
make graphics
make crashit

and you should see:

graphics.pp(7,14) Fatal: Internal error 10998

These are all stripped down versions of various files from lazarus and gtk, just what was needed to cause the crash. Interesting things to note:

- In graphics.pp, if you make FColor be a type other than TColor, the crash does not happen
- If you do "make crashit" without compiling graphics first, the crash does not happen.
- If the position of "glib" in the uses line of vclglobals.pp is switched (or if it is removed), the crash does not happen.

Ideas, anyone?

-Brian Ryner -------------- next part -------------- A non-text attachment was scrubbed... Name: gz00000.gz Type: application/octet-stream Size: 1619 bytes Desc: "crash-10998.tar.gz" Url : http://localhost/pipermail/lazarus/attachments/19990711/95f662d0/gz00000.obj

Reply by email