first crash with polipo-20140107

Richard Z <[email protected]> Mon, 3 Feb 2014 10:42:52 +0100
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
Hi,

wondering if anyone has seen this one before?

#0  0x0804f30e in makeObject (type=1, key=0x9d18760, key_size=40, public=1, 
    fromdisk=0, request=0x805d131 <httpServerRequest>, request_closure=0x0)
    at object.c:167
#1  0x08058331 in httpServeObject (connection=0x9d2b638) at client.c:1642
#2  0x08058bb4 in httpClientNoticeRequest (request=0x9ceb6f8, novalidate=1)
    at client.c:1207
#3  0x080583c3 in httpServeObject (connection=0x9d2b638) at client.c:1662
#4  0x08058bb4 in httpClientNoticeRequest (request=0x9ceb6f8, novalidate=1)
    at client.c:1207
#5  0x080583c3 in httpServeObject (connection=0x9d2b638) at client.c:1662
#6  0x08058bb4 in httpClientNoticeRequest (request=0x9ceb6f8, novalidate=1)
    at client.c:1207
#7  0x080583c3 in httpServeObject (connection=0x9d2b638) at client.c:1662
#8  0x08058bb4 in httpClientNoticeRequest (request=0x9ceb6f8, novalidate=1)
    at client.c:1207
#9  0x080583c3 in httpServeObject (connection=0x9d2b638) at client.c:1662
#10 0x08058bb4 in httpClientNoticeRequest (request=0x9ceb6f8, novalidate=1)
    at client.c:1207
#11 0x080583c3 in httpServeObject (connection=0x9d2b638) at client.c:1662
#12 0x08058bb4 in httpClientNoticeRequest (request=0x9ceb6f8, novalidate=1)
    at client.c:1207
...
...
...
#104802 0x08058bb4 in httpClientNoticeRequest (request=0x9ceb6f8, novalidate=1)
    at client.c:1207
    1207                return httpServeObject(connection);
#104803 0x080583c3 in httpServeObject (connection=0x9d2b638) at client.c:1662
    1662            return httpClientNoticeRequest(request, 1);
#104804 0x08058bb4 in httpClientNoticeRequest (request=0x9ceb6f8, novalidate=0)
    at client.c:1207
    1207                return httpServeObject(connection);
#104805 0x08059e5c in httpClientRequestContinue (forbidden_code=0, url=0x0, 
    forbidden_message=0x0, forbidden_headers=0x0, closure=0x9ceb6f8)
    at client.c:946
    946         httpClientNoticeRequest(request, 0);
#104806 0x0806641c in urlForbidden (url=0x9ccd290, 
    handler=0x8059c00 <httpClientRequestContinue>, closure=0x9ceb6f8)
    at forbidden.c:482
    482         handler(code, url, message, headers, closure);
#104807 0x080596d1 in httpClientRequest (request=0x9ceb6f8, url=0x9ccd290)
    at client.c:824
    824         rc = urlForbidden(url, httpClientRequestContinue, request);
#104808 0x0805994f in httpClientHandlerHeaders (event=0x9ce1ca8, 
    srequest=0x9ce1cb8, connection=0x9d2b638) at client.c:666
    666         return httpClientRequest(request, url);
#104809 0x08059a89 in httpClientHandler (status=0, event=0x9ce1ca8, 
    request=0x9ce1cb8) at client.c:392
    392             httpClientHandlerHeaders(event, request, connection);
#104810 0x0804bf64 in do_scheduled_stream (status=0, event=0x9ce1ca8)
    at io.c:282
    282                     done = request->handler(-ENOMEM, event, request);
#104811 0x0804b9ca in eventLoop () at event.c:713
    713                     done = event->handler(0, event);
#104812 0x08049ccc in main (argc=4, argv=0xbfd562e4) at main.c:165
   165         eventLoop();

gdb:

#104807 0x080596d1 in httpClientRequest (request=0x9ceb6f8, url=0x9ccd290)
    at client.c:824
824         rc = urlForbidden(url, httpClientRequestContinue, request);
(gdb) print url
$1 = (AtomPtr) 0x9ccd290
(gdb) print *url
$2 = {refcount = 0, next = 0x9d11980, length = 40, string = "h"}
(gdb) print url->string
$3 = "h"
(gdb) print (char*)url->string
$4 = 0x9ccd29a "http://taginfo.mapkibera.org/favicon.ico"
(gdb) print request
$5 = (HTTPRequestPtr) 0x9ceb6f8
(gdb) print *request
$6 = {flags = 1, connection = 0x9d2b638, object = 0x9d0fb48, method = 0, 
  from = 0, to = -1, cache_control = {flags = 0, max_age = -1, s_maxage = -1, 
    min_fresh = -1, max_stale = -1}, condition = 0x0, via = 0x0, 
  chandler = 0x0, can_mutate = 0x0, error_code = 0, error_message = 0x0, 
  error_headers = 0x0, headers = 0x9d08478, time0 = {tv_sec = 0, tv_usec = 0}, 
  time1 = {tv_sec = 0, tv_usec = 0}, request = 0x0, next = 0x0}
(gdb) print httpClientRequestContinue
$7 = {int (int, AtomPtr, AtomPtr, AtomPtr, 
    void *)} 0x8059c00 <httpClientRequestContinue>
(gdb) print *httpClientRequestContinue
$8 = {int (int, AtomPtr, AtomPtr, AtomPtr, 
    void *)} 0x8059c00 <httpClientRequestContinue>

#104806 0x0806641c in urlForbidden (url=0x9ccd290, 
    handler=0x8059c00 <httpClientRequestContinue>, closure=0x9ceb6f8)
    at forbidden.c:482
482         handler(code, url, message, headers, closure);

can do more debugging, just do not have a very good idea where to
start poking. It is the first ever crash of this version of polipo.


Richard

---
Name and OpenPGP keys available from pgp key servers


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk