kde-thumbnailer-deb chrashes when viewing deb files

Bug #1882646 reported by Mark Fraser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libqapt (Ubuntu)
New
Undecided
Unassigned

Bug Description

When viewing a folder of deb packages in Dolphin Kubuntu 20.04, kde-thumbnailer-deb crashes.

Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f145b1c04c0 (LWP 48104))]

Thread 3 (Thread 0x7f14510c0700 (LWP 48107)):
#0 __GI___libc_read (nbytes=16, buf=0x7f14510bfbe0, fd=18) at ../sysdeps/unix/sysv/linux/read.c:26
#1 __GI___libc_read (fd=18, buf=0x7f14510bfbe0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2 0x00007f145cf9189f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f145cf48cfe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f145cf49152 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f145cf492e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007f145e72b583 in QEventDispatcherGlib::processEvents (this=0x7f144c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7 0x00007f145e6d24db in QEventLoop::exec (this=this@entry=0x7f14510bfdf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#8 0x00007f145e50a785 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#9 0x00007f145a68aefa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007f145e50b9d2 in QThreadPrivate::start (arg=0x7f145a70dd80) at thread/qthread_unix.cpp:361
#11 0x00007f145d8f6609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f145e37d103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f1458fa3700 (LWP 48105)):
#0 0x00007f145e37096f in __GI___poll (fds=0x7f1458fa2d28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f145efe1c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2 0x00007f145efe390a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3 0x00007f1459701298 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4 0x00007f145e50b9d2 in QThreadPrivate::start (arg=0x56065a4d96e0) at thread/qthread_unix.cpp:361
#5 0x00007f145d8f6609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6 0x00007f145e37d103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f145b1c04c0 (LWP 48104)):
[KCrash Handler]
#6 0x00007f145e590a19 in QStringView::QStringView<QString, true> (str=..., this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:257
#7 QString::endsWith (this=this@entry=0x56065ab28f88, s=..., cs=cs@entry=Qt::CaseSensitive) at tools/qstring.cpp:5154
#8 0x00007f144ad6f8f2 in DebThumbnailer::create (this=<optimized out>, path=..., width=128, height=128, img=...) at ./utils/qapt-deb-thumbnailer/DebThumbnailer.cpp:70
#9 0x00007f145f1c084d in ThumbnailProtocol::createSubThumbnail (this=this@entry=0x7ffe96b1b7d0, thumbnail=..., filePath=..., segmentWidth=segmentWidth@entry=108, segmentHeight=segmentHeight@entry=68) at ./thumbnail/thumbnail.cpp:727
#10 0x00007f145f1c0e6a in ThumbnailProtocol::drawSubThumbnail (this=this@entry=0x7ffe96b1b7d0, p=..., filePath=..., width=width@entry=108, height=height@entry=68, xPos=xPos@entry=19, yPos=76, frameWidth=3) at ./thumbnail/thumbnail.cpp:759
#11 0x00007f145f1c14cf in ThumbnailProtocol::thumbForDirectory (this=this@entry=0x7ffe96b1b7d0, directory=...) at ./thumbnail/thumbnail.cpp:562
#12 0x00007f145f1c2bc2 in ThumbnailProtocol::get (this=0x7ffe96b1b7d0, url=...) at ./thumbnail/thumbnail.cpp:238
#13 0x00007f145ab28fe6 in KIO::SlaveBase::dispatch (this=0x7ffe96b1b7d0, command=67, data=...) at ./src/core/slavebase.cpp:1197
#14 0x00007f145ab29686 in KIO::SlaveBase::dispatchLoop (this=this@entry=0x7ffe96b1b7d0) at ./src/core/slavebase.cpp:338
#15 0x00007f145f1bfb72 in kdemain (argc=<optimized out>, argv=0x56065a47ed50) at ./thumbnail/thumbnail.cpp:138
#16 0x00005606589dd77d in launch (argc=4, _name=0x56065a4b5388 "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so", args=<optimized out>, cwd=<optimized out>, envc=0, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x5606589e0187 "0") at ./src/kdeinit/kinit.cpp:708
#17 0x00005606589de86a in handle_launcher_request (sock=8, who=<optimized out>) at ./src/kdeinit/kinit.cpp:1146
#18 0x00005606589df25a in handle_requests (waitForPid=0) at ./src/kdeinit/kinit.cpp:1339
#19 0x00005606589da12f in main (argc=5, argv=<optimized out>) at ./src/kdeinit/kinit.cpp:1777
[Inferior 1 (process 48104) detached]

Revision history for this message
Mark Fraser (launchpad-mfraz) wrote :

Still happens in Kubuntu 21.04.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.