[PATCH 1/4] widl: Optimise the generated code by skipping calls calling the type function directly for some reference pointers.

Alexandre Julliard julliard at winehq.org
Mon Jul 7 07:21:53 CDT 2008


"Rob Shearman" <robertshearman at gmail.com> writes:

> Skip calling the Pointer marshalling/unmarshalling/buffer
> sizing/freeing function in this case.

This one doesn't work either:

../../../tools/runtest -q -P wine -M qmgr.dll -T ../../.. -p qmgr_test.exe.so file.c && touch file.ok
fixme:qmgr:BITS_IBackgroundCopyJob_AddFile Check for valid filenames and supported protocols
file.c:127: Test failed: Got incorrect remote name
wine: Unhandled page fault on read access to 0x89fffffe at address 0x60540d3a (thread 0025), starting debugger...
Unhandled exception: page fault on read access to 0x89fffffe in 32-bit code (0x60540d3a).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:60540d3a ESP:0032fe00 EBP:0032fe68 EFLAGS:00010202(   - 00      - -RI1)
 EAX:89fffffe EBX:60b5edd4 ECX:c000000d EDX:00000000
 ESI:7ffbc000 EDI:00320000
Stack dump:
0x0032fe00:  00122c4c 00000001 60546b54 00000000
0x0032fe10:  60546b48 00000003 605441ac 60546720
0x0032fe20:  605441a2 60546b48 60545398 60545378
0x0032fe30:  0032fe58 60546084 60546b4c 7b876ba4
0x0032fe40:  7bca34cc 00000001 71670f10 11dd4c1e
0x0032fe50:  1a00835a cb923592 00000039 6054621c
Backtrace:
=>1 0x60540d3a func_file+0x27a() [/home/julliard/wine/wine/dlls/qmgr/tests/file.c:108] in qmgr_test (0x0032fe68)
  2 0x6054328a run_test+0x14a(name=0x1103e5) [/home/julliard/wine/wine/dlls/qmgr/tests/../../../include/wine/test.h:451] in qmgr_test (0x0032fea8)
  3 0x60543ae2 main+0x142(argc=<register ECX not in topmost frame>, argv=0x1103c8) [/home/julliard/wine/wine/dlls/qmgr/tests/../../../include/wine/test.h:499] in qmgr_test (0x0032fed8)
  4 0x60543bbb __wine_spec_exe_entry+0x5b(peb=0x7ffdf000) [/home/julliard/wine/wine/dlls/winecrt0/exe_entry.c:36] in qmgr_test (0x0032ff08)
  5 0x7b876d47 start_process+0xc7(arg=0x0) [/home/julliard/wine/wine/dlls/kernel32/process.c:904] in kernel32 (0x0032ffe8)
  6 0x600289c7 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x60540d3a func_file+0x27a [/home/julliard/wine/wine/dlls/qmgr/tests/file.c:108] in qmgr_test: movl	0x0(%eax),%edx
108	    IBackgroundCopyFile_Release(test_file);

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list