Bug 2178016 - Evince crashes when closing a PDF (a race condition)
Summary: Evince crashes when closing a PDF (a race condition)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: evince
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marek Kašík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
: 2176834 2177270 2177354 2177380 2177703 2178011 2178012 2178013 2178014 2178055 2178312 2178921 2178922 (view as bug list)
Depends On:
Blocks: F38FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2023-03-14 08:43 UTC by Kamil Páral
Modified: 2023-03-16 18:03 UTC (History)
15 users (show)

Fixed In Version: evince-44~rc-2.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-16 00:16:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
File: backtrace (86.09 KB, text/plain)
2023-03-16 18:03 UTC, Joerg Skottke
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME evince issues 1912 0 None opened Evince crashes when closing a PDF (a race condition) 2023-03-14 08:43:57 UTC

Description Kamil Páral 2023-03-14 08:43:57 UTC
Please see here:
https://gitlab.gnome.org/GNOME/evince/-/issues/1912

Proposing for a blocker discussion.

Comment 1 Kamil Páral 2023-03-14 08:44:25 UTC
*** Bug 2178012 has been marked as a duplicate of this bug. ***

Comment 2 Kamil Páral 2023-03-14 08:44:36 UTC
*** Bug 2178011 has been marked as a duplicate of this bug. ***

Comment 3 Kamil Páral 2023-03-14 08:44:43 UTC
*** Bug 2178014 has been marked as a duplicate of this bug. ***

Comment 4 Kamil Páral 2023-03-14 08:44:50 UTC
*** Bug 2178013 has been marked as a duplicate of this bug. ***

Comment 5 Kamil Páral 2023-03-14 08:44:57 UTC
*** Bug 2177270 has been marked as a duplicate of this bug. ***

Comment 6 Marek Kašík 2023-03-14 08:52:22 UTC
Hi,

I can reproduce this bug and I'm currently working on it.

There is a related commit in upstream but it does not fixes the issue for me: https://gitlab.gnome.org/GNOME/evince/-/commit/68d71634312ed2ba3b1d9e8bb101d06ccf7b4bc5.

Comment 7 Marek Kašík 2023-03-14 09:10:35 UTC
This bug seems to be caused by this commit: https://gitlab.gnome.org/GNOME/evince/-/commit/1afc9c61174ac3330873b1f7924393e6b211365a
I'm looking at how to fix it.

Comment 8 Marek Kašík 2023-03-14 09:22:25 UTC
The variable "title_header" is freed at the end of the function "ev_window_title_update()" but it should not be freed. I'll prepare a fix + scratch build (including the previously mentioned upstream fix for the related issue).

Comment 9 Marek Kašík 2023-03-14 09:54:02 UTC
You can find the scratch build here: https://koji.fedoraproject.org/koji/taskinfo?taskID=98681919

Could you confirm whether it fixes the issue for you?

Comment 10 Marek Kašík 2023-03-14 10:53:17 UTC
*** Bug 2178055 has been marked as a duplicate of this bug. ***

Comment 11 Kamil Páral 2023-03-14 10:56:36 UTC
Yes, no more crashes! Can you please submit an official Fedora update? Thanks.

Comment 12 Marek Kašík 2023-03-14 10:59:39 UTC
Thank you for the confirmation. I'm going to file the update.

Comment 13 Fedora Update System 2023-03-14 12:53:19 UTC
FEDORA-2023-dea70933f2 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-dea70933f2

Comment 14 Kamil Páral 2023-03-14 14:15:22 UTC
(In reply to Fedora Update System from comment #13)
> FEDORA-2023-dea70933f2 has been submitted as an update to Fedora 38.
> https://bodhi.fedoraproject.org/updates/FEDORA-2023-dea70933f2

Fixes the bug.

Comment 15 Marek Kašík 2023-03-14 14:20:28 UTC
Upstream merge request: https://gitlab.gnome.org/GNOME/evince/-/merge_requests/535

Comment 16 Fedora Update System 2023-03-15 01:49:17 UTC
FEDORA-2023-dea70933f2 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-dea70933f2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Marek Kašík 2023-03-15 08:43:30 UTC
*** Bug 2176834 has been marked as a duplicate of this bug. ***

Comment 18 Marek Kašík 2023-03-15 08:57:11 UTC
*** Bug 2178312 has been marked as a duplicate of this bug. ***

Comment 19 Marek Kašík 2023-03-15 10:02:41 UTC
*** Bug 2177354 has been marked as a duplicate of this bug. ***

Comment 20 Marek Kašík 2023-03-15 10:03:00 UTC
*** Bug 2177380 has been marked as a duplicate of this bug. ***

Comment 21 Marek Kašík 2023-03-15 10:03:14 UTC
*** Bug 2177703 has been marked as a duplicate of this bug. ***

Comment 22 Adam Williamson 2023-03-15 23:13:41 UTC
+4 in https://pagure.io/fedora-qa/blocker-review/issue/1100 , marking accepted.

Comment 23 Fedora Update System 2023-03-16 00:16:24 UTC
FEDORA-2023-dea70933f2 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 24 Marek Kašík 2023-03-16 07:55:29 UTC
*** Bug 2178922 has been marked as a duplicate of this bug. ***

Comment 25 Marek Kašík 2023-03-16 08:00:46 UTC
*** Bug 2178921 has been marked as a duplicate of this bug. ***

Comment 26 Joerg Skottke 2023-03-16 18:03:21 UTC
Close document


reporter:       libreport-2.17.8
type:           CCpp
reason:         evince killed by SIGABRT
journald_cursor: s=171b81e04ea54d21968215c044fd1813;i=32f572;b=773c98c53dfe4dca89392b9a27e263fb;m=a5870d288;t=5f70835d4a6c9;x=48fb7559692f9252
executable:     /usr/bin/evince
cmdline:        /usr/bin/evince $'/home/skotti/Sync/common_share/horror on the orient express/campaign/BOOK_II_-_Through_the_Alps_PDF.pdf'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus
rootdir:        /
uid:            1000
kernel:         6.2.6-300.fc38.x86_64
package:        evince-44~rc-1.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: _pixman_image_fini
comment:        Close document

Comment 27 Joerg Skottke 2023-03-16 18:03:23 UTC
Created attachment 1951340 [details]
File: backtrace


Note You need to log in before you can comment on or make changes to this bug.