hang

A thread was hanged on java.net.SocketInputStream.socketRead0(Native Method), anyone know what happend?

我怕爱的太早我们不能终老 提交于 2019-12-12 10:03:40
问题 "[GMQMsgConsumeThread:113.105.152.146:22300, queue:Q_COOMIX_IMG_META]" prio=10 tid=0x08431000 nid=0x774c runnable [0x6e6b5000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:113) at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:160) at com.mysql.jdbc.util

What to do when a py.test hangs silently?

筅森魡賤 提交于 2019-12-12 08:20:36
问题 While using py.test, I have some tests that run fine with SQLite but hang silently when I switch to Postgresql. How would I go about debugging something like that? Is there a "verbose" mode I can run my tests in, or set a breakpoint ? More generally, what is the standard plan of attack when pytest stalls silently? I've tried using the pytest-timeout, and ran the test with $ py.test --timeout=300, but the tests still hang with no activity on the screen whatsoever 回答1: I ran into the same

How Can I Make A Command Prompt Hang?

偶尔善良 提交于 2019-12-12 06:35:20
问题 Yes, I know you are probably going to complain saying it's a bad thing to do, but I want to do it anyway! I am creating a batch program and at the end, I need it to hang and not accept user input. I know one method is just creating an infinite loop of: :pause pause > nul goto pause but I don't think that's a great choice. Although I need it to hang, I need to to be able to be closed via the red 'X' close button at the top of the window. Any ideas? 回答1: This works for me. It redirects < NUL

VirtualPathProvider - disabling caching hangs server (IIS and Cassini)

北慕城南 提交于 2019-12-12 04:49:42
问题 I have a Virtual Path Provider on a Web site. It does exactly what I want it to do with the simple exception that it hangs the server. This usually only happens if too many requests come in at the roughly the same time. When I remove the caching overrides altogether the VPP and the server run fine but it caches content which must be dynamic. The method that I used to disable caching (which works) is simple: /* AppStart class */ public static void AppInitialize() { string strPath =

Release builds hang/crash, regardless of code

二次信任 提交于 2019-12-12 03:34:47
问题 For some reason I just started having an issue with my release builds. I'm able to run any of my projects without issue from the debug builds, I can also run my release builds as long as I attach a debugger, but when I try to run the release builds on their own they either hang infinitely (The UI crashes, but I'm unable to stop the process with task manager), or they load up EXTREMELY slowly (I've only ever had them eventually load twice, and that was on a separate machine from my main PC). I

Android layout only showing after oncreate method finishes

醉酒当歌 提交于 2019-12-12 00:19:11
问题 I have created (what I thought was) a simple JAVA card game. In JAVA, the game loads the layout (frame) and displays ImageButtons consisting of a square like cardholder image for each player. The cardholders are then populated by random cards from the deck one by one. So, in my onCreate method in Android, my initial layout consists of the cards with the card holder image, and then I run a method in the onCreate method to deal the cards. The problem I have is the initial layout doesn't show up

InnoSetup hangs after install due to dll

孤人 提交于 2019-12-11 18:50:52
问题 I am using a custom DLL inside an InnoSetup wizard. All works well. Except that AFTER install completes successfully, the main GUI windows closes (as expected) but the icon remains in the task bar. (the install process still exists and can be easily killed from the task-manager) I presume the DLL is leaving some unreleased resource or reference, and the InnoSetup finalizing code is waiting on it. Any hints on specific resources that the IS is waiting on ? Thanks 回答1: After significant

greenplum hang forever when doing any search or insert actions with psql and centos7

三世轮回 提交于 2019-12-11 16:53:11
问题 greenplum version is 5.3.0 centos 7 As title, The following is result of gplogfilter SELECT pg_catalog.quote_ident(n.nspname) || '.' FROM pg_catalog.pg_namespace n WHERE substring(pg_catalog.quote_ident(n.nspname) || '.',1,7)='test_vb' AND (SELECT pg_catalog.count(*) FROM pg_catalog.pg_namespace WHERE substring(pg_catalog.quote_ident(nspname) || '.',1,7) = substring('test_vb',1,pg_catalog.length(pg_catalog.quote_ident(nspname))+1)) > 1 UNION SELECT pg_catalog.quote_ident(n.nspname) || '.' ||

moving to new root directory after pivot_root hangs

送分小仙女□ 提交于 2019-12-11 15:32:50
问题 i am trying to run a script on remote machine (client) from a server with the command. ssh -v -t root@10.68.xxx.xxx "sh /tmp/flash.sh 'root@server:/bamboo-agent-home/xml-data/latest/eng_20190124040906.sdcard' 1>&2" The "flash.sh" has the following (to keep it short im just showing the commands and not the error handlings.) ISSUE: the script starts of correctly untill it reaches the command after pivot_root. It print echo "moving to new root directory" and just hangs. Sometimes goes ahead to

zeromq socket recv hanging

♀尐吖头ヾ 提交于 2019-12-11 14:12:43
问题 I use zeromq (latest version, 2012.04.04), c++, ms vs 2008 (x86 release/debug), windows 7 x64. I try to code simple client-server system. Problem My problem is dead hanging of the computer at recv() command on Windows 7, when many clients connect to the server at the same time . On Windows Vista the result is like on Windows XP - client has the fail: http://research.makseq.com/testZMQ/2.Vista.png http://research.makseq.com/testZMQ/1.PNG After this fail clients can not connect to the server,