Opened 8 years ago

Closed 7 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:


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().
As Ticket #1080 said, when create the tmp file, the CreateFileA SA parameter is required.

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Ion Gaztañaga

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ion Gaztañaga.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.