[Bug 649009] Re: apt-cacher-ng crashed with SIGSEGV in malloc()
@Matt: can you please file a new bug report about your crash (which appears to be different)? (start with "ubuntu-bug apt-cacher-ng") -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/649009 Title: apt-cacher-ng crashed with SIGSEGV in malloc() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/649009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 649009] Re: apt-cacher-ng crashed with SIGSEGV in malloc()
We believe MALLOC_CHECK_=2 was set correctly and attached is the resulting backtrace after a crash. ** Attachment added: "backtrace" https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/649009/+attachment/3226600/+files/backtrace -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/649009 Title: apt-cacher-ng crashed with SIGSEGV in malloc() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/649009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 649009] Re: apt-cacher-ng crashed with SIGSEGV in malloc()
Thanks for the information. I've added "export MALLOC_CHECK_=2" now to /etc/default/apt-cacher-ng, which gets sourced by the init script. I am closing this bug now as Invalid. ** Changed in: apt-cacher-ng (Ubuntu) Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/649009 Title: apt-cacher-ng crashed with SIGSEGV in malloc() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/649009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 649009] Re: apt-cacher-ng crashed with SIGSEGV in malloc()
Right, init script is a good location. See https://www.gnu.org/s/libc/manual/html_node/Heap-Consistency-Checking.html#Heap-Consistency-Checking for details about the variable. The mentioned method would call abort() which creates a core dump. I don't know exactly how apport works but assuming that it configures kernel for auto-dumping to a certain directory then it would pick up that core dump there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/649009 Title: apt-cacher-ng crashed with SIGSEGV in malloc() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/649009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 649009] Re: apt-cacher-ng crashed with SIGSEGV in malloc()
I am the reporter, and am running 0.6.5-1 currently (Ubuntu Oneiric). Can you provide more information about where to export MALLOC_CHECK_=2 (sic?!). Would it be enough to patch the /etc/init.d/apt-cacher-ng script locally? Would it then automatically show up in apport reports (like this one)? I would be happy to close this bug here as Invalid/Cannot reproduce, and have a better environment for new crashes instead. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/649009 Title: apt-cacher-ng crashed with SIGSEGV in malloc() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/649009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 649009] Re: apt-cacher-ng crashed with SIGSEGV in malloc()
Ok, checked again, the previous assumption was a bad guess. The problem is, it looks like heap corruption but it can have happened a while before the actually crash. Maybe the tester could export MALLOC_CHECK_=2 in the startup environment so the heap corruption detection is executed. But honestly, I would only test the last version because 0.5.6 has been released a year ago and in the meantime, there were bugfixes all around this place. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/649009 Title: apt-cacher-ng crashed with SIGSEGV in malloc() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/649009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 649009] Re: apt-cacher-ng crashed with SIGSEGV in malloc()
The crash happened with 0.5.6-1 though.. Do you still think it should be fixed? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/649009 Title: apt-cacher-ng crashed with SIGSEGV in malloc() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/649009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 649009] Re: apt-cacher-ng crashed with SIGSEGV in malloc()
I assume this bug has been already fixed in 0.5.3, changelog: * FIX: total review & overhaul of the response (job) control, adding more verbose error pages and making code more uniform I remember incorrect use of temporary error strings which happened close to this SetErrorResponse call in the stack trace. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/649009 Title: apt-cacher-ng crashed with SIGSEGV in malloc() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/649009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 649009] Re: apt-cacher-ng crashed with SIGSEGV in malloc()
** Visibility changed to: Public ** Changed in: apt-cacher-ng (Ubuntu) Status: New => Triaged -- apt-cacher-ng crashed with SIGSEGV in malloc() https://bugs.launchpad.net/bugs/649009 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs