cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl strange behaviour

From: Julien MOUTTE <jmoutte_at_electronic-group.com>
Date: Thu, 15 Nov 2001 17:14:53 +0100

Howdy,

I finally managed to backtrace my child crashing when using curl.

Here is the backtrace from gdb :

Program received signal SIGSEGV, Segmentation fault.
0x400c5531 in chunk_alloc (ar_ptr=0x4017d060, nb=32) at malloc.c:2878
2878 malloc.c: No such file or directory.

#0 0x400c5531 in chunk_alloc (ar_ptr=0x4017d060, nb=32) at malloc.c:2878
#1 0x400c5338 in __libc_malloc (bytes=25) at malloc.c:2811
#2 0x4000ac99 in _dl_new_object () at eval.c:41
#3 0x4000630e in _dl_map_object_from_fd () at eval.c:41
#4 0x40007a39 in _dl_map_object () at eval.c:41
#5 0x401607ec in dl_open_worker (a=0xbfffef50) at dl-open.c:217
#6 0x4000d833 in _dl_catch_error () at eval.c:41
#7 0x40160cde in _dl_open (file=0xbffff0d0 "libnss_nisplus.so.2", mode=1,
    caller=0x0) at dl-open.c:407
#8 0x40161b41 in do_dlopen (ptr=0xbffff0a0) at dl-libc.c:78
#9 0x4000d833 in _dl_catch_error () at eval.c:41
#10 0x401619ec in __libc_dlopen (__name=0xbffff0d0 "libnss_nisplus.so.2")
    at dl-libc.c:42
#11 0x40142def in __nss_lookup_function (ni=0x80574b0,
    fct_name=0x4017721c "gethostbyname_r") at nsswitch.c:340
#12 0x40143821 in __nss_next (ni=0xbffff190,
    fct_name=0x4017721c "gethostbyname_r", fctp=0xbffff194, status=0,
    all_values=0) at nsswitch.c:194
#13 0x401460ed in __gethostbyname_r (name=0x805d874 "secure.virtualxs.com",
    resbuf=0x805dc40, buffer=0x805dc54 "дь+c", buflen=8980, result=0xbffff1d4,
    h_errnop=0xbffff1d8) at ../nss/getXXbyYY_r.c:215
#14 0x4002bfac in Curl_getaddrinfo () at eval.c:41
#15 0x40035a60 in CreateConnection () at eval.c:41
#16 0x40035d86 in Curl_connect () at eval.c:41
#17 0x4003e1d7 in Curl_perform () at eval.c:41
#18 0x4003e64b in curl_easy_perform () at eval.c:41
#19 0x804cda5 in http_query (
    url=0x805a250
"https://secure.virtualxs.com/checkout.php3?pincode=000000&login=XXXXXX&passwd=XXXXX")
at mod_auth/mod_auth_http.c:92
#20 0x804cbfd in http_revoke (auth=0x805b930) at mod_auth/mod_auth_http.c:59
#21 0x804a590 in delete_password (data=0x8057f66, last_seq=5618) at main.c:415
#22 0x804a00e in serve_client (client_struct=0x8057f40, last_seq=5618)
    at main.c:294
#23 0x8049ca5 in server_watch (data=0x0) at main.c:221
#24 0x8049ab5 in main (argc=2, argv=0xbffffa94) at main.c:151
#25 0x40061777 in __libc_start_main (main=0x8049660 <main>, argc=2,
    ubp_av=0xbffffa94, init=0x8049068 <_init>, fini=0x804cef0 <_fini>,
    rtld_fini=0x4000dd44 <_dl_fini>, stack_end=0xbffffa8c)
    at ../sysdeps/generic/libc-start.c:129
(gdb)

Any idea :))

-- 
Julien MOUTTE - jmoutte_at_electronic-group.com
C.T.O.
_________________________________________________________
ELECTRONIC GROUP INTERACTIVE - www.electronic-group.com
World Trade Center, Moll de BARCELONA
Edificio Norte 4 Planta
08039 BARCELONA SPAIN
Tel : +34 93600 23 23 Fax : +34 93600 23 10
_________________________________________________________
Received on 2001-11-15