Error when updating Imagine plugin

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Error when updating Imagine plugin

Post by *petermad »

If I update the Imagine plugin from for example v. 1.0.6 to 1.0.7 or downgrade from 1.0.8wip to 1.0.7 (or any other combination) and the old plugin is loaded (has been used) prior to the auto-install, then I get an error, if I after the installation try to view an image with Imagine.

I first get this error:
---------------------------
error
---------------------------
Crash in plugin Imagine.wlx:

External exception C000001D
---------------------------
OK Annuller
---------------------------
Or I get this error - whith varying addresses:
---------------------------
error
---------------------------
Crash in plugin Imagine.wlx:

Access violation at address 00000000. Read of address 00000000
---------------------------
OK Annuller
---------------------------
Wheter I get the first or the second message seem to depend on the version of the two Imagines I replace.

If I press OK, I can continue, but the image is not shown by plugin (any), but by IrfanView.

If I press Cancel I get this message:
---------------------------
Total Commander 7.55pb1
---------------------------
Cannot change Visible in OnShow or OnHide.
Cannot change Visible in OnShow or OnHide
Windows XP SP3 5.1 (Build 2600)

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Delphi exception: EInvalidOperation
Stack trace:
7C812AFB
417DD5 442A25 442963 44485F 4448BB 442963
4420B3 410ED0 413F82 61C930 61AE02 415D90
>442A25 442963 44485F 4448BB 442963 4420B3
51E3DF 5503DA 5418B5 4454A3 442A25 443FE9
444966 414554 443F27 414554 419BC8 419C60
6B59B5
Raw:
417DD5 40268C 402CD8 408FAB 417DD5 417DD5
402E36 442A25 444C35 416230 443FE9 442963
44485F 4148F3 4448BB 445B31 442A25 444C35
416230 443FE9 442963 4420B3 415F93 418421
4157E4 410ED0 413F82 406C94 4045EA 615504
614CD3 61540B 61C930 6B0D81 57DFA6 6B0D81
57DFA6 460060 40208E 402212 402235 407952
40208E 402212 402235 40268C 403796 407C6E
6B249B 6B2836 460098 4601E4 444989 444991
443E95 414554 65006C 67A96C 67A96C 443E95

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Ja Nej
---------------------------
After restart of TC there are no problems.

I can reproduce this also in TC 7.04 and TC 7.50. And it happens with both ANSI and Unicode versions of Imagine.

If I run cm_UnloadPlugins just before auto-installing Imagine it doesn't happen, so it seems like TC doesn't unload the old Imagine properly before auto-installing the new one.

On the other hand - if I do the same with SGViewer (install a new version while the old version is still loaded), then it doesn't happen.

So maybe both TC and Imagine are to be blamed for this.

See also: http://www.nyam.pe.kr/phpBB3/viewtopic.php?p=3650#p3650
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have never seen this with other plugins, so it's probably an Imagine problem...
Author of Total Commander
https://www.ghisler.com
Post Reply