[gs-bugs] [Bug 690157] Multiple issues with tiffsep (wrong colors and a regression and large memory usage)

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Thu Nov 6 07:26:04 PST 2008


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





------- Additional Comments From marcos.woehrmann at artifex.com  2008-11-06 07:26 -------
The core dump does not occur under linux on my amd64 box and valgrind reports no difference 
between gs8.63 and head (r9198).  Here's the gdb output from Mac OS X:

.
.
.
%%SeparationName: PANTONE 143 U
%%SeparationName: PANTONE 144 U
%%SeparationName: PANTONE 145 U

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000914
0x0016627e in pdf14_mark_fill_rectangle (dev=0x187ec34, x=0, y=0, w=1984, h=74, 
color=18374686481802330112) at gdevp14.c:1771
1771	    src_alpha = src[num_comp] = (byte)floor (255 * pdev->alpha + 0.5);
(gdb) where
#0  0x0016627e in pdf14_mark_fill_rectangle (dev=0x187ec34, x=0, y=0, w=1984, h=74, 
color=18374686481802330112) at gdevp14.c:1771
#1  0x00165924 in pdf14_fill_rectangle (dev=0x187ec34, x=0, y=0, w=1984, h=74, 
color=18374686481802330112) at gdevp14.c:1608
#2  0x0043601c in gx_dc_pure_fill_rectangle (pdevc=0xbfff99e4, x=0, y=0, w=1985, h=2835, 
dev=0x187ec34, lop=16636, source=0x0) at gxdcolor.c:414
#3  0x00437d00 in gx_general_fill_path (pdev=0x187ec34, pis=0xbfff862c, ppath=0xbfffa800, 
params=0xbfff99a4, pdevc=0xbfff99e4, pcpath=0x0) at gxfill.c:459
#4  0x00438cba in gx_default_fill_path (pdev=0x187ec34, pis=0xbfff862c, ppath=0xbfffa800, 
params=0xbfff99a4, pdevc=0xbfff99e4, pcpath=0x0) at gxfill.c:687
#5  0x0016496b in pdf14_fill_path (dev=0x187ec34, pis=0xbfff9cac, ppath=0xbfffa800, 
params=0xbfff99a4, pdcolor=0xbfff99e4, pcpath=0x0) at gdevp14.c:1100
#6  0x001fee26 in clist_playback_band (playback_action=playback_action_render, cdev=0x1810234, 
s=0xbfffcc1c, target=0x187ec34, x0=0, y0=0, mem=0x1809634) at gxclrast.c:1784
#7  0x0020642d in clist_playback_file_bands (action=playback_action_render, crdev=0x1810234, 
page_info=0xbfffd74c, target=0x1722138, band_first=0, band_last=0, x0=0, y0=0) at gxclread.c:696
#8  0x00206008 in clist_render_rectangle (cldev=0x1810234, prect=0xbfffdc60, bdev=0x1722138, 
render_plane=0xbfffdd9c, clear=1) at gxclread.c:625
#9  0x00205cc5 in clist_rasterize_lines (dev=0x1810234, y=0, line_count=1, bdev=0x1722138, 
render_plane=0xbfffdd9c, pmy=0xbfffdd98) at gxclread.c:539
#10 0x0020578e in clist_get_bits_rectangle (dev=0x1810234, prect=0xbfffe028, params=0xbfffdf98, 
unread=0x0) at gxclread.c:430
#11 0x0021cca0 in clist_get_bits_rect_mt (dev=0x1810234, prect=0xbfffe028, params=0xbfffdf98, 
unread=0x0) at gxclthrd.c:472
#12 0x0047e55c in gx_default_get_bits (dev=0x1810234, y=0, data=0x1717034 "", 
actual_data=0xbfffe0cc) at gdevdgbr.c:51
#13 0x001f4b6d in gdev_prn_get_bits (pdev=0x1810234, y=0, str=0x1717034 "", 
actual_data=0xbfffe0cc) at gdevprn.c:1227
#14 0x00315d71 in tiffsep_print_page (pdev=0x1810234, file=0xa04d8ee8) at gdevtsep.c:1050
#15 0x001f3dd0 in gx_default_print_page_copies (pdev=0x1810234, prn_stream=0xa04d8ee8, 
num_copies=1) at gdevprn.c:834
#16 0x001f3b0a in gdev_prn_output_page (pdev=0x1810234, num_copies=1, flush=1) at 
gdevprn.c:769
#17 0x00481bf8 in gx_forward_output_page (dev=0x181f234, num_copies=1, flush=1) at 
gdevnfwd.c:164
#18 0x003f0a57 in gs_output_page (pgs=0x1218034, num_copies=1, flush=1) at gsdevice.c:134
#19 0x000f744f in zoutputpage (i_ctx_p=0x1229184) at zdevice.c:354
#20 0x000ae5fe in call_operator (op_proc=0xf7351 <zoutputpage>, i_ctx_p=0x1229184) at 
interp.c:111
#21 0x000b221c in interp (pi_ctx_p=0x11018cc, pref=0xbfffec54, perror_object=0xbfffee10) at 
interp.c:1534
#22 0x000aece6 in gs_call_interp (pi_ctx_p=0x11018cc, pref=0xbfffed58, user_errors=1, 
pexit_code=0xbfffee18, perror_object=0xbfffee10) at interp.c:496
#23 0x000aeb43 in gs_interpret (pi_ctx_p=0x11018cc, pref=0xbfffed58, user_errors=1, 
pexit_code=0xbfffee18, perror_object=0xbfffee10) at interp.c:454
#24 0x000a2637 in gs_main_interpret (minst=0x1101878, pref=0xbfffed58, user_errors=1, 
pexit_code=0xbfffee18, perror_object=0xbfffee10) at imain.c:214
#25 0x000a318b in gs_main_run_string_end (minst=0x1101878, user_errors=1, 
pexit_code=0xbfffee18, perror_object=0xbfffee10) at imain.c:526
#26 0x000a3053 in gs_main_run_string_with_length (minst=0x1101878, str=0x110a308 
"<2e2f50616e746f6e652e706466>.runfile", length=36, user_errors=1, pexit_code=0xbfffee18, 
perror_object=0xbfffee10) at imain.c:484
#27 0x000a2fbb in gs_main_run_string (minst=0x1101878, str=0x110a308 
"<2e2f50616e746f6e652e706466>.runfile", user_errors=1, pexit_code=0xbfffee18, 
perror_object=0xbfffee10) at imain.c:466
#28 0x000a6078 in run_string (minst=0x1101878, str=0x110a308 
"<2e2f50616e746f6e652e706466>.runfile", options=3) at imainarg.c:798
#29 0x000a6028 in runarg (minst=0x1101878, pre=0x49e324 "", arg=0x1102248 "./Pantone.pdf", 
post=0x4a2725 ".runfile", options=3) at imainarg.c:788
#30 0x000a5d0b in argproc (minst=0x1101878, arg=0xbffff983 "./Pantone.pdf") at imainarg.c:723
#31 0x000a44ae in gs_main_init_with_args (minst=0x1101878, argc=5, argv=0xbffff868) at 
imainarg.c:207
#32 0x00001d9d in main (argc=5, argv=0xbffff868) at gs.c:77
(gdb) 





------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list