[Lazarus] Division by zero. with fpc r30855

FreeMan freeman35 at delphiturkiye.com
Thu May 21 10:34:15 CEST 2015


On 20.05.2015 23:52, Mattias Gaertner wrote:
> Do you have ppu files in your include files path?
> Please test now.
>
>
> Mattias
I checked all lpk one by one, and all folders I couldn't find any ppu in 
include file path.
All lpk's "unit output directory (-FU)" like this.
../../all_libs/ $(PkgName)/$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)

ERROR in IDE:
Creating gdb catchable error:

Program received signal SIGFPE, Arithmetic exception.
0x0000000100696b71 in RAISEEXCEPTION (MSG=0x0) at ideprocs.pp:2278
2278      if (length(Msg) div (length(Msg) div 10000))=0 then ;
(gdb) bt
#0  0x0000000100696b71 in RAISEEXCEPTION (MSG=0x0) at ideprocs.pp:2278
#1  0x0000000100b51c08 in ADD (this=0x118653fa0, SRCFILE=0x1197f38c0, 
PPUFILE=0x0) at ../packager/interpkgconflictfiles.pas:182
#2  0x0000000100b5382d in CHECKDUPLICATESRCFILES 
(parentfp=0x7fff5fbfdae0) at ../packager/interpkgconflictfiles.pas:993
#3  0x0000000100b5359c in CHECKINTERPKGFILES (IDEOBJECT=0x115feedd0, 
PKGLIST=0x11d20d620, FILESCHANGED=false)
     at ../packager/interpkgconflictfiles.pas:1064
#4  0x00000001005647bd in PACKAGEGRAPHCHECKINTERPKGFILES 
(this=0x1161b45c0, IDEOBJECT=0x115feedd0, PKGLIST=0x11d20d620,
     FILESCHANGED=false) at ../packager/pkgmanager.pas:929
#5  0x00000001005572b4 in COMPILEREQUIREDPACKAGES (this=0x106ef3ac0, 
APACKAGE=0x0, FIRSTDEPENDENCY=0x117d41840,
     SKIPDESIGNTIMEPACKAGES=true, POLICY=PUPASNEEDED) at 
../packager/packagesystem.pas:3667
#6  0x000000010057159a in DOCOMPILEPROJECTDEPENDENCIES 
(this=0x1161b45c0, APROJECT=0x115feedd0, FLAGS=128)
     at ../packager/pkgmanager.pas:4164
#7  0x0000000100089e7b in DOBUILDPROJECT (this=0x106ef31c0, 
AREASON=CRBUILD, FLAGS=1, FINALIZERESOURCES=true) at main.pp:6575
#8  0x00000001000808c9 in MNUBUILDPROJECTCLICKED (this=0x106ef31c0, 
SENDER=0x1162c5f40) at main.pp:4266
#9  0x00000001004508e1 in MENUITEMCLICK (this=0x1162c5f40, 
SENDER=0x1162c5f40) at menuintf.pas:575
#10 0x00000001004545e9 in MENUITEMCLICK (this=0x1162c5f40, 
SENDER=0x1162c5f40) at menuintf.pas:1651
#11 0x0000000100452285 in TRIGGERCLICK (this=0x1162c5f40) at 
menuintf.pas:932
#12 0x0000000100f996e9 in CLICK (this=0x111c266f0) at 
editortoolbar_impl.pas:162
#13 0x00000001002b323f in 
COMCTRLS$_$TTOOLBUTTON_$__$$_MOUSEUP$TMOUSEBUTTON$TSHIFTSTATE$LONGINT$LONGINT 
()
#14 0x00000001001fba77 in 
CONTROLS$_$TCONTROL_$__$$_DOMOUSEUP$TLMMOUSE$TMOUSEBUTTON ()
#15 0x00000001001fc5d6 in CONTROLS$_$TCONTROL_$__$$_WMLBUTTONUP$TLMMOUSE ()
#16 0x00000001000121cd in SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal ()
#17 0x00000001019380b0 in $$fpclocal$_ld230 ()
#18 0x0000000101934048 in VMT_$CONTROLS_$$_TWINCONTROL ()
#19 0x000000000000002a in ?? ()
#20 0x0000000000000202 in ?? ()
#21 0x00007fff5fbfe228 in ?? ()
#22 0x0000000111c266f0 in ?? ()
#23 0x00007fff5fbfef70 in ?? ()
#24 0x0000000107b063c0 in ?? ()
#25 0x00007fff5fbfef70 in ?? ()
#26 0x0000000117596ba0 in ?? ()
#27 0x000000011153d840 in ?? ()
#28 0x00000001001fb859 in CONTROLS$_$TCONTROL_$__$$_WNDPROC$TLMESSAGE ()
#29 0x00000001001fa0c0 in 
CONTROLS$_$TCONTROL_$__$$_PERFORM$LONGWORD$WPARAM$LPARAM$$LRESULT ()
#30 0x00000001001ed34b in 
CONTROLS$_$TWINCONTROL_$__$$_ISCONTROLMOUSEMSG$formal$$BOOLEAN ()
#31 0x00000001001eea1d in CONTROLS$_$TWINCONTROL_$__$$_WNDPROC$TLMESSAGE ()
#32 0x0000000100271551 in 
QTWIDGETS$_$TQTWIDGET_$__$$_DELIVERMESSAGE$formal$BOOLEAN$$LRESULT ()
#33 0x000000010026d54d in 
QTWIDGETS$_$TQTWIDGET_$__$$_SLOTMOUSE$QOBJECTH$QEVENTH$$BOOLEAN ()
#34 0x000000010026b4db in 
QTWIDGETS$_$TQTWIDGET_$__$$_EVENTFILTER$QOBJECTH$QEVENTH$$BOOLEAN ()
#35 0x000000010028a602 in 
QTWIDGETS$_$TQTVIEWPORT_$__$$_EVENTFILTER$QOBJECTH$QEVENTH$$BOOLEAN ()
#36 0x000000010028b74d 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 0x00007fff8fd9be57 in -[NSWindow _reallySendEvent:isDelayedEvent:] ()
    from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#46 0x00007fff8f72ed76 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 0x00007fff8f72b312 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 0x00000001001c7041 in QTINT$_$TQTWIDGETSET_$__$$_APPWAITMESSAGE ()
#55 0x0000000100057f86 in FORMS$_$TAPPLICATION_$__$$_IDLE$BOOLEAN ()
#56 0x000000010005a39d in FORMS$_$TAPPLICATION_$__$$_HANDLEMESSAGE ()
#57 0x000000010005a8a8 in FORMS$_$TAPPLICATION_$__$$_RUNLOOP ()
#58 0x00000001001c7020 in 
QTINT$_$TQTWIDGETSET_$__$$_APPRUN$TAPPLICATIONMAINLOOP ()
#59 0x000000010005a84c in FORMS$_$TAPPLICATION_$__$$_RUN ()
#60 0x0000000100000e0d in PASCALMAIN () at lazarus.pp:132
#61 0x0000000100021aa1 in SYSTEM_$$_FPC_SYSTEMMAIN$LONGINT$PPCHAR$PPCHAR ()
#62 0x0000000000000000 in ?? ()
(gdb)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150521/b3a30761/attachment-0003.html>


More information about the Lazarus mailing list