https://bugs.winehq.org/show_bug.cgi?id=49577
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- I've found the culprit: the segfault occurs when STAGING_WRITECOPY is enabled. This is the commit when the problem appeared for me: https://github.com/wine-staging/wine-staging/commit/70f6f6d7e40c041b9e3674f1...
Hope this makes easier for you to reproduce the problem. I don't have much luck with gdb, how am I supposed to use it in this scenario?