Pixinn / ezwebgallery

EZWebGallery is a web photo gallery generator. Output websites are responsive and optimized for both Desktop and Mobile viewers. More info at http://www.ezwebgallery.org
GNU General Public License v3.0
4 stars 0 forks source link

Crash on a specific machine #5

Closed Pixinn closed 2 years ago

Pixinn commented 2 years ago

Christophe,

Unfortunately, I have discovered a big problem with release 0.63, with or without the latest fix.

On two of my computers it works great. On the 3rd computer, my newest and fastest, EZWebGallery fails almost immediately after starting. The problem is reproduced as follows:

  1. Type in a title
  2. Select an input directory for photos

The program fails immediately with this event viewer error:

Log Name: Application Source: Application Error Date: 2022-01-15 7:54:27 AM Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: WILLIAMS10 Description: Faulting application name: EZWebGallery.exe, version: 0.0.0.0, time stamp: 0x61db6c1c Faulting module name: CORE_RLmagick.dll, version: 6.9.11.19, time stamp: 0x6019898e Exception code: 0xc0000005 Fault offset: 0x0000000000069885 Faulting process id: 0x534 Faulting application start time: 0x01d80a1fc670154f Faulting application path: C:\Program Files\EZWebGallery\2022-01-09\EZWebGallery.exe Faulting module path: C:\Program Files\EZWebGallery\2022-01-09\CORE_RLmagick.dll Report Id: f433fe1b-92af-41b6-a9bd-4445b296aa97 Faulting package full name: Faulting package-relative application ID:

Some detailed debugging information (Process Monitor trace) is available for download here:

http://meccano.crabdance.com/pvr/EZWebGallery/

David Williams, Edmonton, Alberta, CANADA @.***

Pixinn commented 2 years ago

Thanks for the trace. It appears to be caused by a buffer overflow in ImageMagick's code. Can you isolate a single photo of your gallery that will lead to this problem? Just try to build a one photo gallery. If you find one, can you send it to me without any modification please?

meccano1901 commented 2 years ago

FYI, I was testing with the same set of photos on all 3 computers. All photos appear to cause the bug. Attached is an example. 19760000_001_WPH_8321_CoronetRd_Office.zip

Pixinn commented 2 years ago

Unfortunately, I don't see anything special about this photo and cannot reproduce the problem 🙁 Could you work with this single image while doing a video capture so I can see what exact actions lead to the crash? If you have Windows 10, you can video capture using the WIN+G key combination.

meccano1901 commented 2 years ago

Based upon my testing, the problem is NOT related to any specific photos whether they are scanned, taken with a camera, etc. I am able to get the newest release working on my specific problem computer as follows:

  1. Copy 0.62 C:\Program Files\EZWebGallery\2020-08-27 to a new folder, e.g. C:\Program Files\EZWebGallery\2022-01-25

  2. Copy the UPDATED 0.63 EZWebGallery.exe to this new folder replacing the old copy already present

The program then appears to work ok.  In my view, this shows that the problem may be related to the updated RL_magick or QT5 library dll's.

For example: https://blog.inventic.eu/2014/08/qt5-application-crashed-with-error-0xc0000005/ https://forum.qt.io/topic/95717/application-crash-on-startup-error-0xc0000005

Unfortunately, I am not familiar with how QT works. I can generate a video but it wouldn't show anything apart from me entering the title and input directory into the EZWebGallery window.

David Williams, Edmonton, Alberta, CANADA

On 2022-01-24 2:28 p.m., Christophe Meneboeuf wrote:

Unfortunately, I don't see anything special about this photo and cannot reproduce the problem 🙁 Could you work with this single image while doing a video capture so I can see what exact actions lead to the crash? If you have Windows 10, you can video capture using the WIN+G key combination.

— Reply to this email directly, view it on GitHub https://github.com/Pixinn/ezwebgallery/issues/5#issuecomment-1020565677, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXBWUHDRRLS4UG3JO6YADL3UXW76FANCNFSM5MBHKUHQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

Pixinn commented 2 years ago

Given the trace you gave me the other day and your description, I think the problem occurs in the ImageMagick libraries when it is manipulating the images to generate the small previews for the "Photos and captions" tab. Indeed those previews are generated in the background as soon as you provide the directory containing your photos.

I compiled against the latest version of ImageMagick. Could you try this to test if that solves your problem? EZWebGallery-GH5-1.zip

Just unzip it into a folder. It should be self sufficient on your PC if you already installed prior versions of EZWebGallery.

meccano1901 commented 2 years ago

Unfortunately this update does not function properly. On my specific machine WILLIAMS10 I get the messages in EZWebGallery-GH5-1_02.jpg and EZWebGallery-GH5-1_03.jpg On another machine, where EZWEbGallery 0.63 works OK, I get messages in EZWebGallery-GH5-1_01.jpg and EZWebGallery-GH5-1_03.jpg

The output directory is empty in both cases.

EZWebGallery-GH5-1_01 EZWebGallery-GH5-1_02 EZWebGallery-GH5-1_03

Pixinn commented 2 years ago

My bad, sorry. Please try this one: EZWebGallery-GH5-2.zip I tested it in a blank Virtual Machine, so it should run OK.

meccano1901 commented 2 years ago

Unfortunately, both test machines receive this error. EZWebGallery-GH5-2_01

Pixinn commented 2 years ago

I hope the 3rd attempt will be the good one 🤞 EZWebGallery-GH5-3.zip

meccano1901 commented 2 years ago

This 3rd update works good on both my specific machine and another test machine. All previously reported bugs are still resolved. Thanks you very much for your efforts.

Pixinn commented 2 years ago

You're welcome. Thanks for reporting the bug.