Instant quit on unpacking archives

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

ManiusNG
Junior Member
Junior Member
Posts: 7
Joined: 2007-03-28, 21:17 UTC

Instant quit on unpacking archives

Post by *ManiusNG »

Hi

I've just noticed one, not so small, bug in TC RC1. When used with WinRAR's shell extension (rmb over rar archive) and choosing any option (extract, extract to, etc) makes TC quit immediately. No error, no message, nothing. Just a sound <ding>. Nothing shows in windows applications log, neither system. Could somebody confirm that?

WinRAR 3.62 if that matters.
Last edited by ManiusNG on 2007-03-28, 23:18 UTC, edited 1 time in total.
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Not confirmed here.

Win XP pro SP2 ger, WinRAR 3.51, TC7rc1, Thunderbird 1.5.0.10.

No problem with compress , compr & email, extract,... via context menu inside TC.

Kind regards,
Holger
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Cannot confirm here too.
Win XP SP2 Pro, TC 7.0rc1, WinRAR 3.61 and 3.62.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

When you right click on a file, this will load ALL the Explorer shell extensions, so the problem you have is most probably NOT RAR.

Here are the instructions how to find the problematic extrnsion:
1. Get the free tool ShellExView:
http://www.nirsoft.net/utils/shexview.html
2. Disable all context menu shell extensions one by one (you can hide/keep
those belonging to Windows, they are usually OK).
3. Continue until Total Commander stops crashing
Author of Total Commander
https://www.ghisler.com
ManiusNG
Junior Member
Junior Member
Posts: 7
Joined: 2007-03-28, 21:17 UTC

Post by *ManiusNG »

Thx! It worked :)

Seems it was badly registered Agnitum Outpost's extension as disabling it and reenabling solved the problem.

Thank you very much.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for letting us know the reason of the problem!
Author of Total Commander
https://www.ghisler.com
ManiusNG
Junior Member
Junior Member
Posts: 7
Joined: 2007-03-28, 21:17 UTC

Rushed...

Post by *ManiusNG »

Seems i've rushed with my reply. It wasn't Outpost.
So i've tried to find what it was. And finally, woo-haa :)
It is

Mainmenu

In wincmd.ini

Whenever it's set to f.e.
Mainmenu=wcmd_pol.mnu

I experience the "immediate quit" effect. But when i remove this line from config file - everything works flawlessly. I've tried with wcmd_eng.mnu - same error.

So what could be wrong?
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved back to TC 7 bug reports forum.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Your conclusion makes no sense at all. I and many 100'000 other TC users use a translated menu, and we do not have this problem. I guess that it was just a coincidence, and you didn't yet find and turn off the shell extension which causes the problems.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Perhaps something is wrong with the menu file and when the entries for the right-click menu are read TC crashes?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
ManiusNG
Junior Member
Junior Member
Posts: 7
Joined: 2007-03-28, 21:17 UTC

Post by *ManiusNG »

You said I'm wrong. But why does it work when I use mnu file from 6.56 relase? Later i'm gonna try which line causes this strange effect for me. Call me the one of the 100000 ;)
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ManiusNG
Maybe it is not your .mnu files that are corrupted, but your totalcmd.inc file? Have you checked that the date of your totalcmd.inc matches the rest of your TC files?
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) »

2ManiusNG
Yes, please keep us informed! I just can't see how the mnu file could affect the right click menu...
Author of Total Commander
https://www.ghisler.com
ManiusNG
Junior Member
Junior Member
Posts: 7
Joined: 2007-03-28, 21:17 UTC

Post by *ManiusNG »

@ghisler
I know you don't believe me. I really do :)

But here's what i've found (at least removing these two lines solves my problem - don't ask me how and why;)

WMCD_*.MNU
Lines 34-35:
MENUITEM "Select All With Same E&xtension\tAlt Gray +",527
MENUITEM SEPARATOR

When i delete them everything works flawlessly. (yes, both lines - just one doesn't work). I can extract archives as before. When I put them back - "sudden death" comes back.
I have no idea how could it be related to problem I experience. But hey - it works ;) Too bad TC doesn't make debug-logs as this could be helpful.

And please don't laugh at me, don't patronize me, as this is really happening here, and these two lines really fixed this strange behavior.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I still can't reproduce it. I can only guess that by having a larger menu, TC allocates more memory, which moves the rar shell extension dll data a bit more up in memory, where it misbehaves...

Can anyone else reproduce this error?
Author of Total Commander
https://www.ghisler.com
Post Reply