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

2008-08-04 Thread Roland Turcan
Hello Mattias, I have got some new facts about my problem. When I tried to execute lazbuild with ./lazbuild -B --build-ide="-va -dVerboseOFExecute" I've got the executable. When I try to start it, then nothing is shown. When I try it over gdb then it writes that MG> macg4:lazarus test$ gdb laza

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

2008-08-04 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > Hello All, > > Does anybody have any idea, what I can do with this problem? >[...] I never saw this problem. > >> > Compiling ./unit/ResConf.pas > >> > Assembling resconf > >> > An unhandled exception occurred at $00148A20 : > >> > TOutputFilter.Exe

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

2008-08-04 Thread Roland Turcan
Hello All, Does anybody have any idea, what I can do with this problem? Thanks. TRoland; <<< 4.8.2008 14:08 - "Vinzent Höfler" "[EMAIL PROTECTED]" >>> VH> Original-Nachricht >> Zitat von Roland Turcan <[EMAIL PROTECTED]>: >> >> > Hello Mattias, >> > >> > I have also uncomment

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

2008-08-04 Thread Vinzent Höfler
Original-Nachricht > Zitat von Roland Turcan <[EMAIL PROTECTED]>: > > > Hello Mattias, > > > > I have also uncommented some DebugLns which are inside of code: > > > > Compiling ./unit/ResConf.pas > > Assembling resconf > > An unhandled exception occurred at $00148A20 : > > TOutpu

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

2008-08-04 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > Hello Mattias, > > I have also uncommented some DebugLns which are inside of code: > > Compiling ./unit/ResConf.pas > Assembling resconf > An unhandled exception occurred at $00148A20 : > TOutputFilter.Execute After Loop > TOutputFilter.Execute fProce

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

2008-08-04 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > Hello Mattias, > > I have forgotten to send also result of building under gdb. Here is: > > Compiling ./unit/ResConf.pas > Assembling resconf > An unhandled exception occurred at $00148A20 : > > Breakpoint 1, 0x00017500 in fpc_raiseexception () > (gdb

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

2008-08-04 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > 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

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

2008-08-04 Thread Roland Turcan
Hello Mattias, I have also uncommented some DebugLns which are inside of code: Compiling ./unit/ResConf.pas Assembling resconf An unhandled exception occurred at $00148A20 : TOutputFilter.Execute After Loop TOutputFilter.Execute fProcess.ExitStatus=217 Breakpoint 1, 0x000173e0 in fpc_raiseexcept

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

2008-08-04 Thread Roland Turcan
Hello Mattias, I have forgotten to send also result of building under gdb. Here is: Compiling ./unit/ResConf.pas Assembling resconf An unhandled exception occurred at $00148A20 : Breakpoint 1, 0x00017500 in fpc_raiseexception () (gdb) bt #0 0x00017500 in fpc_raiseexception () #1 0x0010d334 in

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

2008-08-04 Thread Roland Turcan
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

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

2008-07-24 Thread Mattias Gaertner
On Thu, 24 Jul 2008 23:58:45 +0200 Roland Turcan <[EMAIL PROTECTED]> 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 clea

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

2008-07-24 Thread Roland Turcan
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 Startin

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

2008-07-23 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > 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

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

2008-07-23 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > 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

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

2008-07-23 Thread Roland Turcan
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, ACALLE

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

2008-07-22 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > 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, pare

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

2008-07-22 Thread Jonas Maebe
On 22 Jul 2008, at 13:29, Roland Turcan wrote: 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. If you use gdb lazarus.app it should work fine. Jonas ___

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

2008-07-22 Thread Roland Turcan
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 TOU

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

2008-07-22 Thread Jonas Maebe
On 22 Jul 2008, at 12:43, Mattias Gärtner wrote: This means: either lineinfo and a lot of linker warnings on each compile XOR no lineinfo and no warnings, right? If you don't use the patched linker, yes. dwarf is the future, isn't it? What is needed to get lineinfo working with dwarf? S

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

2008-07-22 Thread Mattias Gärtner
Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > On 22 Jul 2008, at 11:13, Mattias Gaertner wrote: > > > The Lineinfo unit does not work currently under Mac OS X. > > The lineinfo unit does work under Mac OS X (but only for stabs > currently). Ah. This means: either lineinfo and a lot of linker wa

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

2008-07-22 Thread Jonas Maebe
On 22 Jul 2008, at 11:13, Mattias Gaertner wrote: The Lineinfo unit does not work currently under Mac OS X. The lineinfo unit does work under Mac OS X (but only for stabs currently). Depending on the used system version, it may also only work if you start the program with the full path, b

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

2008-07-22 Thread Mattias Gaertner
On Tue, 22 Jul 2008 11:33:30 +0200 Vincent Snijders <[EMAIL PROTECTED]> wrote: > Roland Turcan schreef: > > 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

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

2008-07-22 Thread Vincent Snijders
Roland Turcan schreef: 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 wit

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

2008-07-22 Thread Mattias Gaertner
On Tue, 22 Jul 2008 11:02:40 +0200 Roland Turcan <[EMAIL PROTECTED]> 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 st

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

2008-07-22 Thread Roland Turcan
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 Lin