Bug 409756 - kdeinit5 crashed when I tried to run an executable file
Summary: kdeinit5 crashed when I tried to run an executable file
Status: RESOLVED DUPLICATE of bug 401031
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: default (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-12 21:25 UTC by Patrick Silva
Modified: 2020-11-01 12:10 UTC (History)
1 user (show)

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 Patrick Silva 2019-07-12 21:25:28 UTC
STEPS TO REPRODUCE
1. download BiglyBT installer
https://www.biglybt.com/download/
2. make it executable
3. double click on the installer

OBSERVED RESULT
plasma shows a notification about kdeinit5 crash

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.16.80
KDE Frameworks Version: 5.60.0
Qt Version: 5.12.3


ADDITIONAL INFORMATION
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 0x7fd3357fc780 (LWP 10301))]

Thread 3 (Thread 0x7fd317b67700 (LWP 10303)):
#0  0x00007fd32fda7664 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd32fd60fd9 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd32fd61570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd32fd616dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd333dc4dcb in QEventDispatcherGlib::processEvents (this=0x7fd310000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fd333d6603a in QEventLoop::exec (this=this@entry=0x7fd317b66df0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007fd333b8d4ca in QThread::exec (this=this@entry=0x7fd32b78cd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:531
#7  0x00007fd32b515015 in QDBusConnectionManager::run (this=0x7fd32b78cd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007fd333b8ec72 in QThreadPrivate::start (arg=0x7fd32b78cd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#9  0x00007fd331c426db in start_thread (arg=0x7fd317b67700) at pthread_create.c:463
#10 0x00007fd33381788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fd31dde1700 (LWP 10302)):
#0  0x00007fd331c489f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557f8e211828) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x557f8e2117d8, cond=0x557f8e211800) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x557f8e211800, mutex=0x557f8e2117d8) at pthread_cond_wait.c:655
#3  0x00007fd31f2063da in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fd31f206107 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fd331c426db in start_thread (arg=0x7fd31dde1700) at pthread_create.c:463
#6  0x00007fd33381788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fd3357fc780 (LWP 10301)):
[KCrash Handler]
#6  0x00007fd334ea3003 in XAddExtension () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007fd30c2742e5 in _XftDisplayInfoGet (dpy=dpy@entry=0x557f8e070ae0, createIfNecessary=createIfNecessary@entry=1) at ../../src/xftdpy.c:91
#8  0x00007fd30c2788de in XftFontInfoFill (dpy=dpy@entry=0x557f8e070ae0, pattern=pattern@entry=0x557f8e663330, fi=fi@entry=0x7fff98438c80) at ../../src/xftfreetype.c:367
#9  0x00007fd30c279256 in XftFontOpenPattern (dpy=0x557f8e070ae0, pattern=pattern@entry=0x557f8e663330) at ../../src/xftfreetype.c:1015
#10 0x00007fd30c487b9f in KFI::CFcEngine::getFont (this=this@entry=0x557f8e5d52d8, size=size@entry=8) at ./kcms/kfontinst/lib/FcEngine.cpp:1299
#11 0x00007fd30c488172 in KFI::CFcEngine::queryFont (this=this@entry=0x557f8e5d52d8) at ./kcms/kfontinst/lib/FcEngine.cpp:1233
#12 0x00007fd30c488908 in KFI::CFcEngine::getSizes (this=0x557f8e5d52d8) at ./kcms/kfontinst/lib/FcEngine.cpp:1391
#13 0x00007fd30c48a328 in KFI::CFcEngine::draw (this=this@entry=0x557f8e5d52d8, name=..., style=style@entry=4294967295, faceNo=faceNo@entry=0, txt=..., bgnd=..., w=128, h=128, thumb=true, range=..., chars=0x0) at ./kcms/kfontinst/lib/FcEngine.cpp:876
#14 0x00007fd30c6b1265 in KFI::CFontThumbnail::create (this=0x557f8e5d52d0, path=..., width=128, height=128, img=...) at ./kcms/kfontinst/thumbnail/FontThumbnail.cpp:114
#15 0x00007fd32564ffc4 in ThumbnailProtocol::createSubThumbnail (this=this@entry=0x7fff98439650, thumbnail=..., filePath=..., segmentWidth=segmentWidth@entry=54, segmentHeight=segmentHeight@entry=34) at ./thumbnail/thumbnail.cpp:727
#16 0x00007fd3256505d8 in ThumbnailProtocol::drawSubThumbnail (this=this@entry=0x7fff98439650, p=..., filePath=..., width=width@entry=54, height=height@entry=34, xPos=xPos@entry=64, yPos=38, frameWidth=2) at ./thumbnail/thumbnail.cpp:759
#17 0x00007fd325650c22 in ThumbnailProtocol::thumbForDirectory (this=this@entry=0x7fff98439650, directory=...) at ./thumbnail/thumbnail.cpp:562
#18 0x00007fd325652064 in ThumbnailProtocol::get (this=0x7fff98439650, url=...) at ./thumbnail/thumbnail.cpp:238
#19 0x00007fd32c932cd6 in KIO::SlaveBase::dispatch (this=0x7fff98439650, command=67, data=...) at ./src/core/slavebase.cpp:1126
#20 0x00007fd32c9334d6 in KIO::SlaveBase::dispatchLoop (this=this@entry=0x7fff98439650) at ./src/core/slavebase.cpp:325
#21 0x00007fd32564f2d0 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./thumbnail/thumbnail.cpp:138
#22 0x0000557f8cb2664d in launch (argc=4, _name=0x557f8e049eb8 "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so", args=<optimized out>, cwd=<optimized out>, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x557f8cb29307 "0") at ./src/kdeinit/kinit.cpp:706
#23 0x0000557f8cb27b5b in handle_launcher_request (sock=8, who=<optimized out>) at ./src/kdeinit/kinit.cpp:1146
#24 0x0000557f8cb283eb in handle_requests (waitForPid=0) at ./src/kdeinit/kinit.cpp:1339
#25 0x0000557f8cb22ff4 in main (argc=5, argv=<optimized out>) at ./src/kdeinit/kinit.cpp:1785
Comment 1 Méven Car 2019-07-19 10:05:00 UTC
It could be related to the fact the BiglyBT_Installer.sh file, I guess you are mentioning, is a 12MB sh script embedding some binary data in file.
The stack trace seems to mention thumbnail creation crashing, so this may be the cause of the crash.

Also the script has some sudo calls in it that won't work from a double click.

In the meaning you can try to run the script from a console.
Comment 2 Patrick Silva 2019-09-09 19:00:28 UTC
I forgot the last step...
4. After the step 3, a dialog shows up. Click on its "Execute" button

kio-extras 19.08.1
Operating System: Arch Linux 
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.1
Comment 3 Patrick Silva 2020-01-18 15:23:31 UTC
still crashing...
1. download latest BiglyBT installer at
https://www.biglybt.com/download/
2. make it executable
3. double click on the installer and click on "Execute" button (a temporary folder appears in current location while files are extracted)
4. open such temp folder before the files extraction to be completed

plasma shows a crash notification
Comment 4 Christoph Feck 2020-11-01 12:10:47 UTC

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