Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: "Blocked on COM object owned by Process 10872, Thread 11744" error


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Feb 27, 2017 10:50 AM Last Post By: Peter Below
Fred Smith

Posts: 81
Registered: 12/4/15
"Blocked on COM object owned by Process 10872, Thread 11744" error  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 27, 2017 6:50 AM
Hi,
I keep getting these errors when debugging my application:
"Blocked on sendmessage call to window owned by process 18004, Thread "
"Blocked on COM object owned by Process 10872, Thread 11744"
Does anyone know what's causing them ?
Thanks
Peter Below

Posts: 1,227
Registered: 12/16/99
Re: "Blocked on COM object owned by Process 10872, Thread 11744" error  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 27, 2017 10:50 AM   in response to: Fred Smith in response to: Fred Smith
Fred Smith wrote:

Hi,
I keep getting these errors when debugging my application:
"Blocked on sendmessage call to window owned by process 18004, Thread
" "Blocked on COM object owned by Process 10872, Thread 11744"
Does anyone know what's causing them ?

Something in you code (or a library you are using) probably tries to
broadcast a message via SendMessage instead of SendMessageTimeout, and
there is a window owned by the process 18004 that is owned by a blocked
thread (it does not process messages). That is the prototypical
SendMessage(HWND_BROADCAST, ...) deadlock and the reason why one should
never use SendMessage across thread or process boundaries.


--
Peter Below
TeamB

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02