evince crash when trying to save a copy to a directory

Bug #192458 reported by Id2ndR
2
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evince

This bug is related to bug #180065, but it is a new behavior.

Distrib : Ubuntu hardy (development branch)
package : evince
version : 2.21.91-0ubuntu1

Step to reproduce :
* $ mkdir /tmp/plop
* open a pdf file
* chose File > Save a copy
* go to /tmp/plop
* use . as filename
* chose save.
=> evince crash

Normaly evince should display a error to avoid the use of . as filename. It should neither crash nor try to save a file on an existing directory.

traceback :

fabien@Id2ndR-8:~$ mkdir /tmp/plop
fabien@Id2ndR-8:~$ evince ondes_electromagnetiques.pdf

(evince:11018): Gnome-WARNING **: Accessibility: failed to find module 'libgail-gnome' which is needed to make this application accessible

(evince:11018): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(evince:11018): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Error opening file '/tmp/plop': Is a directory
Segmentation fault (core dumped)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, your crash report is either missing or challenging to deal with as a ".crash" file. Please follow these instructions to have apport report a new bug about your crash that can be dealt with by the automatic retracer.

If you are using Ubuntu with the Gnome desktop environment - launch nautilus and navigate to your /var/crash directory and double click on the crash report you wish to submit.
If you are using Kubuntu or Xubuntu you can file the crash using "/usr/share/apport/apport-qt --crash-file=/var/crash/_my_crash_report.crash" in a terminal - where _my_crash_report.crash is the crash you would like to report.

I'm closing this bug report since the process outlined above will automatically open a new bug report which can then dealt with more efficiently. Thanks in advance for your cooperation and understanding.

Changed in evince:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.