quartz: Fix incorrect use of mtCurrent in transform filter

Alexandre Julliard julliard at winehq.org
Fri Jul 11 07:24:07 CDT 2008

"Maarten Lankhorst" <m.b.lankhorst at gmail.com> writes:

> ---
> mtCurrent is cleared when connecting, so this may cause weird bugs
> during connection.

This doesn't work:

../../../tools/runtest -q -P wine -M qedit.dll -T ../../.. -p qedit_test.exe.so mediadet.c && touch mediadet.ok
err:quartz:OutputPin_Connect cbFormat: 0
pin.c:943: OutputPin_Connect: Assertion `pmtCandidate->pbFormat' failed.
wine: Assertion failed at address 0x601b0b87 (thread 0009), starting debugger...
Unhandled exception: assertion failed in 32-bit code (0x601b0b87).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:601b0b87 ESP:0032fa50 EBP:0032fa58 EFLAGS:00000206(   - 00      - -IP1)
 EAX:00000000 EBX:00001acf ECX:00001acf EDX:00000006
 ESI:0032faf8 EDI:602c8ff4
Stack dump:
0x0032fa50:  602c8ff4 602d19f0 0032fb84 601b2281
0x0032fa60:  00000006 0032faf8 00000000 7d57b460
0x0032fa70:  00000068 7d57b468 0032fa9c 601ede11
0x0032fa80:  0032fabc 7d57b468 7d57b4cc 0032fb94
0x0032fa90:  602c8ff4 0000004a 7d57b468 0032fb68
0x0032faa0:  601e7c7b 7d57b468 0000004a 0032fbac
=>1 0x601b0b87 gsignal+0x3f() in libc.so.6 (0x0032fa58)
  2 0x601b2281 abort+0x101() in libc.so.6 (0x0032fb84)
  3 0x601a9ed4 __assert_fail+0xf0() in libc.so.6 (0x0032fbc8)
  4 0x60d7af84 OutputPin_Connect+0x184(iface=0x12f510, pReceivePin=0x12fe50, pmt=0x0) [/home/julliard/wine/wine/dlls/quartz/pin.c:965] in quartz (0x0032fc28)
  5 0x60d2a52a MediaDet_put_Filename+0x5aa(iface=<register ESI not in topmost frame>, newVal=0x122834) [/home/julliard/wine/wine/dlls/qedit/mediadet.c:416] in qedit (0x0032fd58)
  6 0x6053f375 func_mediadet+0x4d5() [/home/julliard/wine/wine/dlls/qedit/tests/mediadet.c:150] in qedit_test (0x0032fe68)
  7 0x60540280 run_test+0x130(name=0x1103ee) [/home/julliard/wine/wine/dlls/qedit/tests/../../../include/wine/test.h:454] in qedit_test (0x0032fea8)
  8 0x60540483 main+0x133(argc=<register ECX not in topmost frame>, argv=<register ECX not in topmost frame>) [/home/julliard/wine/wine/dlls/qedit/tests/../../../include/wine/test.h:502] in qedit_test (0x0032fed8)
  9 0x60540c38 __wine_spec_exe_entry+0x88(peb=0x7ffdf000) [/home/julliard/wine/wine/dlls/winecrt0/exe_entry.c:36] in qedit_test (0x0032ff08)
  10 0x7b87ade8 start_process+0x98(arg=0x0) [/home/julliard/wine/wine/dlls/kernel32/process.c:904] in kernel32 (0x0032ffe8)
  11 0x60028b47 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list