Bug 274423

Summary: kcminit crash after login
Product: [I don't know] kde Reporter: Manolis Maroudas <kapamaroo>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: cfeck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Manolis Maroudas 2011-05-29 14:55:45 UTC
Application: kcminit_startup ()
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-0.slh.2-aptosid-686 i686
Distribution (Platform): Debian unstable

-- Information about the crash:
kcminit crashes everytime after login

The crash can be reproduced every time.

-- Backtrace:
Application: KCMInit (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#7  0x0002fbd0 in ?? ()
#8  0xb78efff2 in call_init (l=<value optimized out>, argc=<value optimized out>, argv=0xbff27ca4, env=0x8f0df28) at dl-init.c:85
#9  0xb78f00c9 in _dl_init (main_map=0x8f19578, argc=<value optimized out>, argv=<value optimized out>, env=0x8f0df28) at dl-init.c:134
#10 0xb78f40f9 in dl_open_worker (a=0xbff263d0) at dl-open.c:464
#11 0xb78efbd6 in _dl_catch_error (objname=<value optimized out>, errstring=<value optimized out>, mallocedp=<value optimized out>, operate=0xb78f3d70 <dl_open_worker>, args=0xbff263d0) at dl-error.c:178
#12 0xb78f3946 in _dl_open (file=0x8f0c9c8 "/usr/lib/kde4/kcm_keys.so", mode=<value optimized out>, caller_dlopen=0xb6f3d851, nsid=-2, argc=4, argv=0xbff27ca4, env=0x8f0df28) at dl-open.c:555
#13 0xb5d43c0b in dlopen_doit (a=0xbff265b0) at dlopen.c:67
#14 0xb78efbd6 in _dl_catch_error (objname=<value optimized out>, errstring=<value optimized out>, mallocedp=<value optimized out>, operate=0xb5d43b70 <dlopen_doit>, args=0xbff265b0) at dl-error.c:178
#15 0xb5d4409c in _dlerror_run (operate=<value optimized out>, args=<value optimized out>) at dlerror.c:164
#16 0xb5d43b41 in __dlopen (file=0x8f0c9c8 "/usr/lib/kde4/kcm_keys.so", mode=1) at dlopen.c:88
#17 0xb6f3d851 in QLibraryPrivate::load_sys (this=0x8f0e1b0) at plugin/qlibrary_unix.cpp:205
#18 0xb6f382f4 in load (this=0x8f0e1b0) at plugin/qlibrary.cpp:446
#19 QLibraryPrivate::load (this=0x8f0e1b0) at plugin/qlibrary.cpp:439
#20 0xb78cfb2c in KCMInit::runModule (this=0xbff27440, libName=..., service=...) at ../../kcminit/main.cpp:73
#21 0xb78d03aa in KCMInit::runModules (this=0xbff27440, phase=1) at ../../kcminit/main.cpp:133
#22 0xb78d0508 in KCMInit::runPhase1 (this=0xbff27440) at ../../kcminit/main.cpp:224
#23 0xb78d05b4 in KCMInit::qt_metacall (this=0xbff27440, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbff26888) at ./main.moc:84
#24 0xb5dc415d in QDBusConnectionPrivate::deliverCall (this=0x8eb67c8, object=0xbff27440, msg=..., metaTypes=..., slotIdx=-1074627420) at qdbusintegrator.cpp:941
#25 0xb5dc52a6 in QDBusConnectionPrivate::activateCall (this=0x8eb67c8, object=0xbff27440, flags=48, msg=...) at qdbusintegrator.cpp:844
#26 0xb5dc5c24 in QDBusConnectionPrivate::activateObject (this=0x8eb67c8, node=..., msg=..., pathStartPos=-1074632116) at qdbusintegrator.cpp:1429
#27 0xb5dc5e48 in QDBusActivateObjectEvent::placeMetaCall (this=0x8f0e090) at qdbusintegrator.cpp:1523
#28 0xb6f6423f in QObject::event (this=0xbff27440, e=0x8f0e090) at kernel/qobject.cpp:1217
#29 0xb6479044 in notify_helper (this=0x8e30900, receiver=0xbff27440, e=0x8f0e090) at kernel/qapplication.cpp:4467
#30 QApplicationPrivate::notify_helper (this=0x8e30900, receiver=0xbff27440, e=0x8f0e090) at kernel/qapplication.cpp:4439
#31 0xb647e3d2 in QApplication::notify (this=0x8f0e090, receiver=0xbff27440, e=0x8f0e090) at kernel/qapplication.cpp:4214
#32 0xb7682de1 in KApplication::notify (this=0xbff27450, receiver=0xbff27440, event=0x8f0e090) at ../../kdeui/kernel/kapplication.cpp:311
#33 0xb6f4bf7e in QCoreApplication::notifyInternal (this=0xbff27450, receiver=0xbff27440, event=0x8f0e090) at kernel/qcoreapplication.cpp:731
#34 0xb6f4f6d8 in sendEvent (receiver=0x0, event_type=0, data=0x8dc1c68) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8dc1c68) at kernel/qcoreapplication.cpp:1372
#36 0xb6f4f89c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#37 0xb6f79e84 in sendPostedEvents (s=0x8e32a90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=0x8e32a90) at kernel/qeventdispatcher_glib.cpp:277
#39 0xb5c33252 in g_main_dispatch (context=0x8e32a00) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:2440
#40 g_main_context_dispatch (context=0x8e32a00) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:3013
#41 0xb5c33a30 in g_main_context_iterate (context=0x8e32a00, block=1, dispatch=1, self=<value optimized out>) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:3091
#42 0xb5c33ce4 in g_main_context_iteration (context=0x8e32a00, may_block=1) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:3154
#43 0xb6f7a2b7 in QEventDispatcherGlib::processEvents (this=0x8e29b30, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#44 0xb652e14a in QGuiEventDispatcherGlib::processEvents (this=0x8e29b30, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0xb6f4af9d in QEventLoop::processEvents (this=0xbff271f4, flags=...) at kernel/qeventloop.cpp:149
#46 0xb6f4b1e1 in QEventLoop::exec (this=0xbff271f4, flags=...) at kernel/qeventloop.cpp:201
#47 0xb6f4f94a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#48 0xb6476ea4 in QApplication::exec () at kernel/qapplication.cpp:3741
#49 0xb78d0d8e in KCMInit::KCMInit (this=0xbff27440, args=0x8e29670) at ../../kcminit/main.cpp:211
#50 0xb78d1be1 in kdemain (argc=1, argv=0x8e18980) at ../../kcminit/main.cpp:264
#51 0x0804fc65 in launch (argc=1, _name=0x8dc3301 "kcminit_startup", args=<value optimized out>, cwd=0x0, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x805244a "0") at ../../kinit/kinit.cpp:746
#52 0x0804c71e in main (argc=195536, argv=0xffffffff, envp=0x0) at ../../kinit/kinit.cpp:1874

Possible duplicates by query: bug 274300, bug 264954, bug 262002.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-06-01 23:16:03 UTC
Do you have both Qt 3 and Qt 4 libraries installed?
Comment 2 Manolis Maroudas 2011-06-02 13:52:24 UTC
from the terminal:

$ aptitude search qt |grep -i ^i.*'qt[ -]*3'
i   libqt3-mt                       - Qt GUI Library (Threaded runtime version),
i   libqt3-mt-mysql                 - MySQL database driver for Qt3 (Threaded)  
i   libqt4-qt3support               - Qt 3 compatibility library for Qt 4       
i   pinentry-qt                     - Qt-3-based PIN or pass-phrase entry dialog

It seems that i can only remove the libqt3-mt-mysql and pinentry-qt without removing kde. 

After removing them,

$ aptitude search qt |grep -i ^i.*'qt[ -]*3'
i   libqt3-mt                       - Qt GUI Library (Threaded runtime version),
i   libqt4-qt3support               - Qt 3 compatibility library for Qt 4      

kcminit still crashes
Comment 3 Manolis Maroudas 2011-07-24 18:04:45 UTC
No crash after format and fresh install. I suppose something was wrong in my previous installation or configuration.
Comment 4 Christoph Feck 2011-07-24 23:39:59 UTC
Thanks for the update, marking this entry as resolved. If you see another bug, please add a new entry.