[Qt-interest] QPainter segmentation fault on Linux

Sean Harmer sean.harmer at maps-technology.com
Fri Feb 20 18:05:15 CET 2009


On Friday 20 February 2009 16:47:06 Davide wrote:
> That's absolutely incredible...
> I installed valgrind (I have never used this program before).
> I compiled a Debug version of my app, I run it with valgrind... And
> all work fine, NO ERROR.
> I also checked that if I run the program without valgrind I get a
> segmentation Fault.
>
> What does it means?
Have you tried doing a complete rebuild of your app and any custom libs it 
links against? Delete your build dir to be sure. It could possibly a binary 
compatibility issue possibly caused by some stale build files or picking up 
the wrong libs at runtime.

Make sure you are picking up the correct libs at runtime - that is the same 
ones that you linked with when you did the build. Use ldd <path to your app> 
to check.

> Do I need to kick my pc?
I feel like that some days. ;-)

Sean



More information about the Qt-interest-old mailing list