[fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

Roland Turcan konf at rotursoft.sk
Thu Jul 24 23:58:45 CEST 2008


Hello Mattias,

MG> I think the AV happens somewhere in the finally part of ide/outputfilter.pas
MG> 375.
MG> I added some verbosity in rev 15849.
MG> Please update lazarus svn and compile IDE and lazbuild clean with
MG> -dVerboseOFExecute.
MG> Then try again.

I have tried this:

(gdb) run
Starting program: /usr/local/share/lazarus/lazbuild --build-ide=-dVerboseOFExecute

and also this

(gdb) run
Starting program: /usr/local/share/lazarus/lazbuild --build-ide=-va-dVerboseOFExecute

but the result doesn't have more information:

Compiling ./unit/ResConf.pas
Assembling resconf
An unhandled exception occurred at $00148A20 :

Breakpoint 1, 0x000174c0 in fpc_raiseexception ()
(gdb) bt
#0  0x000174c0 in fpc_raiseexception ()
#1  0x0010d1e4 in TOUTPUTFILTER__EXECUTE (THEPROCESS=0x2700a20, ACALLER=0x25e0d20, ATOOL=0x3113230, this=0x27002a0)
#2  0x003b736c in TEXTERNALTOOLLIST__RUN (EXTTOOL=0x3113230, MACROS=0x27aaae0, THEOUTPUTFILTER=0x27002a0, COMPILEROPTIONS=0x27f4e90, this=0x25e0d20) at exttooldialog.pas:370
#3  0x0017dfd8 in TBUILDMANAGER__ONRUNCOMPILERWITHOPTIONS (EXTTOOL=0x3113230, COMPOPTIONS=0x27f4e90, this=0x25cf890) at buildmanager.pas:1221
#4  0x0016d454 in TLAZPACKAGEGRAPH__COMPILEPACKAGE (APACKAGE=0x3148b80, FLAGS=Invalid C/C++ type code 10 in symbol table.
) at packagesystem.pas:2935
#5  0x0016ca50 in TLAZPACKAGEGRAPH__COMPILEREQUIREDPACKAGES (APACKAGE=0x0, FIRSTDEPENDENCY=0x31570f0, GLOBALS=0x310f150, POLICIES=Invalid C/C++ type code 10 in symbol table.
) at packagesystem.pas:2766
#6  0x000033dc in TLAZBUILDAPPLICATION__COMPILEAUTOINSTALLPACKAGES (this=0x2730090) at lazbuild.lpr:502
#7  0x00003098 in TLAZBUILDAPPLICATION__BUILDLAZARUSIDE (this=0x2730090) at lazbuild.lpr:445
#8  0x00005c2c in TLAZBUILDAPPLICATION__RUN (this=0x2730090) at lazbuild.lpr:978
#9  0x00007378 in PASCALMAIN () at lazbuild.lpr:1167
#10 0x00029db0 in SYSTEM_FPC_SYSTEMMAIN$LONGINT$PPCHAR$PPCHAR ()
#11 0x00001b2c in _start ()
#12 0x00001830 in start ()

What did I wrong?

MG> Can you reproduce the bug in a smaller package and send me the example?

Actually the package contains over 500 units, but when I/we find the
reason then I will make some.

PS: I am going to holiday and I will not reply to any email (no
computer, no Internet) until 4.8.

Thanks for everything you did for me.

TRoland;

<<< 23.7.2008 17:02 - Mattias Gärtner "nc-gaertnma at netcologne.de" >>>
MG> Zitat von Roland Turcan <konf at rotursoft.sk>:

>> 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

MG> I think the AV happens somewhere in the finally part of ide/outputfilter.pas
MG> 375.
MG> I added some verbosity in rev 15849.
MG> Please update lazarus svn and compile IDE and lazbuild clean with
MG> -dVerboseOFExecute.
MG> Then try again.

MG> Can you reproduce the bug in a smaller package and send me the example?

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