[Lazarus] Division by zero. with fpc r30855

FreeMan freeman35 at delphiturkiye.com
Wed May 20 12:38:52 CEST 2015


On 20.05.2015 13:05, Mattias Gaertner wrote:
> `/opt/lazarus/components/PascalScript/Source/lib/x86_64-darwin/pascalscript.o': 
> file time stamp mismatch. .... If I'm not wrong, this warnings mean, 
> IDE each click to build button, can't compare builded time so rebuild 
> again. (out this topic)
> This comes from the compiler.
Is this mean, I'm right? Is this need to report new issue?

> Can you create the stacktrace? Command "bt".
>
> Mattias
ERROR in IDE:
Creating gdb catchable error:
[New Thread 0x1b17 of process 647]

Program received signal SIGFPE, Arithmetic exception.
0x0000000100696c01 in RAISEEXCEPTION (MSG=0x0) at ideprocs.pp:2278
2278      if (length(Msg) div (length(Msg) div 10000))=0 then ;
(gdb) bt
#0  0x0000000100696c01 in RAISEEXCEPTION (MSG=0x0) at ideprocs.pp:2278
#1  0x0000000100b51c98 in ADD (this=0x11d811da0, SRCFILE=0x112cb14c0, 
PPUFILE=0x0) at ../packager/interpkgconflictfiles.pas:182
#2  0x0000000100b538a8 in CHECKDUPLICATESRCFILES 
(parentfp=0x7fff5fbfdb10) at ../packager/interpkgconflictfiles.pas:991
#3  0x0000000100b5362c in CHECKINTERPKGFILES (IDEOBJECT=0x112454b10, 
PKGLIST=0x11d8139c0, FILESCHANGED=false)
     at ../packager/interpkgconflictfiles.pas:1062
#4  0x000000010056484d in PACKAGEGRAPHCHECKINTERPKGFILES 
(this=0x1168bf440, IDEOBJECT=0x112454b10, PKGLIST=0x11d8139c0,
     FILESCHANGED=false) at ../packager/pkgmanager.pas:929
#5  0x0000000100557344 in COMPILEREQUIREDPACKAGES (this=0x106ef3ac0, 
APACKAGE=0x0, FIRSTDEPENDENCY=0x11719c140,
     SKIPDESIGNTIMEPACKAGES=true, POLICY=PUPASNEEDED) at 
../packager/packagesystem.pas:3667
#6  0x000000010057162a in DOCOMPILEPROJECTDEPENDENCIES 
(this=0x1168bf440, APROJECT=0x112454b10, FLAGS=128)
     at ../packager/pkgmanager.pas:4164
#7  0x0000000100089fdb in DOBUILDPROJECT (this=0x106ef31c0, 
AREASON=CRBUILD, FLAGS=1, FINALIZERESOURCES=true) at main.pp:6575
#8  0x0000000100080a29 in MNUBUILDPROJECTCLICKED (this=0x106ef31c0, 
SENDER=0x116a70f40) at main.pp:4266
#9  0x0000000100450971 in 
MENUINTF$_$TIDEMENUITEM_$__$$_MENUITEMCLICK$TOBJECT ()
#10 0x0000000100454679 in 
MENUINTF$_$TIDEMENUCOMMAND_$__$$_MENUITEMCLICK$TOBJECT ()
#11 0x0000000100452315 in MENUINTF$_$TIDEMENUITEM_$__$$_TRIGGERCLICK ()
#12 0x0000000100f99769 in CLICK (this=0x111d0e1d0) at 
editortoolbar_impl.pas:162
#13 0x00000001002b339f in 
COMCTRLS$_$TTOOLBUTTON_$__$$_MOUSEUP$TMOUSEBUTTON$TSHIFTSTATE$LONGINT$LONGINT 
()
#14 0x00000001001fbbd7 in 
CONTROLS$_$TCONTROL_$__$$_DOMOUSEUP$TLMMOUSE$TMOUSEBUTTON ()
#15 0x00000001001fc736 in CONTROLS$_$TCONTROL_$__$$_WMLBUTTONUP$TLMMOUSE ()
#16 0x000000010001231d in SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal ()
#17 0x00000001019380b0 in $$fpclocal$_ld230 ()
#18 0x0000000101934048 in VMT_$CONTROLS_$$_TWINCONTROL ()
#19 0x000000000000002a in ?? ()
#20 0x0000000000000202 in ?? ()
#21 0x00007fff5fbfe258 in ?? ()
#22 0x0000000111d0e1d0 in ?? ()
#23 0x00007fff5fbfefa0 in ?? ()
#24 0x0000000106f095e0 in ?? ()
#25 0x00007fff5fbfefa0 in ?? ()
#26 0x000000011ad14730 in ?? ()
#27 0x0000000114416440 in ?? ()
#28 0x00000001001fb9b9 in CONTROLS$_$TCONTROL_$__$$_WNDPROC$TLMESSAGE ()
#29 0x00000001001fa220 in 
CONTROLS$_$TCONTROL_$__$$_PERFORM$LONGWORD$WPARAM$LPARAM$$LRESULT ()
#30 0x00000001001ed4ab in 
CONTROLS$_$TWINCONTROL_$__$$_ISCONTROLMOUSEMSG$formal$$BOOLEAN ()
#31 0x00000001001eeb7d in CONTROLS$_$TWINCONTROL_$__$$_WNDPROC$TLMESSAGE ()
#32 0x00000001002716b1 in 
QTWIDGETS$_$TQTWIDGET_$__$$_DELIVERMESSAGE$formal$BOOLEAN$$LRESULT ()
#33 0x000000010026d6ad in 
QTWIDGETS$_$TQTWIDGET_$__$$_SLOTMOUSE$QOBJECTH$QEVENTH$$BOOLEAN ()
#34 0x000000010026b63b in 
QTWIDGETS$_$TQTWIDGET_$__$$_EVENTFILTER$QOBJECTH$QEVENTH$$BOOLEAN ()
#35 0x000000010028a762 in 
QTWIDGETS$_$TQTVIEWPORT_$__$$_EVENTFILTER$QOBJECTH$QEVENTH$$BOOLEAN ()
#36 0x000000010028b8ad in 
QTWIDGETS$_$TQTCUSTOMCONTROL_$__$$_VIEWPORTEVENTFILTER$QEVENTH$PBOOLEAN ()
#37 0x0000000103b9c92f in QLCLAbstractScrollArea::viewportEvent(QEvent*) ()
    from /Library/Frameworks/Qt4Pas.framework/Versions/5/Qt4Pas
---Type <return> to continue, or q <return> to quit---
#38 0x0000000106114f10 in 
QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) ()
    from /Library/Frameworks/QtGui.framework/Versions/4/QtGui
#39 0x0000000106bdeff7 in 
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
    from /Library/Frameworks/QtCore.framework/Versions/4/QtCore
#40 0x0000000105c98ade in QApplicationPrivate::notify_helper(QObject*, 
QEvent*) ()
    from /Library/Frameworks/QtGui.framework/Versions/4/QtGui
#41 0x0000000105c9eeb0 in QApplication::notify(QObject*, QEvent*) () 
from /Library/Frameworks/QtGui.framework/Versions/4/QtGui
#42 0x0000000106bdf54c in QCoreApplication::notifyInternal(QObject*, 
QEvent*) ()
    from /Library/Frameworks/QtCore.framework/Versions/4/QtCore
#43 0x0000000105ca023d in QApplicationPrivate::sendMouseEvent(QWidget*, 
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) 
() from /Library/Frameworks/QtGui.framework/Versions/4/QtGui
#44 0x0000000105c4c62b in qt_mac_handleMouseEvent(NSEvent*, 
QEvent::Type, Qt::MouseButton, QWidget*, bool) ()
    from /Library/Frameworks/QtGui.framework/Versions/4/QtGui
#45 0x00007fff8fa48e57 in -[NSWindow _reallySendEvent:isDelayedEvent:] ()
    from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#46 0x00007fff8f3dbd76 in -[NSWindow sendEvent:] () from 
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#47 0x0000000105c41607 in -[QCocoaWindow sendEvent:] () from 
/Library/Frameworks/QtGui.framework/Versions/4/QtGui
#48 0x00007fff8f3d8312 in -[NSApplication sendEvent:] () from 
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#49 0x0000000105c466e4 in -[QNSApplication sendEvent:] () from 
/Library/Frameworks/QtGui.framework/Versions/4/QtGui
#50 0x0000000105c4efea in 
qt_mac_send_event(QFlags<QEventLoop::ProcessEventsFlag>, NSEvent*, 
NSWindow*) ()
    from /Library/Frameworks/QtGui.framework/Versions/4/QtGui
#51 0x0000000105c51370 in 
QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    from /Library/Frameworks/QtGui.framework/Versions/4/QtGui
#52 0x0000000106be1245 in 
QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    from /Library/Frameworks/QtCore.framework/Versions/4/QtCore
#53 0x0000000103b062b4 in QCoreApplication_processEvents () from 
/Library/Frameworks/Qt4Pas.framework/Versions/5/Qt4Pas
#54 0x00000001001c71c1 in QTINT$_$TQTWIDGETSET_$__$$_APPPROCESSMESSAGES ()
#55 0x000000010005a4e5 in FORMS$_$TAPPLICATION_$__$$_HANDLEMESSAGE ()
#56 0x000000010005aa08 in FORMS$_$TAPPLICATION_$__$$_RUNLOOP ()
#57 0x00000001001c7180 in 
QTINT$_$TQTWIDGETSET_$__$$_APPRUN$TAPPLICATIONMAINLOOP ()
#58 0x000000010005a9ac in FORMS$_$TAPPLICATION_$__$$_RUN ()
#59 0x0000000100000f5d in PASCALMAIN () at lazarus.pp:132
#60 0x0000000100021bf9 in SYSTEM_$$_FPC_SYSTEMMAIN$LONGINT$PPCHAR$PPCHAR ()
#61 0x0000000000000000 in ?? ()




More information about the Lazarus mailing list