Planes aren't actually freed until page-flip
67eb1192 — David Turner david.turner@raspberrypi.com
view log » | |
setup | view log » |
build-gcc | view log » |
build-clang | view log » |
test-gcc | view log » |
test-clang | view log » |
coverage | view log » |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
[#1442905] 2025/03/05 15:56:15 Booting image alpine/latest (default) on port 22732 [#1442905] 2025/03/05 15:56:15 Waiting for guest to settle [#1442905] 2025/03/05 15:56:24 Sending tasks [#1442905] 2025/03/05 15:56:26 Sending build environment [#1442905] 2025/03/05 15:56:26 Installing packages Warning: Permanently added '[localhost]:22732' (ED25519) to the list of known hosts. fetch http://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz (1/1) Upgrading libffi (3.4.6-r0 -> 3.4.7-r0) OK: 451 MiB in 137 packages Warning: Permanently added '[localhost]:22732' (ED25519) to the list of known hosts. (1/30) Installing clang19-headers (19.1.4-r0) (2/30) Installing libxml2 (2.13.4-r3) (3/30) Installing llvm19-libs (19.1.4-r0) (4/30) Installing clang19-libs (19.1.4-r0) (5/30) Installing llvm19-linker-tools (19.1.4-r0) (6/30) Installing clang19 (19.1.4-r0) (7/30) Installing compiler-rt (19.1.4-r1) (8/30) Installing libxslt (1.1.42-r1) (9/30) Installing py3-lxml (5.3.0-r0) (10/30) Installing py3-lxml-pyc (5.3.0-r0) (11/30) Installing py3-markupsafe (3.0.2-r0) (12/30) Installing py3-markupsafe-pyc (3.0.2-r0) (13/30) Installing py3-jinja2 (3.1.5-r0) (14/30) Installing py3-jinja2-pyc (3.1.5-r0) (15/30) Installing py3-pygments (2.18.0-r0) (16/30) Installing py3-pygments-pyc (2.18.0-r0) (17/30) Installing py3-colorlog (6.9.0-r0) (18/30) Installing py3-colorlog-pyc (6.9.0-r0) (19/30) Installing gcovr-pyc (8.3-r0) (20/30) Installing gcovr (8.3-r0) (21/30) Installing linux-headers (6.6-r1) (22/30) Installing hwdata-pci (0.390-r0) (23/30) Installing libpciaccess (0.18.1-r0) (24/30) Installing libdrm (2.4.123-r1) (25/30) Installing libpciaccess-dev (0.18.1-r0) (26/30) Installing libdrm-dev (2.4.123-r1) (27/30) Installing samurai (1.2-r6) (28/30) Installing meson (1.6.1-r0) (29/30) Installing meson-pyc (1.6.1-r0) (30/30) Installing abuild-meson (1.6.1-r0) Executing busybox-1.37.0-r12.trigger OK: 797 MiB in 167 packages [#1442905] 2025/03/05 15:56:29 Cloning repositories Cloning into 'libliftoff'... + cd libliftoff + git checkout -q 67eb11923ec1c65fbd38133518c3f24ea87a408e + cd libliftoff + git submodule update --init --recursive [#1442905] 2025/03/05 15:56:31 Running task setup [#1442905] 2025/03/05 15:56:33 Running task build-gcc [#1442905] 2025/03/05 15:56:34 Running task build-clang [#1442905] 2025/03/05 15:56:36 Running task test-gcc [#1442905] 2025/03/05 15:56:37 Running task test-clang [#1442905] 2025/03/05 15:56:38 Build failed. [#1442905] 2025/03/05 15:56:38 The build environment will be kept alive for 10 minutes. [#1442905] 2025/03/05 15:56:38 To log in with SSH and examine it, use the following command: [#1442905] 2025/03/05 15:56:38 [#1442905] 2025/03/05 15:56:38 ssh -t builds@fra01.builds.sr.ht connect 1442905 [#1442905] 2025/03/05 15:56:38 [#1442905] 2025/03/05 15:56:38 After logging in, the deadline is increased to your remaining build time. [#1442905] 2025/03/05 16:06:38 Deadline elapsed. Terminating build environment. [#1442905] 2025/03/05 16:06:38 Error: Running task on guest: exit status 1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
+ cd libliftoff + CC=gcc + meson setup build-gcc/ --fatal-meson-warnings -Db_coverage=true The Meson build system Version: 1.6.1 Source dir: /home/build/libliftoff Build dir: /home/build/libliftoff/build-gcc Build type: native build Project name: libliftoff Project version: 0.6.0-dev C compiler for the host machine: gcc (gcc 14.2.0 "gcc (Alpine 14.2.0) 14.2.0") C linker for the host machine: gcc ld.bfd 2.43.1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Walloca: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Wfloat-conversion: YES Compiler for C supports arguments -Wsign-conversion: YES Compiler for C supports arguments -Wno-missing-braces: YES Compiler for C supports arguments -Wno-unused-parameter: YES Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0 Run-time dependency libdrm found: YES 2.4.123 Build targets in project: 13 libliftoff 0.6.0-dev User defined options b_coverage: true Found ninja-1.9 at /usr/bin/ninja + CC=clang + meson setup build-clang/ --fatal-meson-warnings -Db_sanitize=address,undefined -Db_lundef=false The Meson build system Version: 1.6.1 Source dir: /home/build/libliftoff Build dir: /home/build/libliftoff/build-clang Build type: native build Project name: libliftoff Project version: 0.6.0-dev C compiler for the host machine: clang (clang 19.1.4 "Alpine clang version 19.1.4") C linker for the host machine: clang ld.bfd 2.43.1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Walloca: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Wfloat-conversion: YES Compiler for C supports arguments -Wsign-conversion: YES Compiler for C supports arguments -Wno-missing-braces: YES Compiler for C supports arguments -Wno-unused-parameter: YES Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0 Run-time dependency libdrm found: YES 2.4.123 Build targets in project: 13 libliftoff 0.6.0-dev User defined options b_lundef : false b_sanitize: address,undefined Found ninja-1.9 at /usr/bin/ninja |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
+ cd libliftoff + ninja -C build-gcc/ ninja: entering directory 'build-gcc/' [1/38] Compiling C object test/bench.p/bench.c.o [2/38] Compiling C object example/multi-output.p/multi-output.c.o [3/38] Compiling C object example/multi-output.p/common.c.o [4/38] Compiling C object example/dynamic.p/dynamic.c.o [5/38] Compiling C object example/dynamic.p/common.c.o [6/38] Compiling C object example/compositor.p/compositor.c.o [7/38] Compiling C object example/compositor.p/common.c.o [8/38] Compiling C object example/simple.p/simple.c.o [9/38] Compiling C object example/simple.p/common.c.o [10/38] Compiling C object test/test-candidate.p/test_candidate.c.o [11/38] Compiling C object test/test-prop.p/test_prop.c.o [12/38] Compiling C object test/test-priority.p/test_priority.c.o [13/38] Compiling C object test/test-dynamic.p/test_dynamic.c.o [14/38] Compiling C object test/libdrm.so.2.p/libdrm_mock.c.o [15/38] Compiling C object libliftoff.so.0.6.0.p/plane.c.o [16/38] Linking target test/libdrm.so.2 [17/38] Compiling C object libliftoff.so.0.6.0.p/output.c.o [18/38] Generating symbol file test/libdrm.so.2.p/libdrm.so.2.symbols [19/38] Compiling C object libliftoff.so.0.6.0.p/log.c.o [20/38] Compiling C object libliftoff.so.0.6.0.p/list.c.o [21/38] Compiling C object libliftoff.so.0.6.0.p/layer.c.o [22/38] Compiling C object libliftoff.so.0.6.0.p/device.c.o [23/38] Compiling C object libliftoff.so.0.6.0.p/alloc.c.o [24/38] Compiling C object test/test-alloc.p/test_alloc.c.o [25/38] Compiling C object test/check_ndebug.p/check_ndebug.c.o [26/38] Linking target test/check_ndebug [27/38] Linking target libliftoff.so.0.6.0 [28/38] Generating symbol file libliftoff.so.0.6.0.p/libliftoff.so.0.6.0.symbols [29/38] Linking target test/test-candidate [30/38] Linking target test/test-prop [31/38] Linking target test/test-priority [32/38] Linking target test/test-dynamic [33/38] Linking target test/test-alloc [34/38] Linking target test/bench [35/38] Linking target example/multi-output [36/38] Linking target example/dynamic [37/38] Linking target example/compositor [38/38] Linking target example/simple |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
+ cd libliftoff + ninja -C build-clang/ ninja: entering directory 'build-clang/' [1/38] Compiling C object test/bench.p/bench.c.o [2/38] Compiling C object example/multi-output.p/multi-output.c.o [3/38] Compiling C object example/multi-output.p/common.c.o [4/38] Compiling C object example/dynamic.p/dynamic.c.o [5/38] Compiling C object example/dynamic.p/common.c.o [6/38] Compiling C object example/compositor.p/compositor.c.o [7/38] Compiling C object example/compositor.p/common.c.o [8/38] Compiling C object example/simple.p/simple.c.o [9/38] Compiling C object example/simple.p/common.c.o [10/38] Compiling C object test/test-candidate.p/test_candidate.c.o [11/38] Compiling C object test/test-prop.p/test_prop.c.o [12/38] Compiling C object test/test-priority.p/test_priority.c.o [13/38] Compiling C object test/test-dynamic.p/test_dynamic.c.o [14/38] Compiling C object test/libdrm.so.2.p/libdrm_mock.c.o [15/38] Compiling C object libliftoff.so.0.6.0.p/plane.c.o [16/38] Compiling C object libliftoff.so.0.6.0.p/output.c.o [17/38] Compiling C object libliftoff.so.0.6.0.p/log.c.o [18/38] Compiling C object libliftoff.so.0.6.0.p/list.c.o [19/38] Compiling C object libliftoff.so.0.6.0.p/layer.c.o [20/38] Compiling C object libliftoff.so.0.6.0.p/device.c.o [21/38] Linking target test/libdrm.so.2 [22/38] Generating symbol file test/libdrm.so.2.p/libdrm.so.2.symbols [23/38] Compiling C object libliftoff.so.0.6.0.p/alloc.c.o [24/38] Compiling C object test/test-alloc.p/test_alloc.c.o [25/38] Compiling C object test/check_ndebug.p/check_ndebug.c.o [26/38] Linking target test/check_ndebug [27/38] Linking target libliftoff.so.0.6.0 [28/38] Generating symbol file libliftoff.so.0.6.0.p/libliftoff.so.0.6.0.symbols [29/38] Linking target test/test-candidate [30/38] Linking target test/test-prop [31/38] Linking target test/test-priority [32/38] Linking target test/test-dynamic [33/38] Linking target test/test-alloc [34/38] Linking target test/bench [35/38] Linking target example/multi-output [36/38] Linking target example/dynamic [37/38] Linking target example/compositor [38/38] Linking target example/simple |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
+ cd libliftoff + ninja -C build-gcc/ test ninja: entering directory 'build-gcc/' [1/1] Running all tests. 1/58 check_ndebug OK 0.01s 2/58 alloc@basic OK 0.01s 3/58 alloc@no-props-fail OK 0.01s 4/58 alloc@zero-fb-id-fail OK 0.01s 5/58 alloc@composition-no-props OK 0.01s 6/58 alloc@empty OK 0.01s 7/58 alloc@simple-1x OK 0.01s 8/58 alloc@simple-1x-fail OK 0.01s 9/58 alloc@simple-3x OK 0.01s 10/58 alloc@zpos-2x-fail OK 0.01s 11/58 alloc@zpos-3x OK 0.01s 12/58 alloc@zpos-3x-intersect-fail OK 0.01s 13/58 alloc@zpos-3x-intersect-partial OK 0.01s 14/58 alloc@zpos-3x-disjoint-partial OK 0.01s 15/58 alloc@zpos-3x-disjoint OK 0.01s 16/58 alloc@zpos-4x-intersect-partial OK 0.01s 17/58 alloc@zpos-4x-disjoint OK 0.01s 18/58 alloc@zpos-4x-disjoint-alt OK 0.01s 19/58 alloc@zpos-4x-domino-fail OK 0.01s 20/58 alloc@zpos-4x-domino-partial OK 0.01s 21/58 alloc@composition-3x OK 0.01s 22/58 alloc@composition-3x-fail OK 0.01s 23/58 alloc@composition-3x-partial OK 0.01s 24/58 alloc@composition-3x-force OK 0.01s 25/58 alloc@zpos-2x-reverse OK 0.01s 26/58 alloc@zpos-3x-zero-fb-id OK 0.01s 27/58 alloc@zpos-3x-zero-alpha OK 0.01s 28/58 dynamic@same OK 0.01s 29/58 dynamic@change-fb OK 0.01s 30/58 dynamic@change-fb-modifier OK 0.01s 31/58 dynamic@unset-fb OK 0.01s 32/58 dynamic@set-fb OK 0.01s 33/58 dynamic@add-layer OK 0.01s 34/58 dynamic@remove-layer OK 0.01s 35/58 dynamic@change-composition-layer OK 0.01s 36/58 dynamic@change-alpha OK 0.01s 37/58 dynamic@set-alpha-from-opaque OK 0.01s 38/58 dynamic@set-alpha-from-transparent OK 0.01s 39/58 dynamic@change-position-same-intersection OK 0.01s 40/58 dynamic@change-position-different-intersection OK 0.01s 41/58 dynamic@unset-alpha-to-opaque OK 0.01s 42/58 dynamic@unset-alpha-to-transparent OK 0.01s 43/58 dynamic@change-in-fence-fd OK 0.01s 44/58 dynamic@change-fb-damage-clips OK 0.01s 45/58 prop@default-alpha OK 0.01s 46/58 priority@basic OK 0.02s 47/58 prop@default-rotation OK 0.04s 48/58 prop@ignore-alpha OK 0.01s 49/58 prop@immutable-zpos OK 0.01s 50/58 prop@unmatched OK 0.01s 51/58 prop@unset OK 0.01s 52/58 prop@in-formats OK 0.01s 53/58 prop@fb-damage-clips OK 0.01s 54/58 prop@range OK 0.01s 55/58 prop@signed-range OK 0.01s 56/58 prop@enum OK 0.01s 57/58 prop@bitmask OK 0.01s 58/58 candidate@basic OK 0.00s Ok: 58 Expected Fail: 0 Fail: 0 Unexpected Pass: 0 Skipped: 0 Timeout: 0 Full log written to /home/build/libliftoff/build-gcc/meson-logs/testlog.txt |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
+ cd libliftoff + ninja -C build-clang/ test ninja: entering directory 'build-clang/' [1/1] Running all tests. 1/58 check_ndebug OK 0.01s 2/58 alloc@basic OK 0.01s 3/58 alloc@no-props-fail OK 0.01s 4/58 alloc@zero-fb-id-fail OK 0.01s 5/58 alloc@composition-no-props OK 0.01s 6/58 alloc@empty OK 0.01s 7/58 alloc@simple-1x OK 0.01s 8/58 alloc@simple-1x-fail OK 0.01s 9/58 alloc@simple-3x OK 0.01s 10/58 alloc@zpos-2x-fail OK 0.01s 11/58 alloc@zpos-3x OK 0.01s 12/58 alloc@zpos-3x-intersect-fail OK 0.01s 13/58 alloc@zpos-3x-intersect-partial OK 0.01s 14/58 alloc@zpos-3x-disjoint-partial OK 0.01s 15/58 alloc@zpos-3x-disjoint OK 0.01s 16/58 alloc@zpos-4x-intersect-partial OK 0.01s 17/58 alloc@zpos-4x-disjoint OK 0.01s 18/58 alloc@zpos-4x-disjoint-alt OK 0.01s 19/58 alloc@zpos-4x-domino-fail OK 0.01s 20/58 alloc@zpos-4x-domino-partial OK 0.01s 21/58 alloc@composition-3x OK 0.01s 22/58 alloc@composition-3x-fail OK 0.01s 23/58 alloc@composition-3x-partial OK 0.01s 24/58 alloc@composition-3x-force OK 0.01s 25/58 alloc@zpos-2x-reverse FAIL 0.01s killed by signal 6 SIGABRT >>> LD_LIBRARY_PATH=/home/build/libliftoff/build-clang/test:/home/build/libliftoff/build-clang/ MESON_TEST_ITERATION=1 MALLOC_PERTURB_=12 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /home/build/libliftoff/build-clang/test/test-alloc zpos-2x-reverse ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: Cannot re-use previous allocation: a layer has been added or removed Computing plane allocation on output 3422552064 Layers on CRTC 3422552064 (2 total): Layer 0x513000000040: Priority = 0 FB_ID = 4211081216 CRTC_X = +0 CRTC_Y = +0 CRTC_W = 100 CRTC_H = 100 SRC_X = 0.000000 SRC_Y = 0.000000 SRC_W = 100.000000 SRC_H = 100.000000 zpos = 2 Layer 0x5130000003c0: Priority = 0 FB_ID = 4211081217 CRTC_X = +0 CRTC_Y = +0 CRTC_W = 1920 CRTC_H = 1080 SRC_X = 0.000000 SRC_Y = 0.000000 SRC_W = 1920.000000 SRC_H = 1080.000000 zpos = 1 Performing allocation for plane 3992977408 (1/4) Layer 0x513000000040 -> plane 3992977408: success Performing allocation for plane 3992977409 (2/4) Layer 0x5130000003c0 -> plane 3992977409: layer zpos under primary Performing allocation for plane 3992977411 (3/4) Layer 0x5130000003c0 -> plane 3992977411: layer zpos under primary Performing allocation for plane 3992977410 (4/4) Layer 0x5130000003c0 -> plane 3992977410: layer zpos under primary Found a better allocation with score=1 Layer 0x5130000003c0 -> plane 3992977408: success Performing allocation for plane 3992977409 (2/4) Deadline exceeded Performing allocation for plane 3992977411 (3/4) Deadline exceeded Performing allocation for plane 3992977410 (4/4) Deadline exceeded Performing allocation for plane 3992977409 (2/4) Deadline exceeded Performing allocation for plane 3992977411 (3/4) Deadline exceeded Performing allocation for plane 3992977410 (4/4) Deadline exceeded Found plane allocation for output 3422552064 (score: 1, candidate planes: 0, tests: 2): Layer 0x513000000040 -> plane 3992977408 libdrm_mock: plane 3992977408: setting CRTC_ID = 3422552064 libdrm_mock: plane 3992977408: setting FB_ID = 4211081216 libdrm_mock: plane 3992977408: setting CRTC_X = 0 libdrm_mock: plane 3992977408: setting CRTC_Y = 0 libdrm_mock: plane 3992977408: setting CRTC_W = 100 libdrm_mock: plane 3992977408: setting CRTC_H = 100 libdrm_mock: plane 3992977408: setting SRC_X = 0 libdrm_mock: plane 3992977408: setting SRC_Y = 0 libdrm_mock: plane 3992977408: setting SRC_W = 6553600 libdrm_mock: plane 3992977408: setting SRC_H = 6553600 layer 0 got assigned to plane 0 ERROR: want plane 2 layer 1 got assigned to plane -1 ERROR: want plane 0 Assertion failed: ok (../test/test_alloc.c: run_test: 843) ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 26/58 alloc@zpos-3x-zero-fb-id OK 0.01s 27/58 alloc@zpos-3x-zero-alpha OK 0.01s 28/58 dynamic@same OK 0.01s 29/58 dynamic@change-fb OK 0.01s 30/58 dynamic@change-fb-modifier OK 0.01s 31/58 dynamic@unset-fb OK 0.01s 32/58 dynamic@set-fb OK 0.01s 33/58 dynamic@add-layer OK 0.01s 34/58 dynamic@remove-layer OK 0.01s 35/58 dynamic@change-composition-layer OK 0.01s 36/58 dynamic@change-alpha OK 0.01s 37/58 dynamic@set-alpha-from-opaque OK 0.01s 38/58 dynamic@set-alpha-from-transparent OK 0.01s 39/58 dynamic@change-position-same-intersection OK 0.01s 40/58 dynamic@change-position-different-intersection OK 0.01s 41/58 dynamic@unset-alpha-to-opaque OK 0.01s 42/58 dynamic@unset-alpha-to-transparent OK 0.01s 43/58 dynamic@change-in-fence-fd OK 0.01s 44/58 dynamic@change-fb-damage-clips OK 0.01s 45/58 prop@default-alpha OK 0.02s 46/58 prop@default-rotation OK 0.01s 47/58 priority@basic OK 0.04s 48/58 prop@ignore-alpha OK 0.03s 49/58 prop@immutable-zpos OK 0.01s 50/58 prop@unmatched OK 0.01s 51/58 prop@unset OK 0.01s 52/58 prop@in-formats OK 0.01s 53/58 prop@fb-damage-clips OK 0.01s 54/58 prop@range OK 0.01s 55/58 prop@signed-range OK 0.01s 56/58 prop@enum OK 0.01s 57/58 prop@bitmask OK 0.01s 58/58 candidate@basic OK 0.01s Summary of Failures: 25/58 alloc@zpos-2x-reverse FAIL 0.01s killed by signal 6 SIGABRT Ok: 57 Expected Fail: 0 Fail: 1 Unexpected Pass: 0 Skipped: 0 Timeout: 0 Full log written to /home/build/libliftoff/build-clang/meson-logs/testlog.txt ninja: job failed: /usr/bin/meson test --no-rebuild --print-errorlogs ninja: subcommand failed |