daniel@sture:~/src/curl/tests$ ./runtests.pl -g 67 ********* System characteristics ******** * curl 7.18.1-CVS (i686-pc-linux-gnu) * libcurl/7.18.1-CVS yassl/1.8.6 zlib/1.2.3.3 libidn/1.4 libssh2/0.18 * Features: Debug IDN IPv6 Largefile NTLM SSL libz * Host: sture * System: Linux sture 2.6.22-3-686-bigmem #1 SMP Mon Nov 12 09:52:20 UTC 2007 i686 GNU/Linux * Server SSL: ON * libcurl SSL: ON * libcurl debug: ON * valgrind: ON * HTTP IPv6 ON * FTP IPv6 ON * HTTP port: 8990 * FTP port: 8992 * FTP port 2: 8995 * FTPS port: 8993 * HTTPS port: 8991 * HTTP IPv6 port: 8994 * FTP IPv6 port: 8996 * TFTP port: 8997 * SCP/SFTP port: 8999 * SOCKS port: 9000 * SSL library: yassl * Libtool lib: OFF ***************************************** test 067...[HTTP with NTLM authorization] GNU gdb 6.7.1-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1". Argument list to give program being debugged when it is started is "--output log/curl67.out --include -v --trace-time http://127.0.0.1:8990/67 -u testuser:testpass --ntlm". (gdb) run Starting program: /home/daniel/src/curl/src/curl --output log/curl67.out --include -v --trace-time http://127.0.0.1:8990/67 -u testuser:testpass --ntlm [Thread debugging using libthread_db enabled] 22:45:53.858248 * About to connect() to 127.0.0.1 port 8990 (#0) 22:45:53.858346 * Trying 127.0.0.1... connected 22:45:53.858454 * Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0) 22:45:53.858528 * Server auth using NTLM with user 'testuser' 22:45:53.858600 > GET /67 HTTP/1.1 22:45:53.858600 > Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 22:45:53.858600 > User-Agent: curl/7.18.1-CVS (i686-pc-linux-gnu) libcurl/7.18.1-CVS yassl/1.8.6 zlib/1.2.3.3 libidn/1.4 libssh2/0.18 22:45:53.858600 > Host: 127.0.0.1:8990 22:45:53.858600 > Accept: */* 22:45:53.858600 > 22:45:53.860215 * HTTP 1.1 or later with persistent connection, pipelining supported 22:45:53.860244 < HTTP/1.1 401 Now gimme that second request of crap 22:45:53.860282 < Server: Microsoft-IIS/5.0 22:45:53.860310 < Content-Type: text/html; charset=iso-8859-1 22:45:53.860336 < Content-Length: 34 22:45:53.860375 < WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== 22:45:53.860451 < 22:45:53.860475 * Ignoring the response-body 22:45:53.860497 { [data not shown] % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 34 0 34 0 0 12724 0 --:--:-- --:--:-- --:--:-- 022:45:53.860837 * Connection #0 to host 127.0.0.1 left intact 22:45:53.860864 * Issue another request to this URL: 'http://127.0.0.1:8990/67' 22:45:53.860939 * Re-using existing connection! (#0) with host 127.0.0.1 22:45:53.860980 * Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0) [New Thread 0xb7c0e6b0 (LWP 4093)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7c0e6b0 (LWP 4093)] 0xb7de484c in memcpy () from /lib/i686/cmov/libc.so.6 (gdb) bt #0 0xb7de484c in memcpy () from /lib/i686/cmov/libc.so.6 #1 0x080a8939 in TaoCrypt::Mode_BASE::SetIV (this=0x810d560, iv=0x0) at ../taocrypt/include/modes.hpp:78 #2 0x080aa42e in TaoCrypt::BlockCipher<(TaoCrypt::CipherDir)0, TaoCrypt::DES, (TaoCrypt::Mode)1>::SetKey (this=0x810d560, k=0xbfc10300 "5æ.R\026EǪ(\016Á¿~I\b\b@\005Á¿\234È\020\b \005Á¿Ð\tÁ¿", sz=8, iv=0x0) at ../taocrypt/include/modes.hpp:54 #3 0x080a7a64 in yaSSL::DES::set_encryptKey (this=0xbfc102d0, k=0xbfc10300 "5æ.R\026EǪ(\016Á¿~I\b\b@\005Á¿\234È\020\b \005Á¿Ð\tÁ¿", iv=0x0) at crypto_wrapper.cpp:394 #4 0x08090d19 in DES_ecb_encrypt (input=0x810c89c, output=0xbfc105a0, key=0xbfc10300, enc=1) at ssl.cpp:1163 #5 0x08084076 in lm_resp (keys=0xbfc10540 "5̺\221h±ÕÊ`\223´·Õla\233", plaintext=0x810c89c "s\235@aPàÈ×", results=0xbfc105a0 "¦\204Ä·\002\b") at http_ntlm.c:344 #6 0x0808497e in Curl_output_ntlm (conn=0x810c71c, proxy=false) at http_ntlm.c:898 #7 0x0806a385 in http_output_auth (conn=0x810c71c, request=0x80f237a "GET", path=0x810cadc "/67", proxytunnel=false) at http.c:563 #8 0x0806c694 in Curl_http (conn=0x810c71c, done=0xbfc110ef) at http.c:1993 #9 0x08075a56 in Curl_do (connp=0xbfc110f4, done=0xbfc110ef) at url.c:4540 #10 0x0807fdb9 in Curl_perform (data=0x81031c4) at transfer.c:2377 #11 0x0805b2e6 in curl_easy_perform (curl=0x81031c4) at easy.c:508 #12 0x08053285 in operate (config=0xbfc115a0, argc=10, argv=0xbfc117f4) at main.c:4684 #13 0x08053b1e in main (argc=10, argv=0xbfc117f4) at main.c:4992 (gdb) #0 0xb7de484c in memcpy () from /lib/i686/cmov/libc.so.6 #1 0x080a8939 in TaoCrypt::Mode_BASE::SetIV (this=0x810d560, iv=0x0) at ../taocrypt/include/modes.hpp:78 #2 0x080aa42e in TaoCrypt::BlockCipher<(TaoCrypt::CipherDir)0, TaoCrypt::DES, (TaoCrypt::Mode)1>::SetKey (this=0x810d560, k=0xbfc10300 "5æ.R\026EǪ(\016Á¿~I\b\b@\005Á¿\234È\020\b \005Á¿Ð\tÁ¿", sz=8, iv=0x0) at ../taocrypt/include/modes.hpp:54 #3 0x080a7a64 in yaSSL::DES::set_encryptKey (this=0xbfc102d0, k=0xbfc10300 "5æ.R\026EǪ(\016Á¿~I\b\b@\005Á¿\234È\020\b \005Á¿Ð\tÁ¿", iv=0x0) at crypto_wrapper.cpp:394 #4 0x08090d19 in DES_ecb_encrypt (input=0x810c89c, output=0xbfc105a0, key=0xbfc10300, enc=1) at ssl.cpp:1163 #5 0x08084076 in lm_resp (keys=0xbfc10540 "5̺\221h±ÕÊ`\223´·Õla\233", plaintext=0x810c89c "s\235@aPàÈ×", results=0xbfc105a0 "¦\204Ä·\002\b") at http_ntlm.c:344 #6 0x0808497e in Curl_output_ntlm (conn=0x810c71c, proxy=false) at http_ntlm.c:898 #7 0x0806a385 in http_output_auth (conn=0x810c71c, request=0x80f237a "GET", path=0x810cadc "/67", proxytunnel=false) at http.c:563 #8 0x0806c694 in Curl_http (conn=0x810c71c, done=0xbfc110ef) at http.c:1993 #9 0x08075a56 in Curl_do (connp=0xbfc110f4, done=0xbfc110ef) at url.c:4540 #10 0x0807fdb9 in Curl_perform (data=0x81031c4) at transfer.c:2377 #11 0x0805b2e6 in curl_easy_perform (curl=0x81031c4) at easy.c:508 #12 0x08053285 in operate (config=0xbfc115a0, argc=10, argv=0xbfc117f4) at main.c:4684 #13 0x08053b1e in main (argc=10, argv=0xbfc117f4) at main.c:4992 (gdb)