<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-03-01 18:28 GMT+03:00 Dmitry Timoshkov <span dir="ltr"><<a href="mailto:dmitry@baikal.ru" target="_blank">dmitry@baikal.ru</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span><br>
</span>Is it possible to provide a maximally stripped down/simplified source<br>
that replicates the problem? Feel free to open a bug report and attach<br>
everything you think appropriate there. Also please specify Wine version<br>
you are working with.<br>
<span><font color="#888888"><br></font></span></blockquote><div><br></div><div>I asked for the way to debug it myself.</div><div>I know I should start monitoring the .dll module reference counter, but I don't</div><div>know how to do that within Wine.</div><div><br></div><div><div>The plugin is too complex itself as well as third-party software that uses it.</div><div>I'll try to minimize the issue example anyway.<br></div></div><div><br></div><div>The issue might be because Wine somehow adds additional reference for my plugin</div><div>while Windows 8.0 does not. I spawn the background thread (CreateThread) at</div><div>DLL_PROCESS_ATTACH event. The background thread runs all time plugin</div><div>loaded (I terminate it at DLL_PROCESS_DETACH event). Thus I do not explicitly</div><div>increment dll module counter when I spawn the thread, maybe that's the reason</div><div>Wine loader works different.</div><div><br></div></div>-- <br><div><div dir="ltr">Vyacheslav Napadovsky</div></div>
</div></div>