[bug-pcl] Problem with big PCL file
Jean-Yves LENHOF
jylenhof at banque-accord.com
Wed Jun 28 00:36:23 PDT 2006
Hi,
We use ghostpcl with success since one year....
But now, we are generating some pretty big file (more than 37000 pages)
and we are experiencing some problems.
So I've compiled it with debug enabled to send a bug report on this list.
We hope that someone have an idea about what is wrong.... or
perhaps a woraround (To specify something about allocating memory
on the command line for example )
The command we use... (Sorry, I cannot give you the pcl, it is financial
data)
#pcl6debug -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=/cdoracle/fic.pdf
w17096.pcl
/sysapp/opensource/bin/pcl6debug[5]: 2961514 Illegal instruction(coredump)
root:unia1001:/spqualiac/qqualiac/eta/savepcl:()
Two core dump :
1/
#gdb /sysapp/opensource/ghostpcl_1.41/bin/pcl6debug core
GNU gdb 6.2
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "powerpc-ibm-aix5.2.0.0"...
Core was generated by `pcl6debug'.
Program terminated with signal 4, Illegal instruction.
#0 0x00000000 in ?? ()
(gdb) where
#0 0x00000000 in ?? ()
#1 0x00000000 in ?? ()
Previous frame identical to this frame (corrupt stack?)
(gdb)
2/
gdb /sysapp/opensource/ghostpcl_1.41/bin/pcl6debug core
GNU gdb 6.2
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "powerpc-ibm-aix5.2.0.0"...
Core was generated by `pcl6debug'.
Program terminated with signal 11, Segmentation fault.
#0 0x100b3698 in _tr_stored_block (s=0x2fea6130,
buf=0x2fee8100 "q 0.1 0 0 0.1 0 0 cm\nq\n10 0 0 10 0 0 cm BT\n/R9
7.48264 Tf\n0.96 0 0 1 17 796.93
Tm\n[(B)15.4108(A)15.4108(N)15.411(Q)15.411(U)15.411(E)-569.276(A)15.411(C)15.4106(C)15.4106(O)15.4106(R)15.4106(D)-569.27"...,
stored_len=7995, eof=1) at ../gs/zlib/trees.c:873
873 ../gs/zlib/trees.c: A file or directory in the path name does not
exist..
in ../gs/zlib/trees.c
(gdb) backtrace
#0 0x100b3698 in _tr_stored_block (s=0x2fea6130,
buf=0x2fee8100 "q 0.1 0 0 0.1 0 0 cm\nq\n10 0 0 10 0 0 cm BT\n/R9
7.48264 Tf\n0.96 0 0 1 17 796.93
Tm\n[(B)15.4108(A)15.4108(N)15.411(Q)15.411(U)15.411(E)-569.276(A)15.411(C)15.4106(C)15.4106(O)15.4106(R)15.4106(D)-569.27"...,
stored_len=7995, eof=1) at ../gs/zlib/trees.c:873
#1 0x100b3ac8 in _tr_flush_block (s=0x2fea6130,
buf=0x2fee8100 "q 0.1 0 0 0.1 0 0 cm\nq\n10 0 0 10 0 0 cm BT\n/R9
7.48264 Tf\n0.96 0 0 1 17 796.93
Tm\n[(B)15.4108(A)15.4108(N)15.411(Q)15.411(U)15.411(E)-569.276(A)15.411(C)15.4106(C)15.4106(O)15.4106(R)15.4106(D)-569.27"...,
stored_len=7995, eof=1) at ../gs/zlib/trees.c:980
#2 0x100b1384 in deflate_stored (s=0x2fea6130, flush=4)
at ../gs/zlib/deflate.c:1128
#3 0x100b0628 in deflate (strm=0x2fe9d318, flush=4)
at ../gs/zlib/deflate.c:516
#4 0x100af884 in s_zlibE_process (mem=0x2fea6130, st=0x2fee8100,
pr=0x2fea14c4, pw=0x20084244, last=1) at ../gs/src/szlibe.c:69
#5 0x1002a830 in swritebuf (s=0x2fea6130, pbuf=0x2fea14c4, last=1)
at ../gs/src/stream.c:885
#6 0x1002a4b4 in s_process_write_buf (s=0x2fea1460, last=7995)
at ../gs/src/stream.c:740
#7 0x10029754 in s_filter_close (s=0x0) at ../gs/src/stream.c:339
#8 0x100299a4 in sclose (s=0x40180000) at ../gs/src/stream.c:413
#9 0x1010c7ac in stream_to_none (pdev=0x2007ee30) at
../gs/src/gdevpdfu.c:303
#10 0x1010c900 in pdf_open_contents (pdev=0x2007ee30, context=PDF_IN_NONE)
at ../gs/src/gdevpdfu.c:324
#11 0x1010c9d4 in pdf_close_contents (pdev=0x2007ee30, last=804159744)
at ../gs/src/gdevpdfu.c:345
#12 0x101073a4 in pdf_close_page (pdev=0x2007ee30) at
../gs/src/gdevpdf.c:693
#13 0x10107854 in pdf_output_page (dev=0x2007ee30, num_copies=30720,
flush=1)
at ../gs/src/gdevpdf.c:822
#14 0x1001a1bc in gs_output_page (pgs=0x2fea6130, num_copies=1, flush=1)
at ../gs/src/gsdevice.c:133
#15 0x101c7354 in pcl_end_page_top (pcs=0x2006d760, num_copies=1, flush=1)
at ../pcl/pctop.c:610
#16 0x101a1150 in pcl_end_page (pcs=0x2006d760,
condition=pcl_print_always)
at ../pcl/pcpage.c:506
#17 0x101a6da0 in pcl_do_FF (pcs=0x2006d760) at ../pcl/pcursor.c:338
#18 0x101a7b90 in cmd_FF (pargs=0x2006eef4, pcs=0x2006d760)
at ../pcl/pcursor.c:645
#19 0x10184f80 in pcl_process (pst=0x2006eef0, pcs=0x2006d760,
pr=0x2ff22908)
at ../pcl/pcparse.c:550
#20 0x101c6c28 in pcl_impl_process (instance=0x2006d740,
cursor=0x2ff22908)
at ../pcl/pctop.c:441
#21 0x100070b4 in pl_process (instance=0x2006d740, cursor=0x2ff22908)
at ../pl/pltop.c:148
#22 0x10000b08 in pl_main (argc=5, argv=0x2ff22a28) at ../pl/plmain.c:385
#23 0x100034d8 in main (argc=5, argv=0x2ff22a28) at ../pl/plmain.c:1229
Regards,
----
Jean-Yves LENHOF
Ingénieur Système Unix/Linux
jylenhof at banque-accord.com
Tel : 03 28 38 59 32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ghostscript.com/pipermail/bug-pcl/attachments/20060628/59fba4cd/attachment-0001.htm
More information about the bug-pcl
mailing list