[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Launchpad has imported 9 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=446199. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2008-05-13T14:00:05+00:00 Robert wrote: Description of problem: Please note, that the following problem also applies to Fedora 9. robert@tux:~ > apachetop -f /var/log/httpd/access_log *** buffer overflow detected ***: apachetop terminated === Backtrace: = /lib/libc.so.6(__fortify_fail+0x48)[0x3cec48] /lib/libc.so.6[0x3ccd40] /lib/libc.so.6[0x3cd4a8] apachetop(__gxx_personality_v0+0x46d)[0x80496a5] apachetop[0x804a2d6] /lib/libc.so.6(__libc_start_main+0xe6)[0x2ee5d6] apachetop(__gxx_personality_v0+0xd9)[0x8049311] === Memory map: 0011-0012c000 r-xp 68:02 2965506/lib/ld-2.8.so 0012c000-0012d000 r-xp 0001c000 68:02 2965506/lib/ld-2.8.so 0012d000-0012e000 rwxp 0001d000 68:02 2965506/lib/ld-2.8.so 0012e000-0012f000 r-xp 0012e000 00:00 0 [vdso] 0012f000-0016 r-xp 68:02 2965525/lib/libreadline.so.5.2 0016-00164000 rwxp 00031000 68:02 2965525/lib/libreadline.so.5.2 00164000-00165000 rwxp 00164000 00:00 0 00165000-00186000 r-xp 68:02 2965732/lib/libncurses.so.5.6 00186000-00187000 rwxp 0002 68:02 2965732/lib/libncurses.so.5.6 00187000-001b r-xp 68:02 2965518/lib/libpcre.so.0.0.1 001b-001b1000 rwxp 00028000 68:02 2965518/lib/libpcre.so.0.0.1 001b1000-00296000 r-xp 68:02 393288 /usr/lib/libstdc++.so.6.0.10 00296000-0029a000 r-xp 000e4000 68:02 393288 /usr/lib/libstdc++.so.6.0.10 0029a000-0029b000 rwxp 000e8000 68:02 393288 /usr/lib/libstdc++.so.6.0.10 0029b000-002a1000 rwxp 0029b000 00:00 0 002a1000-002c8000 r-xp 68:02 2965678/lib/libm-2.8.so 002c8000-002c9000 r-xp 00026000 68:02 2965678/lib/libm-2.8.so 002c9000-002ca000 rwxp 00027000 68:02 2965678/lib/libm-2.8.so 002ca000-002d7000 r-xp 68:02 2965617 /lib/libgcc_s-4.3.0-20080428.so.1 002d7000-002d8000 rwxp c000 68:02 2965617 /lib/libgcc_s-4.3.0-20080428.so.1 002d8000-0043b000 r-xp 68:02 2965520/lib/libc-2.8.so 0043b000-0043d000 r-xp 00163000 68:02 2965520/lib/libc-2.8.so 0043d000-0043e000 rwxp 00165000 68:02 2965520/lib/libc-2.8.so 0043e000-00441000 rwxp 0043e000 00:00 0 00441000-00457000 r-xp 68:02 2965736/lib/libtinfo.so.5.6 00457000-0045a000 rwxp 00015000 68:02 2965736/lib/libtinfo.so.5.6 0045a000-0045d000 r-xp 68:02 2965644/lib/libdl-2.8.so 0045d000-0045e000 r-xp 2000 68:02 2965644/lib/libdl-2.8.so 0045e000-0045f000 rwxp 3000 68:02 2965644/lib/libdl-2.8.so 08048000-08051000 r-xp 68:02 33 /usr/bin/apachetop 08051000-08052000 rw-p 9000 68:02 33 /usr/bin/apachetop 0960c000-0962d000 rw-p 0960c000 00:00 0 b7f3c000-b7f4 rw-p b7f3c000 00:00 0 bfb28000-bfb3d000 rw-p bffea000 00:00 0 [stack] Canceled robert@tux:~ > Version-Release number of selected component (if applicable): apachetop-0.12.6-4 How reproducible: Everytime, just: apachetop -f /var/log/httpd/access_log Actual results: *** buffer overflow detected ***: apachetop terminated Expected results: Just working... Additional info: (gdb) bt #0 0x0012e402 in __kernel_vsyscall () #1 0x00302660 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0x00304028 in abort () at abort.c:88 #3 0x0033f5bd in __libc_message (do_abort=2, fmt=0x411bbd "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170 #4 0x003cec48 in __fortify_fail (msg=0x411b8c "buffer overflow detected") at fortify_fail.c:32 #5 0x003ccd40 in __chk_fail () at chk_fail.c:29 #6 0x003cd4a8 in __realpath_chk (buf=0xbffdd9c8 "/var/log/httpd/access_log", resolved=0xbffd3e48 "8 /\tpáC", resolvedlen=128) at realpath_chk.c:30 #7 0x080496a5 in new_file () #8 0x0804a2d6 in main () (gdb) bt full #0 0x0012e402 in __kernel_vsyscall () No symbol table info available. #1 0x00302660 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 resultvar = pid = 148 selftid = 5642 #2 0x00304028 in abort () at abort.c:88 act = {__sigaction_handler = {sa_handler = 0xbffd36ac, sa_sigaction = 0xbffd36ac}, sa_mask = {__val = {4131897, 1233472, 0, 1233472, 0, 3221043000, 134517521, 1234520, 3, 951, 134514798, 3, 134513068, 134513140, 3858732, 9, 3221042928, 3, 3233108, 148, 9, 7, 3221043044, 3980792, 3, 3221042928, 9, 0, 4263955, 4263951, 4267973, 4266865}}, sa_flags = 4266889, sa_restorer = 0x411b85} sigs = {__val = {32, 0 }} #3 0x0033f5bd in __libc_message (do_abort=2, fmt=0x411bbd "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170 ap =
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
This is still broken on ubuntu 9.04 x64 too... -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
What about Jaunty? At the time of writing, it's still the current release, and this package is completely useless on it. -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
This bug was fixed in the package apachetop - 0.12.6-12ubuntu1 --- apachetop (0.12.6-12ubuntu1) karmic; urgency=low * Added patch 02-maxpathlen.patch (LP: #294599) -- Nicolas Van Wambeke nicola...@free.fr Sat, 12 Sep 2009 11:27:23 +0200 ** Changed in: apachetop (Ubuntu) Status: Confirmed = Fix Released -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Here is a debdiff against 0.12.6-12 which is current in karmic including the above patch. The package builds fine in a karmic pbuilder. ** Attachment added: apachetop_0.12.6-12ubuntu1.debdiff http://launchpadlibrarian.net/31716492/apachetop_0.12.6-12ubuntu1.debdiff -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Why hasn't the patch been applied ? Surely this should make karmic . -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Was also crashing for me with this error on AMD64 / Jaunty. After applying dc's patch to the source tarball and recompiling, it now works. Bit of a shame we can't get this pushed into Karmic, the package is pretty worthless in its current state. -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
also broken in jaunty/amd64: 0.12.6-9 -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Apachetop still crashes and the last comment was in March. Will this fix be available soon? -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Patch provided below. ** Changed in: apachetop (Ubuntu) Status: New = Confirmed -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Attached updated working deb for those who miss it. ** Attachment added: deb http://launchpadlibrarian.net/23206574/apachetop_0.12.6-8ubuntu1_i386.deb -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Attached src also for the more paranoid. ** Attachment added: apachetop_0.12.6-8ubuntu1_i386.deb.and.src.tar.bz2 http://launchpadlibrarian.net/23206643/apachetop_0.12.6-8ubuntu1_i386.deb.and.src.tar.bz2 -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
** Attachment removed: apachetop_0.12.6-8ubuntu1.debdiff http://launchpadlibrarian.net/23138638/apachetop_0.12.6-8ubuntu1.debdiff -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Confirmed, stumbled upon it, too. Debdiff for recent 8.10. ** Attachment added: apachetop_0.12.6-8ubuntu1.debdiff http://launchpadlibrarian.net/23138638/apachetop_0.12.6-8ubuntu1.debdiff -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Lionel is right, MAXPATHLEN will not be defined with the above fix, PATH_MAX is in linux/limits.h. /And MAXPATHLEN is taking PATH_MAX in params.h/ ** Attachment added: apachetop-0.12.6-maxpathlen-ubuntu.patch http://launchpadlibrarian.net/23140273/apachetop-0.12.6-maxpathlen-ubuntu.patch -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Attached debdiff. ** Attachment added: apachetop_0.12.6-8ubuntu1.debdiff http://launchpadlibrarian.net/23140325/apachetop_0.12.6-8ubuntu1.debdiff -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Hi Martin, With the patch applied, apachetop failed to build here. Have you successfully built the package on a recent jaunty? I'm unsubscribing Ubuntu Sponsors for Universe now, feel free to resubscribe the team once we have a patch ready. -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
** Tags added: patch -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
** Bug watch added: Red Hat Bugzilla #446199 https://bugzilla.redhat.com/show_bug.cgi?id=446199 ** Also affects: apachetop (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=446199 Importance: Unknown Status: Unknown -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
** Changed in: apachetop (Fedora) Status: Unknown = Fix Released -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Hi, i have made a debdiff with the Patch included ** Attachment added: apachetop.debdiff http://launchpadlibrarian.net/19754557/apachetop.debdiff -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
Here's a patch from Fedora that fixes the problem. Will somebody merge this into the package? I don't know how that works. You can rebuild this from source if you want to use it now. Just do: sudo apt-get install libreadline-dev libncurses-dev to get the appropriates files needed to compile. Then do: apt-get source apachetop and from inside the apachetop source directory: patch -p1 apachetop-0.12.6-maxpathlen.patch ./configure make install will do the trick. ** Attachment added: apachetop-0.12.6-maxpathlen.patch http://launchpadlibrarian.net/19700469/apachetop-0.12.6-maxpathlen.patch -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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
[Bug 294599] Re: *** buffer overflow detected ***: apachetop terminated
** Attachment added: apachetop.log http://launchpadlibrarian.net/19420942/apachetop.log -- *** buffer overflow detected ***: apachetop terminated https://bugs.launchpad.net/bugs/294599 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