Help for this page

Select Code to Download


  1. or download this
    use WWW::Curl::Multi;
    my $x = WWW::Curl::Multi->new();
    
    ...
    sleep 3;
    print STDERR "main exiting\n";
    exit 0;
    
  2. or download this
    main sleeping
    thread sleeping
    thread exiting
    Free to wrong pool 249ea0 not 241ba8 at testcrash.pl line 9.
    wine: Unhandled page fault on write access to 0x00000000 at address 0x
    +713c9106 (thread 0031), starting debugger...
    
  3. or download this
    use threads;
    use WWW::Curl::Easy;
    
    ...
    $t->join();
    print STDERR "main exiting\n";
    exit 0;
    
  4. or download this
    [New Thread 0x7ffff1689700 (LWP 12664)]
    main sleeping
    thread sleeping
    ...
    
    Program received signal SIGSEGV, Segmentation fault.
    0x0000003f3fe39d63 in Curl_splay () from /lib64/libcurl.so.4
    
  5. or download this
    use threads;
    use threads::shared;
    ...
    share($x);