Public bug reported:

Ubuntu version:
Description:    Ubuntu 12.04.2 LTS
Release:        12.04

Polipo version 1.0.4.1-1.1
With index fix patch in bug #988780
Compiled with -g and -rdynamic

Well, like many others, I got the (or rather, a) random crash bug.
So, I went ahead and compiled it with extra debug info.

I think I need to compile it with -g3 as there are no line numbers in the stack 
trace, but hopefully this is enough to track down a little further.
I know that dispose_chunk is in chunk.c from previous experience.

The only assertion in dispose_chunk (both of them) seems to be a null
pointer check in an assert. Somehow, the caller of this function is
erronously giving it a null pointer sometimes.

A potential, short-term workaround would be to have it simply ignore the
free chunk request (by returning early), and maybe log a warning, if a
null is passed in, instead of crashing.

For some reason, apport is not letting upload the report, so I am just
going to attach the output from the crash repport as given by apport-
cli.


There seems to be another form of an assertion failure, so I think this is not 
the only thing causing the random crashes.

** Affects: polipo (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "apport-cli-polipo-crash-output.txt"
   
https://bugs.launchpad.net/bugs/1168593/+attachment/3642674/+files/apport-cli-polipo-crash-output.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1168593

Title:
  Occasional Assertion Failure causing crash in dispose_chunk in chunk.c

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/polipo/+bug/1168593/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to