Bug 691638 - Regression: seg fault starting with r11723
Summary: Regression: seg fault starting with r11723
Status: RESOLVED FIXED
Alias: None
Product: GhostPCL
Classification: Unclassified
Component: PCL interpreter (show other bugs)
Version: master
Hardware: PC All
: P1 normal
Assignee: Robin Watts
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 21:22 UTC by Marcos H. Woehrmann
Modified: 2010-11-23 12:16 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2010-09-22 21:22:55 UTC
Starting with r11723 the following command line seg faults:

./main/obj/pcl6 -sOutputFile=test.pcl -sDEVICE=ppmraw -r600 -dNOPAUSE -dBATCH ./mlc0495.pcl
Comment 2 Robin Watts 2010-10-05 14:05:22 UTC
It's not entirely clear how the change I made can have caused this, but it does indeed appear to have done so.

Valgrind shows only 1 uninitialised read, that I will open details of in a new bug.

My working hypothesis is that if I set the padding bits to 0, the compression given for the bitmap is better, so the clist ends up a different size, and this triggers an unrelated bug elsewhere. I'll test this shortly.
Comment 3 Robin Watts 2010-10-05 17:28:51 UTC
I've opened a bug (691665) with the valgrind problem and a workaround.

Oddly, and for no reason I can understand, the workaround for that bug does seem to solve this SEGV too.

On 64bit linux the file now runs to completion with no errors. On 32bit linux it exits with interpreter error code -12.

I'll wait to hear what Henry says about 691665 before continuing.
Comment 4 Robin Watts 2010-11-23 12:16:27 UTC
Fixed by the fix for bug 691665.