some tests under server/tests are crashing
Submitted by Pavel Grunt
Assigned to Spice Bug List
Description
We don't have many tests in the server, but some are crashing:
./test_vdagent
#0 0x0000000000000064 in ()
#1 0x00007ffff7ae759f in spice_server_add_interface (sin=0x606260 <vmc_instance>) at reds.c:3006
#2 0x00007ffff7ae759f in spice_server_add_interface (sin=0x606260 <vmc_instance>, s=0x618000) at reds.c:3135
#3 0x00007ffff7ae759f in spice_server_add_interface (s=0x618000, sin=sin@entry=0x606260 <vmc_instance>) at reds.c:3277
#4 0x0000000000401b71 in main () at test_vdagent.c:67
./test_display_no_ssl
#0 0x0000000000404461 in ()
#1 0x00007ffff7ae1adc in vdi_port_read_one_msg_from_device (sin=<optimized out>, opaque=0x618000) at reds.c:752
#2 0x00007ffff7aa8a38 in spice_char_device_read_from_device (dev=0x624580) at char-device.c:319
#3 0x00007ffff7aaafe4 in spice_char_device_start (dev=dev@entry=0x624580) at char-device.c:852
#4 0x00007ffff7ae76df in spice_server_add_interface (sin=0x6062e0 <vdagent_sin>, s=<optimized out>) at reds.c:3160
#5 0x00007ffff7ae76df in spice_server_add_interface (s=<optimized out>, sin=sin@entry=0x6062e0 <vdagent_sin>) at reds.c:3277
#6 0x000000000040326a in test_add_agent_interface (server=<optimized out>) at test_display_base.c:832
#7 0x0000000000401b69 in main () at test_display_no_ssl.c:63
git bisect leads to: Fix -Wmissing-field-initializers http://cgit.freedesktop.org/spice/spice/commit/?id=b76e561d82796bd2bccc57be962fc5fba0141da6