I am working on an SAS application and I see a few problems with ImageMagick. The SAS application via the UI calls appmagick to perform some actions. when I tested outside the application, i see i can reproduce the same problems outside the app as well via ImageMagick CMD line.
- If i use identify.exe to find information of a X (working) file, it works fine. But if I use Y ( non working) image file, it crashes the application.
- Similar thing happens for convert.exe filename.tiff filename.png. It works for x image all the time and not for the y image.
Both files are tiff files. Do you suspect any problem with a particular Image file that can crash it all the time. It shows up the following error:
Log Name: Application
Source: Application Error
Date: 3/13/2014 7:12:03 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Description:
Faulting application name: convert.exe, version: 5.0.0.0, time stamp: 0x4eb6a8d8
Faulting module name: MSVCR100.dll, version: 10.0.30319.1, time stamp: 0x4ba220dc
Exception code: 0xc0000005
Fault offset: 0x000000000003c040
Faulting process id: 0x38f4
Faulting application start time: 0x01cf3ead0f3303ee
Faulting application path: C:\Program Files\ImageMagick-6.7.3-Q16\convert.exe
Faulting module path: C:\Program Files\ImageMagick-6.7.3-Q16\MSVCR100.dll
Report Id: 4d8187f3-aaa0-11e3-af7a-005056b66e67
Log Name: Application
Source: Windows Error Reporting
Date: 3/13/2014 7:12:09 AM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Description:
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: convert.exe
P2: 5.0.0.0
P3: 4eb6a8d8
P4: MSVCR100.dll
P5: 10.0.30319.1
P6: 4ba220dc
P7: c0000005
P8: 000000000003c040
P9:
P10:
Attached files:
These files may be available here:
C:\Users\abc\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_convert.exe_e0729d811ee5178c18b26874d29a6b7bd3abd_30d38bdf
Analysis symbol:
Rechecking for solution: 0
Report Id: 4d8187f3-aaa0-11e3-af7a-005056b66e67
Report Status: 0
Has anyone seen this in the past? Any pointers would be appreciated. It works on a few tiff files and crashes with specific tiff files. the solution is to replace MSVCR100.dll from a working setup and it starts working again.
Convert.exe crashing with TIFF Files
-
- Posts: 3
- Joined: 2014-03-13T00:31:15-07:00
- Authentication code: 6789
-
- Posts: 3
- Joined: 2014-03-13T00:31:15-07:00
- Authentication code: 6789
Re: Convert.exe crashing with TIFF Files
on the cmd line i see:
Problem signature:
Problem Event Name: APPCRASH
Application Name: convert.exe
Application Version: 5.0.0.0
Application Timestamp: 4eb6a8d8
Fault Module Name: MSVCR100.dll
Fault Module Version: 10.0.30319.1
Fault Module Timestamp: 4ba220dc
Exception Code: c0000005
Exception Offset: 000000000003c040
OS Version: 6.1.7600.2.0.0.16.7
Locale ID: 1033
Additional Information 1: 9c29
Additional Information 2: 9c294bbfa0b4bc140f19eba1a0638fe9
Additional Information 3: 614b
Additional Information 4: 614b684c0d5e483b6d580cf54cd96765
Problem signature:
Problem Event Name: APPCRASH
Application Name: convert.exe
Application Version: 5.0.0.0
Application Timestamp: 4eb6a8d8
Fault Module Name: MSVCR100.dll
Fault Module Version: 10.0.30319.1
Fault Module Timestamp: 4ba220dc
Exception Code: c0000005
Exception Offset: 000000000003c040
OS Version: 6.1.7600.2.0.0.16.7
Locale ID: 1033
Additional Information 1: 9c29
Additional Information 2: 9c294bbfa0b4bc140f19eba1a0638fe9
Additional Information 3: 614b
Additional Information 4: 614b684c0d5e483b6d580cf54cd96765
Re: Convert.exe crashing with TIFF Files
We'll need to download and inspect the image that causes the crash. With a debugger we can determine if the crash is inside the TIFF delegate library of ImageMagick. If its the TIFF delegate library, you will need to move the bug report to their development group. If its ImageMagick, we will provide a patch to fix the problem.
-
- Posts: 3
- Joined: 2014-03-13T00:31:15-07:00
- Authentication code: 6789
Re: Convert.exe crashing with TIFF Files
Thanks for the reply Magick.magick wrote:We'll need to download and inspect the image that causes the crash. With a debugger we can determine if the crash is inside the TIFF delegate library of ImageMagick. If its the TIFF delegate library, you will need to move the bug report to their development group. If its ImageMagick, we will provide a patch to fix the problem.
How do I send the file to you? Is there a support track that I can open? We use ImageMagick heavily and it would be best we get to the root cause of this problem. A lot of our enterprise customers use this application.
Please suggest how can I take this ahead?
-Prabhat
Re: Convert.exe crashing with TIFF Files
Post a URL to one or two TIFF images that cause the crash so we can download the image for inspection.
Re: Convert.exe crashing with TIFF Files
Can you upgrade your version of ImageMagick from 6.7.3 to the latest version? The version you are using is very old. We have fixed a couple of crashes in the tiff reader under Windows last year.