On 2/24/21 3:06 PM, Alexandre Julliard wrote:
Zebediah Figura z.figura12@gmail.com writes:
It's not clear what atexit handlers glib installs or why they cause problems. In fact, current glib source, besides including some wrapper API, has only one call to atexit(), which simply dumps leaked objects. In any case, keeping this code around does not seem worthwhile when the problem is not fully understood and may not exist anymore at all.
Famous last words ;-)
$ tools/runtest -q -P wine -T . -M mf.dll -p dlls/mf/tests/mf_test.exe mf && touch dlls/mf/tests/mf.ok (wine:1642464): GLib-GObject-WARNING **: 22:05:46.455: cannot register existing type 'GstElement'
(wine:1642464): GLib-CRITICAL **: 22:05:46.455: g_once_init_leave: assertion 'result != 0' failed
(wine:1642464): GLib-GObject-WARNING **: 22:05:46.455: cannot retrieve class for invalid (unclassed) type '<invalid>' 0108:err:ntdll:RtlpWaitForCriticalSection section 7BC63360 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 0108, blocked by 0024, retrying (60 sec)
Excellent, my plan to unearth the actual problem succeeded!
I can reproduce this too, so I'll look into it. (I could have sworn I ran the mfplat tests too, but evidently not, or perhaps they were expanded since I did...)