https://d.puremagic.com/issues/show_bug.cgi?id=12098

           Summary: libcurl bad argument on handle null
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2014-02-07 03:15:12 PST ---
This used to work up to few days ago:

void main() {
    import std.net.curl;
    get("http://dlang.org/";);
}


I am using the same libcurl version 7.24.0.0.


Now it gives:

std.net.curl.CurlException@std\net\curl.d(3589): A libcurl function was given a
bad argument on handle null
----------------
0x004055E6 in pure @safe bool
std.exception.enforceEx!(std.net.curl.CurlException).enforceEx!(bool).enforceEx(bool,
lazy immutable(char)[], immutable(char)[], uint) at
...\dmd2\\src\phobos\std\exception.d(529)
0x00430372 in void std.net.curl.Curl._check(int)
0x00406B44 in char[] std.net.curl.get!(std.net.curl.HTTP,
char).get(const(char)[], std.net.curl.HTTP) at
...\dmd2\\src\phobos\std\net\curl.d(367)
0x00402094 in char[] std.net.curl.get!(std.net.curl.AutoProtocol,
char).get(const(char)[], std.net.curl.AutoProtocol) at
...\dmd2\\src\phobos\std\net\curl.d(381)
0x0040202C in _Dmain
0x0042526C in void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).runAll().void __lambda1()
0x0042523F in void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).runAll()
0x00425158 in _d_run_main
0x00424F84 in main
0x00466031 in mainCRTStartup
0x7592D2E9 in BaseThreadInitThunk
0x77131603 in RtlInitializeExceptionChain
0x771315D6 in RtlInitializeExceptionChain
std.net.curl.CurlException@std\net\curl.d(3589): A libcurl function was given a
bad argument on handle null
----------------
0x004055E6 in pure @safe bool
std.exception.enforceEx!(std.net.curl.CurlException).enforceEx!(bool).enforceEx(bool,
lazy immutable(char)[], immutable(char)[], uint) at
...\dmd2\\src\phobos\std\exception.d(529)
0x00430372 in void std.net.curl.Curl._check(int)
0x00406B44 in char[] std.net.curl.get!(std.net.curl.HTTP,
char).get(const(char)[], std.net.curl.HTTP) at
...\dmd2\\src\phobos\std\net\curl.d(367)
0x00402094 in char[] std.net.curl.get!(std.net.curl.AutoProtocol,
char).get(const(char)[], std.net.curl.AutoProtocol) at
...\dmd2\\src\phobos\std\net\curl.d(381)
0x0040202C in _Dmain
0x0042526C in void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).runAll().void __lambda1()
0x0042523F in void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).runAll()
0x00425158 in _d_run_main
0x00424F84 in main
0x00466031 in mainCRTStartup
0x7592D2E9 in BaseThreadInitThunk
0x77131603 in RtlInitializeExceptionChain
0x771315D6 in RtlInitializeExceptionChain

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to