On 15 Oct 2012, at 10:49, Rajeev Bansal wrote: > On Mon, Oct 15, 2012 at 2:11 PM, David Röthlisberger <da...@rothlis.net> > wrote: > On 13 Oct 2012, at 03:18, Rajeev Bansal wrote: > > I am using the head branch of the Polipo, I am seeing crashes sometimes, > > when I cancel the ongoing download. Any idea why it happens. > > Is there any chance you could provide an automated test case that > reproduces this problem? Just a shell script that starts polipo, starts > an http client like curl, then cancels the download halfway through. > Yes, you are right David script is exactly same as you have explained. > > while: > do > curl -x 127.0.0.1:8123 <some-url> -o file > done
That isn't quite what I meant. I meant a real script that I can run on my computer, that will reproduce the problem without me having to do any additional work. Not pseudo-code. The reason I asked is that I haven't seen the crash that you are seeing; so I need help from you to reproduce the issue. If you don't think you can provide an automated script, then the following specific information would be helpful: + A real, publicly-visible URL that is causing you trouble. + How much of it do you allow to download before cancelling? + Can you reproduce the problem using curl and cancelling the download with Control-C? (As opposed to downloading via a web browser or other http client.) Other information you could provide: + Run "polipo logLevel=0xFF" and give us the console output from polipo (if any) when it crashes. + Edit log.h to increase LOGGING_MAX to 0xFFFFFFFF, recompile polipo, and run it again with logLevel=0xFFFFFFFF. + Generate a corefile when polipo crashes, and give us the backtrace. Of all these, the backtrace would probably be the most useful. One last thing: Does the same problem happen when using polipo 1.0.4.1? Thanks, Dave. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Polipo-users mailing list Polipo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/polipo-users