Re: [Lazarus] SIGSEGV with Debug only

2012-03-31 Thread Martin Schreiber
Am 31.03.2012 03:57, schrieb waldo kitty: On 3/30/2012 04:28, Martin Schreiber wrote: Am 30.03.2012 02:06, schrieb Daniel Simoes de Ameida: I'm using Debug Info as Auto (-g) and Display Line numbers (-gl), Heaptrace Unit is also active (-gh)in Debug mode ... Any hints ? Heaptrace fills

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread Michael Schnell
A not initialized (running wild) pointer can behave like this. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread Martin Schreiber
Am 30.03.2012 02:06, schrieb Daniel Simoes de Ameida: Hi All I have a strange issue... I'm currently using Lazarus 0.9.31 (update from SVN) with FPC 2.6.0 When I compile my application with debug information, I always get a SIGSEGV when closing one of my forms,on line 4805 of control.inc This

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread Daniel Simoes de Ameida
Para: lazarus@lists.lazarus.freepascal.org Enviadas: Sexta-feira, 30 de Março de 2012 5:28 Assunto: Re: [Lazarus] SIGSEGV with Debug only Am 30.03.2012 02:06, schrieb Daniel Simoes de Ameida: Hi All I have a strange issue... I'm currently using Lazarus 0.9.31 (update from SVN) with FPC

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread José Mejuto
Hello Lazarus-List, Friday, March 30, 2012, 5:11:07 PM, you wrote: DSdA Bingo... DSdA Is the HeapTrace.. I just removed HeapTrace Unit from DSdA Linking and the problem has gone... Removing heaptrace hide the error not fix the bug. The heaptrace is showing you a bug that otherwise you will not

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread Martin
On 30/03/2012 16:11, Daniel Simoes de Ameida wrote: Bingo... Is the HeapTrace.. I just removed HeapTrace Unit from Linking and the problem has gone... No it has not gone. It is only hidden. That means you lowered the likelihood of it happening. The code still accesses an object that does

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread Daniel Simoes de Ameida
mailing list lazarus@lists.lazarus.freepascal.org Enviadas: Sexta-feira, 30 de Março de 2012 13:49 Assunto: Re: [Lazarus] SIGSEGV with Debug only On 30/03/2012 17:14, Daniel Simoes de Ameida wrote: Martin, I use a Tab Style interface... (TDI)... so, I change the Owner/Parent in this function

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread Martin
On 30/03/2012 20:54, Daniel Simoes de Ameida wrote: Martin, Even doesn't changing the Owner, the problem still.. O forgot to mention the content of ChangeOwner function procedure ChangeOwner(AComponente, NewOwner: TComponent); begin AComponente.Owner.RemoveComponent(AComponente);

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread waldo kitty
On 3/30/2012 04:28, Martin Schreiber wrote: Am 30.03.2012 02:06, schrieb Daniel Simoes de Ameida: I'm using Debug Info as Auto (-g) and Display Line numbers (-gl), Heaptrace Unit is also active (-gh)in Debug mode ... Any hints ? Heaptrace fills freed memory with garbage. CurAnchorSide

[Lazarus] SIGSEGV with Debug only

2012-03-29 Thread Daniel Simoes de Ameida
Hi All I have a strange issue... I'm currently using Lazarus 0.9.31 (update from SVN) with FPC 2.6.0 When I compile my application with debug information, I always get a SIGSEGV when closing one of my forms,on line 4805 of control.inc This Image shows the error. However, when compiling