Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GStreamer plugin SEGVs running out of VRAM #25319

Open
asajeffrey opened this issue Dec 17, 2019 · 0 comments
Open

GStreamer plugin SEGVs running out of VRAM #25319

asajeffrey opened this issue Dec 17, 2019 · 0 comments

Comments

@asajeffrey
Copy link
Member

@asajeffrey asajeffrey commented Dec 17, 2019

Running the gstreamer plugin at 1080p causes a huge spike in VRAM usage, which causes a SEGV.

Screen Shot 2019-12-17 at 12 55 38 PM

In LLDB:

* thread #59, queue = 'org.freedesktop.gstreamer.glwindow', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
    frame #0: 0x00007fff47740072 libGPUSupportMercury.dylib`gldUpdateDrawFramebuffer + 108
libGPUSupportMercury.dylib`gldUpdateDrawFramebuffer:
->  0x7fff47740072 <+108>: callq  *0x160(%rax)
    0x7fff47740078 <+114>: movq   %r15, 0x30(%rbx)
    0x7fff4774007c <+118>: andl   $0x43c0478, %r14d         ; imm = 0x43C0478 
    0x7fff47740083 <+125>: orl    0x940(%rbx), %r14d
Target 0: (gst-launch-1.0) stopped.
(lldb) bt
* thread #59, queue = 'org.freedesktop.gstreamer.glwindow', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
  * frame #0: 0x00007fff47740072 libGPUSupportMercury.dylib`gldUpdateDrawFramebuffer + 108
    frame #1: 0x00007fff364332da GLEngine`gleUpdateDrawFramebufferState + 602
    frame #2: 0x00007fff36351dd4 GLEngine`glClear_Exec + 205
    frame #3: 0x00000001100ce11e libgstservoplugin.dylib`std::thread::local::LocalKey$LT$T$GT$::with::hd2cc965df11a99b4 + 1998
    frame #4: 0x0000000110118896 libgstservoplugin.dylib`gstservoplugin::servowebsrc::fill_on_gl_thread::h1e8461bbb552fa65 + 214
    frame #5: 0x000000010045775f libgstgl-1.0.0.dylib`_run_message_sync + 24
    frame #6: 0x000000010046256d libgstgl-1.0.0.dylib`__gst_gl_window_cocoa_send_message_async_block_invoke + 39
    frame #7: 0x00007fff585e55f8 libdispatch.dylib`_dispatch_call_block_and_release + 12
    frame #8: 0x00007fff585e663d libdispatch.dylib`_dispatch_client_callout + 8
    frame #9: 0x00007fff585ec8e0 libdispatch.dylib`_dispatch_lane_serial_drain + 602
    frame #10: 0x00007fff585ed396 libdispatch.dylib`_dispatch_lane_invoke + 385
    frame #11: 0x00007fff585f56ed libdispatch.dylib`_dispatch_workloop_worker_thread + 598
    frame #12: 0x00007fff58826611 libsystem_pthread.dylib`_pthread_wqthread + 421
    frame #13: 0x00007fff588263fd libsystem_pthread.dylib`start_wqthread + 13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.