[fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC
Roland Turcan
konf at rotursoft.sk
Wed Jul 23 12:41:29 CEST 2008
Hello Mattias,
Next backtrace:
Compiling ./unit/ResConf.pas
Assembling resconf
An unhandled exception occurred at $00148A20 :
Breakpoint 1, 0x00018100 in fpc_raiseexception ()
(gdb) bt
#0 0x00018100 in fpc_raiseexception ()
#1 0x0010dde4 in TOUTPUTFILTER__EXECUTE (THEPROCESS=0x2700a20, ACALLER=0x25ded00, ATOOL=0x27c3d90, this=0x27002a0)
#2 0x003b7bac in TEXTERNALTOOLLIST__RUN (EXTTOOL=0x27c3d90, MACROS=0x27aa800, THEOUTPUTFILTER=0x27002a0, COMPILEROPTIONS=0x27f4e90, this=0x25ded00) at exttooldialog.pas:370
#3 0x0017ebb8 in TBUILDMANAGER__ONRUNCOMPILERWITHOPTIONS (EXTTOOL=0x27c3d90, COMPOPTIONS=0x27f4e90, this=0x25cd860) at buildmanager.pas:1221
#4 0x0016e034 in TLAZPACKAGEGRAPH__COMPILEPACKAGE (APACKAGE=0x3148b80, FLAGS=Invalid C/C++ type code 10 in symbol table.
) at packagesystem.pas:2935
#5 0x0016d630 in TLAZPACKAGEGRAPH__COMPILEREQUIREDPACKAGES (APACKAGE=0x0, FIRSTDEPENDENCY=0x3156f60, GLOBALS=0x3107130, POLICIES=Invalid C/C++ type code 10 in symbol table.
) at packagesystem.pas:2766
#6 0x0000401c in TLAZBUILDAPPLICATION__COMPILEAUTOINSTALLPACKAGES (this=0x2730090) at lazbuild.lpr:502
#7 0x00003cd8 in TLAZBUILDAPPLICATION__BUILDLAZARUSIDE (this=0x2730090) at lazbuild.lpr:445
#8 0x0000686c in TLAZBUILDAPPLICATION__RUN (this=0x2730090) at lazbuild.lpr:978
#9 0x00007fb8 in PASCALMAIN () at lazbuild.lpr:1167
#10 0x0002a9f0 in SYSTEM_FPC_SYSTEMMAIN$LONGINT$PPCHAR$PPCHAR ()
#11 0x0000276c in _start ()
#12 0x00002470 in start ()
(gdb) c
Continuing.
EAccessViolation : Access violation
$00148A20
$001479C4
$0014C8FC
$0014B04C
$001245B0
$0014FE68
$00150368
$0013320C
$0012B970
$00109034
$0011D3B4
$0012AADC
$0012ADF0
$0012BB78
$00Fatal: Compilation aborted
109034
$0011D3B4
$0012AADC
TExternalToolList.Run Exception: there was an error
ERROR: tool reported error
Program exited with code 02.
(gdb)
But I don't see any debug information from freepascal's executable.
This is really strange, because our package is compilable alone
without problem.
TRoland;
<<< 22.7.2008 15:27 - Mattias Gärtner "nc-gaertnma at netcologne.de" >>>
MG> Zitat von Roland Turcan <konf at rotursoft.sk>:
>> Hello all,
>>
>> Backtrace from lazbuild:
>>
>> An unhandled exception occurred at $00148A30 :
>>
>> Breakpoint 1, 0x00018090 in fpc_raiseexception ()
>> (gdb) bt
>> #0 0x00018090 in fpc_raiseexception ()
>> #1 0x001106d4 in CHECKFORURGENTMESSAGES (P=1, parentfp=0xbfffe0c0) at
>> outputfilter.pas:561
>> #2 0x0010e400 in TOUTPUTFILTER__READFPCOMPILERLINE (S=0x3129048,
>> this=0x27002a0)
>> #3 0x0010e0b8 in TOUTPUTFILTER__READLINE (S=0x3129048, DONTFILTERLINE=false,
>> this=0x27002a0) at outputfilter.pas:418
>> #4 0x0010dbcc in TOUTPUTFILTER__EXECUTE (THEPROCESS=0x2700a20,
>> ACALLER=0x25ded00, ATOOL=0x27c3ac0, this=0x27002a0)
>> #5 0x003b7c1c in TEXTERNALTOOLLIST__RUN (EXTTOOL=0x27c3ac0,
>> MACROS=0x27aa200, THEOUTPUTFILTER=0x27002a0, COMPILEROPTIONS=0x27f4e90,
>> this=0x25ded00) at exttooldialog.pas:370
>>[...]
MG> This exception is normal and caught in ide/exttooldialog.pas 387.
MG> Please continue and see what comes next:
MG> gdb ./lazarus.app/Contents/MacOS/lazarus
MG> break FPC_RAISEEXCEPTION
MG> r
MG> bt
MG> c
MG> bt
MG> c
MG> bt
MG> Mattias
MG> _______________________________________________
MG> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
MG> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
--
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk
More information about the fpc-pascal
mailing list