Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • V vd_agent
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • spice
  • linux
  • vd_agent
  • Issues
  • #24
Closed
Open
Issue created May 06, 2021 by Apteryks@ApteryksContributor

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?

Assignee
Assign to
Time tracking