AS hangs when opening context menu

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
gn4711
Posts: 7
Joined: 26 Sep 2009, 08:06

AS hangs when opening context menu

Post by gn4711 »

Hi Altap,

i have a problem. when opening the context menu inside salamander, the complete applications hangs without any way of reactivating.
only killing the process using procexp or taskmgr works.
the problem is reproducable.

using windows 7 ultimate, x64, quad core.

q1: is this a limitation of the missing x64 support? but i never had this problem in RC1 of windows 7
q2: is there any config/hack to disable context menus in the salamander panel?

cheers.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: AS hangs when opening context menu

Post by Jan Rysavy »

Hi, it looks like problem with some faulty shell extension. Could you start second instance of Salamander and using menu Help > Task List > Break command break the frozen one? Bug report should be displayed, please send it to my email jan.rysavy@altap.cz.

Note: Salamander 2.52 is 32b application so only 32b shell extension are loaded/displayed in context menu. We plan to build also x64 version.
gn4711
Posts: 7
Joined: 26 Sep 2009, 08:06

Re: AS hangs when opening context menu

Post by gn4711 »

sry. but this doesnt work. if clicking "break" nothing happens (after some seconds, button is active again whitout any "GUI activity").

is there any way to disable context menu or just display only a minimal - core context menu?
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: AS hangs when opening context menu

Post by Jan Rysavy »

It is possible to disable and enable (context menu) shell extensions using ShellExView.
gn4711
Posts: 7
Joined: 26 Sep 2009, 08:06

Re: AS hangs when opening context menu

Post by gn4711 »

Jan Rysavy wrote:It is possible to disable and enable (context menu) shell extensions using ShellExView.
yes, i know... but i mean disabling the context in altap salamander! so it doesnt display a context menu inside the app.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: AS hangs when opening context menu

Post by Jan Rysavy »

It is not possible in Salamander.

You should really track down the faulty shell extension and disable it or update it with fixed version.
User avatar
Ether
Posts: 1471
Joined: 10 May 2007, 16:08
Location: Czech Republic
Contact:

Re: AS hangs when opening context menu

Post by Ether »

Jan Rysavy wrote:You should really track down the faulty shell extension and disable it or update it with fixed version.
And post its name here, so we know what to look for next time, if possible.
Ελληνικά rulez.
gn4711
Posts: 7
Joined: 26 Sep 2009, 08:06

Re: AS hangs when opening context menu

Post by gn4711 »

update: if found a nice work-around. the app only freeze when selecting context menu of a folder!!
when selecting the context menu of a file FIRST, THAN you can also get the context menu of a folder WITHOUT app freeze.
thats strange...

also. i tried to find out the context menu entry which fails. after disabling all custom / no microsoft context menu entries,
the application still fails.
therube
Posts: 681
Joined: 14 Dec 2006, 06:22

Re: AS hangs when opening context menu

Post by therube »

Are all folders this way or only specific ones?

Since it is affecting directories, just what is in the particular directories?
AVI files by chance?

If so, it could be (an infamous) MS gottcha. Try disabling shmedia.dll
http://support.microsoft.com/search/def ... m=1&res=20
WinXP Pro SP3 or Win7 x86 | SS 2.54
gn4711
Posts: 7
Joined: 26 Sep 2009, 08:06

Re: AS hangs when opening context menu

Post by gn4711 »

therube wrote:Since it is affecting directories, just what is in the particular directories?
AVI files by chance?
Thanks for your advice. But im sorry. It is independend from Folder Content. Empty, Full, only Docs, only unknown (VMWare Image Directory without installed VMWare) doesnt work. It also happens when right-clicking inside a folder on empty space (f.e. you want to create a new folder using the context menu).

For me, it is a Altap Salamander Bug not handling x64 environments correct. I will give up searching and will wait for a x64 version if it ever will come up.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: AS hangs when opening context menu

Post by Jan Rysavy »

gn4711 wrote:For me, it is a Altap Salamander Bug not handling x64 environments correct. I will give up searching and will wait for a x64 version if it ever will come up.
Be prepare that all 32bit software on your computer is potentially broken by faulty shell extension you have installed.
By using 64bit software you will not solve this problem, it will be only hidden. I don't understand why not find where the problem is?
User avatar
SelfMan
Posts: 1155
Joined: 05 Apr 2006, 20:51
Contact:

Re: AS hangs when opening context menu

Post by SelfMan »

Dowload the ProcessExplorer from Sysinternals.
Run it, start Salamander and get it to the frozen state.
Switch to ProcessExplorer, double click on salamand.exe in process list.
Go to threads tab, resize if necessary and take a screenshot.
In the thread list click on every thread containing salamand.exe and click on the [Stack} button.
Take screenshots of those lists and upload it here.

The other possible debugging solution is to use ProcDump. A command line tool also fom Sysinternals.
gn4711
Posts: 7
Joined: 26 Sep 2009, 08:06

Re: AS hangs when opening context menu

Post by gn4711 »

See attached images of the process explorer stack windows.
I cant identify anything of interest, but of course, im not the specialist in analysing buggy programs / addins.

Edit: i think 5160 was the hanging thread...
Attachments
process hanging
process hanging
SNAG-20091009-172918.png (64.07 KiB) Viewed 14155 times
one of the salamand.exe stack windows
one of the salamand.exe stack windows
SNAG-20091009-172839.png (22.16 KiB) Viewed 14153 times
another one of the salamand.exe stack windows
another one of the salamand.exe stack windows
SNAG-20091009-172942.png (52.55 KiB) Viewed 14155 times
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: AS hangs when opening context menu

Post by Jan Rysavy »

gn4711 wrote:Edit: i think 5160 was the hanging thread...
How did you recognize it? Context menu is opened from the main thread so it should be the frozen one.

EDIT: salamand.exe+0x126512 really looks like the main thread. Strange is your stack frame, it doesn't contain salamand.exe.
Attachments
stack.png
stack.png (24.65 KiB) Viewed 14146 times
User avatar
SelfMan
Posts: 1155
Joined: 05 Apr 2006, 20:51
Contact:

Re: AS hangs when opening context menu

Post by SelfMan »

The problem seems to be somewhere at the call of wow64cpu.dll (stack id 0).

Code: Select all

Wow64cpu.dll: Manages the 32-bit CPU context of each running thread inside WOW64 and provides processor architecture–specific support for switching CPU modes from 32-bit to 64-bit and vice versa.
So far it seems that there is some unknown conflict between the 32 bit application and 64 bit system.
I've googled a bit and came around a thread where one user had simmilar problems. The result - faulty memory chips. (with that I don't want to say that yours are faulty too... I don't know how stable your system is... its just a possible option)
Post Reply