* [gentoo-user] Qt 4 programs segfault on startup
@ 2008-11-09 15:25 Peter Gille
2008-11-10 0:02 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 1 reply; 5+ messages in thread
From: Peter Gille @ 2008-11-09 15:25 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 716 bytes --]
Hello list,
All of the programs on my computer using qt4 segfaults on startup. When I
look in /var/log/messages I see a line like this:
Nov 9 16:15:27 duolith [1029300.702228] qttest[29812]: segfault at
100000130 ip 00007f051f392269 sp 00007fff2e3e3570 error 4 in
libqt-mt.so.3.3.8[7f051edbd000+7c4000]
which is odd, since the programs don't depend on qt3, they depend on qt4.
Programs using qt3, however, work as normal.
The program I used to get the above segfault looked like this:
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication app(argc,argv);
return app.exec();
}
Does anyone have any idea what's going on and how to fix this?
I'm using qt-3.3.8b and qt-4.4.2
[-- Attachment #2: Type: text/html, Size: 882 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Qt 4 programs segfault on startup
2008-11-09 15:25 [gentoo-user] Qt 4 programs segfault on startup Peter Gille
@ 2008-11-10 0:02 ` Nikos Chantziaras
2008-11-10 7:18 ` Peter Gille
0 siblings, 1 reply; 5+ messages in thread
From: Nikos Chantziaras @ 2008-11-10 0:02 UTC (permalink / raw
To: gentoo-user
Peter Gille wrote:
> Hello list,
>
> All of the programs on my computer using qt4 segfaults on startup.
Did you try revdep-rebuild?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: Qt 4 programs segfault on startup
2008-11-10 0:02 ` [gentoo-user] " Nikos Chantziaras
@ 2008-11-10 7:18 ` Peter Gille
2008-11-10 17:51 ` Nikos Chantziaras
0 siblings, 1 reply; 5+ messages in thread
From: Peter Gille @ 2008-11-10 7:18 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
On Mon, Nov 10, 2008 at 1:02 AM, Nikos Chantziaras <realnc@arcor.de> wrote:
> Peter Gille wrote:
>
>> Hello list,
>>
>> All of the programs on my computer using qt4 segfaults on startup.
>>
>
> Did you try revdep-rebuild?
>
>
> Yes. The only broken binaries I have are from virtualbox, which shouldn't
affect anything.
emerge @preserved-rebuild only showed quake3 as broken.
I have already re-emerged those two anyway.
/ peter
[-- Attachment #2: Type: text/html, Size: 880 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Qt 4 programs segfault on startup
2008-11-10 7:18 ` Peter Gille
@ 2008-11-10 17:51 ` Nikos Chantziaras
2008-11-10 18:43 ` Peter Gille
0 siblings, 1 reply; 5+ messages in thread
From: Nikos Chantziaras @ 2008-11-10 17:51 UTC (permalink / raw
To: gentoo-user
Peter Gille wrote:
>
>
> On Mon, Nov 10, 2008 at 1:02 AM, Nikos Chantziaras <realnc@arcor.de
> <mailto:realnc@arcor.de>> wrote:
>
> Peter Gille wrote:
>
> Hello list,
>
> All of the programs on my computer using qt4 segfaults on startup.
>
>
> Did you try revdep-rebuild?
>
>
> Yes. The only broken binaries I have are from virtualbox, which
> shouldn't affect anything.
> emerge @preserved-rebuild only showed quake3 as broken.
> I have already re-emerged those two anyway.
Did you check if the programs in question really do depend only on Qt4?
Try the ldd tool to see the libs a binary uses.
I do have "-qt4" in the USE flags though. Try that and see how many
packages this would rebuild (emerge -pDN world). Yeah, this is pretty
much shotgun debugging, but it might point to the culprit :P
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: Qt 4 programs segfault on startup
2008-11-10 17:51 ` Nikos Chantziaras
@ 2008-11-10 18:43 ` Peter Gille
0 siblings, 0 replies; 5+ messages in thread
From: Peter Gille @ 2008-11-10 18:43 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1508 bytes --]
On Mon, Nov 10, 2008 at 6:51 PM, Nikos Chantziaras <realnc@arcor.de> wrote:
> Peter Gille wrote:
>
>>
>>
>> On Mon, Nov 10, 2008 at 1:02 AM, Nikos Chantziaras <realnc@arcor.de<mailto:
>> realnc@arcor.de>> wrote:
>>
>> Peter Gille wrote:
>>
>> Hello list,
>>
>> All of the programs on my computer using qt4 segfaults on startup.
>>
>>
>> Did you try revdep-rebuild?
>>
>>
>> Yes. The only broken binaries I have are from virtualbox, which shouldn't
>> affect anything.
>> emerge @preserved-rebuild only showed quake3 as broken.
>> I have already re-emerged those two anyway.
>>
>
> Did you check if the programs in question really do depend only on Qt4?
> Try the ldd tool to see the libs a binary uses.
>
>
> I do have "-qt4" in the USE flags though. Try that and see how many
> packages this would rebuild (emerge -pDN world). Yeah, this is pretty much
> shotgun debugging, but it might point to the culprit :P
I tried this, and compared the list to the list of packages with files in
/usr/lib64/qt4/plugins/ since I had read that some people had had similar
problems with files there. app-i18n/uim-1.5.4-r1 was one of the packages and
when I re-emerged it with USE="-qt4" it appears that programs start again.
So thank you for fixing it.
However, i use this program to input japanese characters in some of the
documents I write. Is anyone aware of any other input systems which can
input japanese? Or will I still be able to input japanese into qt4 programs?
regards
/ peter
[-- Attachment #2: Type: text/html, Size: 2503 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-11-10 18:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-09 15:25 [gentoo-user] Qt 4 programs segfault on startup Peter Gille
2008-11-10 0:02 ` [gentoo-user] " Nikos Chantziaras
2008-11-10 7:18 ` Peter Gille
2008-11-10 17:51 ` Nikos Chantziaras
2008-11-10 18:43 ` Peter Gille
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox