systemctl assert failure: *** Error in `systemctl': double free or corruption (fasttop): 0x00007fa04bf00910 ***
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd |
Won't Fix
|
Medium
|
|||
systemd (Debian) |
Fix Released
|
Unknown
|
|||
systemd (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
Vivid |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
root@file-
Synchronizing state for vmware-
Executing /usr/sbin/
insserv: Service localfs has to be enabled to start service vmware-
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
*** Error in `systemctl': double free or corruption (fasttop): 0x00007f4ad5bff910 ***
Aborted (core dumped)
SRU TEST CASE
=============
- Create a file /etc/init.d/broken with
#!/bin/sh
### BEGIN INIT INFO
# Provides: unknownservice
# Required-Start: localfs
# Required-Stop: localfs
# Default-Start: 2 3 4
# Default-Stop: 0 6
# Short-Description: unknown service
### END INIT INFO
true
- Make it executable: sudo chmod 755 /etc/init.d/broken
- Run "sudo systemctl enable broken.service". This will show the double-free corruption. Notice that the "insserv: Service localfs has to be enabled to start service unknownservice" is an honest error message which must stay, as the init.d script is broken (it meant to say "$local_fs" presumably).
ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: systemd 219-4ubuntu1
Uname: Linux 4.0.0-040000rc1
NonfreeKernelMo
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
AssertionMessage: *** Error in `systemctl': double free or corruption (fasttop): 0x00007fa04bf00910 ***
Date: Fri Feb 27 18:12:48 2015
ExecutablePath: /bin/systemctl
InstallationDate: Installed on 2014-08-22 (189 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140730)
MachineType: LENOVO 20349
ProcCmdline: systemctl disable vmware-
ProcKernelCmdLine: BOOT_IMAGE=
Signal: 6
SourcePackage: systemd
StacktraceTop:
__libc_message (do_abort=
malloc_printerr (ptr=<optimized out>, str=0x7fa049a24968 "double free or corruption (fasttop)", action=1) at malloc.c:4996
_int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
?? ()
?? ()
Title: systemctl assert failure: *** Error in `systemctl': double free or corruption (fasttop): 0x00007fa04bf00910 ***
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sbuild
dmi.bios.date: 08/18/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: 9ECN31WW(V1.14)
dmi.board.
dmi.board.name: Lenovo Y50-70 Touch
dmi.board.vendor: LENOVO
dmi.board.version: 31900058Std
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20349
dmi.product.
dmi.sys.vendor: LENOVO
information type: | Private → Public |
Changed in systemd: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in systemd: | |
status: | Confirmed → Won't Fix |
description: | updated |
Changed in systemd (Debian): | |
status: | Unknown → Incomplete |
Changed in systemd (Debian): | |
status: | Incomplete → Confirmed |
Changed in systemd (Debian): | |
status: | Confirmed → Fix Released |
StacktraceTop: do_abort@ entry=1, fmt=fmt@ entry=0x7fa049a 247a0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/ posix/libc_ fatal.c: 175 shared/ util.h: 673 sysv_units. lto_priv. 393 (verb=0x6a19 <error: Cannot access memory at address 0x6a19>, args=0x7fa04bf0 0980) at ../src/ systemctl/ systemctl. c:5141
__libc_message (do_abort=
malloc_printerr (ptr=<optimized out>, str=0x7fa049a24968 "double free or corruption (fasttop)", action=1) at malloc.c:4996
_int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
freep () at ../src/
enable_