Recent

Author Topic: Bug?  (Read 641 times)

Zvoni

  • Sr. Member
  • ****
  • Posts: 265
Bug?
« on: March 13, 2019, 09:06:36 pm »
Hi Folks,

Ubuntu18.10-64Bit/FPC304/Laz200

Start a new Project, add a SynEdit on the Form,
Set AutoSize for the Gutter to False, and press F9.

I get a SIGFPE
If i'm reading the Assembler right, it's this Line

SYNGUTTERMARKS$_$TSYNGUTTERMARKS_$__$$_PAINT$TCANVAS$TRECT$LONGINT$LONGINT
00000000007E8844 48f7f9                   idiv   %rcx
Division-Error?

Can somebody confirm?
One System to rule them all, One IDE to find them,
One Code to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
People call me crazy, because i'm jumping out of perfectly fine aircrafts

howardpc

  • Hero Member
  • *****
  • Posts: 3176
Re: Bug?
« Reply #1 on: March 13, 2019, 09:24:04 pm »
Yes, it is a bug.
In this case the divisor, FColumnWidth, is zero.
Line 228 of unit SynGutterMarks.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 5691
    • wiki