cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem in Curl_connecthost() .

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 21 Jul 2003 13:37:27 +0200 (CEST)

On Mon, 21 Jul 2003, mtbramo wrote:

> I have been using the curl library on RedHat 7.2

What version?

> and during load test (trafic) I have some crash (core) on curl library at
> specific time (eg: 22:00 , 15:00). I don't know why :

Gosh.

> where
> #0 0x400a6a01 in __kill () from /lib/i686/libc.so.6
> #1 0x4002a5bb in raise (sig=6) at signals.c:65
> #2 0x400a7f82 in abort () at ../sysdeps/generic/abort.c:88
> #3 0x080954a2 in allsig (signum=11) at ../main/rs_main.c:135
> #4 0x4002a8d5 in pthread_sighandler (signo=11, ctx={gs = 231, __gsh =
> 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0, edi =
> 136608544, esi = 1211102695, ebp = 1211102564, esp = 1211102412, ebx =
> 1181771448, edx = 135986336, ecx = 0, eax = 16, trapno = 14, err = 4,
> eip = 134773073, cs = 35, __csh = 0, eflags = 66118, esp_at_signal =
> 1211102412, ss = 43, __ssh = 0, fpstate = 0x482ff250, oldmask =
> 2147483648, cr2 = 16}) at signals.c:97
> #5 <signal handler called>
> #6 0x08087951 in Curl_connecthost (conn=0x467066b8,
> remotehost=0x81afca0, port=8080, sockconn=0x46706958, addr=0x482ff598,
> connected=0x482ff5e7 "") at connect.c:579

It looks as if you're using threads and you get a signal. Do you have
CURLOPT_NOSIGNAL set TRUE?

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
Received on 2003-07-21