Bug#533759: evince: Segfault when opening dvi files

2011-01-23 Thread Jonathan Nieder
found 533759 ghostscript/9.00~dfsg-2
quit

Jonathan Nieder wrote:

  - Install libgs9-dev from experimental.
  - Build and install libspectre from source.

 I tried that and I'm in the unhappy position of not being able to
 reproduce this bug.

I spoke too quickly.  evince errors out as expected.

 $ evince temp_report.dvi 
 Gtk-Message: Failed to load module canberra-gtk-module: 
libcanberra-gtk-module.so: cannot open shared object file: No such file or 
directory
 GPL Ghostscript  9.00: Initialization file gs_init.ps does not begin with an 
integer.
 fatal internal error -100Illegal instruction (core dumped)

Sorry for the nonsense.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#533759: evince: Segfault when opening dvi files

2011-01-23 Thread Jonathan Nieder
found 533759 ghostscript/8.70~dfsg-1
fixed 533759 ghostscript/9.00~dfsg-2
quit

Hi Wouter,

Wouter van Heyst wrote:

 Evince (as in squeeze) still segfaults when opening dvi files with
 images in them, which is unfortunate as I prefer evince to xdvi.

 Is there something I could do to help this issue forward?  

I'd suggest trying libgs from experimental.  That means:

 - Install libgs9-dev from experimental.
 - Build and install libspectre from source.
 
I tried that and I'm in the unhappy position of not being able to
reproduce this bug.

Hope that helps,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#533759: evince: Segfault when opening dvi files

2010-05-30 Thread Wouter van Heyst
Evince (as in squeeze) still segfaults when opening dvi files with
images in them, which is unfortunate as I prefer evince to xdvi.

Is there something I could do to help this issue forward?  

Wouter van Heyst



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#533759: evince: Segfault when opening dvi files

2009-08-04 Thread Alessio Botta
Creating the example I realized that this happens only if the dvi
contains a picture. 

I am attaching to this mail a latex file, the included picture in eps
format, the produced dvi (the one causing the segfault), and the
postscript created from that with dvips, which opens perfectly in
evince.

Please let me know if you need something more or different.
Thanks for your time and help.

Alessio

On Tue, 2009-08-04 at 01:12 +0200, Emilio Pozuelo Monfort wrote:
 Alessio Botta wrote:
  Package: evince
  Version: 2.26.1-2
  Severity: important
  
  
  
  When opening a dvi file created from a latex source with latex compiler, 
  evince reports the following:
  GPL Ghostscript 8.64: ./psi/iinit.c(98): initial_enter failed (-7), 
  entering /MaxBitmap in -dict:10/1123-
  GPL Ghostscript 8.64: Initialization file gs_init.ps does not begin with an 
  integer.
  fatal internal error -100Segmentation fault
  
  and exits. If I try to open the eps created from this dvi with dvips, 
  everything works.
 
 Can you attach a problematic file?
 


exampleReport.tar.gz
Description: application/compressed-tar


Bug#533759: evince: Segfault when opening dvi files

2009-08-04 Thread Emilio Pozuelo Monfort
reassign 533759 libgs8 8.70~dfsg-1
thanks

Alessio Botta wrote:
 Creating the example I realized that this happens only if the dvi
 contains a picture. 
 
 I am attaching to this mail a latex file, the included picture in eps
 format, the produced dvi (the one causing the segfault), and the
 postscript created from that with dvips, which opens perfectly in
 evince.

Thanks. After rebuilding ghostscript with debugging symbols, I managed to get a
backtrace with useful output:

(gdb) r temp_report.dvi
Starting program: /usr/bin/evince temp_report.dvi
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb5f29b90 (LWP 6063)]
[New Thread 0xb490db90 (LWP 6064)]
GPL Ghostscript 8.70: ./psi/iinit.c(98): initial_enter failed (-7), entering
/MaxBitmap in -dict:10/1123-
GPL Ghostscript 8.70: Initialization file gs_init.ps does not begin with an 
integer.
fatal internal error -100
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5f29b90 (LWP 6063)]
0xb50c7e92 in i_unregister_root (mem=0xb56d5f0c, rp=0xb56d5f0c, cname=0x0) at
./base/gsalloc.c:1574
1574rpp = (*rpp)-next;
(gdb) bt
#0  0xb50c7e92 in i_unregister_root (mem=0xb56d5f0c, rp=0xb56d5f0c, cname=0x0)
at ./base/gsalloc.c:1574
#1  0xb4e9204c in interp (pi_ctx_p=0xb56b465c, pref=0xb5f28ca8,
perror_object=0xb5f28d70) at ./psi/interp.c:843
#2  0xb4e94311 in gs_call_interp (pi_ctx_p=0xb56b465c, pref=0xb5f28ca8,
user_errors=0, pexit_code=0xb5f28d88, perror_object=0xb5f28d70) at
./psi/interp.c:496
#3  gs_interpret (pi_ctx_p=0xb56b465c, pref=0xb5f28ca8, user_errors=0,
pexit_code=0xb5f28d88, perror_object=0xb5f28d70) at ./psi/interp.c:454
#4  0xb4e88579 in gs_main_interpret (minst=0xb56b4608, user_errors=0,
pexit_code=0xb5f28d88, perror_object=0xb5f28d70) at ./psi/imain.c:214
#5  gs_main_run_string_begin (minst=0xb56b4608, user_errors=0,
pexit_code=0xb5f28d88, perror_object=0xb5f28d70) at ./psi/imain.c:500
#6  0xb4e885ea in gs_main_run_string_with_length (minst=0xb56b4608,
str=0xb5159968 .uninstallpagedevice serverdict /.jobsavelevel get 0 eq {/quit}
{/stop} ifelse .systemvar exec, length=94, user_errors=0,
pexit_code=0xb5f28d88, perror_object=0xb5f28d70) at ./psi/imain.c:476
#7  0xb4e8869a in gs_main_run_string (minst=0xb56b4608, str=0xb5159968
.uninstallpagedevice serverdict /.jobsavelevel get 0 eq {/quit} {/stop} ifelse
.systemvar exec, user_errors=0, pexit_code=0xb5f28d88,
perror_object=0xb5f28d70) at ./psi/imain.c:466
#8  0xb4e88782 in gs_main_finit (minst=0xb56b4608, exit_status=0, code=0) at
./psi/imain.c:765
#9  0xb4e88be3 in gs_to_exit_with_code (mem=0xb56b11c8, exit_status=0, code=0)
at ./psi/imain.c:827
#10 0xb4e88c1c in gs_to_exit (mem=0xb56b11c8, exit_status=0) at 
./psi/imain.c:832
#11 0xb4e8c680 in gsapi_exit (lib=0x30b56bb4) at ./psi/iapi.c:262
#12 0xb55b8620 in spectre_gs_cleanup (gs=0xb56b2a18, flag=3) at spectre-gs.c:297
#13 0xb55b866e in spectre_gs_free (gs=0xb56b2a18) at spectre-gs.c:311
#14 0xb55b9709 in spectre_device_render (device=0xb56af950, page=0,
rc=0xb56b2a88, x=0, y=0, width=504, height=504, page_data=0xb5f28f78,
row_length=0xb5f28f74) at spectre-device.c:280
#15 0xb55b9e54 in spectre_page_render (page=0xb56b79b0, rc=0xb56b2a88,
page_data=0xb5f28f78, row_length=0xb5f28f74) at spectre-page.c:164
#16 0xb55b8155 in spectre_document_render_full (document=0xb56af140,
rc=0xb56b2a88, page_data=0xb5f28f78, row_length=0xb5f28f74) at
spectre-document.c:337
#17 0xb55e4c6f in dvi_cairo_draw_ps (dvi=0x82e6168, filename=0xb56b3ad0
/home/emilio/Desktop/exampleReport/someFigure.eps, x=176, y=181,
width=817195956, height=817195956)
at /tmp/buildd/evince-2.26.2/./backend/dvi/cairo-device.c:159
#18 0xb55f3d45 in epsf_special (dvi=0x82e6168, prefix=0xb56b51f0 PSfile,
arg=0xb56b51f8 someFigure.eps) at
/tmp/buildd/evince-2.26.2/./backend/dvi/mdvi-lib/sp-epsf.c:284
#19 0xb55f2fb6 in mdvi_do_special (dvi=0x82e6168, string=0xb56b51f0 PSfile) at
/tmp/buildd/evince-2.26.2/./backend/dvi/mdvi-lib/special.c:208
#20 0xb55e8d0e in special (dvi=0x82e6168, opcode=239) at
/tmp/buildd/evince-2.26.2/./backend/dvi/mdvi-lib/dviread.c:1543
#21 0xb55ea80d in mdvi_dopage (dvi=0x82e6168, pageno=1) at
/tmp/buildd/evince-2.26.2/./backend/dvi/mdvi-lib/dviread.c:1091
#22 0xb55e4aee in mdvi_cairo_device_render (dvi=0x82e6168) at
/tmp/buildd/evince-2.26.2/./backend/dvi/cairo-device.c:346
#23 0xb55e3a8e in dvi_document_render (document=0x83198c0, rc=0x830a140) at
/tmp/buildd/evince-2.26.2/./backend/dvi/dvi-document.c:193
#24 0xb7fb7920 in ev_document_render (document=0x83198c0, rc=0x830a140) at
/tmp/buildd/evince-2.26.2/./libdocument/ev-document.c:257
#25 0xb7f920c7 in ev_job_render_run (job=0x819d2a0) at
/tmp/buildd/evince-2.26.2/./libview/ev-jobs.c:516
#26 0xb7f8f7b1 in ev_job_run (job=0x819d2a0) at
/tmp/buildd/evince-2.26.2/./libview/ev-jobs.c:207
#27 0xb7f92e90 in ev_job_thread (data=0x0) at

Bug#533759: evince: Segfault when opening dvi files

2009-08-03 Thread Emilio Pozuelo Monfort
Alessio Botta wrote:
 Package: evince
 Version: 2.26.1-2
 Severity: important
 
 
 
 When opening a dvi file created from a latex source with latex compiler, 
 evince reports the following:
 GPL Ghostscript 8.64: ./psi/iinit.c(98): initial_enter failed (-7), entering 
 /MaxBitmap in -dict:10/1123-
 GPL Ghostscript 8.64: Initialization file gs_init.ps does not begin with an 
 integer.
 fatal internal error -100Segmentation fault
 
 and exits. If I try to open the eps created from this dvi with dvips, 
 everything works.

Can you attach a problematic file?



signature.asc
Description: OpenPGP digital signature


Bug#533759: evince: Segfault when opening dvi files

2009-06-20 Thread Alessio Botta
Package: evince
Version: 2.26.1-2
Severity: important



When opening a dvi file created from a latex source with latex compiler, evince 
reports the following:
GPL Ghostscript 8.64: ./psi/iinit.c(98): initial_enter failed (-7), entering 
/MaxBitmap in -dict:10/1123-
GPL Ghostscript 8.64: Initialization file gs_init.ps does not begin with an 
integer.
fatal internal error -100Segmentation fault

and exits. If I try to open the eps created from this dvi with dvips, 
everything works.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages evince depends on:
ii  gconf2 2.26.2-1  GNOME configuration database syste
ii  gnome-icon-theme   2.26.0-1  GNOME Desktop icon theme
ii  libatk1.0-01.26.0-1  The ATK accessibility toolkit
ii  libc6  2.9-12GNU C Library: Shared libraries
ii  libcairo2  1.8.6-2+b1The Cairo 2D vector graphics libra
ii  libdbus-1-31.2.12-1  simple interprocess messaging syst
ii  libdbus-glib-1-2   0.80-4simple interprocess messaging syst
ii  libdjvulibre21 3.5.21-3  Runtime support for the DjVu image
ii  libfontconfig1 2.6.0-3   generic font configuration library
ii  libfreetype6   2.3.9-4.1 FreeType 2 font engine, shared lib
ii  libgcc11:4.4.0-5 GCC support library
ii  libgconf2-42.26.2-1  GNOME configuration database syste
ii  libglib2.0-0   2.20.1-2  The GLib library of C routines
ii  libgnome-keyring0  2.26.1-1  GNOME keyring services library
ii  libgtk2.0-02.16.1-2  The GTK+ graphical user interface 
ii  libice62:1.0.5-1 X11 Inter-Client Exchange library
ii  libkpathsea4   2007.dfsg.2-6 TeX Live: path search library for 
ii  libnautilus-extension1 2.26.2-5  libraries for nautilus components 
ii  libpango1.0-0  1.24.0-3+b1   Layout and rendering of internatio
ii  libpoppler-glib4   0.10.6-1  PDF rendering library (GLib-based 
ii  libsm6 2:1.1.0-2 X11 Session Management library
ii  libspectre10.2.2.ds-1+b1 Library for rendering Postscript d
ii  libstdc++6 4.4.0-5   The GNU Standard C++ Library v3
ii  libt1-55.1.2-3   Type 1 font rasterizer library - r
ii  libtiff4   3.8.2-11  Tag Image File Format (TIFF) libra
ii  libx11-6   2:1.2.1-1 X11 client-side library
ii  libxml22.7.3.dfsg-1  GNOME XML library
ii  shared-mime-info   0.60-2FreeDesktop.org shared MIME databa
ii  zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime

Versions of packages evince recommends:
ii  dbus-x11  1.2.12-1   simple interprocess messaging syst
ii  gvfs  1.2.2-2userspace virtual filesystem - ser

Versions of packages evince suggests:
ii  nautilus  2.26.2-5   file manager and graphical shell f
pn  poppler-data  none (no description available)
ii  unrar 1:3.8.5-1  Unarchiver for .rar files (non-fre

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org