Bug 21123 - KDE2.1 freezes at startup
Summary: KDE2.1 freezes at startup
Status: CLOSED FIXED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdeinit (other bugs)
Version First Reported In: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-01 09:48 UTC by Mekanix
Modified: 2009-12-25 15:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mekanix 2001-03-01 08:52:27 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdeinit
Version:           KDE 2.1.0 
Severity:          normal
Installed from:    FreeBSD Ports
Compiler:          gcc 2.95.2
OS:                FreeBSD
OS/Compiler notes: FreeBSD 4.2-STABLE

I've just finished the portsinstall of KDE2.1 but it wont run. It just hangs at startup at "Initialising peripherals". When I click *on* the splashscreen/"startupwindow" (or wazzitcalled) the screen goes blanks and still hangs.

Killing the X-session I've got 2 kdeinit-processes hanging where the one eats 100% CPU.

I've included the output from the X-session:

XFree86 Version 4.0.2 / X Window System
(protocol Version 11 revision 0 vendor release 6400)
Release Date: 18 December 2000
If the server is older than 6-12 months or if your card is
newer than the above date look for a newer version before
reporting problems.  (See http://www.XFree86.Org/FAQ)
Operating System: FreeBSD 4.2-STABLE i386 [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log" Time: Wed Feb 28 19:45:44 2001
(==) Using config file: "/etc/X11/XF86Config"
Markers: (--) probed (**) from config file (==) default setting
         (++) from command line (!!) notice (II) informational
         (WW) warning (EE) error (??) unknown.
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "ViewSonic G790"
(**) |   |-->Device "Matrox MGA G400 AGP"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) XKB: rules: "xfree86"
(**) XKB: layout: "dk"
(WW) The directory "/usr/X11R6/lib/X11/fonts/freefont" does not exist.
Entry deleted from font path.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/usr/X11R6/lib/X11/fonts/misc/usr/X11R6/lib/X11/fonts/75dpi:unscaled/usr/X11R6/lib/X11/fonts/100dpi:unscaled/usr/X11R6/lib/X11/fonts/ttfonts/usr/X11R6/lib/X11/fonts/sharefont/usr/X11R6/lib/X11/fonts/Type1/usr/X11R6/lib/X11/fonts/Speedo/usr/X11R6/lib/X11/fonts/75dpi/usr/X11R6/lib/X11/fonts/100dpi/usr/local/AbiSuite/fonts"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 0.1.0
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 0.1.0
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(--) PCI:*(1:0:0) Matrox MGA G400 AGP rev 4 Mem @ 0xe8000000/25 0xe4000000/14 0xe5000000/23
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.1.8
(II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.o
(II) Module mga: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) MGA: driver for Matrox chipsets: mga2064w mga1064sg mga2164w
mga2164w AGP mgag100 mgag100 PCI mgag200 mgag200 PCI mgag400
(--) Chipset mgag400 found
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 0.1.0
(**) MGA(0): Depth 24 (**) framebuffer bpp 32
(==) MGA(0): RGB weight 888
(WW) Warning couldn't open module mga_hal
(EE) MGA: Failed to load module "mga_hal" (module does not exist 0)
(--) MGA(0): Chipset: "mgag400"
(II) MGA(0): Offscreen memory usage will be limited to 512 lines if the DRI is enabled.
(==) MGA(0): Using AGP Mode 1x
(--) MGA(0): Linear framebuffer at 0xE8000000
(--) MGA(0): MMIO registers at 0xE4000000
(--) MGA(0): Pseudo-DMA transfer window at 0xE5000000
(==) MGA(0): BIOS at 0xC0000
(--) MGA(0): Video BIOS info block at offset 0x07A80
(WW) MGA(0): Video BIOS info block not detected!
(==) MGA(0): Write-combining range (0xe40000000x4000) was already clear
(==) MGA(0): Write-combining range (0xe80000000x2000000)
(==) MGA(0): Write-combining range (0xe50000000x800000) was already clear
(--) MGA(0): VideoRAM: 16384 kByte
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.2.0
(==) MGA(0): Write-combining range (0xe40000000x4000) was already clear
(WW) MGA(0): Failed to set write-combining range (0xe80000000x1000000)
(==) MGA(0): Write-combining range (0xe50000000x800000) was already clear
(==) MGA(0): Write-combining range (0xa00000x10000) was already clear
(II) MGA(0): I2C bus "DDC" initialized.
(II) MGA(0): I2C device "DDC:ddc2" registered.
(II) MGA(0): I2C device "DDC:ddc2" removed.
(II) MGA(0): I2C Monitor info: 0x0
(II) MGA(0): end of I2C Monitor info

(--) MGA(0): No DDC signal
(II) MGA(0): DDC Monitor info: 0x0
(II) MGA(0): end of DDC Monitor info

(==) MGA(0): Using gamma correction (1.0 1.0 1.0)
(==) MGA(0): Min pixel clock is 12 MHz
(==) MGA(0): Max pixel clock is 300 MHz
(II) MGA(0): ViewSonic G790: Using hsync range of 30.00-95.00 kHz
(II) MGA(0): ViewSonic G790: Using vrefresh range of 50.00-180.00 Hz
(II) MGA(0): Clock range:  12.00 to 300.00 MHz
(WW) MGA(0): Default mode "1792x1344" deleted (hsync out of range)
(WW) MGA(0): Default mode "1856x1392" deleted (hsync out of range)
(WW) MGA(0): Default mode "1920x1440" deleted (hsync out of range)
(--) MGA(0): Has SDRAM
(--) MGA(0): Virtual size is 1600x1200 (pitch 1600)
(**) MGA(0): Mode "1600x1200": 202.5 MHz 93.8 kHz 75.0 Hz
(==) MGA(0): DPI set to (75 75)
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
compiled for 4.0.2 module version = 0.1.0
(--) Depth 24 pixmap format is 32 bpp
(==) MGA(0): Write-combining range (0xe40000000x4000) was already clear
(WW) MGA(0): Failed to set write-combining range (0xe80000000x1000000)
(==) MGA(0): Write-combining range (0xe50000000x800000) was already clear
(==) MGA(0): Write-combining range (0xa00000x10000) was already clear
(--) MGA(0): 16 DWORD fifo
(==) MGA(0): Default visual is TrueColor
(II) MGA(0): [drm] bpp: 32 depth: 24
(II) MGA(0): [drm] Sarea 2196+632: 2828
(0): [drm] created "mga" driver at busid "PCI:1:0:0"
(0): [drm] added 4096 byte SAREA at 0xcee0b000
(0): [drm] mapped SAREA 0xcee0b000 to 0x28268000
(0): [drm] framebuffer handle = 0xe8000000
(0): [drm] added 1 reserved context for kernel
(II) MGA(0): [drm] Registers = 0xe4000000
[drm] drmAgpEnabled succeeded for AGP mode 1x
(II) MGA(0): WARP Microcode Loaded
(II) MGA(0): [drm] calced backoffset: 0xa75000
(EE) MGA(0): [drm] Insufficient memory for direct rendering
(0): [drm] failed to remove DRM signal handler
(0): [drm] removed 1 reserved context for kernel
DRIUnlock called when not locked
(0): [drm] unmapping 4096 bytes of SAREA 0xcee0b000 at 0x28268000
(II) MGA(0): Using 1421 lines for offscreen memory.
(II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid filled trapezoids
8x8 mono pattern filled rectangles
8x8 mono pattern filled trapezoids
Indirect CPU to Screen color expansion
Screen to Screen color expansion
Solid Lines
Dashed Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
9 256x256 slots
4 512x512 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(II) MGA(0): Using overlay video
(II) MGA(0): direct rendering disabled
(**) Mouse0: Protocol: "Auto"
(**) Mouse0: Core Pointer
(**) Mouse0: Buttons: 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
LD_LIBRARY_PATH=/usr/local/lib
kdeinit: Launched DCOPServer pid = 348 result = 0
DCOPServer: SetAProc_loc: conn 0 prot=local file=/tmp/.ICE-unix/350
kdeinit: Launched KLauncher pid = 351 result = 0
DCOP: register 'anonymous-346' -> number of clients is now 1
DCOP:  unregister 'anonymous-346'
DCOP: number of clients is now down to 0
DCOP: register 'klauncher' -> number of clients is now 1
DCOP: register 'ksplash' -> number of clients is now 2
DCOP: register 'anonymous-351' -> number of clients is now 3
DCOP: new daemon klauncher
DCOP:  unregister 'anonymous-351'
DCOP: number of clients is now down to 1
kdeinit: Launched KDED pid = 353 result = 0
DCOP: register 'kded' -> number of clients is now 2
kded: Does not exist! (/home/jd/.kde/share/servicetypes/)
kded: Does not exist! (/home/jd/.kde/share/applnk/)
DCOP: register 'anonymous-353' -> number of clients is now 3
DCOP: register 'anonymous-354' -> number of clients is now 4
kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca' ...)
KInit: Got EXEC 'kbuildsycoca' from klauncher.
kio (KLauncher): kbuildsycoca (pid 355) up and running.
DCOP: register 'kbuildsycoca' -> number of clients is now 5
kbuildsycoca: Recreating ksycoca file
kio (KSycoca): KSycocaDict: 146 entries.
kio (KSycoca): KSycocaDict: 55 entries.
kio (KSycoca): KSycocaDict: 4 entries.
kio (KSycoca): KSycocaDict: 328 entries.
kio (KSycoca): KSycocaDict: 328 entries.
kio (KSycoca): KSycocaDict: 328 entries.
kio (KSycoca): KSycocaDict: 13 entries.
kio (KSycoca): KSycocaDict: 30 entries.
kbuildsycoca: endOfData :    47e15
kbuildsycoca: Build = 1s Save = 4s
DCOP:  unregister 'kbuildsycoca'
DCOP: number of clients is now down to 4
kdeinit: PID 355 terminated.
DCOP:  unregister 'anonymous-354'
DCOP: number of clients is now down to 3
DCOP: new daemon kded
kdeinit: PID 353 terminated.
DCOP:  unregister 'anonymous-353'
DCOP: number of clients is now down to 1
kdeinit: opened connection to :0.0
kdeinit: Launched 'kcminit' pid = 356 result = 0
DCOP: register 'anonymous-356' -> number of clients is now 2
kcminit: Initializing libkcm_arts: init_arts
kio (KLauncher): setLaunchEnv KDE_DISPLAY=:0.0
kdeinit: Got SETENV 'KDE_DISPLAY=:0.0' from klauncher.
kio (KLauncher): KLauncher: Got kdeinit_exec('artsd' ...)
KInit: Got EXEC 'artsd' from klauncher.
WARNING: library=artsd.la: No file names artsd.la found in paths.
Could not load library! Trying exec....
kio (KLauncher): artsd (pid 357) up and running.
kdecore (KLibLoader): closing library libkcm_arts
kdecore (KLibLoader): Deleting KLibrary 0x80a2c80  libkcm_arts
kdecore (KLibLoader): library libkcm_kmix.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_kmix: init_kmix
kio (KLauncher): setLaunchEnv KDE_DISPLAY=:0.0
kdeinit: Got SETENV 'KDE_DISPLAY=:0.0' from klauncher.
kio (KLauncher): KLauncher: Got start_service_by_desktop_name('kmixctrl_restore' ...)
KInit: Got EXEC 'kmixctrl' from klauncher.
kio (KLauncher): kmixctrl (pid 358) up and running.
kdecore (KLibLoader): closing library libkcm_kmix
kdecore (KLibLoader): Deleting KLibrary 0x80a2c80  libkcm_kmix
kdecore (KLibLoader): Will not unload libkcm_energy
kcminit: Initializing libkcm_energy: init_energy
kdecore (KLibLoader): closing library libkcm_energy
kdecore (KLibLoader): Deleting KLibrary 0x80a2d00  libkcm_energy
kdecore (KLibLoader): library libkcm_layout.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_layout: init_layout
kdecore (KLibLoader): closing library libkcm_layout
kdecore (KLibLoader): Deleting KLibrary 0x80a2d00  libkcm_layout
kdecore (KLibLoader): library libkcm_laptop.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_laptop: init_battery
kdecore (KLibLoader): closing library libkcm_laptop
kdecore (KLibLoader): Deleting KLibrary 0x80a2d00  libkcm_laptop
kdecore (KLibLoader): library libkcm_xmlrpcd.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_xmlrpcd: init_xmlrpcd
kio (KLauncher): setLaunchEnv KDE_DISPLAY=:0.0
kdeinit: Got SETENV 'KDE_DISPLAY=:0.0' from klauncher.
kio (KLauncher): KLauncher: Got start_service_by_desktop_name('kxmlrpcd' ...)
KInit: Got EXEC 'kxmlrpcd' from klauncher.
kio (KLauncher): kxmlrpcd (pid 359) up and running.
kdecore (KLibLoader): closing library libkcm_xmlrpcd
kdecore (KLibLoader): Deleting KLibrary 0x80a2d00  libkcm_xmlrpcd
kcminit: Initializing libkcm_input: init_keyboard
DCOP: register 'kxmlrpcd' -> number of clients is now 3
kdecore (KLibLoader): closing library libkcm_input
kdecore (KLibLoader): Deleting KLibrary 0x80a2f80  libkcm_input
kcminit: Initializing libkcm_access: init_access
kdecore (KLibLoader): closing library libkcm_access
kdecore (KLibLoader): Deleting KLibrary 0x80ac000  libkcm_access
kdecore (KLibLoader): library libkcm_nsplugin.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_nsplugin: init_nsplugin
kdecore (KLibLoader): closing library libkcm_nsplugin
kdecore (KLibLoader): Deleting KLibrary 0x80ac100  libkcm_nsplugin
kcminit: Initializing libkcm_style: init_style
DCOP: register 'anonymous-359' -> number of clients is now 4
kdeinit: setgroups: Operation not permitted
DCOP:  unregister 'anonymous-359'
DCOP: number of clients is now down to 3
kdeinit: PID 359 terminated.
kdeinit: PID 358 terminated.
DCOP:  unregister 'ksplash'
DCOP: number of clients is now down to 2
Fatal error '_pq_remove: Not in priority queue' at line ? in file /usr/src/lib/libc_r/uthread/uthread_priority_queue.c (errno = ?)
kdeinit: PID 357 terminated.
xinit:  No such file or directory (errno 2):  unexpected signal 2
kdeinit: Fatal IO error: client killed
KLauncher: Exiting on signal 1
DCOP:  unregister 'kxmlrpcd'
DCOP: number of clients is now down to 1
DCOP:  unregister 'kded'

waiting for X server to shut down DCOP:  unregister 'klauncher'




(Submitted via bugs.kde.org)
Comment 1 Waldo Bastian 2001-03-01 19:06:19 UTC
On Thursday 01 March 2001 00:52 you wrote:
> Package: kdeinit
> Version: KDE 2.1.0
> Severity: normal
> Installed from:    FreeBSD Ports
> Compiler:          gcc 2.95.2
> OS:                FreeBSD
> OS/Compiler notes: FreeBSD 4.2-STABLE
>
> I've just finished the portsinstall of KDE2.1 but it wont run. It just
> hangs at startup at "Initialising peripherals". When I click *on* the
> splashscreen/"startupwindow" (or wazzitcalled) the screen goes blanks and
> still hangs.

Does it work if you remove the following line 

X-KDE-Init=style  

from $KDEDIR/share/applnk/Settings/LookNFeel/style.desktop?

Cheers
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
Comment 2 Mekanix 2001-03-01 21:38:40 UTC
On Thu 1 Mar 2001 11:06:19 -0800
Waldo Bastian <bastian@kde.org> wrote:

> Does it work if you remove the following line 
> X-KDE-Init=style  
> from $KDEDIR/share/applnk/Settings/LookNFeel/style.desktop?

Yes it runs now if I keep my hand away for
Controlcenter->Look'n'Feel->styles!

But runs a bit unstable. kdeinit ocasionally hangs with some
kioslave-stuff. But that's possible related to another bug-report of mine
(#21191) where parts of kioslave fails to compile.

Bjarne
Comment 3 Jorge Peixoto Vasquez 2001-03-27 19:41:17 UTC
I have exactly the same problem as described. 
The workaround has worked for me as well. But I previously got the same 
results if I comment out the line that says

LD_BIND_NOW=true kdeinit +kcminit

from startkde. 

But as Bjarne says the system is completely unstable with both workaround 
(I haven't noticed any differences to be exact). 

Some unstability problems I can reproduce:

-> It is common for the screensaver (with passowrd) not to recover when I 
write the password.
-> kdeinit for the Control Center will eat 100% CPU if I click on 
information->block_devices or information Samba Status. Of course this 
causes Control Center to freeze. When this happens the only way to recover 
is to send signal 9 to the hung process which in turns makes the system 
totally unusable as trying to start _any_application from the panel or to 
browse with Konqueror windows already opened fail with a message indicating 
failure to communicate with klauncher. 

This sympton (kdeinit for xxxx eating 100% cpu ....) happens randomly (but 
often) for other applications too.

Hope you can find a solution for this!

jOrge
-- 
Jorge Peixoto Vasquez Elect. Eng.
Aker Security Solutions
http://www.aker.com.br
Comment 4 Jorge Peixoto Vasquez 2001-03-28 12:50:22 UTC
More info:

when I kill the hung process (kdeinit... 100% ...) I can restore the system 
by starting kxkb again since it always hangs up two. In fact it is normal 
for two processes to hang up togheter one of them being kxkb.

jOrge
-- 
Jorge Peixoto Vasquez Elect. Eng.
Aker Security Solutions
http://www.aker.com.br
Comment 5 Alberto Azzalini 2001-07-17 20:54:35 UTC
I've been reading through the thread and I dicovered our pcs are not the only 
one to freeze on startup of kde.

The only problem I could not trace down what's happened since the pcs 
completely hang and I must reboot (i.e. push the off button).
I think it's because we are in init 5 mode so no way back to kill the 
application.

Is there any *good* solution for that? We use it at university and it' pretty 
bothering to rebbot the machine every 2 or 3 logons...

Thanks

Alberto Azzalini

azzalini at removeformailingme.ing.unitn.it
Comment 6 Waldo Bastian 2001-09-29 00:43:39 UTC
Original problem might be a FreeBSD thread-support problem.

Other problems reported to BR21123 seems to be totally unrelated.

Cheers
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
Comment 7 Lauri Watts 2002-03-20 17:29:27 UTC
Thank you for your bug report.
The bug that your reported no longer applies to the latest development
(CVS) version of KDE. This is most probably because the bug has been
fixed the application has been substantially modified or the application =
no=20
longer exists. The bug report will be closed.

KDE now builds with proper threads support on FreeBSD and this freeze cann=
ot=20
be reproduced any longer.