Ticket #77 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Configuration copying would result in a deadlock

Reported by: tkellner Owned by: tim
Priority: minor Milestone: 0.3
Component: Fawkes Version:
Keywords: Cc:
Git Branch:

Description

Both NetworkConfiguration::copy in source:trunk/src/libs/config/netconf.cpp and SQLiteConfiguration::copy in source:trunk/src/libs/config/sqlite.cpp lock their configuration-specific Mutex (mutex) and then go on to set values (calling set_float/int/...), where the Mutex would be locked again, resulting in a deadlock.

Change History

follow-up: ↓ 2   Changed 3 years ago by tim

Does r2210 fix this?

in reply to: ↑ 1   Changed 3 years ago by tkellner

Replying to tim:

Does r2210 fix this?

No, that fixes different issues.
As copy is not (yet) used anywhere, it's not a critical issue.

  Changed 3 years ago by tim

  • priority changed from major to minor
  • milestone set to First Public Release

Reducing priority in this case.

  Changed 3 years ago by tim

  • status changed from new to assigned

  Changed 3 years ago by tim

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r2455.

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Subscriber, Participant

  • Fawkes Trac List(Always)
  • Tim Niemueller(Owner, Participant)