Bug 83978 - SIGFPE on systemd 215 on shutdown
Summary: SIGFPE on systemd 215 on shutdown
Status: RESOLVED WORKSFORME
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-17 10:55 UTC by Umut Tezduyar
Modified: 2015-02-04 17:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Umut Tezduyar 2014-09-17 10:55:02 UTC
I was not able to reproduce following on systemd 216 and unfortunately I don't have a nice stack trace (mips) but...

(gdb) core-file core.systemd.0.e8cd5aaf1d384bbe9467f348cbe044dc.2630.1159241238000000 
[New LWP 2630]
Core was generated by `/usr/lib/systemd/systemd'.
Program terminated with signal 8, Arithmetic exception.
#0  0x77ad4724 in raise (sig=8) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:46
46	../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
(gdb) bt
#0  0x77ad4724 in raise (sig=8) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:46
#1  0x00454118 in crash.1663 (sig=8) at /dev/apps/systemd/systemd/src/core/main.c:163
#2  <signal handler called>
#3  0x00a65c88 in ?? ()

Steps to reproduce:

- I am aware that steps taken here don't make sense but still, we shouldn't be able to crash PID 1.

# ln -s /usr/lib/systemd/system/multi-user.target /etc/systemd/system/a-pre.target
# vi /etc/systemd/system/a.target
[Unit]
Description=Starting A
Requires=a-pre.target
Conflicts=rescue.service rescue.target
After=a-pre.target
AllowIsolate=yes

# ln -s ../a-pre.target /etc/systemd/system/multi-user.target.wants
# ln -s ../a.target /etc/systemd/system/multi-user.target.wants
# systemctl daemon-reload
# systemctl -f reboot

Immediately after executing reboot, systemd crashes.
Comment 1 Lennart Poettering 2014-10-24 00:20:00 UTC
Can't really do much about this one, I fear... -ETOOLITTLEINFORMATION...
Comment 2 Zbigniew Jedrzejewski-Szmek 2014-10-24 14:13:51 UTC
Could be anything... I followed your steps but it doesn't do anything interesting on amd64.
Comment 3 Umut Tezduyar 2014-10-26 18:06:43 UTC
The signal is SIGFPE, and in our steps we just map targets to each other. I am wondering if this is some kind of divide by zero problem. Does it ring any bell?
Comment 4 Zbigniew Jedrzejewski-Szmek 2014-10-26 22:59:44 UTC
Stack corruption?
Comment 5 Lennart Poettering 2015-02-04 17:32:09 UTC
Sorry, I don't think we can do anything about this upstream. This smells as if it was arch specific, and with so little information there's no indication at all on that this would apply to anything but MIPS.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.