[systemd-devel] loginctl kill-session -- segfaults
Mantas M.
grawity at gmail.com
Sat Apr 21 08:00:37 PDT 2012
Using systemd-git (tested up to 771faa9), attempting to kill a session using `loginctl kill-session <id>` results in a crash. (Same for `loginctl kill-user`, if I remember correctly.)
Backtrace for `loginctl kill-session 2`:
| Program terminated with signal 11, Segmentation fault.
| #0 0x00007f7c4f587d1a in _dbus_marshal_write_basic (str=0x7140c0,
| insert_at=16, type=type at entry=105, value=value at entry=0x7fff0000000f,
| byte_order=108, pos_after=pos_after at entry=0x7ffff868e2f0)
| at dbus-marshal-basic.c:882
| 882 return marshal_4_octets (str, insert_at, vp->u32,
| #0 0x00007f7c4f587d1a in _dbus_marshal_write_basic (str=0x7140c0,
| insert_at=16, type=type at entry=105, value=value at entry=0x7fff0000000f,
| byte_order=108, pos_after=pos_after at entry=0x7ffff868e2f0)
| at dbus-marshal-basic.c:882
| #1 0x00007f7c4f5752f4 in _dbus_type_writer_write_basic_no_typecode (
| writer=writer at entry=0x7ffff868e2d0, type=type at entry=105,
| value=value at entry=0x7fff0000000f) at dbus-marshal-recursive.c:1589
| #2 0x00007f7c4f57613c in _dbus_type_writer_write_basic (
| writer=writer at entry=0x7ffff868e2d0, type=type at entry=105,
| value=value at entry=0x7fff0000000f) at dbus-marshal-recursive.c:2311
| #3 0x00007f7c4f57a0fd in dbus_message_iter_append_basic (
| iter=iter at entry=0x7ffff868e2c0, type=type at entry=105, value=0x7fff0000000f)
| at dbus-message.c:2604
| #4 0x00007f7c4f57a997 in dbus_message_append_args_valist (
| message=<optimized out>, first_arg_type=<optimized out>,
| var_args=var_args at entry=0x7ffff868e398) at dbus-message.c:1702
| #5 0x00007f7c4f57ac9a in dbus_message_append_args (
| message=message at entry=0x714070, first_arg_type=first_arg_type at entry=115)
| at dbus-message.c:1660
| #6 0x0000000000404400 in kill_session (bus=0x713b50, args=<optimized out>,
| n=<optimized out>) at src/login/loginctl.c:1260
| #7 0x0000000000407a7f in loginctl_main (error=0x7ffff868e4f0,
| argv=0x7ffff868e628, argc=<optimized out>, bus=0x713b50)
| at src/login/loginctl.c:1903
| #8 main (argc=<optimized out>, argv=0x7ffff868e628)
| at src/login/loginctl.c:1933
--
Mantas Mikulėnas <grawity at gmail.com>
More information about the systemd-devel
mailing list