Vanilla WPF application hangs on one customer's machine

Posted by Heinzi on Stack Overflow See other posts from Stack Overflow or by Heinzi
Published on 2011-05-09T10:56:57Z Indexed on 2012/06/09 10:40 UTC
Read the original article Hit count: 400

Filed under:
|

At a customer, one of our WPF applications started to hang. When trying to reproduce the problem with a minimal working example, I discovered that even the most basic (non-trivial) WPF application will hang on that machine.

Example A: Create a new C# WPF project in Visual Studio 2008. Change nothing, compile it and run it on the customer's machine. It will run.

Example B: Take Example A, and add a TextBlock to the main form Window1:

<Window ...>
    <Grid>
        <TextBlock>Test</TextBlock>
    </Grid>
</Window>

Compile the application and run it on the customer's machine. It will hang: The title bar and the window border is visible, the inside is transparent and the window does not react to anything (cannot be moved or closed). The application must be shut down using the task manager.

Obviously, this customer's WPF is broken. Is this a known issue, i.e., has anyone encountered it before and already knows how to solve it (e.g. reinstall .net 3.5 SP1, etc.)?

The development machine is W7SP1, the customer's machine is XP (probably SP3, didn't check).

© Stack Overflow or respective owner

Related posts about wpf

Related posts about application-hang

  • How can I simulate this application hang scenario?

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I have a Windows Forms app that itself launches different threads to do different kinds of work. Occasionally, ALL threads (including the UI thread) become frozen, and my app becomes unresponsive. I've decided it may be a Garbage Collector-related issue, as the GC will freeze all managed threads temporarily… >>> More

  • Why does my application hang in interruptible state?

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    Hello, I am running on Ubuntu 10.04 LTS Server an GTK application that used to work fine. It suddenly started to hang in interruptible state (Sl+) without any apparent reason. Here is a snippet of the strace: poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0 (Timeout) poll([{fd=5, events=POLLIN|POLLOUT}]… >>> More

  • Weird random application hang problem

    as seen on Super User - Search for 'Super User'
    I am trying to understand an application hang problem that started up lately on my windows xp system. The system runs fine for days (sometimes) without ever shutting down or putting it to sleep, but the problem first shows up as one of the apps hanging. The application's UI stops responding or one… >>> More

  • VS 2003 Application Hang

    as seen on Super User - Search for 'Super User'
    have installed VS 2003 in my XP VM, which was shared from a remote drive, after installing, when I tried to open new windows application, the IDE freezes, I have tried it many times, repairing, uninstalling .net 1.1 and VS 2003 and again install, mapping the share drive to my local, etc., After all… >>> More

  • WPF Application Hang

    as seen on Stack Overflow - Search for 'Stack Overflow'
    Hi, I'm using Windows 7 Professional (x64) and having installed .NET 4.0 RTM on my machine. Since 2 days I'm noticing that every WPF application that I'm trying to run hangs and becomes non responsive (a not responding text is appended to it's title bar) and it's painted white. There is no info… >>> More