cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1328 curl crashes with a SEGFAULT on FreeBSD with GSS-API calls

From: Michael Osipov <michael-o_at_users.sf.net>
Date: Wed, 29 Jan 2014 13:35:18 +0000

As expected?

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 28c04300 (LWP 101086/curl)]
    0x2868da96 in free () from /lib/libc.so.7
    (gdb) where
    #0 0x2868da96 in free () from /lib/libc.so.7
    #1 0x28910032 in krb5_set_default_in_tkt_etypes () from /usr/lib/libkrb5.so.10
    #2 0x28983de0 in _gsskrb5_init_sec_context () from /usr/lib/libgssapi_krb5.so.10
    #3 0x282c8fcf in gss_init_sec_context () from /usr/lib/libgssapi.so.10
    #4 0x280fa0b8 in Curl_gss_init_sec_context (data=0x28c2a004, minor_status=0xbfbfcf10,
        context=0x28c325f0, target_name=0x28c0d640, input_chan_bindings=0x0, input_token=0xbfbfcf04,
        output_token=0xbfbfcefc, ret_flags=0x0) at curl_gssapi.c:54
    #5 0x280d9753 in Curl_input_negotiate (conn=0x28d23104, proxy=false, header=0x28c0d62d "")
        at http_negotiate.c:243
    #6 0x280a3ced in Curl_http_input_auth (conn=0x28d23104, proxy=false, auth=0x28c0d624 "Negotiate")
        at http.c:756
    #7 0x280a9d71 in Curl_http_readwrite_headers (data=0x28c2a004, conn=0x28d23104, nread=0xbfbfd0f0,
        stop_reading=0xbfbfd0ee) at http.c:3455
    #8 0x280c54d8 in readwrite_data (data=0x28c2a004, conn=0x28d23104, k=0x28c2a050,
        didwhat=0xbfbfd178, done=0xbfbfd287) at transfer.c:471
    #9 0x280c66b2 in Curl_readwrite (conn=0x28d23104, done=0xbfbfd287) at transfer.c:1039
    #10 0x280d4847 in multi_runsingle (multi=0x28c33084, now={tv_sec = 347918, tv_usec = 312308},
        data=0x28c2a004) at multi.c:1479
    #11 0x280d4f09 in curl_multi_perform (multi_handle=0x28c33084, running_handles=0xbfbfd370)
        at multi.c:1752
    #12 0x280c89cd in easy_transfer (multi=0x28c33084) at easy.c:705
    #13 0x280c8b6d in easy_perform (data=0x28c2a004, events=false) at easy.c:784
    #14 0x280c8bc9 in curl_easy_perform (easy=0x28c2a004) at easy.c:803
    #15 0x08057aae in operate (config=0xbfbfd7dc, argc=6, argv=0xbfbfda68) at tool_operate.c:1491
    #16 0x08052684 in main (argc=6, argv=0xbfbfda68) at tool_main.c:103

---
** [bugs:#1328] curl crashes with a SEGFAULT on FreeBSD with GSS-API calls**
**Status:** open
**Created:** Wed Jan 29, 2014 11:36 AM UTC by Michael Osipov
**Last Updated:** Wed Jan 29, 2014 01:19 PM UTC
**Owner:** Daniel Stenberg
l$ bin/curl -V
curl 7.35.0 (i386-unknown-freebsd9.2) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: GSS-Negotiate IDN Largefile NTLM NTLM_WB SSL libz TLS-SRP
$ bin/curl --verbose --negotiate -u : http://hostname:8080/manager/html
* Hostname was NOT found in DNS cache
*   Trying 1.2.3.4...
* Connected to hostname (1.2.3.4) port 8080 (#0)
> GET /manager/html HTTP/1.1
> User-Agent: curl/7.35.0
> Host: hostname:8080
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
* Server Apache-Coyote/1.1 is not blacklisted
< Server: Apache-Coyote/1.1
< Cache-Control: private
< Expires: Thu, 01 Jan 1970 01:00:00 CET
Segmentation fault: 11 (Speicherabzug geschrieben)
Curl crashes with segmentation fault. I am on:
uname -a
FreeBSD hostname2 9.2-STABLE FreeBSD 9.2-STABLE
Core files can be provided on request.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-01-29

These mail archives are generated by hypermail.

donate! Page updated December 29, 2013.
web site info

File upload with ASP.NET