Bug 347967 - Plasma Crashes while computing preview tooltips
Summary: Plasma Crashes while computing preview tooltips
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-19 19:43 UTC by Torsten Landschoff
Modified: 2018-06-08 18:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Landschoff 2015-05-19 19:43:29 UTC
Application: plasma-desktop (4.11.13)
KDE Platform Version: 4.14.2
Qt Version: 4.8.7
Operating System: Linux 4.0.0-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
I hovered over an icon representing an image. After doing that for a few of my desktop icons, plasma crashes.
I was unable to identify the icon, it may be a dangling pointer that leads to the crash later.

My configuration is special in that I have the old style desktop background with icons immediately on the root window.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1358d7e800 (LWP 5432))]

Thread 4 (Thread 0x7f132c8e9700 (LWP 5433)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f135179ba3a in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f135179ba69 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f134bfc90a4 in start_thread (arg=0x7f132c8e9700) at pthread_create.c:309
#4  0x00007f135869b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f12a606d700 (LWP 5435)):
#0  0x00007f135869250d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f134b6a3ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f134b6a3fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1355156e77 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f13551263b1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f1355126715 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f135501ae99 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f1355106c03 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f135501d80f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f134bfc90a4 in start_thread (arg=0x7f12a606d700) at pthread_create.c:309
#10 0x00007f135869b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f128b35d700 (LWP 5445)):
#0  0x00007f135869250d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f134b6a3ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f134b6a3fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1355156e77 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f13551263b1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f1355126715 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f135501ae99 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f128de88bc7 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#8  0x00007f135501d80f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f134bfc90a4 in start_thread (arg=0x7f128b35d700) at pthread_create.c:309
#10 0x00007f135869b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f1358d7e800 (LWP 5432)):
[KCrash Handler]
#6  0x00007f127c7ccd28 in CLogInitializer::Initialize() () from /usr/lib/x86_64-linux-gnu/libutvideo.so.15
#7  0x00007f127c7c5df0 in ?? () from /usr/lib/x86_64-linux-gnu/libutvideo.so.15
#8  0x00007f1358bf19fa in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7ffeb4a795c8, env=env@entry=0xff57f0) at dl-init.c:78
#9  0x00007f1358bf1ae3 in call_init (env=0xff57f0, argv=0x7ffeb4a795c8, argc=1, l=<optimized out>) at dl-init.c:36
#10 _dl_init (main_map=main_map@entry=0x2e01df0, argc=1, argv=0x7ffeb4a795c8, env=0xff57f0) at dl-init.c:126
#11 0x00007f1358bf5c48 in dl_open_worker (a=a@entry=0x7ffeb4a77828) at dl-open.c:577
#12 0x00007f1358bf18b4 in _dl_catch_error (objname=objname@entry=0x7ffeb4a77818, errstring=errstring@entry=0x7ffeb4a77820, mallocedp=mallocedp@entry=0x7ffeb4a77817, operate=operate@entry=0x7f1358bf5970 <dl_open_worker>, args=args@entry=0x7ffeb4a77828) at dl-error.c:187
#13 0x00007f1358bf543b in _dl_open (file=0x2f0b508 "/usr/lib/strigi/strigiea_ffmpeg.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=1, argv=0x7ffeb4a795c8, env=0xff57f0) at dl-open.c:661
#14 0x00007f134d37402b in dlopen_doit (a=a@entry=0x7ffeb4a77a40) at dlopen.c:66
#15 0x00007f1358bf18b4 in _dl_catch_error (objname=0xfe9d60, errstring=0xfe9d68, mallocedp=0xfe9d58, operate=0x7f134d373fd0 <dlopen_doit>, args=0x7ffeb4a77a40) at dl-error.c:187
#16 0x00007f134d3745dd in _dlerror_run (operate=operate@entry=0x7f134d373fd0 <dlopen_doit>, args=args@entry=0x7ffeb4a77a40) at dlerror.c:163
#17 0x00007f134d3740c1 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#18 0x00007f134ed5546c in ?? () from /usr/lib/libstreamanalyzer.so.0
#19 0x00007f134ed559c2 in ?? () from /usr/lib/libstreamanalyzer.so.0
#20 0x00007f134ed7673c in ?? () from /usr/lib/libstreamanalyzer.so.0
#21 0x00007f134ed768b2 in Strigi::StreamAnalyzer::StreamAnalyzer(Strigi::AnalyzerConfiguration&) () from /usr/lib/libstreamanalyzer.so.0
#22 0x00007f1357d0bcab in ?? () from /usr/lib/libkio.so.5
#23 0x00007f1357d0c32a in KFileMetaInfo::KFileMetaInfo(QString const&, QString const&, QFlags<KFileMetaInfo::What>) () from /usr/lib/libkio.so.5
#24 0x00007f1357cf858f in KFileItem::metaInfo(bool, int) const () from /usr/lib/libkio.so.5
#25 0x00007f132db40a6f in ?? () from /usr/lib/kde4/plasma_applet_folderview.so
#26 0x00007f132db4338b in ?? () from /usr/lib/kde4/plasma_applet_folderview.so
#27 0x00007f132db43674 in ?? () from /usr/lib/kde4/plasma_applet_folderview.so
#28 0x00007f135513c85c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007f1357d3d197 in KIO::PreviewJob::gotPreview(KFileItem const&, QPixmap const&) () from /usr/lib/libkio.so.5
#30 0x00007f1357d4000e in ?? () from /usr/lib/libkio.so.5
#31 0x00007f1357d404ab in ?? () from /usr/lib/libkio.so.5
#32 0x00007f1357d41130 in KIO::PreviewJob::slotResult(KJob*) () from /usr/lib/libkio.so.5
#33 0x00007f135513c85c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x00007f135584a152 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#35 0x00007f135584a1a0 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#36 0x00007f1357cbab3b in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#37 0x00007f1357cbb870 in KIO::StatJob::slotFinished() () from /usr/lib/libkio.so.5
#38 0x00007f135513c85c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007f1357d66448 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#40 0x00007f1357d633ad in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#41 0x00007f1357d55efe in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#42 0x00007f135513c85c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#43 0x00007f1357c812f9 in ?? () from /usr/lib/libkio.so.5
#44 0x00007f1355140f51 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#45 0x00007f13544737bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#46 0x00007f135447a2d8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#47 0x00007f1355e4b1aa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#48 0x00007f135512785d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#49 0x00007f135512b101 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#50 0x00007f1355156d13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#51 0x00007f134b6a3c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f134b6a3f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f134b6a3fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f1355156e5d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#55 0x00007f135451b356 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#56 0x00007f13551263b1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#57 0x00007f1355126715 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#58 0x00007f135512c199 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#59 0x00007f135899e4bd in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#60 0x00007f13585d6b45 in __libc_start_main (main=0x4006f0, argc=1, argv=0x7ffeb4a795c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffeb4a795b8) at libc-start.c:287
#61 0x000000000040071e in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2015-05-20 22:51:26 UTC
Related to a video file, probably not an image file.
Comment 2 Torsten Landschoff 2015-05-21 04:53:41 UTC
(In reply to Christoph Feck from comment #1)
> Related to a video file, probably not an image file.

That was my first thought based on the backtrace as well. I actually have some video files on the desktop, in webm format. They are not next to the image file that caused the crash though.

I looked into .xsession-errors later that day and found that there were some unresolved symbols reported for a library. Wanted to paste that here but it's now gone from the file after doing a fresh login :-(

Since the crash I also did a dist-upgrade which repaired my browser (iceweasel did not start in between), so something was broken. My guess is that the cause was a bad library and the error during dlopen was not properly caught.

I'd consider this a bug and would expect a good error message about the broken library. On the other hand this was probably caused by a build problem and you can't catch all of them at runtime.

I leave it up to you to close the bug or investigate further. I wonder how to trigger this by modifying a shared library to break in dlopen...
Comment 3 Nate Graham 2018-06-08 18:18:59 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug has already been resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham