[bug] TC crashes with decClipboard+Excel

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

[bug] TC crashes with decClipboard+Excel

Post by *XPEHOPE3KA »

One of the numerous routines I can reproduce this crash is as follows:
  1. get an empty wincmd.ini
  2. install decClipboardFS plugin
  3. open it in a panel
  4. close TC so that on the next start the plugin would "autoload"
  5. start MS Excel
  6. at any cell press Ctrl+Ins
  7. start TC
TC starts, shows the usual message "this copy is registered to me", then crashes. I can't copy the information from "View problem details" part of the dialog, but I would reprint its part I consider the most relevant: exception code is c0000374, exception offset is 000c283b, Fault module name is StackHash_e23a.

Configuration:
TC 7.55pb1
decClipboardFS 3.6
Office 2007
Win 7 Pro Eng.

Strangely enough with my full settings on 7.55pb2 I get a crash every second time.

I've also managed to reproduce several times another bug: after switching to a tab with decClipboard plugin, when Excel was opened, the buttons for directory hotlist and history from this tab's panel disappear (I get white background instead and I can continue working).
I have to find the precise steps for reproducing it yet.
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50843
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I cannot help much here - I'm still using a very old Excel here (Excel 97!) and there is no crash with decClipboardFS. I guess that the plugin gets confused by a specific clipboard format from Excel 2007.
Author of Total Commander
https://www.ghisler.com
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

Of course that must be it.

From other reports I see it's common for TC to crash when a plugin crashes. Can't these exceptions be caught in TC more or less easily?
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50843
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It would be a bad idea to swallow these crashes without notice. Plugin authors wouldn't see them either, and might add serious bugs to their plugins without knowing.

If the bug isn't damaging the stack, you can usually just continue working. However, when TC itself crashes too, it means that the crash i the plugin also did some damage to TC itself. The only way to prevent that would be to run each plugin from a separate process (different, hidden program).
Author of Total Commander
https://www.ghisler.com
Post Reply