evince crashed with SIGSEGV in g_slice_alloc()

Bug #192480 reported by Id2ndR
12
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evince

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)

ProblemType: Crash
Architecture: i386
Date: Sat Feb 16 21:06:06 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/evince
NonfreeKernelModules: cdrom
Package: evince 2.21.91-0ubuntu1
PackageArchitecture: i386
ProcCmdline: evince ondes_electromagnetiques.pdf
ProcCwd: /home/fabien
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/fabien/scripts
 LANG=C
Signal: 11
SourcePackage: evince
StacktraceTop:
 g_slice_alloc () from /usr/lib/libglib-2.0.so.0
 g_datalist_id_set_data_full ()
 g_object_weak_ref () from /usr/lib/libgobject-2.0.so.0
 g_object_add_weak_pointer ()
 ?? () from /usr/lib/libgtk-x11-2.0.so.0
Title: evince crashed with SIGSEGV in g_slice_alloc()
Uname: Linux Id2ndR-8 2.6.24-7-generic #1 SMP Thu Feb 7 01:29:58 UTC 2008 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Revision history for this message
Id2ndR (id2ndr) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
?? ()
?? ()
?? ()
?? ()

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a valgrind log following the instructions at https://wiki.ubuntu.com/Valgrind and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in evince:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to 'New'. Thanks again!

Changed in evince:
status: Incomplete → Invalid
Revision history for this message
Id2ndR (id2ndr) wrote :

I tried to reproduce the bug but I can't do it anymore. Now it says that the file cannot be saved as file:///tmp/plop, which is the correct behavior
So I close it as "fix released".

Changed in evince:
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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