On Mon, 04 Jan 2010 10:55:29 +0800
Brad Campbell <[email protected]> wrote:

> G'day all,
> 
> I've been chasing an odd fault since I upgraded to the latest lazarus in 
> combination with fpc 2.4.1 
> (both compiled from svn source).
> 
> My host/target is i386 linux with the gtk2 widgetset.
> 
> Lazarus 0.9.29 r23360 FPC 2.4.1 i386-linux-gtk 2 (beta)
> 
> The crux is if I enable generation of gprof data (-pg) in the Compiler 
> Options -> Linking dialog 
> box, any gtk2 app will segfault while initialising. Took me a while to track 
> down as for some reason 
> my project had this set, but I don't use it when I compile using my own 
> makefile.
> 
> To reproduce it here, I simply create a new application, check that box and 
> hit run. It will 
> segfault immediately. Without -pg set everything performs perfectly.
> 
> Now, I don't (have never) use gprof, so I'm not even sure why I set it in the 
> first place, but I 
> thought I might post about it in case it catches someone else out. It of 
> course used to work 
> perfectly with the 2.2.5 compiler.

It works with 2.5.1. I didn't try 2.4 with gprof yet.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to