PDF file crashes evince when selecting text

Bug #64611 reported by Gabriel Bauman
8
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

I'm running an up-to-date Dapper.

Double-click the attached PDF file, then try to select some text using the mouse. Crash.

Don't actually try to read the PDF file, or your brain might also crash.

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

Thanks for your bug. That works fine on my edgy desktop, it has likely been fixed with an update. Could you get a backtrace with gdb:
- gdb evince
(gdb) run
... get the crash
(gdb) thread apply all bt

Changed in evince:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Maftoul Samuel (samuel-maftoul) wrote :

It crashed on my edgy up to date system.
If I run evince from a terminal I get this when the error happen:

Error: Embedded font file is not a stream

Revision history for this message
Maftoul Samuel (samuel-maftoul) wrote :

Here is a gdb output:

Error: Embedded font file is not a stream

---Type <return> to continue, or q <return> to quit---
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1229502800 (LWP 5027)]
0xb6da16e5 in GfxFont::decRefCnt () from /usr/lib/libpoppler.so.1
(gdb) thread apply all bt

Thread 2 (Thread -1231029344 (LWP 5033)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb720e816 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0805dad3 in ?? ()
#3 0x08122e20 in ?? ()
#4 0x0811a978 in ?? ()
#5 0xb720dcd9 in pthread_mutex_unlock ()
   from /lib/tls/i686/cmov/libpthread.so.0
#6 0xb74a038f in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#7 0xb720b504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0xb719f51e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1229502800 (LWP 5027)):
#0 0xb6da16e5 in GfxFont::decRefCnt () from /usr/lib/libpoppler.so.1
#1 0x0854bc38 in ?? ()
#2 0x08398d28 in ?? ()
#3 0xbfb7a3c8 in ?? ()
#4 0xb6dad182 in GfxState::setFont () from /usr/lib/libpoppler.so.1
#5 0x0854bc38 in ?? ()
#6 0x00000000 in ?? ()

Revision history for this message
Gabriel Bauman (gabrielbauman) wrote :

Here's my gdb backtrace (Dapper):

(gdb) thread apply all bt

Thread 2 (Thread -1230046288 (LWP 4133)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7a64c76 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x080635b3 in ev_document_types_add_filters ()
#3 0xb6e575a2 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#4 0xb7a62341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5 0xb77c34ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1228536128 (LWP 4131)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb77b98c4 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb6e3e7e8 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3 0xb6e3ecb8 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4 0xb7358765 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#5 0x0807fb00 in main ()
#0 0xffffe410 in __kernel_vsyscall ()
(gdb)

Revision history for this message
Gabriel Bauman (gabrielbauman) wrote :

Marking confirmed; bug has been duplicated by another user, and requested info has been supplied.

Changed in evince:
status: Needs Info → Confirmed
Changed in evince:
importance: Undecided → Medium
Revision history for this message
Gabriel Bauman (gabrielbauman) wrote :

I've updated to Edgy, and the issue appears to be fixed on my system. Still an issue on Dapper.

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

Marking as fixed since that works fine on edgy. If anybody wants to figure what commit fixed it and attach a patch we might consider a dapper backport

Changed in evince:
status: Confirmed → Fix Released
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.