Polipo crashes on a specific website

Daniel Koukola <[email protected]>
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
Hi,

I'm able to reproduce the following crash on a specific website (it 
takes a few minutes at most):

Read from server failed: Immediate shutdown requested
Couldn't send request to server: Immediate shutdown requested
Couldn't send request to server: Immediate shutdown requested
Couldn't send request to server: Immediate shutdown requested
Couldn't send request to server: Immediate shutdown requested
Couldn't send request to server: Immediate shutdown requested
Couldn't send request to server: Immediate shutdown requested
Restarting pipeline to www.zdeko-puzzle.cz:80.
==25078== Invalid read of size 8
==25078==    at 0x41858A: httpServerReplyHandler (server.c:1774)
==25078==    by 0x4058BC: do_scheduled_stream (io.c:366)
==25078==    by 0x403F07: pokeFdEventHandler (event.c:569)
==25078==    by 0x4034C0: runTimeEventQueue (event.c:492)
==25078==    by 0x403BF5: eventLoop (event.c:659)
==25078==    by 0x40D26B: main (main.c:165)
==25078==  Address 0x4cbec48 is 24 bytes inside a block of size 120 free'd
==25078==    at 0x4A04D72: free (vg_replace_malloc.c:325)
==25078==    by 0x4163CE: httpServerFinish (server.c:1294)
==25078==    by 0x416FAF: httpServerHandler (server.c:1721)
==25078==    by 0x4058FD: do_scheduled_stream (io.c:375)
==25078==    by 0x403E07: eventLoop (event.c:713)
==25078==    by 0x40D26B: main (main.c:165)
==25078==
==25078== Invalid read of size 1
==25078==    at 0x41858E: httpServerReplyHandler (server.c:1777)
==25078==    by 0x4058BC: do_scheduled_stream (io.c:366)
==25078==    by 0x403F07: pokeFdEventHandler (event.c:569)
==25078==    by 0x4034C0: runTimeEventQueue (event.c:492)
==25078==    by 0x403BF5: eventLoop (event.c:659)
==25078==    by 0x40D26B: main (main.c:165)
==25078==  Address 0x4cbec30 is 0 bytes inside a block of size 120 free'd
==25078==    at 0x4A04D72: free (vg_replace_malloc.c:325)
==25078==    by 0x4163CE: httpServerFinish (server.c:1294)
==25078==    by 0x416FAF: httpServerHandler (server.c:1721)
==25078==    by 0x4058FD: do_scheduled_stream (io.c:375)
==25078==    by 0x403E07: eventLoop (event.c:713)
==25078==    by 0x40D26B: main (main.c:165)
==25078==
==25078== Invalid read of size 8
==25078==    at 0x418599: httpServerReplyHandler (server.c:1779)
==25078==    by 0x4058BC: do_scheduled_stream (io.c:366)
==25078==    by 0x403F07: pokeFdEventHandler (event.c:569)
==25078==    by 0x4034C0: runTimeEventQueue (event.c:492)
==25078==    by 0x403BF5: eventLoop (event.c:659)
==25078==    by 0x40D26B: main (main.c:165)
==25078==  Address 0x10 is not stack'd, malloc'd or (recently) free'd
==25078==
==25078==
==25078== Process terminating with default action of signal 11 (SIGSEGV)
==25078==  Access not within mapped region at address 0x10
==25078==    at 0x418599: httpServerReplyHandler (server.c:1779)
==25078==    by 0x4058BC: do_scheduled_stream (io.c:366)
==25078==    by 0x403F07: pokeFdEventHandler (event.c:569)
==25078==    by 0x4034C0: runTimeEventQueue (event.c:492)
==25078==    by 0x403BF5: eventLoop (event.c:659)
==25078==    by 0x40D26B: main (main.c:165)

The latest Polipo version from the Git repository was used 
(b92db574c11961f681fa258314bd7470e4449cc0).

Any idea what the problem is?

Dan

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.