Crash when attempting to selecting text

Bug #81534 reported by Pascal de Bruijn
16
Affects Status Importance Assigned to Milestone
Evince
Fix Released
Medium
poppler (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evince

When I select a PDF from a self generated PDF evince crashes.

Revision history for this message
Pascal de Bruijn (pmjdebruijn) wrote :
Revision history for this message
Martijn vdS (martijn) wrote :

Crashes for me too, on feisty

Changed in evince:
status: Unconfirmed → Confirmed
Revision history for this message
Pascal de Bruijn (pmjdebruijn) wrote :

Try to select text seems to be enough to make it crash. Even if there is no text present.

Revision history for this message
Joolz (joolz) wrote :

Confirmed with Evince 0.5.2 on dapper.

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

Looks like the same backtrace than http://bugzilla.gnome.org/show_bug.cgi?id=372843 upstream

Changed in evince:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
Revision history for this message
Raphae1 (wegmann-psi) wrote :

Confirmed with Evince 0.6.1 and poppler 0.5.4.

Changed in evince:
status: Unknown → Needs Info
Changed in evince:
status: Needs Info → Unconfirmed
Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :
Download full text (3.4 KiB)

Bug forwarded from evince bug: http://bugzilla.gnome.org/show_bug.cgi?id=372843

"Version: 0.6.1

What were you doing when the application crashed?
I've been printing the last page of the document before closing the window.

Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.1 2006-10-02 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 75010048 vsize: 0 resident: 75010048 share: 0 rss:
45568000 rss_rlim: 0
CPU usage: start_time: 1163059687 rtime: 0 utime: 3270 stime: 0 cutime:3040
cstime: 0 timeout: 230 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/evince'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1229343056 (LWP 5701)]
[New Thread -1230824544 (LWP 5703)]
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb723934b in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7f671b6 in gnome_gtk_module_info_get () from /usr/lib/libgnomeui-2.so.0
#3 <signal handler called>
#4 0xb781c090 in poppler_page_render_selection ()
   from /usr/lib/libpoppler-glib.so.1
#5 0x0808e300 in pdf_selection_render_selection ()
#6 0x0808d6c9 in _egg_marshal_VOID__INT_INT ()
#7 0x080645e9 in ?? ()
#8 0x08284168 in ?? ()
#9 0x0840fea0 in ?? ()
#10 0x084ef078 in ?? ()
#11 0x084ef054 in ?? ()
#12 0x00000000 in ?? ()

Thread 2 (Thread -1230824544 (LWP 5703)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7235816 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0x0805dde3 in ?? ()
No symbol table info available.
#3 0x0810d460 in ?? ()
No symbol table info available.
#4 0x0810e150 in ?? ()
No symbol table info available.
#5 0xb7234cd9 in pthread_mutex_unlock ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#6 0xb74c838f in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#7 0xb7232504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#8 0xb71c651e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 1 (Thread -1229343056 (LWP 5701)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb723934b in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7f671b6 in gnome_gtk_module_info_get () from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#3 <signal handler called>
No symbol table info available.
#4 0xb781c090 in poppler_page_render_selection ()
   from /usr/lib/libpoppler-glib.so.1
No symbol table info available.
#5 0x0808e300 in pdf_selection_render_selection ()
No symbol table info available.
#6 0x0808d6c9 in _egg_marshal_VOID__INT_INT ()
No symbol table info available.
#7 0x080645e9 in ?? ()
No symbol table info available.
#8 0x08284168 in ?? ()
No symbol table info available.
#9 0x0840fea0 in ?? ()
No symbol table info available.
#10 0x084ef078 in ?? ()
No symbol table info ...

Read more...

Changed in evince:
status: Unconfirmed → Rejected
Changed in evince:
status: Unknown → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

That seems to work correctly on gutsy, does anybody still get the issue using the new version?

Changed in evince:
status: Confirmed → Incomplete
Revision history for this message
Asheesh Laroia (paulproteus) wrote :

I agree, the crash no longer happens in Gutsy.

Revision history for this message
In , Brad Hards (bradh) wrote :

The test file is in the gnome bugzilla.

I can't reproduce the crash with the Qt4 test application, using Splash backend. I can't make the glib frontend compile (no GDK packages, maybe). The problem may well be in the glib frontend, given the backtrace.

Can anyone reproduce it?

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

Unfortunately gtk-splash-test only allows to render the first page, so i can't test more, but no crashes on the first page.
gtk-cairo-test works across all pages

Revision history for this message
drieteenmeeuw (drieteenmeeuw) wrote :

The same happens to me on Dapper when trying to select text in a Table from the following pdf:
http://www.nature.com/nature/journal/v449/n7159/extref/nature06117-s1.pdf

evince crashes telling me "Error: Embedded font file is not a stream"

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

No crash in Hardy for both documents.

Revision history for this message
polkqasw (fabio-duchi) wrote :

When i select text in a pdf exported from MS-Word (with some extension or something else), often, evince crash.

ps. when evince crash, all the opened documents are closed (usually with a lot of bad words) ... u should accept that evince crash and give me the opportunity to recover any opened documents, or prevent any crashes.

thanks for your code, i honestly appreciate what u do. THANKS.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I still cannot reproduce the crash with the last document in Hardy. What is your version of evince ? Is there a particular piece of text that makes Evince crash ?

Please can you try to generate a backtrace and attach it to the report.

Thanks in advance.

Revision history for this message
polkqasw (fabio-duchi) wrote : Re: [Bug 81534] Re: Crash when attempting to selecting text

on page 6 - selecting all the pseudo code and some row below it and
now go up with the mouse .... it's quite difficult to reproduce but
these are the steps that i've done (i usually move slowly the mouse
because usually i select the text reading it)

no no thanks to u

2008/5/12 Jean-Baptiste Lallement <email address hidden>:
> I still cannot reproduce the crash with the last document in Hardy. What
> is your version of evince ? Is there a particular piece of text that
> makes Evince crash ?
>
> Please can you try to generate a backtrace and attach it to the report.
>
> Thanks in advance.
>
>
>
> --
> Crash when attempting to selecting text
> https://bugs.launchpad.net/bugs/81534
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

No luck. I still can't reproduce the crash...

* Please, can you provide the output of the command : apt-cache policy evince
* Can you generate a backtrace ? You can do this by following the instructions at https://wiki.ubuntu.com/DebuggingProgramCrash and https://wiki.ubuntu.com/Backtrace

Revision history for this message
Jean-Baptiste Lallement (jibel) 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 poppler:
status: Incomplete → Invalid
Revision history for this message
In , Albert Astals Cid (aacid) wrote :

Carlos are you sure this is a Splash bug? It seems to me the backtrace is similar to the crashes that where happening inside TextOutputDev. As the user mentions selecting stuff, should we close it?

Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

Yeah, this is too old, I'm quite sure this is already fixed.

Changed in evince:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream says it's fixed in current version

Changed in poppler (Ubuntu):
status: Invalid → Fix Released
Changed in evince:
importance: Unknown → Medium
Changed in evince:
importance: Medium → Unknown
Changed in evince:
importance: Unknown → Medium
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.