https://bugs.winehq.org/show_bug.cgi?id=56976
--- Comment #6 from Rafał Mużyło galtgendo@o2.pl --- Created attachment 76976 --> https://bugs.winehq.org/attachment.cgi?id=76976 gdb output for conflicting threads
Just to leave a more permanent note about mr5988:
I've come across a case where that mr causes a critical section freeze that may be related. Attaching gdb backtrace for the conflicting threads.
If WINEDEBUG=mfplat,quartz the extra output that seems related is:
0:00:00.128983674 20347 0x7fc3fc0010e0 TRACE WINE wg_transform.c:402:transform_sink_event_cb: transform 0x7fc3fc182700, ignoring stream-start event: 0x7fc3fc6401d0, time 99:99:99.999999999, seq-num 202, GstEventStreamStart, stream-id=(string)stream, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE; 0:00:00.128999925 20347 0x7fc3fc0010e0 INFO GST_EVENT gstevent.c:918:gst_event_new_caps: creating caps event audio/mpeg, layout=(string)interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x000000000000003f, mpegversion=(int)4, stream-format=(string)raw 0:00:00.129021025 20347 0x7fc3fc0010e0 ERROR aacparse gstaacparse.c:358:gst_aac_parse_sink_setcaps:<aacparse0> Need codec_data for raw AAC 0:00:00.129035582 20347 0x7fc3fc0010e0 INFO GST_EVENT gstevent.c:9 98:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999 0:00:00.129050620 20347 0x7fc3fc0010e0 ERROR aacparse gstaacparse.c:358:gst_aac_parse_sink_setcaps:<aacparse0> Need codec_data for raw AAC
To clarify: these lines happen to early to be direct cause of the freeze, but look like something related to later set:
0:00:29.220619012 20347 0x7fc3fc0010e0 LOG WINE wg_allocator.c:292:wg_allocator_provide_sample: allocator 0x7fc3fc025f20, sample 0x7fc3b2ea02a0 0:00:29.220625164 20347 0x7fc3fc0010e0 LOG WINE wg_allocator.c:292:wg_allocator_provide_sample: allocator 0x7fc3fc025f20, sample (nil) 0:00:29.220629101 20347 0x7fc3fc0010e0 INFO WINE wg_transform.c:1037:wg_transform_read_data: Cannot read 49152 bytes, no output available 0:00:29.220634261 20347 0x7fc3fc0010e0 LOG WINE wg_allocator.c:312:wg_allocator_release_sample: allocator 0x7fc3fc025f20, sample 0x7fc3b2ea02a0, discard_data 0
which almost definitely is related to the freeze.