Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#76 Deadlock between ComThread and ROT

1.14.3
closed-fixed
nobody
Jacob COM (35)
8
2008-07-20
2008-06-07
No

Deadlock can occur between ROT#addObject(JacobObject) and ComThread#Release() if a JacobObject is created on a thread which has not been initialized as a COM Thread, while another thread is simultaneously calling ComThread#Release().

The attached test file can be used to demonstrate this problem.

The problem never occurs if threads are initialized before creating COM objects in those threads.

Discussion

  • JUnit test case illustrating deadlock problem

     
  • clay_shooter
    clay_shooter
    2008-07-06

    Logged In: YES
    user_id=1189284
    Originator: NO

    Thanks for the great test case. This has been fixed in 1.14.3

     
  • clay_shooter
    clay_shooter
    2008-07-06

    • milestone: 770471 --> 1.14.3
    • priority: 5 --> 8
    • status: open --> open-fixed
     
  • clay_shooter
    clay_shooter
    2008-07-20

    • status: open-fixed --> closed-fixed