Bug 305453

Summary: Crash when starting CEWE
Product: [Unmaintained] kdelibs Reporter: Paulo <paulac.bur>
Component: kshareddatacacheAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: mpyne, vovochka13
Priority: NOR    
Version: 4.8.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paulo 2012-08-19 19:47:59 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.8.5 (4.8.5) "release 521"
Qt Version: 4.8.2
Operating System: Linux 3.1.10-1.16-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
Plasma-desktop crashes every time I start Cewe (a photobook application), but also, once this application started, at every command with it.

The crash can be reproduced every time.

-- Backtrace:
Application: Outil de gestion de fenĂȘtres Plasma (plasma-desktop), signal: Bus error
[Current thread is 1 (Thread 0x7f9de6a097a0 (LWP 9793))]

Thread 3 (Thread 0x7f9db76d5700 (LWP 9798)):
#0  0x00007fffb33a08de in ?? ()
#1  0x00007f9dd9e75d9a in clock_gettime () from /lib64/librt.so.1
#2  0x00007f9de339f014 in do_gettime (frac=0x7f9db76d4a78, sec=0x7f9db76d4a70) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f9de347659d in QTimerInfoList::updateCurrentTime (this=0x7f9da8001ed0) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f9de34768d3 in QTimerInfoList::timerWait (this=0x7f9da8001ed0, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f9de347530c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f9db76d4b5c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f9de34753b5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f9dd9bc0b72 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f9dd9bc197d in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f9dd9bc1fa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f9de3475e36 in QEventDispatcherGlib::processEvents (this=0x7f9da80008e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f9de3445842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f9de3445a97 in QEventLoop::exec (this=0x7f9db76d4cf0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f9de33455f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f9de342562f in QInotifyFileSystemWatcherEngine::run (this=0x2171390) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f9de334861b in QThreadPrivate::start (arg=0x2171390) at thread/qthread_unix.cpp:307
#17 0x00007f9dd6a7dae4 in ?? () from /usr/X11R6/lib64/libGL.so.1
#18 0x00007f9de30b0f05 in start_thread () from /lib64/libpthread.so.0
#19 0x00007f9de630410d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9db6862700 (LWP 9802)):
#0  0x00007f9de30b4e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9de014c952 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f9de0445e80) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f9de014c989 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f9dd6a7dae4 in ?? () from /usr/X11R6/lib64/libGL.so.1
#4  0x00007f9de30b0f05 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f9de630410d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9de6a097a0 (LWP 9793)):
[KCrash Handler]
#6  0x00007f9de6349394 in __strncmp_ssse3 () from /lib64/libc.so.6
#7  0x00007f9de3c61951 in qstrncmp (len=<optimized out>, str2=0x31048b8 "$kico_mon univers photomoinscher 4.8_16_0:1:notrans", str1=<optimized out>) at /usr/include/QtCore/qbytearray.h:104
#8  SharedMemory::findNamedEntry (this=0x7f9dcf88f000, key=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/kdecore/util/kshareddatacache.cpp:786
#9  0x00007f9de3c5ed8c in KSharedDataCache::find (this=0x7757b0, key=..., destination=0x7fffb33859e0) at /usr/src/debug/kdelibs-4.8.5/kdecore/util/kshareddatacache.cpp:1637
#10 0x00007f9de40f9f39 in KIconLoaderPrivate::findCachedPixmapWithPath (this=0x782bf0, key=..., data=..., path=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/icons/kiconloader.cpp:861
#11 0x00007f9de40fa2b2 in KIconLoader::loadIcon (this=0x768890, _name=<optimized out>, group=KIconLoader::Small, size=16, state=0, overlays=..., path_store=0x0, canReturnNull=true) at /usr/src/debug/kdelibs-4.8.5/kdeui/icons/kiconloader.cpp:1225
#12 0x00007f9de42804ac in KWindowSystem::icon (win=100699552, width=16, height=16, scale=true, flags=15) at /usr/src/debug/kdelibs-4.8.5/kdeui/windowmanagement/kwindowsystem_x11.cpp:688
#13 0x00007f9de4280c43 in KWindowSystem::icon (win=<optimized out>, width=<optimized out>, height=<optimized out>, scale=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/kdeui/windowmanagement/kwindowsystem_x11.cpp:621
#14 0x00007f9dc56da77d in TaskManager::Task::refreshIcon() () from /usr/lib64/libtaskmanager.so.4
#15 0x00007f9dc56dab25 in TaskManager::Task::Task(unsigned long, QObject*, char const*) () from /usr/lib64/libtaskmanager.so.4
#16 0x00007f9dc56ea820 in TaskManager::TaskManager::windowAdded(unsigned long) () from /usr/lib64/libtaskmanager.so.4
#17 0x00007f9dc56eb03c in ?? () from /usr/lib64/libtaskmanager.so.4
#18 0x00007f9de345ac41 in QMetaObject::activate (sender=0x7b6750, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb3386480) at kernel/qobject.cpp:3556
#19 0x00007f9de4281d32 in KWindowSystem::windowAdded (this=<optimized out>, _t1=100699552) at /usr/src/debug/kdelibs-4.8.5/build/kdeui/kwindowsystem.moc:143
#20 0x00007f9de42822c1 in KWindowSystemPrivate::addClient (this=0x80c950, w=100699552) at /usr/src/debug/kdelibs-4.8.5/kdeui/windowmanagement/kwindowsystem_x11.cpp:269
#21 0x00007f9de4290d46 in NETRootInfo::update (this=0x80c978, dirty_props=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/kdeui/windowmanagement/netwm.cpp:2227
#22 0x00007f9de42919c3 in NETRootInfo::event (this=0x80c978, event=0x7fffb33867d0, properties=0x7fffb33866e0, properties_size=5) at /usr/src/debug/kdelibs-4.8.5/kdeui/windowmanagement/netwm.cpp:2099
#23 0x00007f9de42840eb in KWindowSystemPrivate::x11Event (this=0x80c950, ev=0x7fffb33867d0) at /usr/src/debug/kdelibs-4.8.5/kdeui/windowmanagement/kwindowsystem_x11.cpp:172
#24 0x00007f9de41740b6 in publicX11Event (e=0x7fffb33867d0, this=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/ksystemeventfilter.cpp:43
#25 KSystemEventFilterPrivate::filterEvent (this=0x840eb0, message=0x7fffb33867d0) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/ksystemeventfilter.cpp:102
#26 0x00007f9de34397ae in QAbstractEventDispatcher::filterEvent (this=<optimized out>, message=<optimized out>) at kernel/qabstracteventdispatcher.cpp:539
#27 0x00007f9de2650988 in x11EventSourceDispatch (s=0x70ae70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#28 0x00007f9dd9bc15dd in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f9dd9bc1dd8 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f9dd9bc1fa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f9de3475dcf in QEventDispatcherGlib::processEvents (this=0x607000, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007f9de265069e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f9de3445842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f9de3445a97 in QEventLoop::exec (this=0x7fffb3386ba0, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f9de344a8b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#36 0x00007f9de65fd023 in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#37 0x00007f9de624a23d in __libc_start_main () from /lib64/libc.so.6
#38 0x0000000000400691 in _start ()

Possible duplicates by query: bug 304314.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-08-25 09:07:43 UTC
Could your provide a URL for CEWE ?
Comment 2 Paulo 2012-08-25 11:32:28 UTC
Here : http://www.livrephoto-cewe.fr/download.php. It is the same application whatever the company.
Comment 3 Vovochka 2014-11-20 13:39:22 UTC
Is someone investigating this?
I've also got many plasma-desktop crashes with deferent traces, but in any case they are ending in:

#3  __strncmp_ssse3 () at ../sysdeps/x86_64/strcmp.S:209
#4  0x00007f69189d705c in qstrncmp (len=<optimized out>, str2=<optimized out>, str1=<optimized out>) at /usr/include/QtCore/qbytearray.h:104

My system:
openSUSE 13.2
kde 4.14.2
qt 4.8.6


It looks like some bug in qt, but qt bugtracker shows nothing when searching by "__strncmp_ssse3".

I can provide coredump if needed.
Comment 4 Christoph Feck 2014-12-13 00:06:37 UTC
What you see is bug 340657, caused by a bug in btrfs.
Comment 5 Dominik Haumann 2016-09-06 12:11:06 UTC

*** This bug has been marked as a duplicate of bug 361426 ***