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

Roland Turcan konf at rotursoft.sk
Mon Aug 4 11:56:18 CEST 2008


Hello Mattias,

MG> /usr/local/share/lazarus/lazbuild --build-ide="-va -dVerboseOFExecute"

I have done all things you wrote me, but the result of compilation
didn't write any line written by WriteLn inside of IFDEFs. Maybe there
could be a bug during parsing of -d parameter and IFDEF sections were
not compiled into the code. Therefore I have commented IFDEFs out to
get them into lazbuild and the result is the following:

Compiling ./unit/ResConf.pas
Assembling resconf
An unhandled exception occurred at $00148A20 :
TOutputFilter.Execute W1
TOutputFilter.Execute W2
EAccessViolation : Access violation
  $00148A20
  $001479C4
  $0014C8FC
  $0014B04C
  $001245B0
  $0014FE68
  $00150368
  $0013320C
  $0012B970
  $00109034
  $0011D3B4
  $0012AADC
  $0012ADF0
  $0012BB78
  $00Fatal: Compilation aborted
109034
  $0011D3B4
  $0012AADC

TOutputFilter.Execute W3
TOutputFilter.Execute W4
TOutputFilter.Execute W5
TOutputFilter.Execute W6
TOutputFilter.Execute W7
TExternalToolList.Run Exception: there was an error
ERROR: tool reported error

TRoland;


<<< 25.7.2008 0:45 - Mattias Gaertner "nc-gaertnma at netcologne.de" >>>
MG> On Thu, 24 Jul 2008 23:58:45 +0200
MG> Roland Turcan <konf at rotursoft.sk> wrote:

>> Hello Mattias,
>> 
>> MG> I think the AV happens somewhere in the finally part of
>> MG> ide/outputfilter.pas 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

MG> Sorry. A misunderstanding.
MG> You need to update lazarus svn and rebuild lazbuild itself, before
MG> trying to use lazbuild to build your package. Which means: 

MG> cd /usr/local/share/lazarus
MG> svn up
MG> make clean all lazbuilder
MG> ./lazbuild --build-ide=-va > all_output.txt

MG>  
>> and also this
>> 
>> (gdb) run
>> Starting program: /usr/local/share/lazarus/lazbuild
>> --build-ide=-va-dVerboseOFExecute

MG> Note: Multiple parameters must be separated by space:

MG> /usr/local/share/lazarus/lazbuild --build-ide="-va -dVerboseOFExecute"

MG>  
>>[...]

MG> Mattias




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




More information about the fpc-pascal mailing list