Recent

Author Topic: Bug?  (Read 2570 times)

Zvoni

  • Hero Member
  • *****
  • Posts: 2330
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 Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

howardpc

  • Hero Member
  • *****
  • Posts: 4144
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: 9908
  • Debugger - SynEdit - and more
    • wiki

 

TinyPortal © 2005-2018