tests: exercize the stream thread deadlock issue
tests: exercize the stream thread deadlock issue

It happens if a buffer_new callback is still active after the main
thread has droped its reference to stream. In this case, the stream
thread holds the last reference to thread (taken by g_signal_emit) and
will try to join itself when stream is finalized.

(/home/pacaud/Sources/aravis/tests/.libs/lt-fakegv:28175): GLib-ERROR **: file gthread-posix.c: line 1212 (g_system_thread_wait): error 'Resource deadlock avoided' during 'pthread_join (pt->system_thread, NULL)'
Trappe pour point d'arrêt et de trace (core dumped)

AravisProject/aravis,AravisProject/aravis,AravisProject/aravis,AravisProject/aravis,AravisProject/aravis