Bug 422959 - Thumbnailer crashed in ThumbnailProtocol::createSubThumbnail() when I opened /usr/share/icons with Dolphin
Summary: Thumbnailer crashed in ThumbnailProtocol::createSubThumbnail() when I opened ...
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Thumbnails and previews (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-14 11:38 UTC by Patrick Silva
Modified: 2025-03-27 18:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-06-14 11:38:04 UTC
SUMMARY
I typed /usr/share/icons in the location bar, pressed enter then Plasma shows
a notification about kdeinit5 crash.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2

Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fe3ad6ec800 (LWP 4108))]
[KCrash Handler]
#6  0x00007fe3acdba0f5 in _XSend (dpy=dpy@entry=0x55929c2830a0, data=data@entry=0x0, size=size@entry=0) at ../../src/xcb_io.c:492
#7  0x00007fe3acdba4c0 in _XFlush (dpy=0x55929c2830a0) at ../../src/xcb_io.c:512
#8  0x00007fe3acdbcfc5 in _XGetRequest (dpy=dpy@entry=0x55929c2830a0, type=type@entry=98 'b', len=len@entry=8) at ../../src/XlibInt.c:1707
#9  0x00007fe3acdb06cd in XQueryExtension (dpy=dpy@entry=0x55929c2830a0, name=name@entry=0x7fe39a3e7230 <XRenderExtensionName> "RENDER", major_opcode=major_opcode@entry=0x7ffd8fb89cc4, first_event=first_event@entry=0x7ffd8fb89cc8, first_error=first_error@entry=0x7ffd8fb89ccc) at ../../src/QuExt.c:44
#10 0x00007fe3acda3ee6 in XInitExtension (dpy=dpy@entry=0x55929c2830a0, name=name@entry=0x7fe39a3e7230 <XRenderExtensionName> "RENDER") at ../../src/InitExt.c:47
#11 0x00007fe39a1e49bd in XRenderExtAddDisplay (extinfo=0x7fe39a3e7250 <XRenderExtensionInfo>, ext_name=0x7fe39a3e7230 <XRenderExtensionName> "RENDER", dpy=0x55929c2830a0) at ../../src/Xrender.c:203
#12 0x00007fe39a1e49bd in XRenderFindDisplay (dpy=0x55929c2830a0) at ../../src/Xrender.c:289
#13 0x00007fe39a1e4ce1 in XRenderQueryExtension (dpy=dpy@entry=0x55929c2830a0, event_basep=event_basep@entry=0x7ffd8fb89dc0, error_basep=error_basep@entry=0x7ffd8fb89dc4) at ../../src/Xrender.c:311
#14 0x00007fe37085e327 in _XftDisplayInfoGet (dpy=dpy@entry=0x55929c2830a0, createIfNecessary=createIfNecessary@entry=1) at ../../src/xftdpy.c:99
#15 0x00007fe3708628de in XftFontInfoFill (dpy=dpy@entry=0x55929c2830a0, pattern=pattern@entry=0x55929ca12a80, fi=fi@entry=0x7ffd8fb89ed0) at ../../src/xftfreetype.c:367
#16 0x00007fe370863256 in XftFontOpenPattern (dpy=0x55929c2830a0, pattern=pattern@entry=0x55929ca12a80) at ../../src/xftfreetype.c:1015
#17 0x00007fe370a71bcf in KFI::CFcEngine::getFont(int) (this=this@entry=0x55929c9ca388, size=size@entry=8) at ./kcms/kfontinst/lib/FcEngine.cpp:1299
#18 0x00007fe370a721a2 in KFI::CFcEngine::queryFont() (this=this@entry=0x55929c9ca388) at ./kcms/kfontinst/lib/FcEngine.cpp:1233
#19 0x00007fe370a729e8 in KFI::CFcEngine::getSizes() (this=0x55929c9ca388) at ./kcms/kfontinst/lib/FcEngine.cpp:1391
#20 0x00007fe370a743f0 in KFI::CFcEngine::draw(QString const&, unsigned int, int, QColor const&, QColor const&, int, int, bool, QList<KFI::CFcEngine::TRange> const&, QList<KFI::CFcEngine::TChar>*) (this=0x55929c9ca388, name=..., style=<optimized out>, faceNo=<optimized out>, txt=..., bgnd=..., w=128, h=128, thumb=true, range=..., chars=0x0) at ./kcms/kfontinst/lib/FcEngine.cpp:876
#21 0x00007fe370c7b275 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/fontthumbnail.so
#22 0x00007fe39d899f64 in ThumbnailProtocol::createSubThumbnail(QImage&, QString const&, int, int) (this=this@entry=0x7ffd8fb8a8e0, thumbnail=..., filePath=..., segmentWidth=segmentWidth@entry=54, segmentHeight=segmentHeight@entry=34) at ./thumbnail/thumbnail.cpp:729
#23 0x00007fe39d89a578 in ThumbnailProtocol::drawSubThumbnail(QPainter&, QString const&, int, int, int, int, int) (this=this@entry=0x7ffd8fb8a8e0, p=..., filePath=..., width=width@entry=54, height=height@entry=34, xPos=xPos@entry=9, yPos=38, frameWidth=2) at ./thumbnail/thumbnail.cpp:761
#24 0x00007fe39d89abc2 in ThumbnailProtocol::thumbForDirectory(QUrl const&) (this=this@entry=0x7ffd8fb8a8e0, directory=...) at ./thumbnail/thumbnail.cpp:564
#25 0x00007fe39d89c004 in ThumbnailProtocol::get(QUrl const&) (this=0x7ffd8fb8a8e0, url=...) at ./thumbnail/thumbnail.cpp:238
#26 0x00007fe3a3b0d52d in KIO::SlaveBase::dispatch(int, QByteArray const&) (this=0x7ffd8fb8a8e0, command=67, data=...) at ./src/core/slavebase.cpp:1206
#27 0x00007fe3a3b0de16 in KIO::SlaveBase::dispatchLoop() (this=this@entry=0x7ffd8fb8a8e0) at ./src/core/slavebase.cpp:338
#28 0x00007fe39d899270 in kdemain(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./thumbnail/thumbnail.cpp:138
#29 0x000055929ad433ad in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) (argc=4, _name=0x55929c27e468 "/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=0x55929ad45e87 "0") at ./src/kdeinit/kinit.cpp:708
#30 0x000055929ad447cb in handle_launcher_request(int, char const*) (sock=8, who=<optimized out>) at ./src/kdeinit/kinit.cpp:1146
#31 0x000055929ad4505b in handle_requests(pid_t) (waitForPid=0) at ./src/kdeinit/kinit.cpp:1339
#32 0x000055929ad40004 in main(int, char**) (argc=3, argv=<optimized out>) at ./src/kdeinit/kinit.cpp:1777
Comment 1 Nate Graham 2021-03-17 23:49:14 UTC
Looks like it was trying to generate font thumbnails?