Bug 302403

Summary: kdeinit crashes during startup
Product: [Unmaintained] kdelibs Reporter: alexey <alexey.kutumov>
Component: kdedAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: adaptee, cfeck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description alexey 2012-06-23 13:33:44 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.2
Operating System: Linux 3.2.0-2-686-pae i686
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:

Every time after login kdeinit4 crashes.
This crash reproduced after updating from KDE 4.4 to KDE 4.8
Also it reproduces with clean user

The crash can be reproduced every time.

-- Backtrace:
Application: Служба KDE (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb5734710 (LWP 4110))]

Thread 2 (Thread 0xb2e46b70 (LWP 4196)):
#0  0xb5ae1e11 in *__GI_clock_gettime (clock_id=1, tp=0xb2e46008) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb6ce8ad5 in do_gettime (frac=0xb2e46000, sec=0xb2e45ff8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6dce2ee in QTimerInfoList::updateCurrentTime (this=0xa112a24) at kernel/qeventdispatcher_unix.cpp:343
#4  0x0a113950 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb5734710 (LWP 4110)):
[KCrash Handler]
#6  0x0000f260 in ?? ()
#7  0xb77a3202 in ?? () from /lib/ld-linux.so.2
#8  0xb77a32d9 in ?? () from /lib/ld-linux.so.2
#9  0xb77a728f in ?? () from /lib/ld-linux.so.2
#10 0xb77a2de6 in ?? () from /lib/ld-linux.so.2
#11 0xb77a6b06 in ?? () from /lib/ld-linux.so.2
#12 0xb5b5fc2b in dlopen_doit (a=0x0) at dlopen.c:67
#13 0xb77a2de6 in ?? () from /lib/ld-linux.so.2
#14 0xb5b600bc in _dlerror_run (operate=<optimized out>, args=<optimized out>) at dlerror.c:164
#15 0xb5b5fb61 in __dlopen (file=0xb0c03bbc "`\362", mode=1) at dlopen.c:88
#16 0xb6d8c551 in QLibraryPrivate::load_sys (this=0xa159900) at plugin/qlibrary_unix.cpp:209
#17 0xb6d88e74 in load (this=0xa159900) at plugin/qlibrary.cpp:466
#18 QLibraryPrivate::load (this=0xa159900) at plugin/qlibrary.cpp:458
#19 0xb6d891ce in QLibraryPrivate::loadPlugin (this=0xa159900) at plugin/qlibrary.cpp:516
#20 0xb6d7e493 in QPluginLoader::load (this=0xbfcc01ac) at plugin/qpluginloader.cpp:227
#21 0xb711d338 in KPluginLoader::load (this=this@entry=0xbfcc01ac) at ../../kdecore/util/kpluginloader.cpp:239
#22 0xb711df50 in KPluginLoader::factory (this=0xbfcc01ac) at ../../kdecore/util/kpluginloader.cpp:204
#23 0xb777cf8c in Kded::loadModule (this=this@entry=0xa030b28, s=..., onDemand=onDemand@entry=false) at ../../kded/kded.cpp:387
#24 0xb777de71 in Kded::loadSecondPhase (this=0xa030b28) at ../../kded/kded.cpp:295
#25 0xb778124f in KdedAdaptor::loadSecondPhase (this=this@entry=0xa030df0) at ../../kded/kdedadaptor.cpp:80
#26 0xb7781314 in qt_static_metacall (_a=0xbfcc03cc, _id=6, _o=0xa030df0, _c=<optimized out>) at ./kdedadaptor.moc:79
#27 KdedAdaptor::qt_static_metacall (_o=0xa030df0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfcc03cc) at ./kdedadaptor.moc:64
#28 0xb778156c in KdedAdaptor::qt_metacall (this=0xa030df0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfcc03cc) at ./kdedadaptor.moc:124
#29 0xb5beb43e in QDBusConnectionPrivate::deliverCall (this=0xa0243f8, object=0xa030df0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:947
#30 0xb5bec4fa in QDBusConnectionPrivate::activateCall (this=0xa0243f8, object=0xa030df0, flags=273, msg=...) at qdbusintegrator.cpp:850
#31 0xb5becca2 in QDBusConnectionPrivate::activateObject (this=0xa0243f8, node=..., msg=..., pathStartPos=167958273) at qdbusintegrator.cpp:1423
#32 0xb5bed0a8 in QDBusActivateObjectEvent::placeMetaCall (this=0xa11b668) at qdbusintegrator.cpp:1537
#33 0xb6db1d7b in QObject::event (this=0xa030b28, e=0xa11b668) at kernel/qobject.cpp:1195
#34 0xb628549c in QApplicationPrivate::notify_helper (this=0xa031418, receiver=0xa030b28, e=0xa11b668) at kernel/qapplication.cpp:4556
#35 0xb6289e9f in QApplication::notify (this=0xa11b668, receiver=0xa030b28, e=0xa11b668) at kernel/qapplication.cpp:3938
#36 0xb751bfb1 in KApplication::notify (this=0xbfcc0dfc, receiver=0xa030b28, event=0xa11b668) at ../../kdeui/kernel/kapplication.cpp:311
#37 0xb6d9b60e in QCoreApplication::notifyInternal (this=0xbfcc0dfc, receiver=0xa030b28, event=0xa11b668) at kernel/qcoreapplication.cpp:915
#38 0xb6d9f81d in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9fe4a40) at kernel/qcoreapplication.cpp:1539
#40 0xb6d9fa9c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#41 0xb6dcd784 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#42 postEventSourceDispatch (s=0xa033100) at kernel/qeventdispatcher_glib.cpp:279
#43 0xb5a29633 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0xb5a299d0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0xb5a29ab1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0xb6dcd901 in QEventDispatcherGlib::processEvents (this=0x9fe5d98, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#47 0xb63381fa in QGuiEventDispatcherGlib::processEvents (this=0x9fe5d98, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0xb6d9a0dc in QEventLoop::processEvents (this=this@entry=0xbfcc0c68, flags=...) at kernel/qeventloop.cpp:149
#49 0xb6d9a3d1 in QEventLoop::exec (this=0xbfcc0c68, flags=...) at kernel/qeventloop.cpp:204
#50 0xb6d9fb4a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#51 0xb62832f4 in QApplication::exec () at kernel/qapplication.cpp:3817
#52 0xb777c68a in kdemain (argc=1, argv=0xa01f5c0) at ../../kded/kded.cpp:924
#53 0x0804fdbe in launch (argc=argc@entry=1, _name=_name@entry=0x8052827 "kded4", args=<optimized out>, args@entry=0x0, cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x0, reset_env=reset_env@entry=false, tty=tty@entry=0x0, avoid_loops=avoid_loops@entry=false, startup_id_str=startup_id_str@entry=0x80526ae "0") at ../../kinit/kinit.cpp:746
#54 0x0804cec0 in main (argc=4, argv=0xbfcc1464, envp=0xbfcc1478) at ../../kinit/kinit.cpp:1861

Possible duplicates by query: bug 301727, bug 301619, bug 296582, bug 291249, bug 290945.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-06-23 13:40:38 UTC

*** This bug has been marked as a duplicate of bug 286388 ***
Comment 2 alexey 2012-06-24 02:14:23 UTC
I switched from nvidia proprietary driver to nouveau, but bug still exists.

Here is my `lsmod | grep nv` ouput:

nv_tco                 12758  0 
sata_nv                22186  4 
libata                124981  3 pata_amd,sata_nv,ata_generic

here is my glxinfo output:

name of display: :0
nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 30
nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 30
nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 55
nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 56
nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 59
nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 58
nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 30
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, 
    GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_create_context_es2_profile, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control, 
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, 
    GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control, 
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, 
    GLX_EXT_texture_from_pixmap
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NV4B
OpenGL version string: 2.1 Mesa 8.0.2
OpenGL shading language version string: 1.20



Also i noticed, that file ~/.xsession-errors contains errors:

Could not open library klauncher: Cannot load library /usr/lib/kde4/libkdeinit/libkdeinit4_klauncher.so: (/usr/lib/libnepomuk.so.4: undefined symbol: _ZN7Soprano10Vocabulary3NAO11userVisibleEv)
Comment 3 Christoph Feck 2012-06-24 11:48:00 UTC
Are you mixing different repositories? A missing symbol is always a packaging error.
Comment 4 alexey 2012-06-26 02:57:31 UTC
Thanks for the advice, i checked dependency of library /usr/lib/libnepomuk via ldd, and it showed me references to old soprano libraries which located in /usr/local/lib, and correct libraries from package was in /usr/lib, i removed old libraries, an bug disappeared