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 563716 - evince crashes when trying to see attached dvi file
evince crashes when trying to see attached dvi file
Status: RESOLVED DUPLICATE of bug 600552
Product: evince
Classification: Core
Component: backends
2.24.x
Other All
: Normal critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-08 16:28 UTC by Pacho Ramos
Modified: 2009-11-03 14:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
test.tar.bz2 (933.58 KB, application/x-compressed-tar)
2008-12-08 16:29 UTC, Pacho Ramos
Details

Description Pacho Ramos 2008-12-08 16:28:06 UTC
Steps to reproduce:
1. Simply open attached dvi file 
2. Start reading it and, when you hit page 3 or 4 or 5... evince crashes
3. 


Stack trace:
  • #0 raise
    from /lib/libc.so.6
  • #1 abort
    from /lib/libc.so.6
  • #2 ??
    from /lib/libc.so.6
  • #3 ??
    from /lib/libc.so.6
  • #4 alloc_free_chunk
    at ./src/gsalloc.c line 1824
  • #5 i_free_all
    at ./src/gsalloc.c line 411
  • #6 alloc_restore_all
    at ./src/isave.c line 917
  • #7 gs_main_finit
    at ./src/imain.c line 797
  • #8 gsapi_exit
    at ./src/iapi.c line 262
  • #9 spectre_gs_cleanup
    at spectre-gs.c line 298
  • #10 spectre_gs_free
    at spectre-gs.c line 312
  • #11 spectre_device_render
    at spectre-device.c line 278
  • #12 spectre_page_render
    at spectre-page.c line 164
  • #13 spectre_document_render_full
    at spectre-document.c line 337
  • #14 dvi_cairo_draw_ps
    at cairo-device.c line 159
  • #15 epsf_special
    at sp-epsf.c line 284
  • #16 mdvi_do_special
    at special.c line 208
  • #17 special
    at dviread.c line 1543
  • #18 mdvi_dopage
    at dviread.c line 1091
  • #19 dvi_document_render
    at dvi-document.c line 197
  • #20 ev_job_render_run
    at ev-jobs.c line 512
  • #21 ev_job_thread_proxy
    at ev-job-scheduler.c line 183
  • #22 ??
    from /usr/lib/libglib-2.0.so.0
  • #23 start_thread
    from /lib/libpthread.so.0
  • #24 clone
    from /lib/libc.so.6
  • #25 ??


Other information:
The file is shown fine with xdvi
Comment 1 Pacho Ramos 2008-12-08 16:29:27 UTC
Created attachment 124186 [details]
test.tar.bz2

This contains all the files
Comment 2 Carlos Garcia Campos 2008-12-12 17:27:38 UTC
It works for me. It looks like a libspectre issue, though. What libspectre version do you have installed?

Thanks. 
Comment 3 Pacho Ramos 2008-12-12 19:36:31 UTC
I have app-text/libspectre-0.2.1
Comment 4 Pacho Ramos 2008-12-12 19:48:38 UTC
The same with libspectre-0.2.2

I am using ghostscript-gpl-8.63 (maybe it's a problem with it as distros patches it a lot, for example, some months ago I checked opensuse's src.rpm and they were applying a lot of patches that gentoo was not applying but, I didn't know what were they doing, I didn't sent them to bugs.gentoo.org)
Comment 5 Pacho Ramos 2008-12-15 19:39:21 UTC
the behavior changes a bit when compiling libspectre with system ghostscript:
http://patch-tracking.debian.net/patch/series/view/libspectre/0.2.2.ds-1/use-system-ghostscript.patch

it still crashes but a different error is shown:
GPL Ghostscript 8.63: Initialization file gs_init.ps does not begin with an integer.
fatal internal error -100
** (evince:24217): WARNING **: Error rendering PS document /home/pacho/Desktop/evince_TEST/doscolumnas/fig1.eps: render error

GPL Ghostscript 8.63: Initialization file gs_init.ps does not begin with an integer.
fatal internal error -100
** (evince:24217): WARNING **: Error rendering PS document /home/pacho/Desktop/evince_TEST/doscolumnas/fig1.eps: render error

GPL Ghostscript 8.63: Initialization file gs_init.ps does not begin with an integer.
fatal internal error -100

But kdvi and xdvi work fine :-/
Comment 6 Emmanuel Fleury 2009-11-03 08:03:53 UTC
Hmmm, couldn't make it crash with Evince 2.29.1 (git master) either...

Is this bug still here for you by now ?
Comment 7 Pacho Ramos 2009-11-03 14:12:29 UTC
With 2.26 is the same, and, with 2.28.1 it's even worse and crashes just at start, I have already sent bug 600552

*** This bug has been marked as a duplicate of bug 600552 ***