Bug 688826 - Crash with textures/patterns at high resolution
Summary: Crash with textures/patterns at high resolution
Status: NOTIFIED DUPLICATE of bug 688396
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Graphics Library (show other bugs)
Version: 8.53
Hardware: PC Linux
: P2 normal
Assignee: leonardo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-02 10:08 UTC by Ralph Giles
Modified: 2011-09-18 21:47 UTC (History)
0 users

See Also:
Customer: 190
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Giles 2006-08-02 10:08:10 UTC
Customer reports:

The attached file makes problems with GS 8.53, tiffcmyk device:                
                                                                               
- at 1519 dpi it exits with "/VMError in --fill--"                              
- at 1634 dpi it crashes with SIGSEGV                                           
                                                ther problems of this type      
The /VMError comes from gs_heap_alloc_bytes failing to alloc a large bloc       
of memory (something like 3,9 Gb). The allocation comes from                    
gx_pattern_load() / pattern_accum_open()                                        
                                                                                
The crash is caused again by an overflow ( pattern_accum_open would have to
claim 4,5 Gb of memory, but this becomes a few megabytes only in an
unsigned int variable, so the allocation is OK but                             
mem_true32_fill_rectangle crashes immediately).                                
                                                                               
If I remember correcly, I have already seem this bug reported on the Bug        
Tracker, and it's due to the inability of GS to make texture mapping           
"on-the-fly", or something similar. Nevertheless, I submit you the file in     
case it's something else (it has some spot colors, so maybe it's the           
combination spot/textures).                                                     
                                                                               
It seems this time I can't anything, but just one question: do I have a        
sure way to know (either in the device procs or from somwehere in the core     
code), when such a file is ripped at low resolution, that it is likely to       
cause this bug at high resolution? I could then, at least, warn the user        
when he attempt to print it, after the preview).
Comment 1 Ralph Giles 2006-08-02 10:08:58 UTC
Created attachment 2398 [details]
recoreco4.pdf
Comment 2 Ralph Giles 2006-08-02 10:09:55 UTC
This seems likely to be related to the other pattern accumulator bugs. Assigning
to Ray as another case since he is working on those issues.
Comment 3 Raph Levien 2006-08-09 09:48:44 UTC
Some of the other pattern accumulator bugs include #688396 and #688730. The former of these two has 
lots of links to other bugs marked as duplicates, which should be useful for gathering test cases.
Comment 4 Ray Johnston 2007-04-12 12:29:50 UTC
Adjusting priority to reflect that this is a customer bug. 

*** This bug has been marked as a duplicate of 688396 ***
Comment 5 Marcos H. Woehrmann 2011-09-18 21:47:53 UTC
Changing customer bugs that have been resolved more than a year ago to closed.