cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: segfault, glibc corruption, redhat

From: Jon Drukman <jdrukman_at_gmail.com>
Date: Thu, 04 Sep 2008 11:21:12 -0700

I managed to set a breakpoint right before the segfault. I have no idea
if this is useful. Hopefully it is!

Breakpoint 1, showit (data=0xcd6c4e8, type=CURLINFO_HEADER_OUT,
     ptr=0xcf4b848 "GET
/feeds/api/videos?alt=json&max-results=32&vq=Chez+Panisse
HTTP/1.1\r\nHost: gdata.youtube.com\r\nAccept: */*\r\nX-GData-Client:
ytapi-thi-website-0\r\nX-GData-Key: key=AI39si6B"...,
     size=282) at sendf.c:671
671 if(data->set.fdebug)
(gdb) n
675 switch(type) {
(gdb) n
679 fwrite(s_infotype[type], 2, 1, data->set.err);
(gdb) x s_infotype
0x2b3ff73194a0 <s_infotype.6441>: 0xf7111955
(gdb) x type
0x2: Cannot access memory at address 0x2
(gdb) x data
0xcd6c4e8: 0x0cbe5f48
(gdb) x data->set.err
0xcbe4dc0: 0x03fe6cbb

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-09-04