http://bugs.winehq.org/show_bug.cgi?id=34084
Bug #: 34084 Summary: EnumWindows and 1.6rc* Product: Wine Version: 1.6-rc5 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: bugtrack@roumenpetrov.info Classification: Unclassified
I use wine to run preliminary python regression tests cross-build from linux to windows 32
Following test fail (Segmentation fault) in 1.6rc1,3,4,5: ----------------------- def test_issue_8959_b(self): from ctypes.wintypes import BOOL, HWND, LPARAM global windowCount windowCount = 0
@WINFUNCTYPE(BOOL, HWND, LPARAM) def EnumWindowsCallbackFunc(hwnd, lParam): global windowCount windowCount += 1 return True #Allow windows to keep enumerating
windll.user32.EnumWindows(EnumWindowsCallbackFunc, 0) -----------------------
Test pass with wine version 1.5.16. Also pass with 1.6rc{1,3,4,5} if is run in X terminal with unset DISPLAY variable.
All above mentioned wine versions are build in one and the same environment, i.e. compiler, packages etc.
Severity is set to minor as "Segmentation fault" is in development environment.