[Qt-interest] Segmentation Fault when Program Starts
Srdjan Todorovic
todorovic.s at googlemail.com
Tue Sep 8 16:29:44 CEST 2009
Hello,
On 08/09/2009, Karl Ruetz <karl.ruetz at sototech.com> wrote:
> The development machine is a 32-bit machine.
> The end user's machine is a 64-bit machine.
> The binary is 32-bit.
> # file QTTest2
> QTTest2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
> GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux
> 2.6.9, not stripped
Is the end-user's machine multi-lib?
If not, then how can you expect them to run the binary?
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x455a6000)
Any chance the library /usr/lib/libstdc++.so.6 is a 64 bit library but
is being mapped/loaded as a 32 bit library, thus crashing out when
code is being used from the wrong addresses? Or is ldd/ld intelligent
enough to prevent this?
And any chance the end-user's distro is corrupt?
What architecture is Qt compiled for on the end-user's machine?
Srdjan (just guessing at this point)
More information about the Qt-interest-old
mailing list