merge 423414 312060
thanks
This is the same as the bug reported in #423414
On 05/06/05 17:44 +1000, Hamish Moffatt said ...
> I tried to fetch a file for which HTTP authentication is required;
> axel segfaults in that case.
>
> [5:42pm] hamish@noddy:~> axel http://protected/file
> Initializing download: http://protected/file
> HTTP/1.1 401 Authorization Required
> Segmentation fault
HTTP/1.0 401 Authorization Required
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075369648 (LWP 28432)]
0x400384cd in pthread_cancel () from /lib/i686/cmov/libpthread.so.0
(gdb) where
#0 0x400384cd in pthread_cancel () from /lib/i686/cmov/libpthread.so.0
#1 0x0804aa75 in axel_close (axel=0x8054620) at axel.c:447
#2 0x0804f8b0 in main (argc=2, argv=0xbfe31714) at text.c:216
(gdb) f 1
#1 0x0804aa75 in axel_close (axel=0x8054620) at axel.c:447
447 pthread_cancel( *axel->conn[i].setup_thread );
(gdb) p axel->conn[i].setup_thread
$1 = {0}
--
Y Giridhar Appaji Nag | http://www.appaji.net/
Attachment:
signature.asc
Description: Digital signature