[FIXED] Patchimage related errors

Things you’d like to miss in the future...
Post Reply
SammaySarkar
Posts: 4179
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

[FIXED] Patchimage related errors

Post by SammaySarkar » 26 Mar 2019 06:28

I've been using a number of patch images for a few days. The patches get applied properly, but XYplorer constantly crashes during exit. This doesn't happen when restarting.
Windows 7 x64,

Code: Select all

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	XYplorer.exe
  Application Version:	19.80.0.120
  Application Timestamp:	5c991263
  Fault Module Name:	gdiplus.dll
  Fault Module Version:	6.1.7601.24308
  Fault Module Timestamp:	5be85c60
  Exception Code:	c0000005
  Exception Offset:	00034d69
  OS Version:	6.1.7601.2.1.0.256.1
  Locale ID:	1033
  Additional Information 1:	e968
  Additional Information 2:	e9682749a172107fc41495be9f8c3142
  Additional Information 3:	a020
  Additional Information 4:	a0204decb24cc5c05cac30e32ce5e12b

SammaySarkar
Posts: 4179
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Patchimage related crash

Post by SammaySarkar » 26 Mar 2019 08:49

More info: This is probably related to scaling. I'm using only one size of patch images (small ones) without marking them as such. So XY would've had to scale them up for larger toolbar sizes. After adding the ,s size marker to filenames, there are no more crashes.

An interesting thing is, I've now removed those size markers, and XY still isn't crashing now! So maybe this is also affected by some kind of cache by the gdi+ library?

some further notes:
1) I wasn't using the large toolbar mode at all when XY was crashing.
2) XY would exit happily without size markers in filenames, until I had 90+ patch icons.

admin
Site Admin
Posts: 46951
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Patchimage related crash

Post by admin » 26 Mar 2019 08:51

Oh yes, thanks! :tup:

PS: 90 patches! :shock: You really don't like my icons... :)

SammaySarkar
Posts: 4179
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: [FIXED] Patchimage related crash

Post by SammaySarkar » 27 Mar 2019 07:22

:twisted:

SammaySarkar
Posts: 4179
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

patchimage shows scripting errors twice

Post by SammaySarkar » 10 Apr 2019 09:34

Try this: patchimage 'invalidkey', 'someicon.png'; The error dialog pops up two times.

admin
Site Admin
Posts: 46951
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: [FIXED] Patchimage related errors

Post by admin » 11 Apr 2019 17:59

Fixed next.

Post Reply