[Bug 1168593] Re: Occasional Assertion Failure causing crash in dispose_chunk in chunk.c
** Branch linked: lp:debian/polipo -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1168593] Re: Occasional Assertion Failure causing crash in dispose_chunk in chunk.c
This bug was fixed in the package polipo - 1.1.1-1 --- polipo (1.1.1-1) unstable; urgency=medium * release newest upstream version 1.1.1. Closes: #746750 - use regerror to improve error reporting. Closes: #585766 - correct return value from processObject in error case. LP: #988780 - resume interrupted file download properly. Closes: #517479 - vastly improve stability. LP: #1055418, LP: #988780, LP: #1168593 Closes: #684742, Closes: #307801, Closes: #432561, Closes: #646709 - handle non-existent host properly. Closes: #655851 - Don't revalidate objects = CHUNK_SIZE that aren't in the disk cache. Closes: #610199 * drop patches included upstream and rebase the rest * update watch file -- Rolf Leggewie f...@rolf.leggewie.biz Fri, 06 Jun 2014 15:29:19 +0200 ** Changed in: polipo (Ubuntu) Status: Confirmed = Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1168593] Re: Occasional Assertion Failure causing crash in dispose_chunk in chunk.c
Sorry for the delayed response. It's been a while since I did this, but how I debugged this was adding -g -rdynamic to the build options to insure that GCC would not strip symbols needed to backtrace, as well as using nostrib in the DEB_BUILD_OPTIONS so that debian's build script thing wouldn't add on any symbol stripping options. Also, I think I played around with libSegFault (like libSegFault.so in the LD_PRELOAD), but I can't remember if that helped any. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1168593] Re: Occasional Assertion Failure causing crash in dispose_chunk in chunk.c
I'm currently packaging the latest upstream release and I would love to incorporate your work on packaging the debugging information. I'd appreciate your input. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1168593] Re: Occasional Assertion Failure causing crash in dispose_chunk in chunk.c
ping ** Changed in: polipo (Ubuntu) Status: Incomplete = Confirmed -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1168593] Re: Occasional Assertion Failure causing crash in dispose_chunk in chunk.c
Sean, thank you for reporting back. If you can help me compile the package with symbol tables for debugging, I'll gladly upload that (and the latest fixes). -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1168593] Re: Occasional Assertion Failure causing crash in dispose_chunk in chunk.c
Well, the crashes are now much, MUCH, rarer, I just got one. (First time since I got Rolf's branch of it). Sadly, as it was compiled without symbol tables, the stack trace was pretty much useless. Should I rebuild with symbols so I can get a useful stacktrace? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1168593] Re: Occasional Assertion Failure causing crash in dispose_chunk in chunk.c
For those of you who would like to test my wip packages before I upload them to Debian, you can get them for precise (and later) from my stable PPA: https://launchpad.net/~r0lf/+archive/stable Please kindly let me know if you can reproduce the issue with the latest package. ** Changed in: polipo (Ubuntu) Status: New = Incomplete -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1168593] Re: Occasional Assertion Failure causing crash in dispose_chunk in chunk.c
Alright, recompiled with libsegfault as one of the included libraries (forcing better line numbers in dumps), and got the line number of the assertion failure, chunk.c:398:dispose_chunk. Line numbers for the whole stack still aren't showing up (ugh), but I can see that it is happening when it is called from the method httpServerHandler(), when that method is called by do_scheduled_stream() -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1168593] Re: Occasional Assertion Failure causing crash in dispose_chunk in chunk.c
Alright, recompiled with libsegfault as one of the included libraries (forcing better line numbers in dumps), and got the line number of the assertion failure, chunk.c:398:dispose_chunk. Line numbers for the whole stack still aren't showing up (ugh), but I can see that it is happening when it is called from the method httpServerHandler(), when that method is called by do_scheduled_stream() -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1168593] Re: Occasional Assertion Failure causing crash in dispose_chunk in chunk.c
Also, when you are not compiling with debug flags, are the asserts disabled? If so, the derefence of that null pointer could explain why some people see segfaults instead of assertion failures. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1168593] Re: Occasional Assertion Failure causing crash in dispose_chunk in chunk.c
I will also try to see if I can upload a patch implementing the suggested workaround for chunk.c, until the true reason for the bug is found. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs