hang

scripts in virtualenv hang indefinitely (python 3.5, windows 7)

核能气质少年 提交于 2019-12-04 13:05:29
I have previously used virtualenv with no problems under Python 2.7 and 3.5. Recently, I tried to create a new virtualenv and found that calling pip list caused an indefinite hang. Calling any executable .exe in the virtualenv's scripts folder EXCEPT python causes an indefinite hang, which: can be broken out of by raising a KeyboardInterrupt (Ctrl-C), but provides no traceback (indicating that python has not yet started running the script?) but cannot be killed by "End Proccess" in the Task Manager How do I even start to go about troubleshooting this? So far I have tried: Successfully

JavaScript execution hangs page momentarily

泄露秘密 提交于 2019-12-04 08:37:19
I have a web application which uses jQuery/JavaScript heavily. It holds a large array in memory, and the user filters it by typing in a textbox. Problem: When the filtering algorithm runs, the application becomes non-responsive and the browser may even ask the user whether to let the script continue. Optimally, I would like the filter function to run in a separate thread , to avoid non-responsiveness. Is this possible in any way? Alternatively, I would like to show a rotating hourglass or similar, but browsers seem unable to display animated GIFs when running heavy scripts. What is the best

Why does this code hang on reaching the first ReadLine from a StreamReader?

风流意气都作罢 提交于 2019-12-04 07:16:38
问题 I was passing a large file in the first arg to SendXMLFile() below but, since it was causing the handheld device to "hang"/"freeze" I temporarily hard-coded a much smaller file (3 KB as opposed to 1121 KB) for testing. The file does indeed exist (in the same folder as the .exe/.dll), as can be seen by this code: // test with smaller file: fileName = "DSD_v6666_3_20140310140737916.xml"; MessageBox.Show("Made it before file.Open"); using (FileStream fileTest = File.Open(fileName, FileMode

Java appears hung

亡梦爱人 提交于 2019-12-04 06:40:45
I've been using the Java Service wrapper in a custom application for quite a while and it's been working fine. Since updating our application to a new version in the last few days the JVM started hanging and then wrapper prints this in the log: JVM appears hung: Timed out waiting for signal from JVM. It then automatically terminates the JVM and starts the app again. This happens after about 10 hours of running, which just makes it harder to debug. Of course I am going to look through the changes that we've made, but no major changes were made that I would suspect is causing this type of

Eclipse PyDev completion hangs (yet again)

情到浓时终转凉″ 提交于 2019-12-04 04:34:01
I'm using PyDev in Eclipse as my Python editor. It's fine in terms of feature set. Everything works fine except for one very annoying thing: Code completion itself works fast. When I press Alt+Space, the window pops out almost instantly and all the options are there. The option at the top is selected. Then comes the trouble . The detailed description won't appear until about 5-10 seconds. All this time CPU is working at maximum load and the interface is not responding. All the processor is consumed by the Eclipse Java process (the spawned Python process seems idle). Then a yellow window pops

PsExec hang while being executed from a very simple c# or c++ gui program compiled as “windows application”

只愿长相守 提交于 2019-12-04 03:27:07
问题 I am experiencing PsExec hang while being executed from a very simple c# or c++ gui program compiled as "windows application" (not as "console application"). Under section C) below I have pasted the code to reproduce the problem and under section D) I have pasted the c++ code to reproduce the same problem. When the psexec hangs, the windbg output after being attached to psexec locally is pasted under section B). My program hangs after dumping the output pasted under section A). The program

Sending key “hangs” PC in C#

余生长醉 提交于 2019-12-03 16:35:49
My PC hangs when I send key in Form_Shown() and placing Breakpoint at Form_KeyDown() private void Form1_KeyDown(object sender, KeyEventArgs e) { //breakpoint here if (e.KeyCode == Keys.A) { MessageBox.Show("caught"); } } private void Form1_Shown(object sender, EventArgs e) { SendKeys.Send("A"); } I repro, Win7 and VS2008. That looks like a fairly nasty deadlock, you can get out of it by pressing Ctrl+Esc on the keyboard. By default, SendKeys uses a windows hook to inject the keys. Windows hooks can have fairly unpleasant side effects but I wouldn't hesitate to call this a Windows bug. To fix

RequestAcquireState Hanging on .NET 4.5.1 IIS8

家住魔仙堡 提交于 2019-12-03 14:45:27
Under heavy load or when using jQuery's ajax abort function, we see requests build up in IIS to the point where no-one can connect and the entire site hangs, forcing a recycle. A similar post from 3 years ago had a similar issue with .NET 4.5 and IIS 7.5 but Microsoft have stated this was fixed in 4.5.1 and released a patch for 4.5. This problem on Windows Server 2012R2 using IIS 8 when trying to use State Server and even more so when using State Server on development machines running Windows 10 and IIS10. The patch cannot be installed on any of these machines as the installer is blocked by

Program hangs after leaving screen saver or locking computer

陌路散爱 提交于 2019-12-03 11:59:21
Our program works fine, until someone locks the computer or the screen-saver pops up (but not ctrl+alt+delete) . Once the computer is unlocked/the screen saver is closed, the application stops drawing everything except the title bar, and stops responding to input - it displays a mostly-white window which can't be moved or closed. (Example of application freezing - the mountains are from my desktop background) If we let it sit for about 5~10 minutes, it comes back to life, and doesn't hang again (even after locking the computer/screen saver popup) until the application is restarted. It's

MediaRecorder.stop() hanging with Android 4.0 (ICS)

北城以北 提交于 2019-12-03 08:29:38
问题 When calling stop() within my Video Capture activity, on occasion, the software will hang and will not come back to life. Only triggering an ANR by hitting "Back" will allow me to kill the activity. Within the log, I see the following line repeated over and over: W/CameraSource(YYYYY): Timed out waiting for incoming camera video frames: XXXXXX us Has anyone else seen this behavior? Any workarounds? 回答1: We've been struggling for this issue for a long time too. We have just copied the code