Opened 3 weeks ago

Last modified 3 weeks ago

#891 new defect

Reading /loc/bd/initrd causes rd to crash

Reported by: Jiri Svoboda Owned by:
Priority: minor Milestone: 0.15.1
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description (last modified by Jiri Svoboda)

An attempt to read /loc/bd/initrd as a file causes rd server to stop with an assertion failure:

# cp /loc/bd/initrd /tmp/x
[init:rd(5)] Assertion failed (futex->whandle != CAP_NIL) in task 5,
file "../uspace/lib/c/generic/thread/../private/./futex.h", line 124.
[init:rd(5)] 0x0000000000437ea0: 0x000000000040fca5() stacktrace_kio_print
[init:rd(5)] 0x0000000000437ed0: 0x000000000040c418() __helenos_assert_abort
[init:rd(5)] 0x0000000000437f00: 0x0000000000406083() __futex_lock
[init:rd(5)] 0x0000000000437f10: 0x00000000004057ce() fibril_rmutex_lock
[init:rd(5)] 0x0000000000437f40: 0x00000000004062a9() mpsc_send
[init:rd(5)] 0x0000000000437fe0: 0x000000000040136d() async_manager_fibril
[init:rd(5)] 0x0000000000437ff0: 0x0000000000405122() _fibril_main
[init:rd(5)] -- end of stack trace --
[/srv/taskmon(47)] taskmon: Task 5 fault in thread 0xffffffff81e3a9c0.

Change History (1)

comment:1 by Jiri Svoboda, 3 weeks ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.