[PATCH 2/4] comctl32: Introduce Edit control

Alexandre Julliard julliard at winehq.org
Wed Jan 31 11:00:22 CST 2018


Nikolay Sivov <nsivov at codeweavers.com> writes:

> Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
> ---
>  dlls/comctl32/Makefile.in  |    3 +-
>  dlls/comctl32/comctl32.h   |    1 +
>  dlls/comctl32/commctrl.c   |   18 +
>  dlls/comctl32/edit.c       | 5075 ++++++++++++++++++++++++++++++++++++++++++++
>  dlls/comctl32/tests/edit.c |    7 -
>  dlls/user32/class.c        |    1 -
>  6 files changed, 5096 insertions(+), 9 deletions(-)
>  create mode 100644 dlls/comctl32/edit.c

This is breaking the tests here:

../../../tools/runtest -q -P wine -T ../../.. -M comctl32.dll -p comctl32_test.exe.so treeview && touch treeview.ok
wine: Unhandled page fault on execute access to 0x7e1e47a0 at address 0x7e1e47a0 (thread 0069), starting debugger...
Unhandled exception: page fault on execute access to 0x7e1e47a0 in 32-bit code (0x7e1e47a0).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7e1e47a0 ESP:0033ec3c EBP:0033ec68 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:7e1e47a0 EBX:7e921000 ECX:00000069 EDX:7e921000
 ESI:000100b0 EDI:00000010
Stack dump:
0x0033ec3c:  7e8e08da 000100b0 00000081 00000000
0x0033ec4c:  0033ef90 7e9ec380 0000000f 7e85bbbd
0x0033ec5c:  7e921000 000100b0 00000010 0033eca8
0x0033ec6c:  7e8e0f27 7e1e47a0 000100b0 00000081
0x0033ec7c:  00000000 0033ef90 7e921000 0033eca8
0x0033ec8c:  7e8e0ef9 0033ecb0 7ffd8000 7e8e0eeb
Backtrace:
=>0 0x7e1e47a0 (0x0033ec68)
  1 0x7e8e0f27 call_window_proc+0x46(hwnd=0x100b0, msg=0x81, wp=0, lp=0x33ef90, result=0x33ed28, arg=0x7e1e47a0) [/home/julliard/wine/wine/dlls/user32/winproc.c:244] in user32 (0x0033eca8)
  2 0x7e8e31aa WINPROC_call_window+0xc9(hwnd=0x100b0, msg=0x81, wParam=0, lParam=0x33ef90, result=0x33ed28, unicode=0x1, mapping=2123501568) [/home/julliard/wine/wine/dlls/user32/winproc.c:916] in user32 (0x0033ecf8)
  3 0x7e8a6cc2 call_window_proc+0x61(hwnd=0x100b0, msg=0x81, wparam=0, lparam=0x33ef90, unicode=0x1, same_thread=0x1, mapping=2123501568) [/home/julliard/wine/wine/dlls/user32/message.c:2223] in user32 (0x0033ed68)
  4 0x7e8ad6ee send_message+0x19d(info=0x33edd4, res_ptr=0x33edd0, unicode=<is not available>) [/home/julliard/wine/wine/dlls/user32/message.c:3255] in user32 (0x0033edc8)
  5 0x7e8ad944 SendMessageW+0x53(hwnd=<couldn't compute location>, msg=<couldn't compute location>, wparam=<couldn't compute location>, lparam=<couldn't compute location>) [/home/julliard/wine/wine/dlls/user32/message.c:3455] in user32 (0x0033ee08)
  6 0x7e8d729d WIN_CreateWindowEx+0x69c(cs=0x33ef90, className=<is not available>, module=(nil), unicode=0x1) [/home/julliard/wine/wine/dlls/user32/win.c:1607] in user32 (0x0033ef78)
  7 0x7e8d14e8 CreateWindowExW+0x72(exStyle=<couldn't compute location>, className=<couldn't compute location>, windowName=<couldn't compute location>, style=<couldn't compute location>, x=<couldn't compute location>, y=<couldn't compute location>, width=<couldn't compute location>, height=<couldn't compute location>, parent=<couldn't compute location>, menu=<couldn't compute location>, instance=<couldn't compute location>, data=<couldn't compute location>) [/home/julliard/wine/wine/dlls/user32/win.c:1779] in user32 (0x0033efc8)
  8 0x7dbfb7f2 TREEVIEW_WindowProc+0x921(hwnd=<is not available>, uMsg=<is not available>, wParam=<is not available>, lParam=<is not available>) [/home/julliard/wine/wine/dlls/comctl32/treeview.c:5166] in comctl32 (0x0033f128)
  9 0x7e8e08da WINPROC_wrapper+0x19() in user32 (0x0033f168)
  10 0x7e8e0f27 call_window_proc+0x46(hwnd=0x29007a, msg=0x1, wp=0, lp=0x33f210, result=0x33f6d8, arg=0x7dbfaed0) [/home/julliard/wine/wine/dlls/user32/winproc.c:244] in user32 (0x0033f1a8)
  11 0x7e8e284d WINPROC_CallProcAtoW+0x65c(callback=0x7e8e0ee0, hwnd=0x29007a, msg=0x1, wParam=<is not available>, lParam=0x33f940, result=0x33f6d8, arg=0x7dbfaed0, mapping=WMCHAR_MAP_SENDMESSAGE) [/home/julliard/wine/wine/dlls/user32/winproc.c:403] in user32 (0x0033f658)
  12 0x7e8e325b WINPROC_call_window+0x17a(hwnd=0x29007a, msg=0x1, wParam=0, lParam=0x33f940, result=0x33f6d8, unicode=0, mapping=WMCHAR_MAP_SENDMESSAGE) [/home/julliard/wine/wine/dlls/user32/winproc.c:914] in user32 (0x0033f6a8)
  13 0x7e8a6cc2 call_window_proc+0x61(hwnd=0x29007a, msg=0x1, wparam=0, lparam=0x33f940, unicode=0, same_thread=0x1, mapping=WMCHAR_MAP_SENDMESSAGE) [/home/julliard/wine/wine/dlls/user32/message.c:2223] in user32 (0x0033f718)
  14 0x7e8ad6ee send_message+0x19d(info=0x33f784, res_ptr=0x33f780, unicode=<is not available>) [/home/julliard/wine/wine/dlls/user32/message.c:3255] in user32 (0x0033f778)
  15 0x7e8afc08 SendMessageA+0x57(hwnd=<couldn't compute location>, msg=<couldn't compute location>, wparam=<couldn't compute location>, lparam=<couldn't compute location>) [/home/julliard/wine/wine/dlls/user32/message.c:3477] in user32 (0x0033f7b8)
  16 0x7e8d8350 WIN_CreateWindowEx+0x174f(cs=0x33f940, className=<is not available>, module=0x7ebf0000, unicode=0) [/home/julliard/wine/wine/dlls/user32/win.c:1646] in user32 (0x0033f928)
  17 0x7e8d1452 CreateWindowExA+0xec(exStyle=<couldn't compute location>, className=<couldn't compute location>, windowName=<couldn't compute location>, style=<couldn't compute location>, x=<couldn't compute location>, y=<couldn't compute location>, width=<couldn't compute location>, height=<couldn't compute location>, parent=<couldn't compute location>, menu=<couldn't compute location>, instance=<couldn't compute location>, data=<couldn't compute location>) [/home/julliard/wine/wine/dlls/user32/win.c:1747] in user32 (0x0033fb88)
  18 0x7ec92d6c create_treeview_control+0x4b(style=<is not available>) [/home/julliard/wine/wine/dlls/comctl32/tests/treeview.c:442] in comctl32_test (0x0033fbd8)
  19 0x7ec9b4ca func_treeview+0x3019() [/home/julliard/wine/wine/dlls/comctl32/tests/treeview.c:1758] in comctl32_test (0x0033fdc8)
  20 0x7ebfaa06 main+0x2e5(argc=<is not available>, argv=<is not available>) [/home/julliard/wine/wine/dlls/comctl32/tests/../../../include/wine/test.h:603] in comctl32_test (0x0033fe78)
  21 0x7ec9fcf4 __wine_spec_exe_entry+0x63(peb=<couldn't compute location>) [/home/julliard/wine/wine/dlls/winecrt0/exe_entry.c:36] in comctl32_test (0x0033feb8)
  22 0x7b45facc call_process_entry+0xb() in kernel32 (0x0033fed8)
  23 0x7b461432 start_process+0x1b1(entry=<couldn't compute location>, peb=<couldn't compute location>) [/home/julliard/wine/wine/dlls/kernel32/process.c:1139] in kernel32 (0x0033ffd8)
  24 0x7b45fada start_process_wrapper+0x9() in kernel32 (0x0033ffec)

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list