[FreeBSD] DMABUF always fails with EBADF
weston-simple-dmabuf-drm
and weston-simple-dmabuf-egl
work fine but when waypipe wraps EGL into DMABUF it fails.
$ cage waypipe --socket /tmp/waypipe.sock client &
[1] 14180
$ env -u DISPLAY -u WAYLAND_DISPLAY waypipe -d --socket /tmp/waypipe.sock server weston-simple-egl
s14593:74.191477 [server.c: 46] I'm a server on /tmp/waypipe.sock, running: weston-simple-egl
s14593:74.192169 [server.c:115] Server main!
s14595:74.197293 [shadow.c:1753] Opening worker thread 2
s14595:74.197284 [shadow.c:1753] Opening worker thread 1
s14595:74.197318 [shadow.c:1753] Opening worker thread 3
s14595:74.197389 [parsing.c:268] Set up 39 ffi functions, with 194 types total
s14595:74.197426 [mainloop.c:772] Read 0 new file descriptors, have 0 total now
s14595:74.197439 [mainloop.c:812] We are transferring a data buffer with 24 bytes
s14595:74.197447 [mainloop.c:835] Packed message size (0 fds, 1 blobs, 3 blocks): 48
s14595:74.197510 [mainloop.c:720] The 48-byte, 3 block message from application to channel has been written
s14595:74.206298 [mainloop.c:469] Read 544 byte msg, unpacking
s14595:74.206377 [mainloop.c:482] Read 544 byte msg, 0 fds, 0 transfers. Data buffer has 528 bytes
s14595:74.214497 [mainloop.c:634] Wrote, have done 528/528 bytes in chunk 528, 0/0 fds
s14595:74.214587 [mainloop.c:644] Write to the application succeeded
s14595:74.214628 [mainloop.c:772] Read 1 new file descriptors, have 1 total now
s14595:74.214684 [shadow.c:527] Creating new shadow buffer for local fd 6
s14595:74.214765 [mainloop.c:812] We are transferring a data buffer with 204 bytes
s14595:74.214817 [mainloop.c:835] Packed message size (1 fds, 2 blobs, 5 blocks): 18888
s14595:74.215019 [mainloop.c:720] The 18888-byte, 5 block message from application to channel has been written
s14595:74.215357 [mainloop.c:469] Read 608 byte msg, unpacking
s14595:74.215581 [mainloop.c:482] Read 608 byte msg, 0 fds, 0 transfers. Data buffer has 588 bytes
s14595:74.215817 [mainloop.c:634] Wrote, have done 588/588 bytes in chunk 588, 0/0 fds
s14595:74.216021 [mainloop.c:644] Write to the application succeeded
s14595:74.216138 [mainloop.c:772] Read 0 new file descriptors, have 0 total now
s14595:74.216224 [mainloop.c:812] We are transferring a data buffer with 88 bytes
s14595:74.216298 [mainloop.c:835] Packed message size (0 fds, 1 blobs, 3 blocks): 112
s14595:74.216422 [mainloop.c:720] The 112-byte, 3 block message from application to channel has been written
s14595:74.216673 [mainloop.c:469] Read 2080 byte msg, unpacking
s14595:74.216812 [mainloop.c:482] Read 2080 byte msg, 0 fds, 0 transfers. Data buffer has 2060 bytes
s14595:74.217551 [mainloop.c:634] Wrote, have done 2060/2060 bytes in chunk 2060, 0/0 fds
s14595:74.217785 [mainloop.c:644] Write to the application succeeded
s14595:74.217902 [mainloop.c:772] Read 0 new file descriptors, have 0 total now
s14595:74.217986 [mainloop.c:812] We are transferring a data buffer with 12 bytes
s14595:74.218078 [mainloop.c:835] Packed message size (0 fds, 1 blobs, 3 blocks): 40
s14595:74.218199 [mainloop.c:720] The 40-byte, 3 block message from application to channel has been written
s14595:74.218299 [mainloop.c:469] Read 40 byte msg, unpacking
s14595:74.218347 [mainloop.c:482] Read 40 byte msg, 0 fds, 0 transfers. Data buffer has 24 bytes
s14595:74.219995 [mainloop.c:634] Wrote, have done 24/24 bytes in chunk 24, 0/0 fds
s14595:74.220248 [mainloop.c:644] Write to the application succeeded
has EGL_EXT_buffer_age and EGL_EXT_swap_buffers_with_damage
s14595:74.240418 [mainloop.c:772] Read 0 new file descriptors, have 0 total now
s14595:74.240432 [mainloop.c:812] We are transferring a data buffer with 108 bytes
s14595:74.240435 [mainloop.c:835] Packed message size (0 fds, 1 blobs, 3 blocks): 136
s14595:74.240442 [mainloop.c:720] The 136-byte, 3 block message from application to channel has been written
s14595:74.241277 [mainloop.c:469] Read 45088 byte msg, unpacking
s14595:74.241520 [mainloop.c:482] Read 45088 byte msg, 1 fds, 1 transfers. Data buffer has 48 bytes
s14595:74.241674 [shadow.c:1210] Introducing new fd, remoteid=-1
s14595:74.241964 [mainloop.c:132] Writing 1 fds to cmsg data
s14595:74.242223 [mainloop.c:634] Wrote, have done 48/48 bytes in chunk 48, 1/1 fds
s14595:74.242389 [mainloop.c:644] Write to the application succeeded
s14595:74.245274 [mainloop.c:772] Read 2 new file descriptors, have 2 total now
s14595:74.245349 [parsing.c:606] Dropping zwp_linux_buffer_params_v1.add, with 1 fds
s14595:74.245355 [parsing.c:606] Dropping zwp_linux_buffer_params_v1.add, with 1 fds
s14595:74.245417 [handlers.c:1241] Reintroducing add requests for zwp_linux_buffer_params_v1, going from 28 to 84 bytes
S14595:74.245479 [dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
S14595:74.245485 [shadow.c:352] The fd 8 has an unusual mode 0 (type=0): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
S14595:74.245489 [handlers.c:1331] fd #0 for linux-dmabuf request wasn't a dmabuf, instead FDC_UNKNOWN
S14595:74.245494 [dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
S14595:74.245496 [shadow.c:352] The fd 8 has an unusual mode 0 (type=0): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
S14595:74.245499 [handlers.c:1331] fd #1 for linux-dmabuf request wasn't a dmabuf, instead FDC_UNKNOWN
S14595:74.245501 [handlers.c:1142] dmabuf backed wl_buffer plane 0 was missing
S14595:74.245503 [handlers.c:1142] dmabuf backed wl_buffer plane 1 was missing
S14595:74.245512 [handlers.c:649] dmabuf surface buffer is missing plane 0
S14595:74.245515 [handlers.c:649] dmabuf surface buffer is missing plane 1
S14595:74.245519 [dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
S14595:74.245521 [shadow.c:352] The fd 8 has an unusual mode 0 (type=0): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
s14595:74.245524 [shadow.c:527] Creating new shadow buffer for local fd 8
S14595:74.245527 [dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
S14595:74.245530 [shadow.c:352] The fd 8 has an unusual mode 0 (type=0): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
s14595:74.245532 [mainloop.c:812] We are transferring a data buffer with 192 bytes
S14595:74.245538 [shadow.c:1544] Negative refcount for rid=2: 0 protocol references, -1 transfer references
s14595:74.245540 [mainloop.c:835] Packed message size (2 fds, 1 blobs, 3 blocks): 248
s14595:74.245585 [mainloop.c:720] The 248-byte, 3 block message from application to channel has been written
C14596:74.245660 [mainloop.c:164] Could not untranslate remote id 2 in map. Application will probably crash.
C14596:74.245950 [mainloop.c:164] Could not untranslate remote id 2 in map. Application will probably crash.
C14596:74.246034 [shadow.c:310] The fd -1 is not file-like: Bad file descriptor
C14596:74.246042 [handlers.c:1331] fd #0 for linux-dmabuf request wasn't a dmabuf, instead FDC_UNKNOWN
C14596:74.246047 [shadow.c:310] The fd -1 is not file-like: Bad file descriptor
C14596:74.246049 [handlers.c:1331] fd #1 for linux-dmabuf request wasn't a dmabuf, instead FDC_UNKNOWN
C14596:74.246052 [handlers.c:1142] dmabuf backed wl_buffer plane 0 was missing
C14596:74.246053 [handlers.c:1142] dmabuf backed wl_buffer plane 1 was missing
C14596:74.246081 [mainloop.c:126] Writing invalid fd -1
C14596:74.246085 [mainloop.c:126] Writing invalid fd -1
C14596:74.246099 [mainloop.c:624] compositor write failure -1: Bad file descriptor
s14595:74.246798 [mainloop.c:772] Read 0 new file descriptors, have 0 total now
s14595:74.246814 [mainloop.c:812] We are transferring a data buffer with 12 bytes
s14595:74.246821 [mainloop.c:835] Packed message size (0 fds, 1 blobs, 3 blocks): 40
s14595:74.246827 [mainloop.c:720] The 40-byte, 3 block message from application to channel has been written
s14595:74.248604 [mainloop.c:558] Channel connection closed
s14595:74.248739 [shadow.c:1794] Closing worker thread 3
s14595:74.248742 [shadow.c:1794] Closing worker thread 1
s14595:74.248739 [shadow.c:1794] Closing worker thread 2
Error sending request: Socket is not connected
s14593:74.257395 [util.c:161] Child process 14594 has died
s14593:74.257485 [server.c:146] Child program has died, exiting
s14593:74.257547 [server.c:212] Waiting for child handlers and program
s14593:74.258300 [util.c:161] Child process 14595 has died
s14593:74.258513 [server.c:219] Program ended
$ fd_mirror
FILE comp=0 src_thread=1 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=1 dst_thread=1, FAIL
FILE comp=0 src_thread=1 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d7e0 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=1 dst_thread=2, FAIL
FILE comp=0 src_thread=1 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d7e0 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=1 dst_thread=3, FAIL
FILE comp=0 src_thread=2 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=2 dst_thread=1, FAIL
FILE comp=0 src_thread=2 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=2 dst_thread=2, FAIL
FILE comp=0 src_thread=2 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=2 dst_thread=3, FAIL
FILE comp=0 src_thread=3 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=3 dst_thread=1, FAIL
FILE comp=0 src_thread=3 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=3 dst_thread=2, FAIL
FILE comp=0 src_thread=3 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=3 dst_thread=3, FAIL
FILE comp=0 src_thread=4 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=4 dst_thread=1, FAIL
FILE comp=0 src_thread=4 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=4 dst_thread=2, FAIL
FILE comp=0 src_thread=4 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=4 dst_thread=3, FAIL
FILE comp=0 src_thread=5 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=5 dst_thread=1, FAIL
FILE comp=0 src_thread=5 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=5 dst_thread=2, FAIL
FILE comp=0 src_thread=5 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=0 src_thread=5 dst_thread=3, FAIL
FILE comp=1 src_thread=1 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=1 dst_thread=1, FAIL
FILE comp=1 src_thread=1 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=1 dst_thread=2, FAIL
FILE comp=1 src_thread=1 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=1 dst_thread=3, FAIL
FILE comp=1 src_thread=2 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=2 dst_thread=1, FAIL
FILE comp=1 src_thread=2 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=2 dst_thread=2, FAIL
FILE comp=1 src_thread=2 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=2 dst_thread=3, FAIL
FILE comp=1 src_thread=3 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=3 dst_thread=1, FAIL
FILE comp=1 src_thread=3 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=3 dst_thread=2, FAIL
FILE comp=1 src_thread=3 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=3 dst_thread=3, FAIL
FILE comp=1 src_thread=4 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=4 dst_thread=1, FAIL
FILE comp=1 src_thread=4 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=4 dst_thread=2, FAIL
FILE comp=1 src_thread=4 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=4 dst_thread=3, FAIL
FILE comp=1 src_thread=5 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=5 dst_thread=1, FAIL
FILE comp=1 src_thread=5 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=5 dst_thread=2, FAIL
FILE comp=1 src_thread=5 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=1 src_thread=5 dst_thread=3, FAIL
FILE comp=2 src_thread=1 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=1 dst_thread=1, FAIL
FILE comp=2 src_thread=1 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=1 dst_thread=2, FAIL
FILE comp=2 src_thread=1 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=1 dst_thread=3, FAIL
FILE comp=2 src_thread=2 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=2 dst_thread=1, FAIL
FILE comp=2 src_thread=2 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=2 dst_thread=2, FAIL
FILE comp=2 src_thread=2 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=2 dst_thread=3, FAIL
FILE comp=2 src_thread=3 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=3 dst_thread=1, FAIL
FILE comp=2 src_thread=3 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=3 dst_thread=2, FAIL
FILE comp=2 src_thread=3 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=3 dst_thread=3, FAIL
FILE comp=2 src_thread=4 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=4 dst_thread=1, FAIL
FILE comp=2 src_thread=4 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=4 dst_thread=2, FAIL
FILE comp=2 src_thread=4 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=4 dst_thread=3, FAIL
FILE comp=2 src_thread=5 dst_thread=1, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=5 dst_thread=1, FAIL
FILE comp=2 src_thread=5 dst_thread=2, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode d880 (type=d000): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=5 dst_thread=2, FAIL
FILE comp=2 src_thread=5 dst_thread=3, pass
[dmabuf.c:249] Unexpected error from dmabuf detection probe: 9, Bad file descriptor
[shadow.c:352] The fd 4 has an unusual mode a000 (type=a000): blk=0 chr=0 dir=0 lnk=1 reg=0 fifo=0 sock=0; expect an application crash!
[test/fd_mirror.c:207] Collecting updates gave a unexpected number (0) of transfers
DMABUF comp=2 src_thread=5 dst_thread=3, FAIL
All pass: n