[Qt-interest] Segmentation Fault when Program Starts

Stephen Jackson spjackson42 at gmail.com
Fri Sep 4 22:48:40 CEST 2009


On Fri, Sep 4, 2009 at 9:14 PM, Karl Ruetz wrote:
>
> Both programs compile.  Both run on the system where they were built.  On an
> RHEL 5 system where QT has not been installed, here is the output (the user
> is root):
>
> # ./QTTest
> Program running.
> # ./QTTest2
> Segmentation fault
>
> If figure I'm missing something simple.
> I would appreciate any input.
>

First guess, a significant difference in libstdc++.so ?

Does a simple c++ program using the standard library (e.g. std::cout)
also crash?

If not that, then some other shared library. Run ldd and compare
versions on both systems.

-- 
HTH,

Stephen Jackson




More information about the Qt-interest-old mailing list