Bug#787473: systemd: Segfault while adding a new job
Tino
zottsoft at gmx.net
Mon Jun 1 22:13:22 BST 2015
Package: systemd
Version: 215-17
Severity: critical
Justification: breaks the whole system
Dear Maintainer,
systemd doesn't survive two days on my bare minimal headless NAS
installation. I already purged all unused packages, reinstalled systemd
and reverted all config files to factory default, reconfiguring
everything i need. I upgraded from wheezy some time ago.
This time it segfaulted while adding a job that should restart journald.
Unfortunately, this message did not make it to the logfiles. I only saw
systemd mentioning a job that should restart the journal in dmesg right
before the sefgault. This job never finished.
Here is a callstack of the coredump. I'll post more logs and dumps at
the next crashes. Shouldn't take too long..
#0 0xb6e3b198 in raise (sig=11) at
../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
_sys_result = 0
pid = 4345
#1 0xb6e9a8f0 in crash.lto_priv.245 (sig=11) at ../src/core/main.c:158
rl = {rlim_cur = 18446744073709551615, rlim_max =
18446744073709551615}
sa = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction =
0x0}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
sa_restorer = 0x0}
pid = 0
__func__ = "crash"
__PRETTY_FUNCTION__ = "crash"
#2 <signal handler called>
No locals.
#3 hashmap_iterate (h=0xb6b76cb4, i=i at entry=0xbe91027c,
key=key at entry=0x0) at ../src/shared/hashmap.c:704
e = 0xba83a02d
__PRETTY_FUNCTION__ = "hashmap_iterate"
#4 0xb6ef94b4 in set_iterate (s=<optimized out>, i=i at entry=0xbe91027c)
at ../src/shared/set.c:91
No locals.
#5 0xb6f3ac6c in transaction_add_job_and_dependencies
(tr=tr at entry=0xb7914c18, type=type at entry=JOB_START, unit=<optimized
out>, by=by at entry=0xb79429d0, matters=matters at entry=true,
override=override at entry=false, conflicts=conflicts at entry=false,
ignore_requirements=ignore_requirements at entry=false,
ignore_order=ignore_order at entry=false, e=e at entry=0xbe910458)
at ../src/core/transaction.c:982
following = 0x0
i = 0x0
dep = 0x0
r = <optimized out>
is_new = <optimized out>
__PRETTY_FUNCTION__ = "transaction_add_job_and_dependencies"
__func__ = "transaction_add_job_and_dependencies"
#6 0xb6f3a8e0 in transaction_add_job_and_dependencies
(tr=tr at entry=0xb7914c18, type=type at entry=JOB_START, unit=<optimized
out>, by=by at entry=0xb79424b0, matters=matters at entry=true,
override=override at entry=false, conflicts=conflicts at entry=false,
ignore_requirements=ignore_requirements at entry=false,
ignore_order=ignore_order at entry=false, e=e at entry=0xbe910458)
at ../src/core/transaction.c:949
following = 0x0
i = 0xffffffff
dep = <optimized out>
r = <optimized out>
is_new = <optimized out>
__PRETTY_FUNCTION__ = "transaction_add_job_and_dependencies"
__func__ = "transaction_add_job_and_dependencies"
#7 0xb6f3a8e0 in transaction_add_job_and_dependencies
(tr=tr at entry=0xb7914c18, type=JOB_START, unit=unit at entry=0x0,
by=by at entry=0x0, matters=matters at entry=true,
override=override at entry=false, conflicts=conflicts at entry=false,
ignore_requirements=ignore_requirements at entry=false,
ignore_order=ignore_order at entry=false, e=e at entry=0xbe910458)
at ../src/core/transaction.c:949
following = 0x0
i = 0xffffffff
dep = <optimized out>
r = <optimized out>
is_new = <optimized out>
__PRETTY_FUNCTION__ = "transaction_add_job_and_dependencies"
__func__ = "transaction_add_job_and_dependencies"
#8 0xb6f51d2c in manager_add_job (m=0xb7893c08, type=-1215690256,
type at entry=JOB_RESTART, unit=0x0, unit at entry=0xb78a2328,
mode=mode at entry=JOB_FAIL, override=override at entry=false,
e=e at entry=0xbe910458, _ret=_ret at entry=0x0) at ../src/core/manager.c:1209
r = <optimized out>
j = <optimized out>
i = 0xffffffff
__PRETTY_FUNCTION__ = "manager_add_job"
__func__ = "manager_add_job"
#9 0xb6f1f348 in service_enter_restart (s=0xb78a2328) at
../src/core/service.c:1448
error = {name = 0x0, message = 0x0, _need_free = 0}
r = <optimized out>
#10 service_dispatch_timer.lto_priv.908 (source=<optimized out>,
usec=<optimized out>, userdata=0xb78a2328) at ../src/core/service.c:2541
__PRETTY_FUNCTION__ = "service_dispatch_timer"
__func__ = "service_dispatch_timer"
#11 0xb6ea8d38 in source_dispatch (s=0xb793d810) at
../src/libsystemd/sd-event/sd-event.c:2024
r = <optimized out>
__PRETTY_FUNCTION__ = "source_dispatch"
__func__ = "source_dispatch"
#12 0xb6eae400 in sd_event_run (e=0xb7893f50, timeout=<optimized out>)
at ../src/libsystemd/sd-event/sd-event.c:2314
ev_queue = <optimized out>
ev_queue_max = <optimized out>
p = <optimized out>
r = <optimized out>
i = <optimized out>
m = <optimized out>
timedout = <optimized out>
__PRETTY_FUNCTION__ = "sd_event_run"
#13 0xb6e97394 in manager_loop (m=0xb7893c08) at ../src/core/manager.c:2009
wait_usec = <optimized out>
r = <optimized out>
rl = {interval = 1000000, begin = 108896292438, burst = 50000,
num = 6}
#14 main (argc=1, argv=0xbe910e84) at ../src/core/main.c:1743
m = 0xb7893c08
r = <optimized out>
retval = 1
before_startup = <optimized out>
after_startup = <optimized out>
timespan =
"699.043ms\000\000\000N\b\221\276\b\000\000\000\234\022\346\266X9\350\266\f\000\000\000\000\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\221\276\250\b\221\276"
fds = 0x0
reexecute = false
shutdown_verb = 0x0
initrd_timestamp = <optimized out>
userspace_timestamp = {realtime = 1433070731730071, monotonic =
20780579}
kernel_timestamp = {realtime = <optimized out>, monotonic = 0}
security_start_timestamp = {realtime = 1433070731730480,
monotonic = 20780990}
security_finish_timestamp = {realtime = 1433070731739932,
monotonic = 20790442}
systemd = "systemd"
skip_setup = <optimized out>
j = <optimized out>
loaded_policy = <optimized out>
arm_reboot_watchdog = false
queue_default_job = <optimized out>
empty_etc = <optimized out>
switch_root_dir = 0x0
switch_root_init = 0x0
saved_rlimit_nofile = {rlim_cur = 1024, rlim_max = 4096}
__func__ = "main"
__PRETTY_FUNCTION__ = "main"
-- Package-specific info:
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armel (armv5tel)
Kernel: Linux 3.16.0-4-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages systemd depends on:
ii acl 2.2.52-2
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-59
ii libacl1 2.2.52-2
ii libaudit1 1:2.4-1+b1
ii libblkid1 2.25.2-6
ii libc6 2.19-18
ii libcap2 1:2.24-8
ii libcap2-bin 1:2.24-8
ii libcryptsetup4 2:1.6.6-5
ii libgcrypt20 1.6.3-2
ii libkmod2 18-3
ii liblzma5 5.1.1alpha+20120614-2+b3
ii libpam0g 1.1.8-3.1
ii libselinux1 2.3-2
ii libsystemd0 215-17
ii mount 2.25.2-6
ii sysv-rc 2.88dsf-59
ii udev 215-17
ii util-linux 2.25.2-6
Versions of packages systemd recommends:
ii dbus 1.8.16-1
pn libpam-systemd <none>
Versions of packages systemd suggests:
pn systemd-ui <none>
-- Configuration Files:
/etc/systemd/system.conf changed [not included]
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list