[Bug 971314] Re: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption
This bug had me stymied for far too long. When using juju, hostnames can get quite long. For instance, I have instances with names like juju-nick-testopenstack-lhr01-instance-24, and ntp in precise will just hang on installation and prevent juju from even installing the charm. This can be a rather troublesome state to work your way through. ** Tags added: juju -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/971314 Title: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/971314/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971314] Re: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption
*** This bug is a duplicate of bug 941968 *** https://bugs.launchpad.net/bugs/941968 ** This bug has been marked a duplicate of bug 941968 lockfile-create hangs inside lxc containers (potential buffer overflow?) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/971314 Title: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/971314/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971314] Re: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption
I can confirm this too. I wonder if it's somewhat related to bug 941968 Apparently in our case (we use puppet to provision the server), /etc/init.d/ntp start gets stuck (maybe because lockfile-create segfaults?) while the package postinstall script is run, so puppet gets stuck too while provisioning. We've found two ways to workaround the issue: 1. Use shorter hostnames 2. Rename /usr/bin/lockfile-create to /etc/bin/lockfile-create.bak so /etc/init.d/ntp does not find. Restore it back to /usr/bin/lockfile-create after the ntp package install. Both workarounds are somewhat hackish, so it would be great if someone could reproduce it and give it a higher priority :). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/971314 Title: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/971314/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971314] Re: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption
I can confirm I too experience this issue with a host name that is longer than 36 chars -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/971314 Title: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/971314/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971314] Re: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption
Actually, on closer inspection, the error I saw was 'invalid next size', not 'memory corruption'. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/971314 Title: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/971314/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971314] Re: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption
Some further investigation: --- Hostname length | Result --- 0-35| ok 36-37 | invalid next size 38-39 | memory corruption 40-47 | invalid next size 47 | untested --- -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/971314 Title: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/971314/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971314] Re: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption
This bug appears to be linked to hostnames greater than 36 character in length: -- root@ip-10-53-101-13:~# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION=Ubuntu 12.04 LTS root@ip-10-53-101-13:~# hostname 01234567890123456789012345678901234 root@ip-10-53-101-13:~# service ntp restart * Stopping NTP server ntpd [ OK ] * Starting NTP server ntpd [ OK ] root@ip-10-53-101-13:~# hostname 012345678901234567890123456789012345 root@ip-10-53-101-13:~# service ntp restart * Stopping NTP server ntpd [ OK ] * Starting NTP server ntpd [ OK ] root@ip-10-53-101-13:~# hostname 0123456789012345678901234567890123456 root@ip-10-53-101-13:~# service ntp restart * Stopping NTP server ntpd [ OK ] * Starting NTP server ntpd *** glibc detected *** lockfile-create: free(): invalid next size (fast): 0x00fc90a0 *** Segmentation fault (core dumped) [ OK ] -- ...'rapc-HP-Compaq-dc7800-Small-Form-Factor' being 39 chars. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/971314 Title: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/971314/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971314] Re: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ntp (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/971314 Title: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/971314/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971314] Re: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption
** Changed in: ntp (Ubuntu) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/971314 Title: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/971314/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971314] Re: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption
** Changed in: ntp (Ubuntu) Status: Incomplete = New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/971314 Title: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/971314/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971314] Re: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption
apport information ** Tags added: apport-collected precise ** Description changed: ntp, from the package ntp-1:4.2.6.p3+dfsg-1ubuntu3 on Precise with KDE, generates the following error when restarted on the command line with the command sudo service ntp restart rapc@rapc-HP-Compaq-dc7800-Small-Form-Factor:/etc/apparmor/init$ sudo service ntp restart * Stopping NTP server ntpd ...done. * Starting NTP server ntpd *** glibc detected *** lockfile-create: malloc(): memory corruption (fast): 0x00ba40e0 *** In syslog, i found this: [ 257.286600] lockfile-create[1340]: segfault at 18 ip 7f394c218805 sp 7fffbbc0c0c0 error 4 in libc-2.15.so[7f394c19a000+1b2000] Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor kernel: [ 257.286596] show_signal_msg: 33 callbacks suppressed Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor kernel: [ 257.286600] lockfile-create[1340]: segfault at 18 ip 7f394c218805 sp 7fffbbc0c0c0 error 4 in libc-2.15.so[7f394c19a000+1b2000] Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor ntpd[2294]: ntpd 4.2.6p3@1.2290 Tue Mar 6 15:36:36 UTC 2012 (1) Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor ntpd[2295]: proto: precision = 0.419 usec Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor ntpd[2295]: ntp_io: estimated max descriptors: 2144, initial socket boundary: 16 Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor ntpd[2295]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123 Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor ntpd[2295]: Listen and drop on 1 v6wildcard :: UDP 123 Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor ntpd[2295]: Listen normally on 2 lo 127.0.0.1 UDP 123 Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor ntpd[2295]: Listen normally on 3 eth0 10.146.19.204 UDP 123 Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor ntpd[2295]: Listen normally on 4 eth0 fe80::21f:29ff:fed4:8328 UDP 123 Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor ntpd[2295]: Listen normally on 5 lo ::1 UDP 123 Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor ntpd[2295]: peers refreshed Apr 2 09:10:05 rapc-HP-Compaq-dc7800-Small-Form-Factor ntpd[2295]: Listening on routing socket on fd #22 for interface updates Apr 2 09:15:37 rapc-HP-Compaq-dc7800-Small-Form-Factor ntpd[2295]: ntpd exiting on signal 15 My /etc/ntp.conf has not been changed + --- + ApportVersion: 2.0-0ubuntu2 + Architecture: amd64 + DistroRelease: Ubuntu 12.04 + InstallationMedia: Kubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120228.1) + Package: ntp 1:4.2.6.p3+dfsg-1ubuntu3 + PackageArchitecture: amd64 + ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-3.2.0-21-generic root=UUID=0a0fc268-6d80-4e5d-8687-0715859a9a0f ro quiet splash vt.handoff=7 + ProcEnviron: + LANGUAGE=fr_CH:fr + TERM=xterm + LANG=fr_CH.UTF-8 + SHELL=/bin/bash + ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13 + Tags: precise + Uname: Linux 3.2.0-21-generic x86_64 + UpgradeStatus: No upgrade log present (probably fresh install) + UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo ** Attachment added: .etc.apparmor.d.usr.sbin.ntpd.txt https://bugs.launchpad.net/bugs/971314/+attachment/2989158/+files/.etc.apparmor.d.usr.sbin.ntpd.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/971314 Title: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/971314/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971314] Re: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption
Thank you James for your help and be assured that i will use ubuntu-bug the next time. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/971314 Title: 1:4.2.6.p3+dfsg-1ubuntu3 on Precise generates a memory corruption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/971314/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs