[lazarus] New Bug Entered - Arithmetic overflow

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Dec 27 12:51:07 EST 2003


On Sun, 28 Dec 2003 02:28:40 +1000  prologic at shortcircuit.net.au (James
Mills) wrote:

> On Sat, Dec 27, 2003 at 02:26:07PM +0100, Mattias Gaertner wrote:
> > On Sat, 27 Dec 2003 07:38:17 -0500 (EST)  bugtracker at miraclec.com wrote:
> > 
> > > 
> > > Title: Arithmetic overflow
> > > 
> > > Entered by: James Mills
> > > 
> > > When you try to scroll (using a scroll mouse) in a listbox without the
> > > listbox being selected, an Arithmetic overflow occurs forcing Lazarus
> > > to be killed.
> > > 
> > > This happens in:
> > > Environment -> Editor Options -> Key Mappings
> > 
> > This is a TTreeView, not a TListBox.
> > 
> > I'm not able to reproduce the error. 
> > But that there is a (fpc) bug with floats, which results in exceptions
> > in the scroll routine. I don't know, why only there. The code itself
> > seems to be ok.
> 
> Try the following (with a scroll mouse):
> 
> 1: Click Environment
> 2: Click Editor Options
> 3: Click Key Mappings
> 4: Scroll with the mouse

Tried again, no effect.
Start lazarus with gdb, set breakpoint at FPC_RAISEEXCEPTION and reproduce
the error. If the line is gtkwinapi.inc 7776, then this is our old friend.
If not, then please send the whole backtrace.


Mattias


 
> I think there's a problem in the code somewhere when it recieves a
> scroll event without the TTreeView component being selected first.
> 
> cheers
> James
> 
> -- 
> -Zero Defect Software Engineers Group - ZDSEG
> -
> -Web:  http://www.shortcircuit.net.au/
> -Wiki: http://wiki.shortcircuit.net.au/
> -ICQ:  98888663
> -
> -You need only two tools. WD-40 and duct tape.
> -If it doesn't move and it should, use WD-40.
> -If it moves and shouldn't, use the tape.
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives


-- 






More information about the Lazarus mailing list