http://bugs.winehq.org/show_bug.cgi?id=28449
Summary: GnuTLS internal error in wine test case Product: Wine Version: 1.3.28 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: toralf.foerster@gmx.de
tested the latest git wine tree at a ThinkPad running a stable Gentoo linux w/ gnutls 2.10.5 and got :
tfoerste@n22 ~/devel/wine-git/dlls/secur32/tests $ make test ... ntlm.c:1343: Tests skipped: NTLM package not installed, skipping test ../../../tools/runtest -q -P wine -M secur32.dll -T ../../.. -p secur32_test.exe.so schannel.c && touch schannel.ok GnuTLS error: GnuTLS internal error.
The file schannel.ok is created !
http://bugs.winehq.org/show_bug.cgi?id=28449
Toralf Förster toralf.foerster@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |secur32 Version|1.3.28 |unspecified
http://bugs.winehq.org/show_bug.cgi?id=28449
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2011-09-20 10:24:40 CDT --- What makes you think it should fail?
http://bugs.winehq.org/show_bug.cgi?id=28449
--- Comment #2 from Toralf Förster toralf.foerster@gmx.de 2011-09-20 10:27:57 CDT --- (In reply to comment #1)
What makes you think it should fail?
Oh - if the internal error itself is _expected_ then this is ofc not a bug.
http://bugs.winehq.org/show_bug.cgi?id=28449
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #3 from Juan Lang juan_lang@yahoo.com 2011-09-20 11:20:49 CDT --- If the test cases don't fail, there's no bug.
http://bugs.winehq.org/show_bug.cgi?id=28449
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2011-09-20 11:21:01 CDT --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=28449
--- Comment #5 from Toralf Förster toralf.foerster@gmx.de 2011-09-20 12:10:31 CDT --- (In reply to comment #3)
If the test cases don't fail, there's no bug.
except for false negative IMO.
You're sure, that the GnuTLS internal error somewhere within line 424 ff of schannel.c is expected ?
http://bugs.winehq.org/show_bug.cgi?id=28449
--- Comment #6 from Austin English austinenglish@gmail.com 2011-09-20 12:24:19 CDT --- I get something similar in bug 28383, on debian 32-bit, with gnutls 2.12.7-8. I've isolated the wine tests that cause the failures.
http://bugs.winehq.org/show_bug.cgi?id=28449
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|secur32 |-unknown Version|unspecified |1.3.28
http://bugs.winehq.org/show_bug.cgi?id=28449
Toralf Förster toralf.foerster@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #7 from Toralf Förster toralf.foerster@gmx.de 2011-09-23 03:21:04 CDT --- Well, the wine test case doesn't handle a fault in GnuTLS correctly. Look at line 641 : With this change : - buffers[1].cBuffers = 1; + buffers[1].cBuffers = 4;
now I get :
GnuTLS error: GnuTLS internal error. schannel.c:647: Test failed: Expected SEC_E_INVALID_TOKEN, got 80090304
which means that wine detects a failure if the test case.
Without the change wine assumes allis fine - and that is definitely not the case.
http://bugs.winehq.org/show_bug.cgi?id=28449
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=28449
--- Comment #8 from Austin English austinenglish@gmail.com 2011-10-09 22:34:54 CDT --- Toralf, is this better for you now?
http://bugs.winehq.org/show_bug.cgi?id=28449
Toralf Förster toralf.foerster@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Toralf Förster toralf.foerster@gmx.de 2011-10-10 02:32:00 CDT --- yes - thx.
http://bugs.winehq.org/show_bug.cgi?id=28449
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2011-10-10 13:13:56 CDT --- Closing bugs fixed in 1.3.30.