I"ve been trying to debug some problem
with Wine 0.9.39 and right now I'm stuck. It looks like calling dlopen() with a path to wined3d.dll.so causes segmentation faults, but only if environmental variable WINEDEBUG+=relay was not set
The question is: are there callbacks or library functions that are performed automatically during dlopen (like a Windows DLLMain() equivalent)? Because the only explanation of this bug I can imagine is a problem with one of those functions. And what are the ways to debug this kind of problems? I've tried strace, but it doesn't show anything useful or suspicious (logs can be found here
). If it is a system bug (Slackware 11) then I do not understand why it appears only if WINEDEBUG doesn't contain "relay" channel mention.