test-info-session test fails
Hello,
Building the latest release (0.21.0) and running the test suite with make check
, the test-info-session test fails, returning 1.
The following is my experimentation with GDB to confirm where the problem came from:
Breakpoint 1, main (argc=1, argv=0x7fffffffd588) at tests/test-session-info.c:29
29 {
(gdb) n
32 pid = (int)getpid();
(gdb) n
34 struct session_info *session_info = session_info_create(1);
(gdb) p pid
$1 = <optimized out>
(gdb) n
32 pid = (int)getpid();
(gdb) n
34 struct session_info *session_info = session_info_create(1);
(gdb) n
36 return 1;
(gdb) p session_info
$2 = (struct session_info *) 0x0
(gdb) n
35 if (session_info == NULL) {
(gdb) n
59 }
So the problem is apparently that session_info_create returns NULL.
This is using GNU Guix, but Arch seems to have the same problem: https://github.com/archlinux/svntogit-community/blob/packages/spice-vdagent/trunk/PKGBUILD#L33.
Ideas?