Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37237 - KDE hangs during boot and KDE applications (Kopete & K3B) display strange behaviour
Summary: KDE hangs during boot and KDE applications (Kopete & K3B) display strange beh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-04 14:34 UTC by Rui Cordeiro
Modified: 2004-01-05 15:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
K3B strace (k3b.strace,1.28 MB, text/plain)
2004-01-05 15:23 UTC, Rui Cordeiro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rui Cordeiro 2004-01-04 14:34:35 UTC
I made a fresh using the 1.4 gentoo LiveCD and using arch=x86 so eveything should be stable. 
I emerged qt-3.2.3,kdelibs 3.1.4 and arts-1.1.4 as dependencies for kopete-0.7.4 and k3b-0.10.3-r2. The problem is that both these apps behave strangelly. Whenever i try to launch any of them i get the following output...
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used 
And then the app just hangs, no matter how long i left running it just sits there.
If i try to run it again same thing happens, however if i run kbuildsycoca and then launch the app it shows the same QPixmap warning but it will eventually start but with strange behaviour.
K3b will hang on the bootsplash on the "Creating GUI" part for about 10 minutes and then start normally, as for kopete it takes a very long time to connect to MSN. I then installed kdebase 3.1.4 just to see what would happen and when i started KDE (via startkde in .xinitrc) the app would hang on the bootsplash in the "Initialising System Devices" part until the bootsplash eventually disapeared and i was left with a blue screen and a working cursor.


Reproducible: Always
Steps to Reproduce:
1.Launch k3b or kopete either from a terminal or a desktop icon
2.kill the launched app via kill or killall
3.run kbuildsycoca
4.Launch again k3b or kopete

Actual Results:  
Results for K3B (running first time)
root # k3b
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
---#Hangs for 10 minutes and then prints the msgs below#----
kbuildsycoca running...
File kcookiejarrc, id kcookiescfg.upd:kde2.2/b1
File kcookiejarrc, id kcookiescfg.upd:kde3.1/cvs
File kdeprintrc, id kdeprintrc.upd:kde-3.1-toolbar
File kio_httprc, id kioslave.upd:kde2.2/r1
File kioslaverc, id kioslave.upd:kde2.2/r1
File kio_httprc, id kioslave.upd:kde2.2/r2
File kioslaverc, id kioslave.upd:kde2.2/r3
File kdeglobals, id kded.upd:kde3.0
Write ViewMenuBar -> false
Remove Key 'General'/'ViewToolBar'
Running script 'useragent.pl'
Script: Writing entries to /tmp/kde-root/kconf_updateHLXXCb.tmp
Script: Filtered entries written to /tmp/kde-root/kconf_updateE2fPQa.tmp
Running script 'proxytype.pl'
Script: Writing entries to /tmp/kde-root/kconf_update76RKpa.tmp
File kioslaverc, id kioslave.upd:kde2.2/r3
File kdeglobals, id kded.upd:kde3.0
Write ViewMenuBar -> false
Remove Key 'General'/'ViewToolBar'
Running script 'useragent.pl'
Script: Writing entries to /tmp/kde-root/kconf_updateHLXXCb.tmp
Script: Filtered entries written to /tmp/kde-root/kconf_updateE2fPQa.tmp
Running script 'proxytype.pl'
Script: Writing entries to /tmp/kde-root/kconf_update76RKpa.tmp
Script: Filtered entries written to /tmp/kde-root/kconf_updateC8Kkka.tmp
ERROR: filesharelist not found in
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gc$
mcop warning: user defined signal handler found for SIG_PIPE, overriding
ERROR: (K3bSongManager) Can't open file /root/.kde/share/apps/k3b/songlist.xml 

Results for K3b (running again after running kbuildsycoca)
root # k3b
---Hangs for 10 minutes---
ERROR: filesharelist not found in
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gc$
mcop warning: user defined signal handler found for SIG_PIPE, overriding 


I'm Running XFree 4.3.0-r3 and using kahakai 0.5.1 gcc-3.2.3-r3 and glibc 2.3.2-r3
Comment 1 Rui Cordeiro 2004-01-05 15:23:10 UTC
Created attachment 23208 [details]
K3B strace

K3b hangs on the port binding part
Comment 2 Rui Cordeiro 2004-01-05 15:56:48 UTC
After running strace i found out what the problem was. 
Every thing would break when something socket related was used. KDE couldn't bind any socket to localhost because of my iptables config. Changed that and it's working fine now.