Assertion 'b' failed at ../src/basic/path-util.c:390, function path_compare()

Bug #1560695 reported by Flávio Oliveira
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Before the error occurs, the only thing that was plugged into the computer moments before was a flash drive in the USB port (3.0). After that a few moments after the error occurred.

ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: systemd 229-2ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
Uname: Linux 4.4.0-15-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
Date: Tue Mar 22 18:34:35 2016
ExecutablePath: /lib/systemd/systemd
InstallationDate: Installed on 2016-03-19 (3 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160307)
MachineType: Dell Inc. Vostro 5470
ProcCmdline: /sbin/init splash
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic.efi.signed root=UUID=c1651082-fabc-4b0c-b328-6c708e33f208 ro quiet splash vt.handoff=7
Signal: 6
SourcePackage: systemd
StacktraceTop:
 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
 __GI_abort () at abort.c:89
 ?? ()
 ?? ()
 ?? ()
SystemdDelta:
 [EXTENDED] /lib/systemd/system/rc-local.service → /lib/systemd/system/rc-local.service.d/debian.conf
 [EXTENDED] /lib/systemd/system/systemd-timesyncd.service → /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
 [EXTENDED] /etc/systemd/system/display-manager.service → /lib/systemd/system/display-manager.service.d/xdiagnose.conf

 3 overridden configuration files found.
SystemdFailedUnits: Error: command ['systemctl', 'status', '--full', 'Error:'] failed with exit code 1: Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out
Title: systemd crashed with SIGABRT in __GI_raise()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 01/21/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A11
dmi.board.name: 0F7NWH
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA11:bd01/21/2015:svnDellInc.:pnVostro5470:pvr:rvnDellInc.:rn0F7NWH:rvrA00:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: Vostro 5470
dmi.sys.vendor: Dell Inc.

Revision history for this message
Flávio Oliveira (oliveiradeflavio) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 raise () from /tmp/apport_sandbox_V7zRCn/lib/x86_64-linux-gnu/libc.so.6
 abort () from /tmp/apport_sandbox_V7zRCn/lib/x86_64-linux-gnu/libc.so.6
 log_assert_failed ()
 path_compare ()
 path_equal ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in systemd (Ubuntu):
importance: Undecided → Medium
summary: - systemd crashed with SIGABRT in __GI_raise()
+ systemd crashed with SIGABRT in raise()
tags: removed: need-amd64-retrace
Revision history for this message
Martin Pitt (pitti) wrote :

This seems to happen when trying to read a broken device:

Mar 22 18:34:35 hostname systemd[1]: Assertion 'b' failed at ../src/basic/path-util.c:390, function path_compare(). Aborting.
Mar 22 18:34:35 hostname kernel: Buffer I/O error on dev sdb1, logical block 479653, async page read

summary: - systemd crashed with SIGABRT in raise()
+ Assertion 'b' failed at ../src/basic/path-util.c:390, function
+ path_compare()
Revision history for this message
Martin Pitt (pitti) wrote :

Turns out this was already fixed upstream a few days ago: https://github.com/systemd/systemd/pull/2834 . I cherry-picked the fix.

Changed in systemd (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 229-3ubuntu2

---------------
systemd (229-3ubuntu2) xenial; urgency=medium

  * udev.postinst: Quiesce error message if /sys/class/net/eno* does not
    exist. (LP: #1560112)
  * Fix assertion crash when processing a (broken) device without a sysfs
    path. (Closes: #819290, LP: #1560695)
  * Fix crash when shutdown is issued from a non-tty. (LP: #1553040)
  * networkd: Stay running while any non-loopback interface is up.
    (Closes: #819414)
  * udev: Don't kill peer processes if we don't run in a cgroup. This happens
    when running under/upgrading from upstart. udevd and everything
    else run in the root hierarchy on all controllers then, and the alleged
    cleanup of "our" cgroup becomes a system-wide killing spree.
    (LP: #1555237)

 -- Martin Pitt <email address hidden> Thu, 31 Mar 2016 23:11:19 +0200

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.