Context menu action crash

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

Moderators: Hacker, petermad, Stefan2, white

quosek
Junior Member
Junior Member
Posts: 15
Joined: 2008-08-17, 21:49 UTC

Context menu action crash

Post by *quosek »

Hi,
In beta 8 (and beta 7) sometimes TC shuts down while performing "context menu action" - for example:
- right click on rar (only some of them)
- choose extract (by 7zip)
- there is no TC ....

another:
- right click on avi file
- choose find subtitles (by napiproject app)
- there is no TC ...

How can I help reproducing this bug ? Some debugging mode ?
I can send you 14mb rar file (first part of multipart archive) on which this is always happening.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Please search for ShellExView - see for example: http://ghisler.ch/board/viewtopic.php?p=177311#177311
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
quosek
Junior Member
Junior Member
Posts: 15
Joined: 2008-08-17, 21:49 UTC

Post by *quosek »

I dont know if I understood well - but I have crush not after pressing right mouse button, but after choosing action from context menu.
I've tested older TC version, and it works fine (on the same file and action)

ps.
I've used "Visual C++ project which displays context menus in the same way as Total Commander does" and it works fine - I can choose extract option, and nothing bad happens (7zip is trying to extract files, VC++ app is not crushing)
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

but I have crush not after pressing right mouse button, but after choosing action from context menu
Ahh - well it might still be a bug in the shell extension and not in TC.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
quosek
Junior Member
Junior Member
Posts: 15
Joined: 2008-08-17, 21:49 UTC

Post by *quosek »

but its happening with at least 3 extensions:
- 7zip
- napiprojekt
- unlocker
Usually they works fine, but sometimes crash occurs.

Everything works fine with old TC (using the same shell handlers, and apps) or from Windows Explorer.

Ok -it's not repeatable - it can happen 4 times for a file and then it works fine.

Does TC have debugging mode ? I can try reproduce bug and send stack trace

ps.
You can try downloading:
http://rapidshare.com/files/266256481/red.dwarf.s03e04.dvdrip.r2.xvid-sfm.rar.html
(it's something that simulates rar file [only 45kb] - I'v cut out last 14mb of my rar file, and it has the same bug that full 14mb rar file)
install 7zip (newest stable release), register handlers (during installation) and try to unpack - I had 7 crushes ....

for me this version of TC is very buggy ..... waiting for reply and switching to older version
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

You can try downloading:
http://rapidshare.com/files/266256481/red.dwarf.s03e04.dvdrip.r2.xvid-sfm.rar.html
(it's something that simulates rar file [only 45kb] - I'v cut out last 14mb of my rar file, and it has the same bug that full 14mb rar file)
install 7zip (newest stable release), register handlers (during installation) and try to unpack - I had 7 crushes ....
I just did that - I have now unpacked your file at least 20 times without any errors from TC - I get an error mesage from 7zip off course, because the file is broken.

Maybe it is OS related.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

but its happening with at least 3 extensions:
- 7zip
- napiprojekt
- unlocker
It doesn't matter which command you choose: ALL shell extensnsions are loaded already when you display the menu, because Windows asks them for the menu items! Therefore a misbehaving shell extension can crash just when you open or close the menu...
Author of Total Commander
https://www.ghisler.com
quosek
Junior Member
Junior Member
Posts: 15
Joined: 2008-08-17, 21:49 UTC

Post by *quosek »

stop
IT's now where I open context menu.
It's when I choose action from context menu. Showing context menu works fine.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think my crash has similar reason: http://ghisler.ch/board/viewtopic.php?t=23122
I also choose a file, open context menu and on menu or submenu opening TC disappears.
I thought it happens on network drive but later I saw it on local drive. I don't know the reason (TC craches rarely and suddenly) and the cure.
quosek
Junior Member
Junior Member
Posts: 15
Joined: 2008-08-17, 21:49 UTC

Post by *quosek »

I'm using Polish Windows XP, but files on which crush occurs have standard english encoding (no strange polish letters, no very long names)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

So did you try to use ShellExView?
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

quosek,
stop
IT's now where I open context menu.
It's when I choose action from context menu. Showing context menu works fine.
That does not matter, problem is most probably the same.

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.
quosek
Junior Member
Junior Member
Posts: 15
Joined: 2008-08-17, 21:49 UTC

Post by *quosek »

Ok - I've spent 1 hour on enabling/disabling handlers.
It appears that disabling 2 handlers maybe can help:
- notepad++
- unlocker

Can you tell me why in TC 7.5 (and not in previous versions) (and not in system explorer) these handlers works wrong ? Maybe there could be some feedback to developers of these 2 apps
quosek
Junior Member
Junior Member
Posts: 15
Joined: 2008-08-17, 21:49 UTC

Post by *quosek »

no - its not only these 2
It's better, but today I had another TC crush with notepad++ and unlocker handlers disabled.
Do you have any debugging mode in TC ?
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

@ quosek, I thought Unlocker detects other Programs handles, until you use it to Inject Code to remove said program's handle.

I've not noticed any particular problem with notePad++ and TC, though perhaps I'm not rightClicking on files I've already opened to edit.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
Post Reply