Segmentation fault with virglrender master commit 1a79cb48 vrend: Recover texture binding after transfer
0 0x0000000000000000 in ?? ()
1 0x0000ffff6f8ee274 in tc_surface_destroy (_pipe=, surf=) at ../src/gallium/auxiliary/util/u_threaded_context.c:1103
2 0x0000ffff6f171da0 in pipe_surface_reference (src=0xaaab03a88540, dst=0xaaab02f90d88) at ../src/gallium/auxiliary/util/u_inlines.h:113
3 util_copy_framebuffer_state (dst=dst@entry=0xaaab02f90d80, src=src@entry=0xaaab0301d468) at ../src/gallium/auxiliary/util/u_framebuffer.c:97
4 0x0000ffff6f264418 in si_set_framebuffer_state (ctx=0xaaab02f90590, state=0xaaab0301d468) at ../src/gallium/drivers/radeonsi/si_state.c:2975
5 0x0000ffff6f8efe30 in tc_call_set_framebuffer_state (pipe=, payload=0xaaab0301d468) at ../src/gallium/auxiliary/util/u_threaded_context.c:594
6 0x0000ffff6f8ef4fc in tc_batch_execute (thread_index=0, job=0xaaab0301d440) at ../src/gallium/auxiliary/util/u_threaded_context.c:96
7 _tc_sync (tc=tc@entry=0xaaab0300ae40, func=, info=) at ../src/gallium/auxiliary/util/u_threaded_context.c:207
8 0x0000ffff6f8f203c in tc_transfer_map (_pipe=0xaaab0300ae40, resource=0xaaab02f3db40, level=0, usage=1, box=0xffffe8564e90, transfer=0xaaab04231818) at ../src/gallium/auxiliary/util/u_threaded_context.c:1485
9 0x0000ffff6f59ab44 in pipe_transfer_map (transfer=0xaaab04231818, h=536, w=, y=0, x=0, access=, layer=, level=, resource=, context=0xaaab0300ae40) at ../src/gallium/auxiliary/util/u_inlines.h:481
10 st_MapRenderbuffer (ctx=, rb=0xaaab042317a0, x=0, y=, w=, h=536, mode=, mapOut=0xffffe8564f78, rowStrideOut=0xffffe8564f70, flip_y=false) at ../src/mesa/state_tracker/st_cb_fbo.c:903
11 0x0000ffff6f5588ac in readpixels_memcpy (packing=0xffffe85651b8, pixels=0xaaab051a3ea0, type=5121, format=69408672, height=536, width=1080, y=0, x=0, ctx=0xaaab03029900) at ../src/mesa/main/readpix.c:236
12 _mesa_readpixels (ctx=ctx@entry=0xaaab03029900, x=x@entry=0, y=y@entry=0, width=width@entry=1080, height=height@entry=536, format=format@entry=6408, type=type@entry=5121, packing=packing@entry=0xffffe85651b8, pixels=pixels@entry=0xaaab051a3ea0) at ../src/mesa/main/readpix.c:874
13 0x0000ffff6f65e988 in st_ReadPixels (ctx=0xaaab03029900, x=0, y=0, width=1080, height=536, format=6408, type=5121, pack=0xffffe85651b8, pixels=0xaaab051a3ea0) at ../src/mesa/state_tracker/st_cb_readpixels.c:553
14 0x0000ffff6f559ab8 in read_pixels (no_error=false, pixels=0xaaab051a3ea0, bufSize=2315520, type=5121, format=6408, height=536, width=1080, y=0, x=0) at ../src/mesa/main/readpix.c:1164
15 _mesa_ReadnPixelsARB (x=, y=, width=, height=, format=6408, type=5121, bufSize=2315520, pixels=0xaaab051a3ea0) at ../src/mesa/main/readpix.c:1181
16 0x0000ffff8c70c44c in shared_dispatch_stub_860 (x=, y=, width=, height=, format=, type=, bufSize=, data=) at /usr/src/debug/mesa-19.3.3-2.alios7.aarch64/build/src/mapi/shared-glapi/glapi_mapi_tmp.h:25168
17 0x0000ffff91c7cb60 in vrend_transfer_send_readpixels (info=0xffffe8565300, num_iovs=55, iov=0xaaab038e8480, res=0xaaab038b1750, ctx=) at vrend_renderer.c:7732
18 vrend_renderer_transfer_send_iov (info=0xffffe8565300, num_iovs=55, iov=0xaaab038e8480, res=0xaaab038b1750, ctx=) at vrend_renderer.c:7831
19 vrend_renderer_transfer_internal (ctx=, res=0xaaab038b1750, info=0xffffe8565300, transfer_mode=) at vrend_renderer.c:7890
20 0x0000ffff91c67e74 in virgl_renderer_transfer_read_iov (handle=, ctx_id=13, level=0, stride=0, layer_stride=0, box=box@entry=0xffffe85653d8, offset=0, iovec=iovec@entry=0x0, iovec_cnt=iovec_cnt@entry=0) at virglrenderer.c:275
21 0x0000aaaae3855114 in virgl_cmd_transfer_from_host_3d (g=0xaaab027bfdc0, cmd=0xaaab03332df0, cmd=0xaaab03332df0) at /cn_nfs/qemu-kvm/hw/display/virtio-gpu-3d.c:274
22 virtio_gpu_virgl_process_cmd (g=g@entry=0xaaab027bfdc0, cmd=cmd@entry=0xaaab03332df0) at /cn_nfs/qemu-kvm/hw/display/virtio-gpu-3d.c:431
23 0x0000aaaae38530e4 in virtio_gpu_process_cmdq (g=g@entry=0xaaab027bfdc0) at /cn_nfs/qemu-kvm/hw/display/virtio-gpu.c:888
24 0x0000aaaae3854178 in virtio_gpu_handle_ctrl (vq=0xffff8c8db010, vdev=) at /cn_nfs/qemu-kvm/hw/display/virtio-gpu.c:936
25 virtio_gpu_ctrl_bh (opaque=) at /cn_nfs/qemu-kvm/hw/display/virtio-gpu.c:948
26 0x0000aaaae3abc5e0 in aio_bh_call (bh=0xaaab027c97b0) at /cn_nfs/qemu-kvm/util/async.c:118
27 aio_bh_poll (ctx=ctx@entry=0xaaab01318810) at /cn_nfs/qemu-kvm/util/async.c:118
28 0x0000aaaae3abf90c in aio_dispatch (ctx=0xaaab01318810) at /cn_nfs/qemu-kvm/util/aio-posix.c:461
29 0x0000aaaae3abc4b0 in aio_ctx_dispatch (source=, callback=, user_data=) at /cn_nfs/qemu-kvm/util/async.c:269
30 0x0000ffff912b0eb0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
31 0x0000aaaae3abeaec in glib_pollfds_poll () at /cn_nfs/qemu-kvm/util/main-loop.c:215
32 os_host_main_loop_wait (timeout=) at /cn_nfs/qemu-kvm/util/main-loop.c:238
33 main_loop_wait (nonblocking=nonblocking@entry=0) at /cn_nfs/qemu-kvm/util/main-loop.c:497
34 0x0000aaaae37d3c98 in main_loop () at /cn_nfs/qemu-kvm/vl.c:1966
35 main (argc=, argv=, envp=) at /cn_nfs/qemu-kvm/vl.c:4909