Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Envoy breaks on systemd-209 #23

Closed
vodik opened this Issue Feb 24, 2014 · 6 comments

Comments

Projects
None yet
2 participants
Owner

vodik commented Feb 24, 2014

The dbus stuff starts failing, which isn't the end of the world. The problem is that its taking a long time to timeout.

eskimor commented Mar 9, 2014

It is a little bit worse on my arch linux installation:

Mar 09 09:32:12 localhost systemd-coredump[354]: Process 353 (envoyd) dumped core.
Mar 09 09:32:12 localhost systemd-coredump[355]: Process 352 (envoyd) dumped core.
Mar 09 09:32:15 localhost envoyd[352]: Agent for uid=1000 is has terminated. Restarting...
Mar 09 09:32:15 localhost envoyd[352]: Starting ssh-agent for uid=1000 gid=1000.
Mar 09 09:32:15 localhost envoyd[352]: process 353: arguments to dbus_message_iter_open_container() were incorrect, assertion "(type == DBUS_TYPE_ARRAY &
Mar 09 09:32:15 localhost envoyd[352]: This is normally a bug in some application using the D-Bus library.
Mar 09 09:32:15 localhost envoyd[352]: D-Bus not built with -rdynamic so unable to print a backtrace
Mar 09 09:32:15 localhost envoyd[352]: ssh-agent terminated with signal 6.
Mar 09 09:32:15 localhost envoyd[352]: *** Error in `/usr/bin/envoyd': free(): invalid pointer: 0xb7703a54 ***
Mar 09 09:32:15 localhost envoyd[352]: ======= Backtrace: =========
Mar 09 09:32:15 localhost envoyd[352]: /usr/lib/libc.so.6(+0x6d833)[0xb753b833]
Mar 09 09:32:15 localhost envoyd[352]: /usr/lib/libc.so.6(+0x7391a)[0xb754191a]
Mar 09 09:32:15 localhost envoyd[352]: /usr/lib/libc.so.6(+0x7457d)[0xb754257d]
Mar 09 09:32:15 localhost envoyd[352]: /usr/bin/envoyd[0x8049f8a]
Mar 09 09:32:15 localhost envoyd[352]: /usr/lib/libc.so.6(__libc_start_main+0xf3)[0xb74e7993]
Mar 09 09:32:15 localhost envoyd[352]: /usr/bin/envoyd[0x804a28d]
Mar 09 09:32:15 localhost envoyd[352]: ======= Memory map: ========
Mar 09 09:32:15 localhost envoyd[352]: 08048000-0804e000 r-xp 00000000 00:10 138427 /usr/bin/envoyd
Mar 09 09:32:15 localhost envoyd[352]: 0804e000-0804f000 r--p 00005000 00:10 138427 /usr/bin/envoyd
Mar 09 09:32:15 localhost envoyd[352]: 0804f000-08050000 rw-p 00006000 00:10 138427 /usr/bin/envoyd
Mar 09 09:32:15 localhost envoyd[352]: 082e5000-08306000 rw-p 00000000 00:00 0 [heap]
Mar 09 09:32:15 localhost envoyd[352]: b7472000-b748d000 r-xp 00000000 00:10 7583 /usr/lib/libgcc_s.so.1
Mar 09 09:32:15 localhost envoyd[352]: b748d000-b748e000 rw-p 0001a000 00:10 7583 /usr/lib/libgcc_s.so.1
Mar 09 09:32:15 localhost envoyd[352]: b74a2000-b74a3000 rw-p 00000000 00:00 0
Mar 09 09:32:15 localhost envoyd[352]: b74a3000-b74bb000 r-xp 00000000 00:10 136945 /usr/lib/libpthread-2.19.so
Mar 09 09:32:15 localhost envoyd[352]: b74bb000-b74bc000 r--p 00017000 00:10 136945 /usr/lib/libpthread-2.19.so
Mar 09 09:32:15 localhost envoyd[352]: b74bc000-b74bd000 rw-p 00018000 00:10 136945 /usr/lib/libpthread-2.19.so
Mar 09 09:32:15 localhost envoyd[352]: b74bd000-b74c0000 rw-p 00000000 00:00 0
Mar 09 09:32:15 localhost envoyd[352]: b74c0000-b74c3000 r-xp 00000000 00:10 136898 /usr/lib/libdl-2.19.so
Mar 09 09:32:15 localhost envoyd[352]: b74c3000-b74c4000 r--p 00002000 00:10 136898 /usr/lib/libdl-2.19.so
Mar 09 09:32:15 localhost envoyd[352]: b74c4000-b74c5000 rw-p 00003000 00:10 136898 /usr/lib/libdl-2.19.so
Mar 09 09:32:15 localhost envoyd[352]: b74c5000-b74cc000 r-xp 00000000 00:10 136926 /usr/lib/librt-2.19.so
Mar 09 09:32:15 localhost envoyd[352]: b74cc000-b74cd000 r--p 00006000 00:10 136926 /usr/lib/librt-2.19.so
Mar 09 09:32:15 localhost envoyd[352]: b74cd000-b74ce000 rw-p 00007000 00:10 136926 /usr/lib/librt-2.19.so
Mar 09 09:32:15 localhost envoyd[352]: b74ce000-b7675000 r-xp 00000000 00:10 136932 /usr/lib/libc-2.19.so
Mar 09 09:32:15 localhost envoyd[352]: b7675000-b7677000 r--p 001a7000 00:10 136932 /usr/lib/libc-2.19.so
Mar 09 09:32:15 localhost envoyd[352]: b7677000-b7678000 rw-p 001a9000 00:10 136932 /usr/lib/libc-2.19.so

Owner

vodik commented Mar 9, 2014

Yeah, I need to rewrite the systemd dbus layer. I was hoping sd-bus would
have landed with 209.

Its my current next thing on my to do list.

eskimor commented Mar 9, 2014

great! Looking forward to it. Apart from not working for me and stuff, I really love it ;-)

vodik added a commit that referenced this issue Mar 10, 2014

stub out systemd integration for now
I'll fix it later when I have more time. In the interest in having code
working in the meanwhile, just force envoy to rely on the fallback
method and ignore systemd.

Stopgap for issue #23 until I work this out properly
Owner

vodik commented Mar 10, 2014

Should be working now, I just stripped the systemd stuff out superficially. I'm short on time with some exams coming up, but this work around buys me some time.

@vodik vodik referenced this issue Mar 10, 2014

Closed

build fixes #24

Owner

vodik commented Mar 20, 2014

Just need to figure out this error:

envoyd: failed to register unit: Rejected send message, 2 matched rules; type="method_call", sender=":1.101" (uid=1000 pid=27283 comm="./envoyd -t gpg-agent ") interface="org.freedesktop.systemd1.Manager" member="StartTransientUnit" error name= "(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/usr/lib/systemd/systemd ")

and I can merge it. Works properly on the system bus but not the session bus.

@vodik vodik closed this in 61d1c42 Mar 20, 2014

Owner

vodik commented Mar 20, 2014

Please test 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment