https://bugs.winehq.org/show_bug.cgi?id=40744
--- Comment #12 from Zebediah Figura z.figura12@gmail.com --- (In reply to Richard Hughes from comment #11)
Just as another report, if you use GRWLockfrom GLib and then compile your project with mingw, then try to result in wine it deadlocks when you try to take, release and take the lock:
(fu-self-test.exe:8): FuHistory-DEBUG: 10:29:13.015: trying to open database '/tmp/fwupd-self-test/var/lib/fwupd/pending.db' 0009:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 0009:err:sync:fast_release_srw_shared Lock 0x11f82f0 is owned exclusive! (0x80000000)
<deadlock>
I'd be happy to create a small reproducer if that helps.
That would be appreciated, thanks.