After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 638985 - Evince: SIGSEGV after clicking on the main window before a file is fully loaded
Evince: SIGSEGV after clicking on the main window before a file is fully loaded
Status: RESOLVED DUPLICATE of bug 630999
Product: evince
Classification: Core
Component: general
2.32.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-08 10:54 UTC by Jan Stępień
Modified: 2011-01-08 15:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A patch which fixes this issue, based on the gnome-2-32 branch. (2.64 KB, patch)
2011-01-08 10:54 UTC, Jan Stępień
none Details | Review
Fixing whitespaces. (1.45 KB, patch)
2011-01-08 15:45 UTC, Jan Stępień
none Details | Review

Description Jan Stępień 2011-01-08 10:54:13 UTC
Created attachment 177816 [details] [review]
A patch which fixes this issue, based on the gnome-2-32 branch.

When Evince opens a document (either specified using the command line arguments or opened using Ctrl-O) clicking the main window before the document is fully loaded causes it to crash with a SIGSEGV.

Tested on Ubuntu 10.10 using Evince from Ubuntu's repositories. It also occurs on the top of the gnome-2-32 branch in your Git repository.

It appeared that pixbuf_cache passed to ev_pixbuf_cache_set_selection_list has a NULL job_list. A patch fixing the bug has been attached -- see it for details.
Comment 1 José Aliste 2011-01-08 11:46:11 UTC
Hi, thanks for the patch. However, it seems that this is a duplicate of #630999.
Could you please check that with commit a3b87cb2 the crash also disapears?
Comment 2 Jan Stępień 2011-01-08 15:45:14 UTC
Thanks for the reply. Yes, a3b87cb2 fixes the issue, so this report looks like a duplicate. I hope it will get integrated in Ubuntu 10.10 soon. Maybe you could cherry-pick that patch to the gnome-2-32 branch? Additionally I'm attaching a tiny patch fixing the whitespaces added in a3b87cb2.

*** This bug has been marked as a duplicate of bug 630999 ***
Comment 3 Jan Stępień 2011-01-08 15:45:34 UTC
Created attachment 177837 [details] [review]
Fixing whitespaces.