Mattias Gaertner wrote:

Good news: Lazarus runs on x86_64 as 64bit native executable pretty well.

I added a workaround for the arithmetic exception bug. It seems to be a fpc
bug. I already reported it.

Hi that's great! I tested svn laz and svn fpc 2.0.3 right now and the arithmetic bug is gone!

Now I get this error when trying to compile a program I've been working on. here is a backtrace:

(gdb) c
Continuing.
[TMainIDE.DoRunProject] A
TMainIDE.DoInitProjectRun A True 0
TMainIDE.DoInitProjectRun B
TMainIDE.DoSaveAll
TMainIDE.DoSaveProject End
TPkgManager.DoCompilePackage A DBFLaz 0.1.1 Flags=[pcfDoNotCompileDependencies,pcfOnlyIfNeeded,pcfDoNotSaveEditorFiles]

Breakpoint 1, 0x000000000041c59c in fpc_raiseexception ()
(gdb) bt
#0  0x000000000041c59c in fpc_raiseexception ()
#1  0x000000000049ad1c in CLASSES_TFPLIST_$__ERROR$ANSISTRING$INT64 ()
#2  0x000000000049a81f in CLASSES_TFPLIST_$__RAISEINDEXERROR$LONGINT ()
#3  0x000000000049a862 in CLASSES_TFPLIST_$__GET$LONGINT$$POINTER ()
#4  0x000000000049b576 in CLASSES_TLIST_$__GET$LONGINT$$POINTER ()
#5 0x0000000000926526 in TLAZPACKAGE__GETFILES (INDEX=Cannot access memory at address 0x8000ffeee91c
) at packagedefs.pas:2024
#6 0x000000000073dc83 in TPKGMANAGER__CHECKIFPACKAGENEEDSCOMPILATION (APACKAGE=Cannot access memory at address 0x8000ffeee9f8
) at pkgmanager.pas:1766
#7 0x0000000000743358 in TPKGMANAGER__DOCOMPILEPACKAGE (APACKAGE=Cannot access memory at address 0x8000ffeeed08
) at pkgmanager.pas:2956
#8 0x000000000073bd7b in TPKGMANAGER__COMPILEREQUIREDPACKAGES (APACKAGE=Cannot access memory at address 0x8000ffeeedd8
) at pkgmanager.pas:1423
#9 0x0000000000742f18 in TPKGMANAGER__DOCOMPILEPROJECTDEPENDENCIES (APROJECT=Cannot access memory at address 0x8000ffeeee78
) at pkgmanager.pas:2888
#10 0x000000000046b1e2 in TMAINIDE__DOBUILDPROJECT (AREASON=Cannot access memory at address 0x8000ffeef09c
) at main.pp:7475
#11 0x000000000046bb14 in TMAINIDE__DOINITPROJECTRUN (this=Cannot access memory at address 0x8000ffeef198
) at main.pp:7603
#12 0x000000000046bcfd in TMAINIDE__DORUNPROJECT (this=Cannot access memory at address 0x8000ffeef1b8
) at main.pp:7664
#13 0x0000000000456a69 in TMAINIDE__MNURUNPROJECTCLICKED (SENDER=Cannot access memory at address 0x8000ffeef1d8
) at main.pp:3119
#14 0x0000000000541ffa in TCONTROL__CLICK (this=Cannot access memory at address 0x8000ffeef1f8
) at control.inc:1865
#15 0x00000000005aca85 in TCUSTOMSPEEDBUTTON__CLICK (this=Cannot access memory at address 0x8000ffeef218
) at speedbutton.inc:77
#16 0x0000000000541e89 in TCONTROL__WMLBUTTONUP (MESSAGE=Cannot access memory at address 0x8000ffeef288
) at control.inc:1820
#17 0x000000000041b83b in SYSTEM_TOBJECT_$__DISPATCH$formal ()
#18 0x00000000005417cd in TCONTROL__WNDPROC (THEMESSAGE=Cannot access memory at address 0x8000ffeef318
) at control.inc:1542
#19 0x000000000054038c in TCONTROL__PERFORM (MSG=Cannot access memory at address 0x8000ffeef37c
) at control.inc:1014
#20 0x0000000000536290 in TWINCONTROL__ISCONTROLMOUSEMSG (THEMESSAGE=Cannot access memory at address 0x8000ffeef408
) at wincontrol.inc:2875
#21 0x0000000000537606 in TWINCONTROL__WNDPROC (MESSAGE=Cannot access memory at address 0x8000ffeef468
) at wincontrol.inc:3380
#22 0x000000000055a8a6 in DELIVERMESSAGE (TARGET=Cannot access memory at address 0x8000ffeef578
) at gtkproc.inc:3465
#23 0x000000000056553c in DELIVERMOUSEUPMESSAGE (WIDGET=Cannot access memory at address 0x8000ffeef608
) at gtkcallback.inc:1481
#24 0x000000000056562d in GTKMOUSEBTNRELEASE (WIDGET=Cannot access memory at address 0x8000ffeef638
) at gtkcallback.inc:1530
#25 0x00002aaaab0b39de in gtk_marshal_BOOL__POINTER () from /usr/lib64/libgtk-1.2.so.0 #26 0x00002aaaab0e4753 in gtk_handlers_run () from /usr/lib64/libgtk-1.2.so.0 #27 0x00002aaaab0e53e7 in gtk_signal_real_emit () from /usr/lib64/libgtk-1.2.so.0
#28 0x00002aaaab0e63db in gtk_signal_emit () from /usr/lib64/libgtk-1.2.so.0
#29 0x00002aaaab11fd8c in gtk_widget_event () from /usr/lib64/libgtk-1.2.so.0 #30 0x00002aaaab0b33a3 in gtk_propagate_event () from /usr/lib64/libgtk-1.2.so.0 #31 0x00002aaaab0b369f in gtk_main_do_event () from /usr/lib64/libgtk-1.2.so.0 #32 0x00002aaaaad08322 in gdk_event_dispatch () from /usr/lib64/libgdk-1.2.so.0 #33 0x00002aaaaabd5a22 in g_main_dispatch () from /usr/lib64/libglib-1.2.so.0
#34 0x00002aaaaabd6636 in g_main_iterate () from /usr/lib64/libglib-1.2.so.0
#35 0x00002aaaab0b2538 in gtk_main_iteration_do () from /usr/lib64/libgtk-1.2.so.0 #36 0x00000000004f34be in TGTKWIDGETSET__APPWAITMESSAGE (this=Cannot access memory at address 0x8000ffeefea8
) at gtkobject.inc:1813
#37 0x000000000043667a in TAPPLICATION__IDLE (WAIT=Cannot access memory at address 0x8000ffeefedc
) at application.inc:282
#38 0x0000000000437fa1 in TAPPLICATION__HANDLEMESSAGE (this=Cannot access memory at address 0x8000ffeefef8
) at application.inc:920
#39 0x0000000000438441 in RUNMESSAGE (parentfp=Cannot access memory at address 0x8000ffeeff18
) at application.inc:1034
#40 0x000000000043835c in TAPPLICATION__RUNLOOP (this=Cannot access memory at address 0x8000ffef0018
) at application.inc:1044
#41 0x000000000048e2a5 in TWIDGETSET__APPRUN (ALOOP=Cannot access memory at address 0x8000ffef0038
) at interfacebase.inc:42
#42 0x00000000004382ff in TAPPLICATION__RUN (this=Cannot access memory at address 0x8000ffef0078
) at application.inc:1023
#43 0x0000000000410055 in main () at lazarus.pp:99
(gdb) c
Continuing.
TApplication.HandleException List index (3) out of bounds
 Stack trace:
 $000000000049A81F

that's it :(

Andrew

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to