Bug 1375936 - ntlm-test crash
Summary: ntlm-test crash
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libsoup
Version: 7.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Milan Crha
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-14 09:37 UTC by Jiri Koten
Modified: 2019-03-07 17:07 UTC (History)
2 users (show)

Fixed In Version: libsoup-2.62.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-07 17:07:37 UTC
Target Upstream Version:


Attachments (Terms of Use)
backtrace (8.22 KB, text/plain)
2016-09-14 09:38 UTC, Jiri Koten
no flags Details

Description Jiri Koten 2016-09-14 09:37:00 UTC
Description of problem:
Running the test suite, ntlm-test crashed.

traps: lt-ntlm-test[14285] trap int3 ip:7f7673aa7643 sp:7fff7945af00 error:0

$ ./ntlm-test -d -d               
/ntlm/retry:   /alice
 (S:unauth) (S:sent) (S:unauth) (S:sent) (S:alice)  /bob
 (S:unauth) (S:sent) (S:unauth) (S:sent) (S:alice)OK
/ntlm/builtin/none:  (S:unauth)  /noauth    ->  -> OK
 (S:unauth)  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
 (S:unauth)  /alice/404 ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
 (S:unauth)  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
 (S:unauth)  /bob       ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
 (S:unauth)  /alice     ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
 (S:unauth)  /basic     ->  BASIC_PROMPT -> Unauthorized
 (S:unauth)  /either    ->  NTLM_PROMPT BASIC_PROMPT -> Unauthorized
OK
/ntlm/builtin/alice:  (S:sent) (S:alice)  /noauth    ->  REQUEST CHALLENGE NTLM_RESPONSE -> OK
 (S:alice)  /alice     ->  -> OK
 (S:alice)  /alice/404 ->  -> Not Found
 (S:alice)  /alice     ->  -> OK

(ntlm-test:28744): libsoup-WARNING **: SoupMessage 0xed3aa0 stuck in infinite loop?



Version-Release number of selected component (if applicable):
libsoup-2.48.1-6.el7
samba-4.4.4-9.el7

How reproducible:
100%

Comment 1 Jiri Koten 2016-09-14 09:38:05 UTC
Created attachment 1200780 [details]
backtrace

Comment 2 Dan Winship 2016-09-14 12:05:05 UTC
Apparently fedora/rhel's version of the patch for bug 1088458 doesn't match the upstream commit. (The upstream version doesn't remove the "conn->state = SOUP_NTLM_FAILED" line.) Fixing that (and pulling in the rest of the upstream patch to get the corresponding change to ntlm-test.c too) fixes ntlm-test, but maybe that breaks the fix for 1088458?

Comment 3 Milan Crha 2019-03-07 17:07:37 UTC
I just realized that the current 2.62.2 has this fixed, the test doesn't crash and reports:

/ntlm/retry: OK
/ntlm/builtin/none: OK
/ntlm/builtin/alice: OK
/ntlm/builtin/bob: OK
/ntlm/builtin/basic: OK
/ntlm/winbind/none: SKIP
/ntlm/winbind/alice: SKIP
/ntlm/winbind/bob: SKIP
/ntlm/winbind/basic: SKIP
/ntlm/fallback/none: SKIP
/ntlm/fallback/alice: SKIP
/ntlm/fallback/bob: SKIP
/ntlm/fallback/basic: SKIP
/ntlm/ssp/none: OK
/ntlm/ssp/alice: OK
/ntlm/ssp/bob: OK
/ntlm/ssp/basic: OK

when I ran it locally, thus I'm closing this.


Note You need to log in before you can comment on or make changes to this bug.