hang

Creating a thread hangs MFC dialog app on termination

Hi. I've narrowed down a problem. I create a simple Dialog app with VC++ 6.0. I start a thread before the main dialog DoModal() is called I exit the application - sometimes the app shuts down immediately, other times it hangs for 10 seconds or so What causes this? I have tried _beginthread(), _beginthreadex() and AfxBeginThread(). T...

Download HTTP thru sockets (C)

Hi, Recently I started taking this guide to get myself started on downloading files from the internet. I read it and came up with the following code to download the HTTP body of a website. The only problem is, it's not working. The code stops when calling the recv() call. It does not crash, it just keeps on running. Is this my fault? Am ...

COM Server hang- detection and resolution

I have an application that sends requests to an out of proc COM server whom handles the requests and sends them back to the requesting application. The client application is really in control of the start-stop of this Out-of-Proc COM server and determines its lifetime so to say. Because this application has many hundreds of requests ...

Erlang/OTP framework's error_logger hangs under fairly high load

My application is basically a content based router which will route MMS events. The logger I am using is the one that comes with the OTP framework in SASL mode "*error_logger*" The issue is :: I am using a client to generate MMS events with default values. This client (in Java) has the ability to send high load of events in multiple T...

Hang on starting WPF application

I am trying to debug a .NET 3.5 application which uses WPF. On most of our machines the application launches fine, but we have a single machine on which the application hangs on the first .Show(). The process seems to spin with full CPU usage, and eventually (if I'm attached with a debugger) I get: Managed Debugging Assistant 'Cont...

backgroudWorker and forms : weird hang

Hello everyone, I am stuck since few days on a bug in my app, and I require help. Main thread contains time consuming operation. To be more friendly with user, I created a static class Info, which contains to methods ShowInfo and StopInfo. ShowInfo basically start a backgroundWorker. backgroundWorker operation is : Create a form sh...

LINQ + WCF + Transactions

I have a relatively simple use case which is failing. Consider the following code: [OperationBehavior(TransactionScopeRequired = true)] public IEnumerable<StatusRecord> ReadActive(int contactID, bool isActive) { var result = from n in ORM.Default.Table<StatusRecord>() where n.lng_contact_id == contactID && n.dte_effec...

FTP connection "hangs" on "LIST"

All, I have an issue with a remote ftp server that has kept me busy for three days now and I am going nuts over it. :( A while ago, I wrote a simple ftp retriever class that uses apache commons-net 2.0. The class works fine on 5 different ftp servers, I can retrieve data as I want. Now I have come across a server that I need to connect...

Android Eclipse Hanging

I'm trying to get the ADT working in Eclipse, but I'm getting random hangs where eclipse just locks for no apparent reason, usually requiring a 'killall java' to properly clean it out of the memory. I'm on Ubuntu 10.4 (64bit) Here's the details of my eclipse/android install: eclipse Version: 3.5.2 Build id: M20100211-1343 Android Devel...

IIS Hanging. Bizarre Callstack: Unknown MethodDesc

Hi, I am having general hangs on our IIS application pool. Sometimes, when I get a Crash Dump, I get one thread which is blocking all the others and that has no call stack: ESP EIP 4735e1dc 7c82860c [NDirectMethodFrameStandalone: 4735e1dc] Unknown MethodDesc (Module 1f3363e8, mdToken 0600016c) I looked over the Internet bu...

C++ - Window Message loop is freezing

I have this class here that I made based on another one I had. It is supposed to handle the whole creating windows and stuff, but it seems to be getting into a hang now. The older version used to work fine, I don't know WHAT I may have forgotten to add to this one that might be causing it to hang like this. This is the message loop: ...

What are the differences between a hang that prevents Windows from ending a login session and a hang that does not?

Inevitably, I run into programs that will have a user interface that hangs. However, I can divide those programs into two types: There are the hangs that prevent a Windows session from ending, and there are the hangs that do not prevent a Windows session from ending. How can that difference be used to help diagnose the root cause of the ...