Bug 286185

Summary: cannot find "kdiff3_part.rc"
Product: [Applications] kdiff3 Reporter: Hans-Rudi Denzler <hr.denzler>
Component: kpartAssignee: Joachim Eibl <joachim.eibl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.9.95   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: kdiff3-0.9.96-31.3.x86_64
Sentry Crash Report:

Description Hans-Rudi Denzler 2011-11-09 12:57:38 UTC
Version:           0.9.95 (using KDE 4.7.3) 
OS:                Linux

since KDE 4.7.3 in openSUSE 11.4 from
http://download.opensuse.org/repositories/KDE:/Release:/47/openSUSE_11.4/
kdiff3-0.9.95-3.3.x86_64

openSUSE_11.4 packaging problem ?

Reproducible: Didn't try

Steps to Reproduce:
> kdiff3
kdiff3(9719) KXMLGUIClient::setXMLFile: cannot find .rc file "kdiff3_part.rc" for component "kdiff3part"

Actual Results:  
KCrash: Application 'plasma-desktop' crashing... (.xsession-errors)

Expected Results:  
Plasma shouldn't crash after starting kdiff3 as before KDE 4.7.3.

Where is kdiff3_part.rc in package ?
> rpm -ql kdiff3 | grep kdiff3_part.rc
/usr/share/kde4/apps/kdiff3/kdiff3_part.rc
                ****/******/

Where is kdiff3 looking for file ?
> strace -o trace -f -e stat kdiff3
stat("/usr/share/kde4/apps/kdiff3_part.rc", 0x7fff238ad0f0) = -1 ENOENT (No
                      ****/
such file or directory)
Comment 1 Hans-Rudi Denzler 2011-11-10 18:24:46 UTC
Since the 'plasma-desktop' crashing... bug doesn't crash kdiff3 but might be the reason for other 'plasma-desktop' crashings like starting eclipse from konsole (happens sometimes), I add the crash info. Before KDE 4.7.3 the system was very stable, but now the crashing... seems to be 'standard' behaviour.

Application: Plasma-Desktop-Umgebung (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f44e2f6f760 (LWP 11351))]

Thread 2 (Thread 0x7f44be2b1700 (LWP 11352)):
#0  0x00007f44e05f64f3 in poll () from /lib64/libc.so.6
#1  0x00007f44dd424114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f44dd424650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f44e1bf4636 in QEventDispatcherGlib::processEvents (this=0x10de840, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f44e1bc8c22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f44e1bc8e35 in QEventLoop::exec (this=0x7f44be2b0d20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f44e1addbe4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:498
#7  0x00007f44e1baa358 in QInotifyFileSystemWatcherEngine::run (this=0x10dcce0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f44e1ae04d5 in QThreadPrivate::start (arg=0x10dcce0) at thread/qthread_unix.cpp:331
#9  0x00007f44d2e959e3 in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007f44e184fa3f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f44e05ff66d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f44e2f6f760 (LWP 11351)):
[KCrash Handler]
#6  operator== (this=0x175cc20) at /usr/include/QtCore/qbasicatomic.h:70
#7  isNull (this=0x175cc20) at /usr/include/QtCore/qsharedpointer_impl.h:568
#8  operator! (this=0x175cc20) at /usr/include/QtCore/qsharedpointer_impl.h:574
#9  TaskManager::TaskItem::task (this=0x175cc20) at /usr/src/debug/kde-workspace-4.7.3/libs/taskmanager/taskitem.cpp:113
#10 0x00007f44c86001ea in WindowTaskItem::publishIconGeometry (this=0x1e8cc50, rect=...) at /usr/src/debug/kde-workspace-4.7.3/plasma/desktop/applets/tasks/windowtaskitem.cpp:130
#11 0x00007f44c86111ca in TaskGroupItem::publishIconGeometry (this=<value optimized out>, rect=...) at /usr/src/debug/kde-workspace-4.7.3/plasma/desktop/applets/tasks/taskgroupitem.cpp:1432
#12 0x00007f44c860fc75 in TaskGroupItem::publishIconGeometry (this=0x8e4f80) at /usr/src/debug/kde-workspace-4.7.3/plasma/desktop/applets/tasks/taskgroupitem.cpp:1424
#13 0x00007f44c860d5ec in AbstractTaskItem::timerEvent (this=0x8e4f80, event=<value optimized out>) at /usr/src/debug/kde-workspace-4.7.3/plasma/desktop/applets/tasks/abstracttaskitem.cpp:439
#14 0x00007f44e1bdd4d9 in QObject::event (this=0x8e4f80, e=<value optimized out>) at kernel/qobject.cpp:1190
#15 0x00007f44e138e87b in QGraphicsWidget::event (this=0x8e4f80, event=0x7fff4026ce90) at graphicsview/qgraphicswidget.cpp:1455
#16 0x00007f44e0d6f264 in QApplicationPrivate::notify_helper (this=0x71cb70, receiver=0x8e4f80, e=0x7fff4026ce90) at kernel/qapplication.cpp:4481
#17 0x00007f44e0d7781a in QApplication::notify (this=<value optimized out>, receiver=0x8e4f80, e=0x7fff4026ce90) at kernel/qapplication.cpp:4360
#18 0x00007f44e2954ae6 in KApplication::notify (this=0x6ffae0, receiver=0x8e4f80, event=0x7fff4026ce90) at /usr/src/debug/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#19 0x00007f44e1bc97cc in QCoreApplication::notifyInternal (this=0x6ffae0, receiver=0x8e4f80, event=0x7fff4026ce90) at kernel/qcoreapplication.cpp:787
#20 0x00007f44e1bf7198 in sendEvent (this=0x719470) at kernel/qcoreapplication.h:215
#21 QTimerInfoList::activateTimers (this=0x719470) at kernel/qeventdispatcher_unix.cpp:618
#22 0x00007f44e1bf3f28 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#23 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#24 0x00007f44dd423bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#25 0x00007f44dd4243b0 in ?? () from /lib64/libglib-2.0.so.0
#26 0x00007f44dd424650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#27 0x00007f44e1bf45df in QEventDispatcherGlib::processEvents (this=0x714810, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#28 0x00007f44e0e151ae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f44e1bc8c22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f44e1bc8e35 in QEventLoop::exec (this=0x7fff4026d1a0, flags=...) at kernel/qeventloop.cpp:201
#31 0x00007f44e1bcd27b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#32 0x00007f44cf10125d in kdemain (argc=1, argv=0x6b5600) at /usr/src/debug/kde-workspace-4.7.3/plasma/desktop/shell/main.cpp:120
#33 0x0000000000407279 in _start ()
Comment 2 Christoph Feck 2011-11-10 22:36:41 UTC

*** This bug has been marked as a duplicate of bug 272495 ***
Comment 3 Christoph Feck 2011-11-10 22:38:24 UTC
Sorry, the plasma crash is the duplicate, the kdiff3 issue is still unconfirmed.
Comment 4 Hans-Rudi Denzler 2011-11-13 12:29:11 UTC
@Comment #2
Repo changed to:
http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_11.4/

Maybe the commits of Aaron J Seigo didn't make it yet into above repo:
see <--------(1)--------
see <--------(2)--------

Application: Plasma-Desktop-Umgebung (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f3499a8e760 (LWP 11795))]

Thread 2 (Thread 0x7f3474df3700 (LWP 11796)):
#0  0x00007f34971154f3 in poll () from /lib64/libc.so.6
#1  0x00007f3493f6d114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f3493f6d650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f3498713636 in QEventDispatcherGlib::processEvents (this=0x10e3600, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f34986e7c22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f34986e7e35 in QEventLoop::exec (this=0x7f3474df2d20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f34985fcbe4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:498
#7  0x00007f34986c9358 in QInotifyFileSystemWatcherEngine::run (this=0x10d4940) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f34985ff4d5 in QThreadPrivate::start (arg=0x10d4940) at thread/qthread_unix.cpp:331
#9  0x00007f34899d99e3 in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007f349836ea3f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f349711e66d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3499a8e760 (LWP 11795)):
[KCrash Handler]
#6  operator== (this=0x188e740) at /usr/include/QtCore/qbasicatomic.h:70
#7  isNull (this=0x188e740) at /usr/include/QtCore/qsharedpointer_impl.h:568
#8  operator! (this=0x188e740) at /usr/include/QtCore/qsharedpointer_impl.h:574
#9  TaskManager::TaskItem::task (this=0x188e740) at /usr/src/debug/kde-workspace-4.7.3/libs/taskmanager/taskitem.cpp:113
#10 0x00007f347f1421ea in WindowTaskItem::publishIconGeometry (this=0x1e50f30, rect=...) at /usr/src/debug/kde-workspace-4.7.3/plasma/desktop/applets/tasks/windowtaskitem.cpp:130
#11 0x00007f347f1531ea in TaskGroupItem::publishIconGeometry (this=<value optimized out>, rect=...) at /usr/src/debug/kde-workspace-4.7.3/plasma/desktop/applets/tasks/taskgroupitem.cpp:1435   <--------(1)-------- 1432 @Comment #1
#12 0x00007f347f151c75 in TaskGroupItem::publishIconGeometry (this=<value optimized out>) at /usr/src/debug/kde-workspace-4.7.3/plasma/desktop/applets/tasks/taskgroupitem.cpp:1427   <--------(2)--------1424 @Comment #1
#13 0x00007f347f14f5ec in AbstractTaskItem::timerEvent (this=0x1ec51d0, event=<value optimized out>) at /usr/src/debug/kde-workspace-4.7.3/plasma/desktop/applets/tasks/abstracttaskitem.cpp:439
#14 0x00007f34986fc4d9 in QObject::event (this=0x1ec51d0, e=<value optimized out>) at kernel/qobject.cpp:1190
#15 0x00007f3497eadb0b in QGraphicsWidget::event (this=0x1ec51d0, event=0x7fff42eeac90) at graphicsview/qgraphicswidget.cpp:1455
#16 0x00007f349788e264 in QApplicationPrivate::notify_helper (this=0x71cb90, receiver=0x1ec51d0, e=0x7fff42eeac90) at kernel/qapplication.cpp:4481
#17 0x00007f349789681a in QApplication::notify (this=<value optimized out>, receiver=0x1ec51d0, e=0x7fff42eeac90) at kernel/qapplication.cpp:4360
#18 0x00007f3499473ae6 in KApplication::notify (this=0x6f8680, receiver=0x1ec51d0, event=0x7fff42eeac90) at /usr/src/debug/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#19 0x00007f34986e87cc in QCoreApplication::notifyInternal (this=0x6f8680, receiver=0x1ec51d0, event=0x7fff42eeac90) at kernel/qcoreapplication.cpp:787
#20 0x00007f3498716198 in sendEvent (this=0x719450) at kernel/qcoreapplication.h:215
#21 QTimerInfoList::activateTimers (this=0x719450) at kernel/qeventdispatcher_unix.cpp:618
#22 0x00007f3498712f28 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#23 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#24 0x00007f3493f6cbd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#25 0x00007f3493f6d3b0 in ?? () from /lib64/libglib-2.0.so.0
#26 0x00007f3493f6d650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#27 0x00007f34987135df in QEventDispatcherGlib::processEvents (this=0x714890, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#28 0x00007f349793438e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f34986e7c22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f34986e7e35 in QEventLoop::exec (this=0x7fff42eeafa0, flags=...) at kernel/qeventloop.cpp:201
#31 0x00007f34986ec27b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#32 0x00007f3485c4525d in kdemain (argc=1, argv=0x6b5620) at /usr/src/debug/kde-workspace-4.7.3/plasma/desktop/shell/main.cpp:120
#33 0x0000000000407279 in _start ()
Comment 5 Christoph Feck 2011-11-14 00:59:32 UTC
I am not sure what you are reporting here:

1) Crash in taskmanager
2) "not found" message in kdiff3

Please decide and report the issues separately.
Comment 6 Hans-Rudi Denzler 2011-11-14 12:40:02 UTC
@1) Sorry, Revision 83f422db from Comment #20 of Bug 272495 is not yet in
http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_11.4/

Verified in groupmanager.cpp with
> mc kdebase4-workspace-4.7.3-694.1.src.rpm

which still reads:
    geometryTasks.remove(taskItem->task().data());
and not:
    geometryTasks.remove(taskItem->task());

@2) Sorry, the "not found" message in kdiff3 was present already in openSUSE 11.2.