[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] wine: system calls fail with "success"
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] wine: system calls fail with "success" |
Date: |
Thu, 20 Oct 2016 01:28:03 +0200 |
On Wed, 19 Oct 2016 22:30:04 +0000 Greg Chicares <address@hidden> wrote:
GC> To reproduce, run lmi's automated GUI tests under 'wine':
GC> wine ./wx_test.exe --ash_nazg --data_path=/opt/lmi/data >eraseme 2>&1
GC> These warnings are seen multiple times:
GC> In file ../src/msw/toplevel.cpp at line 1024: 'DrawMenuBar' failed with
error 0x00000000 (success.).
GC> In file ../src/msw/utilsexc.cpp at line 494:
'SetNamedPipeHandleState(PIPE_NOWAIT)' failed with error 0x00000000 (success.).
GC> They also occur when running lmi itself as opposed to its GUI test.
GC>
GC> All the tests succeed. I've been blithely ignoring these weird
GC> console messages, but figured I should report them.
I think those might indicate problems in Wine and not lmi or wxMSW. Both
functions mentioned above are supposed to only return 0 if they fail and
they must be setting last error in this case, so they're definitely not
following the documented postconditions.
As usual, I could probably look into Wine sources and confirm this and,
maybe, even provide a fix. Please let me know if I should do it.
Thanks,
VZ