[Wayland-bugs] [Bug 52618] New: socket-test fail if enviroment XDG_RUNTIME_DIR is not set

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 28 12:31:18 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52618

             Bug #: 52618
           Summary: socket-test fail if enviroment XDG_RUNTIME_DIR is not
                    set
    Classification: Unclassified
           Product: Wayland
           Version: unspecified
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: minor
          Priority: medium
         Component: wayland
        AssignedTo: wayland-bugs at lists.freedesktop.org
        ReportedBy: sandro at way-os.com


Running wayland checks without previously set XDG_RUNTIME_DIR the socket-test
fail with the following error:

lt-socket-test: test-runner.c:98: run_test: Assertion `cur_alloc == num_alloc
&& "memory leak detected in test."' failed.
test "socket_path_overflow_server_create":    signal 6, fail.
error: socket path
"./aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
plus null terminator exceeds 108 bytes
lt-socket-test: test-runner.c:98: run_test: Assertion `cur_alloc == num_alloc
&& "memory leak detected in test."' failed.
test "socket_path_overflow_client_connect":    signal 6, fail.
2 tests, 0 pass, 2 fail
FAIL: socket-test


Setting XDG_RUNTIME_DIR before run the test it's the actual workaround to the
bug (thanks to pq on ircnet for the hint)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Wayland-bugs mailing list