Bug 87994 - timesyncd segfaults on armv7l GNU/Linux
Summary: timesyncd segfaults on armv7l GNU/Linux
Status: RESOLVED WORKSFORME
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: ARM Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-03 13:27 UTC by Rich
Modified: 2017-10-27 17:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Rich 2015-01-03 13:27:24 UTC
Running the command 'timedatectl' with no args segfaulted.
~~~~~~~~~~~~~
#> uname -r
Linux <hostname> 3.0.35-16-ARCH #1 SMP Sun May 25 17:19:33 MDT 2014 armv7l GNU/Linux

#> timedatectl
      Local time: Thu 2015-01-01 17:08:42 UTC
  Universal time: Thu 2015-01-01 17:08:42 UTC
        RTC time: Sat 2015-01-03 13:19:09
       Time zone: UTC (UTC, +0000)
     NTP enabled: yes
NTP synchronized: no
 RTC in local TZ: no
*** Error in `timedatectl': free(): invalid next size (fast): 0x403e68d8 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x686fc)[0x403166fc]
/usr/lib/libc.so.6(+0x6e374)[0x4031c374]
/usr/lib/libc.so.6(+0x6ed1c)[0x4031cd1c]
======= Memory map: ========
4001e000-4001f000 rw-p 00000000 00:00 0 
4003a000-4004f000 r-xp 00000000 08:02 1327464    /usr/lib/libpthread-2.20.so
4004f000-40056000 ---p 00015000 08:02 1327464    /usr/lib/libpthread-2.20.so
40056000-40057000 r--p 00014000 08:02 1327464    /usr/lib/libpthread-2.20.so
40057000-40058000 rw-p 00015000 08:02 1327464    /usr/lib/libpthread-2.20.so
40058000-4005b000 rw-p 00000000 00:00 0 
4007f000-40080000 rw-p 00000000 00:00 0 
400e4000-400e5000 rw-p 00000000 00:00 0 
400f7000-400f8000 rw-p 00000000 00:00 0 
400fb000-40164000 r-xp 00000000 08:02 1324286    /usr/bin/timedatectl
40164000-40166000 r--p 00068000 08:02 1324286    /usr/bin/timedatectl
40166000-40167000 rw-p 0006a000 08:02 1324286    /usr/bin/timedatectl
40167000-40184000 r-xp 00000000 08:02 1327619    /usr/lib/libgcc_s.so.1
40184000-4018b000 ---p 0001d000 08:02 1327619    /usr/lib/libgcc_s.so.1
4018b000-4018c000 rw-p 0001c000 08:02 1327619    /usr/lib/libgcc_s.so.1
401c4000-401e4000 r-xp 00000000 08:02 1327585    /usr/lib/ld-2.20.so
401eb000-401ec000 r--p 0001f000 08:02 1327585    /usr/lib/ld-2.20.so
401ec000-401ed000 rw-p 00020000 08:02 1327585    /usr/lib/ld-2.20.so
4029f000-402a5000 r-xp 00000000 08:02 1327493    /usr/lib/librt-2.20.so
402a5000-402ac000 ---p 00006000 08:02 1327493    /usr/lib/librt-2.20.so
402ac000-402ad000 r--p 00005000 08:02 1327493    /usr/lib/librt-2.20.so
402ad000-402ae000 rw-p 00006000 08:02 1327493    /usr/lib/librt-2.20.so
402ae000-403d7000 r-xp 00000000 08:02 1327610    /usr/lib/libc-2.20.so
403d7000-403df000 ---p 00129000 08:02 1327610    /usr/lib/libc-2.20.so
403df000-403e1000 r--p 00129000 08:02 1327610    /usr/lib/libc-2.20.so
403e1000-403e2000 rw-p 0012b000 08:02 1327610    /usr/lib/libc-2.20.so
403e2000-404e5000 rw-p 00000000 00:00 0 
be944000-be965000 rw-p 00000000 00:00 0          [stack]
ffff0000-ffff1000 r-xp 00000000 00:00 0          [vectors]
Aborted (core dumped)

#> cat /etc/systemd/timesyncd.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# You can override the directives in this file by creating files in
# /etc/systemd/timesyncd.conf.d/*.conf.
#
# See timesyncd.conf(5) for details

[Time]
#NTP=
#FallbackNTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org
Comment 1 Lennart Poettering 2015-02-04 14:07:08 UTC
Sorry, we have no ARM hw to debug this. We rely on external patches to get this fixed.
Comment 2 Zbigniew Jedrzejewski-Szmek 2015-02-04 16:40:22 UTC
What systemd version is this from? (Please always include that in the bug report.)
There were some fixes post systemd-218, and I believe this should be fixed now.
It works for me on an arm chromebook.
Comment 3 yuyichao 2015-02-22 20:38:04 UTC
Just seen this today as well and it is systemd-218 on ArchLinux ARM with 3.18.0 Xilinx kernel. I guess I'll wait to see if 219 fixes it.
Comment 4 Lennart Poettering 2017-10-27 17:14:42 UTC
This bug is two years old now. I haven't heard of issues like this with current versions. Let's close this hence.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.