Bug 690303 - gswin32c.exe has encountered a problem and needs to close
Summary: gswin32c.exe has encountered a problem and needs to close
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: General (show other bugs)
Version: 8.64
Hardware: PC Windows XP
: P1 normal
Assignee: Marcos H. Woehrmann
URL:
Keywords:
: 690302 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-24 16:14 UTC by Marcos H. Woehrmann
Modified: 2011-09-18 21:47 UTC (History)
0 users

See Also:
Customer: 700
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2009-02-24 16:14:59 UTC
The attached file, when processed with gs8.64 generates a Windows XP 
"gswin32c.exe has encountered a problem and needs to close" error dialog box.  
Ghostscript itself does not print an error message.

The command line I'm using for testing:

"\Program Files\gs\gs8.64\bin\gswin32c.exe"  -sOutputFile=Test.tif 
-sDEVICE=tiffg4 -dNOPAUSE -dNOSAFER -dBufferSpace=120000000 -dMaxBitmap=40000000 
-dNOCIE -r400 "2007-0030-A502-Vertical Circulation.pdf"

The customer reported that -r800 was required to make the file fail, but my 
testing shows it also failing at -r400 (though it works -r300).

The equivalent command does not fail under Mac OS X.
Comment 1 Marcos H. Woehrmann 2009-02-24 16:19:03 UTC
Created attachment 4808 [details]
2007-0030-A502-Vertical Circulation.pdf
Comment 2 Alex Cherepanov 2009-02-25 15:14:28 UTC
*** Bug 690302 has been marked as a duplicate of this bug. ***
Comment 3 Ray Johnston 2009-02-26 10:53:50 UTC
I am able to reproduce a Segmentation violation at 800 dpi. This happens during
clist playback, so I will investigate it and reassign it to someone else if
I possibly can (but I doubt it).
Comment 4 Ray Johnston 2009-07-12 19:51:11 UTC
As of rev 9858 this no longer segfaults for me at 400 or 800 dpi (8.64 does).

Assigning to Marcos to see if he can find a patch with 'search-svn-revs'

Comment 5 Masaki Ushizaka 2009-07-31 07:16:10 UTC
Tried to reproduce on my Win XP Pro SP3 (vmware on Mac) + VS2008 Express SP1.
8.70rc1 (r9909) doesn't show this symptom.

Also tried with 8.64.  800 dpi always failed with access violation on gxclip.c line 257.
400 dpi was more cranky. It only failed at first try after clean build just after machine reboot. (sounds 
crazy but this is what happening on my machine)
Comment 6 Ray Johnston 2009-07-31 08:43:58 UTC
It is likely, based on Masaki's testing that this difficult to reproduce issue
has been fixed by some of the valgrind warning fixes and fixes to some of the
SEGV bugs since the code of the original report.

Closing as FIXED. Thanks, Masaki !
Comment 7 Henry Stiles 2009-07-31 08:51:19 UTC
I'm confused masaki wrote:

"800 dpi always failed with access violation on gxclip.c line 257."

why is this fixed?
Comment 8 Ray Johnston 2009-07-31 08:56:02 UTC
The failures were with 8.64. Once the customer upgrades to 8.70, if they still
see problems, we can re-open (or open a new bug).
Comment 9 Henry Stiles 2009-07-31 08:58:17 UTC
Sorry I did not read masaki's description correctly, disregard comment #7
Comment 10 Marcos H. Woehrmann 2011-09-18 21:47:35 UTC
Changing customer bugs that have been resolved more than a year ago to closed.