[Bug 1714267] [NEW] segfault on bad usage of generator
Scott Moser
smoser at ubuntu.com
Thu Aug 31 14:26:52 UTC 2017
Public bug reported:
netplan's systemd-generator segfaults if called with no arguements.
it should better show usage or something else and exit non-zero.
b
# /lib/systemd/system-generators/netplan
(netplan:842): GLib-CRITICAL **: g_strv_length: assertion 'str_array != NULL' failed
**
ERROR:src/generate.c:86:main: assertion failed: (g_strv_length(files) == 3)
Aborted (core dumped)
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: nplan 0.26
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
Date: Thu Aug 31 14:24:24 2017
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: nplan
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: nplan (Ubuntu)
Importance: Low
Assignee: Mathieu Trudel-Lapierre (cyphermox)
Status: Triaged
** Tags: amd64 apport-bug artful uec-images
** Changed in: nplan (Ubuntu)
Status: New => Confirmed
** Changed in: nplan (Ubuntu)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nplan in Ubuntu.
https://bugs.launchpad.net/bugs/1714267
Title:
segfault on bad usage of generator
Status in nplan package in Ubuntu:
Triaged
Bug description:
netplan's systemd-generator segfaults if called with no arguements.
it should better show usage or something else and exit non-zero.
b
# /lib/systemd/system-generators/netplan
(netplan:842): GLib-CRITICAL **: g_strv_length: assertion 'str_array != NULL' failed
**
ERROR:src/generate.c:86:main: assertion failed: (g_strv_length(files) == 3)
Aborted (core dumped)
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: nplan 0.26
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
Date: Thu Aug 31 14:24:24 2017
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: nplan
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1714267/+subscriptions
More information about the foundations-bugs
mailing list