[gs-bugs] [Bug 691204] Seg fault reading pcl file

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Fri Mar 19 14:44:15 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691204

--- Comment #1 from Hin-Tak Leung <htl10 at users.sourceforge.net> 2010-03-19 14:44:14 UTC ---
On a 6-week old language switch debug build I have around, it crashes on the
2nd page at line 1108 of pcl/pcpatrn.c (this may just be an old bug, as the
binary is 6-week old and I seem to remember Henry made some changes in ghostpcl
along this line recently):

Program received signal SIGSEGV, Segmentation fault.
0x0000000000806232 in pattern_set_user_gl (pcs=0x1881cd0, id=10, pen=1) at
../pcl/pcpatrn.c:1108
1108            if (pptrn->ppat_data->type == pcl_pattern_uncolored) {
Missing separate debuginfos, use: debuginfo-install glibc-2.11.1-1.x86_64
libICE-1.0.6-1.fc12.x86_64 libSM-1.1.0-7.fc12.x86_64 libX11-1.3-1.fc12.x86_64
libXau-1.0.5-1.fc12.x86_64 libXext-1.1-2.fc12.x86_64 libXt-1.0.7-1.fc12.x86_64
libuuid-2.16.2-7.fc12.x86_64 libxcb-1.5-1.fc12.x86_64
(gdb) bt
#0  0x0000000000806232 in pattern_set_user_gl (pcs=0x1881cd0, id=10, pen=1) at
../pcl/pcpatrn.c:1108
#1  0x000000000080df3d in hpgl_set_drawing_color (pgls=0x1881cd0,
render_mode=hpgl_rm_polygon) at ../pcl/pgdraw.c:980
#2  0x000000000080e25a in hpgl_set_drawing_state (pgls=0x1881cd0,
render_mode=hpgl_rm_polygon) at ../pcl/pgdraw.c:1080
#3  0x000000000080fb12 in hpgl_draw_current_path (pgls=0x1881cd0,
render_mode=hpgl_rm_polygon) at ../pcl/pgdraw.c:1488
#4  0x000000000081764f in hpgl_FP (pargs=0x1875660, pgls=0x1881cd0) at
../pcl/pgpoly.c:219
#5  0x00000000008110ad in hpgl_process (pst=0x1875660, pgls=0x1881cd0,
pr=0x7fffffffcbf0) at ../pcl/pgparse.c:104
#6  0x00000000007f0aee in pcl_process (pst=0x1883908, pcs=0x1881cd0,
pr=0x7fffffffcbf0) at ../pcl/pcparse.c:423
#7  0x0000000000405294 in pcl_impl_process (instance=0x1881c88,
cursor=0x7fffffffcbf0) at ../pcl/pctop.c:451
#8  0x00000000007d3b61 in pl_process (instance=0x1881c88,
cursor=0x7fffffffcbf0) at ../pl/pltop.c:162
#9  0x0000000000820a9f in pl_main (argc=2, argv=0x7fffffffdfa8) at
../pl/plmain.c:432
#10 0x0000000000822a28 in main (argc=2, argv=0x7fffffffdfa8) at
../pl/plmain.c:1311
(gdb)

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list