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

Roland Turcan konf at rotursoft.sk
Tue Jul 22 14:29:13 CEST 2008


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
#6  0x0017eb88 in TBUILDMANAGER__ONRUNCOMPILERWITHOPTIONS (EXTTOOL=0x27c3ac0, COMPOPTIONS=0x27f4e90, this=0x25cd860) at buildmanager.pas:1221
#7  0x0016e004 in TLAZPACKAGEGRAPH__COMPILEPACKAGE (APACKAGE=0x3148b80, FLAGS=Invalid C/C++ type code 10 in symbol table.
) at packagesystem.pas:2935
#8  0x0016d600 in TLAZPACKAGEGRAPH__COMPILEREQUIREDPACKAGES (APACKAGE=0x0, FIRSTDEPENDENCY=0x3156f60, GLOBALS=0x31070e0, POLICIES=Invalid C/C++ type code 10 in symbol table.
) at packagesystem.pas:2766
#9  0x00003fac in TLAZBUILDAPPLICATION__COMPILEAUTOINSTALLPACKAGES (this=0x2730090) at lazbuild.lpr:502
#10 0x00003c68 in TLAZBUILDAPPLICATION__BUILDLAZARUSIDE (this=0x2730090) at lazbuild.lpr:445
#11 0x000067fc in TLAZBUILDAPPLICATION__RUN (this=0x2730090) at lazbuild.lpr:978
#12 0x00007f48 in PASCALMAIN () at lazbuild.lpr:1167
#13 0x0002a980 in SYSTEM_FPC_SYSTEMMAIN$LONGINT$PPCHAR$PPCHAR ()
#14 0x000026fc in _start ()
#15 0x00002400 in start ()


I wanted to make the backtrace from lazarus too, but when I run
lazarus from terminal then terminal's menu is shown instead of
lazarus' one.


Thanks.

TRoland;


<<< 22.7.2008 11:28 - Mattias Gaertner "nc-gaertnma at netcologne.de" >>>
MG> On Tue, 22 Jul 2008 11:02:40 +0200
MG> Roland Turcan <konf at rotursoft.sk> wrote:

>> Hello FPC-Pascal users discussions!
>> 
>> Compilation shows me next ugly error messages during building
>> lazarus with our components.
>> 
>> How can I turn on move verbose outputs to see more about the problem.
>> 
>> The strangest is, the same source code is buildable into Lazarus/Linux
>> without any problem, but Linux runs on i386 and MacOS on PPC. I guess
>> it is problem with compiler.
>> 
>> ...
>> Assembling resconf
>> An unhandled exception occurred at $00148A30 :
>> EAccessViolation : Access violation
>>   $00148A30
>>   $001479D4
>>   $0014C90C
>>   $0014B05C
>>   $001245C0
>>   $0014FE78
>>   $00150378
>>   $0013321C
>>   $0012B980
>>   $00109044
>>   $0011D3C4
>>   $0012AAEC
>>   $0012AE00
>>   $0012BB88
>>   $00Fatal: Compilation aborted
>> 109044
>>   $0011D3C4
>>   $0012AAEC
>> 
>> TExternalToolList.Run Exception: there was an error
>> ERROR: tool reported error

MG> Start lazarus in gdb, reproduce the problem and create a backtrace.

MG> http://wiki.lazarus.freepascal.org/Creating_a_Backtrace_with_GDB#Linux.2FBSD_Users.2FMacOSX

MG> Mattias




-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk




More information about the fpc-pascal mailing list