https://bugs.kde.org/show_bug.cgi?id=414905

            Bug ID: 414905
           Summary: crash while creating a thumbnail for some specific EPS
                    file
           Product: kio-extras
           Version: 19.08.1
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Thumbnails and previews
          Assignee: plasma-b...@kde.org
          Reporter: l.bonn...@laposte.net
  Target Milestone: ---

SUMMARY

KDE's thumnailer crashes in GSCreator::create()

STEPS TO REPRODUCE
1. put the attached file in a directory
2. view this directory with dolphin

OBSERVED RESULT

crash

EXPECTED RESULT

no crash

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.64
kio-extra: 19.08.3
Qt Version: 5.12.4

ADDITIONAL INFORMATION

Application: kdeinit5 (kdeinit5), signal: Floating point exception
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f19f67cf480 (LWP 9827))]

Thread 3 (Thread 0x7f19ebd13700 (LWP 9830)):
#0  0x00007f19f9a74c2f in __GI___poll (fds=0x7f19e00029e0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f19f8687a3e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f19f8687b73 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f19f9e2d6c3 in QEventDispatcherGlib::processEvents
(this=0x7f19e0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f19f9dd463b in QEventLoop::exec (this=this@entry=0x7f19ebd12df0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f19f9c0da75 in QThread::exec (this=this@entry=0x7f19f5d26d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f19f5ca3efa in QDBusConnectionManager::run (this=0x7f19f5d26d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#7  0x00007f19f9c0ecc2 in QThreadPrivate::start (arg=0x7f19f5d26d80 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:361
#8  0x00007f19f8fef669 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#9  0x00007f19f9a81323 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f19f1a27700 (LWP 9829)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55a7e5d2c498) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a7e5d2c448,
cond=0x55a7e5d2c470) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55a7e5d2c470, mutex=0x55a7e5d2c448) at
pthread_cond_wait.c:638
#3  0x00007f19f20f497b in cnd_wait (mtx=0x55a7e5d2c448, cond=0x55a7e5d2c470) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55a7e5ba40f0) at
../src/util/u_queue.c:258
#5  0x00007f19f20f459b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007f19f8fef669 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#7  0x00007f19f9a81323 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f19f67cf480 (LWP 9827)):
[KCrash Handler]
#6  0x00007f19ea1aa1f0 in GSCreator::create (this=<optimized out>, path=...,
width=128, height=128, img=...) at ./ps/gscreator.cpp:281
#7  0x00007f19fa8f684d in ThumbnailProtocol::createSubThumbnail
(this=this@entry=0x7ffeabf088f0, thumbnail=..., filePath=...,
segmentWidth=segmentWidth@entry=108, segmentHeight=segmentHeight@entry=68) at
./thumbnail/thumbnail.cpp:727
#8  0x00007f19fa8f6e6a in ThumbnailProtocol::drawSubThumbnail
(this=this@entry=0x7ffeabf088f0, p=..., filePath=..., width=width@entry=108,
height=height@entry=68, xPos=xPos@entry=19, yPos=76, frameWidth=3) at
./thumbnail/thumbnail.cpp:759
#9  0x00007f19fa8f74cf in ThumbnailProtocol::thumbForDirectory
(this=this@entry=0x7ffeabf088f0, directory=...) at
./thumbnail/thumbnail.cpp:562
#10 0x00007f19fa8f8bc2 in ThumbnailProtocol::get (this=0x7ffeabf088f0, url=...)
at ./thumbnail/thumbnail.cpp:238
#11 0x00007f19f6136bc6 in KIO::SlaveBase::dispatch(int, QByteArray const&) ()
from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#12 0x00007f19f6137266 in KIO::SlaveBase::dispatchLoop() () from
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#13 0x00007f19fa8f5b72 in kdemain (argc=<optimized out>, argv=0x55a7e5b03f10)
at ./thumbnail/thumbnail.cpp:138
#14 0x000055a7e445a77d in ?? ()
#15 0x000055a7e445b86a in ?? ()
#16 0x000055a7e445c25a in ?? ()
#17 0x000055a7e445712f in ?? ()
#18 0x00007f19f99861e3 in __libc_start_main (main=0x55a7e4456750, argc=5,
argv=0x7ffeabf090e8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffeabf090d8) at ../csu/libc-start.c:308
#19 0x000055a7e4457d9e in ?? ()
[Inferior 1 (process 9827) detached]

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to