bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

zeromq3: ssh freeze by running a test program twice (or once and removin


From: Svante Signell
Subject: zeromq3: ssh freeze by running a test program twice (or once and removing the created socket)
Date: Wed, 29 Oct 2014 00:10:09 +0100

Source: zeromq3
Version: 4.0.5+dfsg-2
Severity: Important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd

Attached are patches for adding GNU/Hurd to the list of supported
architectures for zeromq3. I have tried bot the select and poll
versions, same result.

Libraries needed to run the dynamically linked lt-test_regrep_ipc
excutable are: libzmq.so.3.1.0 (not included here 3.2 MiB), libpgm-5.1-0
and libsodium13. Failing test programs are test_abstract_ipc,
test_pair_ipc, test_reqrep_ipc, the first should exit with an assertion,
the other two due to a missing implementation of option SO_ERROR for
getsockopt.

The attached test program makes sshd (all ssh connections) freeze hard,
either by running twice, or once and then removing the created
socket /tmp/tester. Breaking the ssh connection(s) and logging in again,
everything works normally. rpctrace shows that the failure happens at
unlink:
110<--141(pid1186)->dir_lookup ("tmp" 0 0) = 0 1 ""
<freeze here>
183<--185(pid1186)->dir_unlink ("tester") = 0

More rpctrace data is at: http://paste.debian.net/129009/ (as long as
it stays there, 24 hours?)

Building the package (and running the testsuite) hangs even if the
patch adds XFAIL for the three failing tests. Logging in via ssh and
building creates the freeze above, and building in the Hurd console of
qemu results in a translator dying: Resource lost.

Debugging with gdb is fine until the function __dir_unlink
RPC_dir_unlink.c is called, which hangs. Doing the same on another
(ordinary file) in /tmp follows the same path (and __dir_unlink
succeeds). The problems are probably created before the RPC call??

Any further ideas or pointers are welcome. Thanks!
  

Attachment: hurd_support.patch
Description: Text Data

Attachment: lt-test_reqrep_ipc
Description: application/executable


reply via email to

[Prev in Thread] Current Thread [Next in Thread]