Take Command sometimes hangs on startup with WindowBlinds installed

There is a nice and powerful command line processor called Take Command, written by JPSoftware (the successor of famous 4dos and 4nt). With WindowBlinds installed it sometimes hangs on startup. Excluding it from skinning doesn't help. I finally had to uninstall WindowBlinds completely.

 

It is already 7th version of WindowBlinds and it still has a lot of compatibility problems. Maybe it is worth to stop issuing new versions and try at last to debug the old ones?

5,534 views 15 replies
Reply #1 Top

If the app hangs on startup and it is excluded then chances are the problem is in Take Command not WindowBlinds.

Reply #2 Top

I might be asking a stupid question, but might you also be having too much starting at once. Seems to me that perhaps Take Command could delay the start of other programs until after WB is fully loaded.

If you opt to start that way, and if you still have a problem, I'd say Neil might well be correct.

I also read and participated with the blue screens thread by messiah1, and agree that the less you meddle with, the better off your system tends to be.

Try what I suggested, if only to see where the problem might be occurring....

Reply #3 Top

Quoting Neil, reply 1
If the app hangs on startup and it is excluded then chances are the problem is in Take Command not WindowBlinds.
End of Neil's quote
But it works absolutely fine without WindowBlinds. And even those times when it doesn't hang, it works several times faster without WindowBlinds! That's for sure. I checked it several times.

I analized the stack trace of the hanged threads. They indicate that the hang occurs during CreateWindowEx call.

I adressed this issue in the forum of JP Software. They think (and I agree) that the problem is not of Take Command.

If you are interested in the investigation of the issue, you can discuss it in the discussion thread I created in JP Software forum: http://jpsoft.com/forums/showthread.php?t=1706 . There you can find the Process Monitor logs.

Reply #4 Top

Quoting DrJBHL, reply 2
I might be asking a stupid question, but might you also be having too much starting at once.
End of DrJBHL's quote
What do you mean?

Quoting DrJBHL, reply 2
Seems to me that perhaps Take Command could delay the start of other programs until after WB is fully loaded.
End of DrJBHL's quote
It knows nothing about WB, which is right, how possibly it can delay anything until WB load?

Quoting DrJBHL, reply 2
If you opt to start that way, and if you still have a problem, I'd say Neil might well be correct.
End of DrJBHL's quote
What way?

Quoting DrJBHL, reply 2
I also read and participated with the blue screens thread by messiah1, and agree that the less you meddle with, the better off your system tends to be.
End of DrJBHL's quote
I do not meddle with anything. I just need Take Command for my work. And with WindowBlinds Take Command doesn't work.

Quoting DrJBHL, reply 2
Try what I suggested
End of DrJBHL's quote
Hmm... I really do not understand what are you suggesting.

Reply #5 Top

My error. I thought it determined boot sequence. Perhaps if you alter your boot sequence to have WB start and fully finish booting before Take Command boots (or just not have it in your startup programs but rather open only when you need it) the problem will be resolved.

I might be misunderstanding. Could it be that the Take Command GUI conflicts with WB7's? If so, excluding it from WB7 should have solved the problem. There must be something else in that program conflicting with WB7. If that happens no matter what you do, and the Total Command is critical to your work, you might have to sacrifice WB7 on that machine, or try earlier versions of WB (WB6.4) if that worked without conflict. Sorry for your trouble, noxmetus.

Reply #6 Top

Quoting DrJBHL, reply 5
My error. I thought it determined boot sequence. Perhaps if you alter your boot sequence to have WB start and fully finish booting before Take Command boots (or just not have it in your startup programs but rather open only when you need it) the problem will be resolved.
End of DrJBHL's quote
As far as I understood, the word "startup" not necessarily means startup of Windows or PC. I am sorry if I was wrong. I meant the launch of Take Command. It has nothing to do with the boot process.

Quoting DrJBHL, reply 5
Could it be that the Take Command GUI conflicts with WB7's?
End of DrJBHL's quote
But WB is what responsible for GUI. It can only conflict with itself.

Quoting DrJBHL, reply 5
If so, excluding it from WB7 should have solved the problem.
End of DrJBHL's quote
In my first post I mentioned that it doesn't help. Only complete removal of WindowBlinds solved the problem.

Quoting DrJBHL, reply 5
There must be something else in that program conflicting with WB7.
End of DrJBHL's quote
Of course, no doubt :).

Quoting DrJBHL, reply 5
If that happens no matter what you do, and the Total Command is critical to your work, you might have to sacrifice WB7 on that machine
End of DrJBHL's quote
Right :). Only Take Command, not Total.

 

Quoting DrJBHL, reply 5
Sorry for your trouble, noxmetus.
End of DrJBHL's quote
Thanks :).

Reply #7 Top

Unfortunately the logs attached to that post require forum access and they appear to have manual procedures for accepting new accounts so right now I cannot access any of the files.

What OS are you using?

Reply #8 Top

Quoting Neil, reply 7
Unfortunately the logs attached to that post require forum access and they appear to have manual procedures for accepting new accounts so right now I cannot access any of the files.
End of Neil's quote
Neil, if you really want to investigate the issue, I can send you whatever logs you want, help with debugging, tracing and nailing down the problem.

Quoting Neil, reply 7
What OS are you using?
End of Neil's quote
I am using Windows 7 x64. Manifestation of the issue: when WindowBlinds is installed, every run of tcc.exe (this is actual command line processor from tha Take Command, a console application) takes a long, long while. Every so often the next launch of tcc.exe not just takes a while, but hangs completely. Process Monitor shows that it hangs after starting several therads, each one has CreateWindowEx in its call stack. Take Command's author stated that these threads are not from tcc.exe. I don't know what creteria he used, but anyway... could it happen that WindowBlinds causes some extra threads to start on a program launch? Do you need the Process Monitor log? Do you want me to do some other experiments to identify the problem?

Reply #9 Top

Why it is always like this with not free software? Whenever you offer your help to solve a problem with their software, tech guys just silently dissappear. It seems like they are never interested in solving problems. As strange as it may sound it is very often much easier to get real help with free and open source sofware. I found several bugs in WindowBlinds, beginning from visual artifacts, ending up with compatibility problems. All that the support could offer is an advice to check my installation and reinstall. After that they just dissapeared and ignored my consequent letters that reinstallation doesn't help. The forum at the first glance promised more help. But this hope was equally futile.

 

Btw, I was able to reproduce the bug on Windows 7 x86 as well.

Reply #10 Top

noxmetus - Do you have a trouble ticket number from support? If so, please post that number here.

Reply #11 Top

We know exactly what the issue is, but unfortunately it requires an update to a file thats got some very special signing requirements which is why the latest WB release did not resolve the problem.

There is something about TakeCommand thats causing a deadlock in the process load when WB loads up some other dlls (note that this isn't being called from DllMain which obviously could cause such issues).  No other app has ever shown this, so it appears to be a highly unusual conflict.

Reply #12 Top

Quoting Hankers, reply 10
noxmetus - Do you have a trouble ticket number from support? If so, please post that number here.
End of Hankers's quote
I haven't created a ticket for this particular issue, since the support showed itself sometimes useless. I posted the issue directly here. There is another issue I've submitted a ticket for and I had no response from the support other than check the installation. Are you interested in its number?

Reply #13 Top

Quoting Neil, reply 11
We know exactly what the issue is, but unfortunately it requires an update to a file thats got some very special signing requirements which is why the latest WB release did not resolve the problem.

There is something about TakeCommand thats causing a deadlock in the process load when WB loads up some other dlls (note that this isn't being called from DllMain which obviously could cause such issues).  No other app has ever shown this, so it appears to be a highly unusual conflict.
End of Neil's quote

Hello Neil. Thank you for the response.

So the deadlock occurs on LoadLibrary call?

Reply #14 Top

Was the issue solved? I do not use WindowBlinds since February, despite I paid for it.

Reply #15 Top

I believe the most recent update to WindowBlinds contains a change which should have resolved this problem.