Gentoo Archives: gentoo-user

From: Peter Gille <farfargoth@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Qt 4 programs segfault on startup
Date: Sun, 09 Nov 2008 15:25:30
Message-Id: 5e5428ed0811090725l701ef000hd30971cacda5bbfb@mail.gmail.com
1 Hello list,
2
3 All of the programs on my computer using qt4 segfaults on startup. When I
4 look in /var/log/messages I see a line like this:
5
6 Nov 9 16:15:27 duolith [1029300.702228] qttest[29812]: segfault at
7 100000130 ip 00007f051f392269 sp 00007fff2e3e3570 error 4 in
8 libqt-mt.so.3.3.8[7f051edbd000+7c4000]
9
10 which is odd, since the programs don't depend on qt3, they depend on qt4.
11 Programs using qt3, however, work as normal.
12
13 The program I used to get the above segfault looked like this:
14
15 #include <QApplication>
16
17 int main(int argc, char *argv[])
18 {
19 QApplication app(argc,argv);
20
21 return app.exec();
22 }
23
24
25 Does anyone have any idea what's going on and how to fix this?
26 I'm using qt-3.3.8b and qt-4.4.2

Replies

Subject Author
[gentoo-user] Re: Qt 4 programs segfault on startup Nikos Chantziaras <realnc@×××××.de>