Bug 1188458 - timedatectl: double free or corruption on armv7hl
Summary: timedatectl: double free or corruption on armv7hl
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 21
Hardware: armv7hl
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-03 00:03 UTC by George Joseph
Modified: 2015-12-02 17:18 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-02 08:27:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description George Joseph 2015-02-03 00:03:17 UTC
Description of problem:

timedatectl barfs after printing "RTC in local TZ: no" on armv7hl (imx6q-cubox-i).

Version-Release number of selected component (if applicable):

systemd-216-17.fc21.armv7hl

How reproducible:

Constant

Steps to Reproduce:
1.  Run timedatectl on arm platform.
2.
3.

Actual results:

# timedatectl
      Local time: Mon 2015-02-02 16:53:29 MST
  Universal time: Mon 2015-02-02 23:53:29 UTC
        RTC time: Mon 2015-02-02 23:53:28
       Time zone: America/Denver (MST, -0700)
     NTP enabled: no
NTP synchronized: yes
 RTC in local TZ: no
*** Error in `timedatectl': double free or corruption (!prev): 0xb86ee978 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6adfc)[0xb6dcfdfc]
/lib/libc.so.6(cfree+0x5a4)[0xb6ddc670]
timedatectl(+0xc074)[0xb6f51074]
timedatectl(+0x7618)[0xb6f4c618]
/lib/libc.so.6(__libc_start_main+0x114)[0xb6d7b4fc]
======= Memory map: ========
b6b65000-b6d65000 r--p 00000000 00:15 19849       /usr/lib/locale/locale-archive
b6d65000-b6ea4000 r-xp 00000000 00:15 14483       /usr/lib/libc-2.20.so
b6ea4000-b6eac000 ---p 0013f000 00:15 14483       /usr/lib/libc-2.20.so
b6eac000-b6eae000 r--p 0013f000 00:15 14483       /usr/lib/libc-2.20.so
b6eae000-b6eaf000 rw-p 00141000 00:15 14483       /usr/lib/libc-2.20.so
b6eaf000-b6eb2000 rw-p 00000000 00:00 0 
b6eb2000-b6ec6000 r-xp 00000000 00:15 15066       /usr/lib/libpthread-2.20.so
b6ec6000-b6ecd000 ---p 00014000 00:15 15066       /usr/lib/libpthread-2.20.so
b6ecd000-b6ece000 r--p 00013000 00:15 15066       /usr/lib/libpthread-2.20.so
b6ece000-b6ecf000 rw-p 00014000 00:15 15066       /usr/lib/libpthread-2.20.so
b6ecf000-b6ed1000 rw-p 00000000 00:00 0 
b6ed1000-b6eee000 r-xp 00000000 00:15 14620       /usr/lib/libgcc_s-4.9.2-20141101.so.1
b6eee000-b6ef5000 ---p 0001d000 00:15 14620       /usr/lib/libgcc_s-4.9.2-20141101.so.1
b6ef5000-b6ef6000 rw-p 0001c000 00:15 14620       /usr/lib/libgcc_s-4.9.2-20141101.so.1
b6ef6000-b6efc000 r-xp 00000000 00:15 15106       /usr/lib/librt-2.20.so
b6efc000-b6f03000 ---p 00006000 00:15 15106       /usr/lib/librt-2.20.so
b6f03000-b6f04000 r--p 00005000 00:15 15106       /usr/lib/librt-2.20.so
b6f04000-b6f05000 rw-p 00006000 00:15 15106       /usr/lib/librt-2.20.so
b6f1d000-b6f3c000 r-xp 00000000 00:15 14261       /usr/lib/ld-2.20.so
b6f3e000-b6f43000 rw-p 00000000 00:00 0 
b6f43000-b6f44000 r--p 0001e000 00:15 14261       /usr/lib/ld-2.20.so
b6f44000-b6f45000 rw-p 0001f000 00:15 14261       /usr/lib/ld-2.20.so
b6f45000-b6f7f000 r-xp 00000000 00:15 6179        /usr/bin/timedatectl
b6f80000-b6f82000 r--p 0003a000 00:15 6179        /usr/bin/timedatectl
b6f82000-b6f83000 rw-p 0003c000 00:15 6179        /usr/bin/timedatectl
b86eb000-b870c000 rw-p 00000000 00:00 0           [heap]
be94d000-be96e000 rw-p 00000000 00:00 0           [stack]
beab6000-beab7000 r-xp 00000000 00:00 0           [sigpage]
ffff0000-ffff1000 r-xp 00000000 00:00 0           [vectors]
Aborted (core dumped)

Expected results:

# timedatectl
      Local time: Mon 2015-02-02 16:54:24 MST
  Universal time: Mon 2015-02-02 23:54:24 UTC
        RTC time: Mon 2015-02-02 23:54:24
       Time zone: America/Denver (MST, -0700)
     NTP enabled: no
NTP synchronized: yes
 RTC in local TZ: no
      DST active: no
 Last DST change: DST ended at
                  Sun 2014-11-02 01:59:59 MDT
                  Sun 2014-11-02 01:00:00 MST
 Next DST change: DST begins (the clock jumps one hour forward) at
                  Sun 2015-03-08 01:59:59 MST
                  Sun 2015-03-08 03:00:00 MDT

Additional info:

Comment 2 Chris Murphy 2015-04-03 16:12:50 UTC
I'm hitting this on i686 systemd-216-21.fc21.i686, but abrt is saying it's already reported as bug 1173100.

Comment 3 Fedora End Of Life 2015-11-04 15:52:54 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2015-12-02 08:27:19 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.