Bug 1001559

Summary: [abrt] gnome-epub-thumbnailer-1.3-1.fc19: main: Process /usr/bin/gnome-epub-thumbnailer was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Yang Lifu <yanglifu90>
Component: gnome-epub-thumbnailerAssignee: Yanko Kaneti <yaneti>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: bnocera, mnowak, yaneti
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:3247bd6d4d9c1ef306a707e69d214c05df3b30e7
Fixed In Version: gnome-epub-thumbnailer-1.3-2.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-06 07:42:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
Reproducer none

Description Yang Lifu 2013-08-27 09:51:45 UTC
Description of problem:
I just opened a folder via Transmission with right click menu "Open Folder", and the folder contains one .epub file. 

Version-Release number of selected component:
gnome-epub-thumbnailer-1.3-1.fc19

Additional info:
reporter:       libreport-2.1.6
backtrace_rating: 4
cmdline:        /usr/bin/gnome-epub-thumbnailer -s 256 file:///home/yang/Bittorrent/LearnPythonTheHardWay2ndEdition.epub /tmp/.gnome_desktop_thumbnail.WSY71W
crash_function: main
executable:     /usr/bin/gnome-epub-thumbnailer
kernel:         3.10.9-200.fc19.x86_64
runlevel:       N 5
uid:            1000

Truncated backtrace:
Thread no. 1 (0 frames)

Comment 1 Yang Lifu 2013-08-27 09:51:54 UTC
Created attachment 790862 [details]
File: backtrace

Comment 2 Yang Lifu 2013-08-27 09:51:57 UTC
Created attachment 790863 [details]
File: cgroup

Comment 3 Yang Lifu 2013-08-27 09:52:01 UTC
Created attachment 790864 [details]
File: core_backtrace

Comment 4 Yang Lifu 2013-08-27 09:52:05 UTC
Created attachment 790865 [details]
File: dso_list

Comment 5 Yang Lifu 2013-08-27 09:52:09 UTC
Created attachment 790866 [details]
File: environ

Comment 6 Yang Lifu 2013-08-27 09:52:14 UTC
Created attachment 790867 [details]
File: exploitable

Comment 7 Yang Lifu 2013-08-27 09:52:18 UTC
Created attachment 790868 [details]
File: limits

Comment 8 Yang Lifu 2013-08-27 09:52:23 UTC
Created attachment 790869 [details]
File: maps

Comment 9 Yang Lifu 2013-08-27 09:52:30 UTC
Created attachment 790870 [details]
File: open_fds

Comment 10 Yang Lifu 2013-08-27 09:52:33 UTC
Created attachment 790871 [details]
File: proc_pid_status

Comment 11 Yang Lifu 2013-08-27 09:52:38 UTC
Created attachment 790872 [details]
File: var_log_messages

Comment 12 Michal Nowak 2013-10-26 16:50:21 UTC
Any info on this? I can see that quite often.

Comment 13 Yanko Kaneti 2013-10-26 22:12:19 UTC
A reproducible test case would help.

Comment 14 Michal Nowak 2013-10-26 22:33:19 UTC
Created attachment 816463 [details]
Reproducer

$ /usr/bin/gnome-epub-thumbnailer Wright.Ch.2006_Krize.konstituce.a.kapital.odt /dev/null

** (gnome-epub-thumbnailer:24531): WARNING **: Could not find cover file in '/home/newman/Documents/A/knihy/Wright.Ch.2006_Krize.konstituce.a.kapital.odt'
Segmentation fault (core dumped)


As it seems I am unable to publish here any of the epubs `gnome-epub-thumbnailer` crashes on. But I can publish this ODT file with the hope that the crash is the same since the WARNING is the same.

Comment 15 Yanko Kaneti 2013-10-27 15:00:53 UTC
Thanks for the reproducer. 
I've included an upstream patch that would prevent the crash.
...I am not quite sure why an .odt would match the thumbnailer mime type...

Comment 16 Fedora Update System 2013-10-27 15:13:38 UTC
gnome-epub-thumbnailer-1.3-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/gnome-epub-thumbnailer-1.3-2.fc19

Comment 17 Michal Nowak 2013-10-27 15:15:59 UTC
(In reply to Yanko Kaneti from comment #15)
> Thanks for the reproducer. 
> I've included an upstream patch that would prevent the crash.
> ...I am not quite sure why an .odt would match the thumbnailer mime type...

Thanks for the new build Yanko.

It's not that it crashed on any ODT file but that it crashed on EPUB but all epubs I have are (c)'ted, so I found a random file which would suit as a reproducer as well. (Just a clarification.)

I verify it's fixed for me.

Comment 18 Fedora Update System 2013-10-29 03:34:10 UTC
Package gnome-epub-thumbnailer-1.3-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-epub-thumbnailer-1.3-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-20154/gnome-epub-thumbnailer-1.3-2.fc19
then log in and leave karma (feedback).

Comment 19 Fedora Update System 2013-11-06 07:42:03 UTC
gnome-epub-thumbnailer-1.3-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.