Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6546403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:42:12+00:00 2026-05-25T11:42:12+00:00

I have a .NET 3.5 WPF application on Windows 7 64bit. I am experiencing

  • 0

I have a .NET 3.5 WPF application on Windows 7 64bit. I am experiencing odd system freeze issue that happens when dragging and moving the main application window. Basically the entire system freezes (UI) and the application stops rendering.
Bringing up the task manager (CTRL+ALT+DEL) unfreezes both system and the application.

The application itself is a trading application that processes a large amount of messages in background threads.

Has anyone experienced this type of issues ? Especially the oddity of task manager unlocking the freeze. What could be the reason for this strange behavior?

I am almost certain it has something to do with dispatching certain actions to the UI thread.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:42:13+00:00Added an answer on May 25, 2026 at 11:42 am

    The issue was WCF service deadlocking. Issue similar to this

    In the service that processed messages incoming messages had to be added on the UI thread to the collection the following way.

    Action action = new Action(() =>
                {
                    lock (_messagesLock)
                    {
                        _messages.Remove(message);
                    }
                });
                _dispatcher.Invoke(DispatcherPriority.Normal, action);
    

    Changing

    _dispatcher.Invoke(DispatcherPriority.Normal, action);
    

    To

    _dispatcher.BeginInvoke(DispatcherPriority.Normal, action);
    

    Solved the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .NET application (WPF but that doesn't really matter) running on Windows
I have a .Net 4.0 WPF application that requires an embedded database. MS Access
I have a WPF application (.NET 3.0, VS2008) that displays data in a tab
I have a WPF .NET 3.5 SP1 application that is in use on at
I have .NET WPF application and one of requirement is that user may select
I have a .Net client WPF application using System.DirectoryServices and LDAP for authentication. On
I have a C# WPF (.NET 4.0) application that uses Excel interop to read
i have a WPF application that sits on top of all other windows. 99%
I have a desktop .NET WPF application witch uses an embedded database (SQLite). Where
We have created a beautifully designed .NET WPF desktop application. We are installing the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.