Skip to content

Segfault on Arm64 #65

Description

@DrEVILish

using "! videoconvert ! autovideosink" or "! videoconvert ! glimagesink"

If I play a video or a test video src to the sinks above, they play correctly. I then stop the playback, clear the pipeline, and get ready to start another, and I get a SegFault. Restarting node server & hitting play, starts as expected again.

Running via a VMware DebianVM on Apple M1, I am writing this app and designing it to run on a RaspberryPi 4.

PID 6086 received SIGSEGV for address: 0x8
/mnt/shares/CuTePi/node_modules/segfault-handler/build/Release/segfault-handler.node(+0x2ad8)[0xffff8c6d2ad8]
linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0xffff8ed6e7bc]
/lib/aarch64-linux-gnu/libgstgl-1.0.so.0(+0x5a584)[0xffff74bca584]
/lib/aarch64-linux-gnu/libgstgl-1.0.so.0(+0x49870)[0xffff74bb9870]
/lib/aarch64-linux-gnu/libgstgl-1.0.so.0(+0x497f0)[0xffff74bb97f0]
/lib/aarch64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x144)[0xffff8c397614]
/lib/aarch64-linux-gnu/libglib-2.0.so.0(+0x579e0)[0xffff8c3979e0]
/lib/aarch64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x74)[0xffff8c397d04]
/lib/aarch64-linux-gnu/libgstgl-1.0.so.0(+0x292d8)[0xffff74b992d8]
/lib/aarch64-linux-gnu/libglib-2.0.so.0(+0x82854)[0xffff8c3c2854]
/lib/aarch64-linux-gnu/libc.so.6(+0x7ee90)[0xffff8e88ee90]
/lib/aarch64-linux-gnu/libc.so.6(+0xe7b1c)[0xffff8e8f7b1c]
Failed running 'server.js'
[drm:vmw_user_bo_lookup [vmwgfx]] *ERROR* Invalid buffer object handle 0x0000cf48
[drm:vmw_kms_fb_create [vmwgfx]] *ERROR* Invalid buffer object handle 53064
[drm:vmw_kms_fb_create [vmwgfx]] *ERROR* failed to create vmw_framebuffer: -3

I am calling the below as my stop function before calling the same code that started the video, which then causes the SegFault.

async end() {
      if (this.pipeline1) {
        console.log("END")
        this.pipeline1.pause();
        await this.pipeline1.stop();
        this.pipeline1 = null;
      }
    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions