[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#343901: gs-esp's lx5000 driver runs into infinite loop with mozilla's postscript files



reassign 343901 libgs9
found 343901 gs-esp/8.15.1.dfsg.1-1
found 343901 ghostscript/9.00~dfsg-2
tags 343901 + confirmed
quit

Sebastian Schmidt wrote:

> gs-esp with -sDEVICE=lx5000 hangs when printing PostScript files
> generated by mozilla (firefox, in this case). I have attached a file
> which causes gs to fail; you can reproduce this bug with
>   gs -sDEVICE=lx5000 -sOutputFile=/dev/null file
> 
> gs without -sDEVICE or gv display the file fine.

Thanks for a clear report.  Still happens exactly as described.
Ghostscript wizards: any ideas for tracking this down?

 $ gs -dSAFER -sDEVICE=lx5000 -sOutputFile=/dev/null ~/web/mozilla.ps 
 GPL Ghostscript  9.00 (2010-09-14)
 Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
 This software comes with NO WARRANTY: see the file PUBLIC for details.
 Loading NimbusRomNo9L-Regu font from /usr/share/fonts/type1/gsfonts/n021003l.pfb... 2619136 1254085 8750092 7450110 1 done.
 Loading NimbusRomNo9L-Medi font from /usr/share/fonts/type1/gsfonts/n021004l.pfb... 2682564 1363434 8750092 7456503 1 done.
 Loading NimbusRomNo9L-MediItal font from /usr/share/fonts/type1/gsfonts/n021024l.pfb... 2799708 1471362 8770188 7466010 1 done.
 Loading NimbusRomNo9L-ReguItal font from /usr/share/fonts/type1/gsfonts/n021023l.pfb... 2916852 1582897 8770188 7472159 1 done.
 Loading NimbusSanL-Regu font from /usr/share/fonts/type1/gsfonts/n019003l.pfb... 3013900 1678963 8770188 7478372 1 done.
 Loading NimbusSanL-Bold font from /usr/share/fonts/type1/gsfonts/n019004l.pfb... 3090852 1764420 8790284 7487849 1 done.
 Loading NimbusSanL-BoldItal font from /usr/share/fonts/type1/gsfonts/n019024l.pfb... 3187900 1852077 8790284 7493998 1 done.
 Loading NimbusSanL-ReguItal font from /usr/share/fonts/type1/gsfonts/n019023l.pfb... 3284948 1938835 8790284 7500147 1 done.
 Loading NimbusMonL-Regu font from /usr/share/fonts/type1/gsfonts/n022003l.pfb... 3402092 2053607 8810380 7509624 1 done.
 Loading NimbusMonL-Bold font from /usr/share/fonts/type1/gsfonts/n022004l.pfb... 3519236 2175599 8810380 7515901 1 done.
 Loading NimbusMonL-BoldObli font from /usr/share/fonts/type1/gsfonts/n022024l.pfb... 3574036 2193018 8810380 7465778 1 done.
 Loading NimbusMonL-ReguObli font from /usr/share/fonts/type1/gsfonts/n022023l.pfb... 3671084 2300599 8810380 7471927 1 done.
 Loading StandardSymL font from /usr/share/fonts/type1/gsfonts/s050000l.pfb... 3711276 2340770 8810380 7478380 1 done.
[hangs there at 100% CPU]

Attaching with gdb gives

 (gdb) bt
 #0  0xb7218041 in ?? () from /usr/lib/libgs.so.9
 #1  0xb7219822 in ?? () from /usr/lib/libgs.so.9
 #2  0xb710bbd0 in gx_default_print_page_copies () from /usr/lib/libgs.so.9
 #3  0xb710bd05 in gdev_prn_output_page () from /usr/lib/libgs.so.9
 #4  0xb7276ec3 in gs_output_page () from /usr/lib/libgs.so.9
 #5  0xb70806df in ?? () from /usr/lib/libgs.so.9
 #6  0xb7050fc4 in ?? () from /usr/lib/libgs.so.9
 #7  0xb7052030 in gs_interpret () from /usr/lib/libgs.so.9
 #8  0xb7045df8 in gs_main_run_string_end () from /usr/lib/libgs.so.9
 #9  0xb7046252 in gs_main_run_string_with_length () from /usr/lib/libgs.so.9
 #10 0xb70462aa in gs_main_run_string () from /usr/lib/libgs.so.9
 #11 0xb7047060 in ?? () from /usr/lib/libgs.so.9
 #12 0xb70478f8 in ?? () from /usr/lib/libgs.so.9
 #13 0xb7047b6a in ?? () from /usr/lib/libgs.so.9
 #14 0xb7048feb in gs_main_init_with_args () from /usr/lib/libgs.so.9
 #15 0xb704a10e in gsapi_init_with_args () from /usr/lib/libgs.so.9
 #16 0x0804887c in main ()

Using the usual X11 driver gives the same terminal output, with

 >>showpage, press <return> to continue<<

appended and a webpage shows.




Reply to: