[FIXED] Patchimage related errors

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

[FIXED] Patchimage related errors

Post by bdeshi »

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
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: Patchimage related crash

Post by bdeshi »

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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Patchimage related crash

Post by admin »

Oh yes, thanks! :tup:

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

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

Re: [FIXED] Patchimage related crash

Post by bdeshi »

:twisted:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

patchimage shows scripting errors twice

Post by bdeshi »

Try this: patchimage 'invalidkey', 'someicon.png'; The error dialog pops up two times.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: [FIXED] Patchimage related errors

Post by admin »

Fixed next.

Post Reply