Bug 395820

Summary: Ark Crashes when opening ttf font inside a zip file
Product: [Applications] ark Reporter: Nowshed H. Imran <now.im.627>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED DUPLICATE    
Severity: crash CC: rthomsen6
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: attachment-23397-0.html

Description Nowshed H. Imran 2018-06-24 16:40:46 UTC
Application: ark (18.4.2)

Qt Version: 5.11.1
Frameworks Version: 5.47.0
Operating System: Linux 4.17.2-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
The zip file contained noto mono ttf file. I clicked the file so that I can install the font without wxtracting it.
- Unusual behavior I noticed:
The app crashes every time.

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe663ace800 (LWP 2912))]

Thread 3 (Thread 0x7fe63cbad700 (LWP 2914)):
#0  0x00007fe65fba7ea9 in poll () at /usr/lib/libc.so.6
#1  0x00007fe659e8c523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fe659e8c63e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fe6604c4054 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fe66046f94c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fe6602b8a99 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fe65d884976 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007fe6602c2b45 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fe65be71075 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fe65fbb253f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fe64b796700 (LWP 2913)):
#0  0x00007fe65be76ffc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fe64c572124 in  () at /usr/lib/dri/i965_dri.so
#2  0x00007fe64c571e18 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fe65be71075 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fe65fbb253f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fe663ace800 (LWP 2912)):
[KCrash Handler]
#6  0x00007fe65e7de1d3 in XAddExtension () at /usr/lib/libX11.so.6
#7  0x00007fe635bb012f in  () at /usr/lib/libXft.so.2
#8  0x00007fe635bb4bbf in  () at /usr/lib/libXft.so.2
#9  0x00007fe635bb548d in XftFontOpenPattern () at /usr/lib/libXft.so.2
#10 0x00007fe635fe3781 in KFI::CFcEngine::getFont(int) () at /usr/lib/libkfontinstui.so.5
#11 0x00007fe635fe3d83 in KFI::CFcEngine::queryFont() () at /usr/lib/libkfontinstui.so.5
#12 0x00007fe635fe4569 in KFI::CFcEngine::getSizes() () at /usr/lib/libkfontinstui.so.5
#13 0x00007fe635fe5dd9 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>*) () at /usr/lib/libkfontinstui.so.5
#14 0x00007fe6361f7266 in  () at /usr/lib/qt/plugins/kfontviewpart.so
#15 0x00007fe6361fe89f in  () at /usr/lib/qt/plugins/kfontviewpart.so
#16 0x00007fe636201f86 in  () at /usr/lib/qt/plugins/kfontviewpart.so
#17 0x00007fe66049b3d2 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007fe6611e4a74 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007fe6611ec341 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007fe660470cb9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#21 0x00007fe660473d4c in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#22 0x00007fe6604c4a54 in  () at /usr/lib/libQt5Core.so.5
#23 0x00007fe659e8c368 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#24 0x00007fe659e8c5b1 in  () at /usr/lib/libglib-2.0.so.0
#25 0x00007fe659e8c63e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#26 0x00007fe6604c4039 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#27 0x00007fe653c8a572 in  () at /usr/lib/libQt5WaylandClient.so.5
#28 0x00007fe66046f94c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#29 0x00007fe660477c46 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#30 0x000056226da88f4d in  ()
#31 0x00007fe65fadd06b in __libc_start_main () at /usr/lib/libc.so.6
#32 0x000056226da8a00a in _start ()

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2018-06-26 20:33:46 UTC
Does not seem to crash here. Can you attach (or link) the zip file that you were using?
Comment 2 Christoph Feck 2018-06-26 21:10:35 UTC

*** This bug has been marked as a duplicate of bug 364746 ***
Comment 3 Nowshed H. Imran 2018-06-27 03:48:56 UTC
Created attachment 113586 [details]
attachment-23397-0.html

I downloaded noto mono ttf from google website.
________________________________
From: Christoph Feck <bugzilla_noreply@kde.org>
Sent: Wednesday, June 27, 2018 3:10:35 AM
To: now.im.627@gmail.com
Subject: [ark] [Bug 395820] Ark Crashes when opening ttf font inside a zip file

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

Christoph Feck <cfeck@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |RESOLVED
         Resolution|WAITINGFORINFO              |DUPLICATE

--- Comment #2 from Christoph Feck <cfeck@kde.org> ---


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

--
You are receiving this mail because:
You reported the bug.