Bug 636752
| Summary: | it is easy too crash systemd on startup | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomasz Torcz <tomek> | ||||||
| Component: | systemd | Assignee: | Lennart Poettering <lpoetter> | ||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | rawhide | CC: | lpoetter, metherid, mschmidt, notting, plautrba | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2010-10-08 00:43:29 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Tomasz Torcz
2010-09-23 07:25:50 UTC
Created attachment 449139 [details]
f15-systemd-crash.png
Could you get me the backtrace for this? It should suffice reproducing this when having "rw" on the kernel command line. This should then create a core dump in / Create core has 0 length and lacks PID extension. What else can I try? -rw-------. 1 root root 0 09-23 10:09 core Created attachment 449266 [details]
636752-backtrace1.txt
[Thread debugging using libthread_db enabled]
0x00007f3915389ca0 in __pause_nocancel () at ../sysdeps/unix/syscall-template.S:82
82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
#0 0x00007f3915389ca0 in __pause_nocancel () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1 0x0000000000409145 in freeze (sig=<value optimized out>) at src/main.c:75
No locals.
#2 crash (sig=<value optimized out>) at src/main.c:170
__func__ = "crash"
__PRETTY_FUNCTION__ = "crash"
#3 <signal handler called>
No symbol table info available.
#4 __strcmp_sse2 () at ../sysdeps/x86_64/strcmp.S:214
No locals.
#5 0x00000000004594e3 in fstype_is_network (fstype=0x0) at src/util.c:1788
table = {0x48e9ee "cifs", 0x48e9f3 "smbfs", 0x48e9f9 "ncpfs", 0x48e9ff "nfs", 0x48ea03 "nfs4", 0x48ea08 "gfs", 0x48ea0c "gfs2"}
i = <value optimized out>
#6 0x00000000004236f6 in mount_add_target_links (u=0x17eb050) at src/mount.c:252
noauto = false
handle = true
target = <value optimized out>
p = <value optimized out>
tu = <value optimized out>
r = <value optimized out>
automount = false
user = false
#7 mount_load (u=0x17eb050) at src/mount.c:411
what = 0x0
m = 0x17eb050
r = 0
__PRETTY_FUNCTION__ = "mount_load"
#8 0x00000000004601da in unit_load (u=0x17eb050) at src/unit.c:788
r = <value optimized out>
__PRETTY_FUNCTION__ = "unit_load"
__func__ = "unit_load"
#9 0x000000000040f28e in manager_dispatch_load_queue (m=0x1719260) at src/manager.c:1608
meta = <value optimized out>
n = <value optimized out>
__PRETTY_FUNCTION__ = "manager_dispatch_load_queue"
#10 0x000000000041db17 in service_enumerate (m=0x1719260) at src/service.c:2763
p = 0x15d4398
i = <value optimized out>
d = <value optimized out>
path = 0x15d2310 "/etc/rc.d/rc6.d"
fpath = 0x15f1db0 "/etc/rc.d/rc6.d/K88rsyslog"
name = <value optimized out>
runlevel_services = {0x172b0a0, 0x17369f0, 0x17376c0, 0x1737af0, 0x1737f20, 0x1739020, 0x173a590}
shutdown_services = 0x1738350
service = 0x1736150
j = <value optimized out>
r = <value optimized out>
__PRETTY_FUNCTION__ = "service_enumerate"
__func__ = "service_enumerate"
#11 0x000000000040f381 in manager_enumerate (m=0x1719260) at src/manager.c:473
r = <value optimized out>
q = <value optimized out>
c = <value optimized out>
__PRETTY_FUNCTION__ = "manager_enumerate"
#12 0x000000000041170a in manager_startup (m=0x1719260, serialization=0x0, fds=0x0) at src/manager.c:574
r = <value optimized out>
q = <value optimized out>
__PRETTY_FUNCTION__ = "manager_startup"
#13 0x000000000040a0b7 in main (argc=1, argv=0x7fff77d1e4f8) at src/main.c:1021
m = 0x1719260
r = <value optimized out>
retval = 1
fds = 0x0
reexecute = false
__func__ = "main"
__PRETTY_FUNCTION__ = "main"
A debugging session is active.
Inferior 1 [process 1] will be detached.
I think I tracde this down. Man page of systemd.mount says that Type= is optional and systemd allows units without type defined. Bu then it crashes in fstype_is_network(), because fstype is NULL. Fixed upstream. |