Opened 13 years ago

Closed 12 years ago

#3914 closed Bugs (fixed)

boost::interprocess::message_queue may get deadlocks under windows7 or vista

Reported by: gxllang83@… Owned by: Ion Gaztañaga
Milestone: Boost 1.45.0 Component: interprocess
Version: Boost 1.41.0 Severity: Problem
Keywords: message_queue deadlock run as administrator windows7 vista Cc:

Description

Bug Description:
Under windows7, run receive process as administrator which created the message_queue(create only), and run another send process as normal user(open message_queue only). First time run send process, it exit well, but no data was send. Then run send process, the process can not exit well, it get deadlocks in interprocess_condition::notify with m_enter_mut.lock().
Suggestions:
As Ticket #1080 said, when create the tmp file, the CreateFileA SA parameter is required.

Change History (1)

comment:1 by Ion Gaztañaga, 12 years ago

Milestone: Boost 1.43.0Boost-1.45.0
Resolution: fixed
Status: newclosed

New permission scheme added for Boost 1.45, so can pass security attributes to the message queue.

Note: See TracTickets for help on using tickets.