Thread 15 "QuartzRemoteHoo" received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7fff9d7fe700 (LWP 62072)]
0x00007fffe2a2c301 in ?? () from /usr/lib/x86_64-linux-gnu/libnvcuvid.so.1
(gdb) back
#0 0x00007fffe2a2c301 in () at /usr/lib/x86_64-linux-gnu/libnvcuvid.so.1
#1 0x00007fffe2a3c65e in () at /usr/lib/x86_64-linux-gnu/libnvcuvid.so.1
#2 0x00007fffe2a3d128 in () at /usr/lib/x86_64-linux-gnu/libnvcuvid.so.1
#3 0x00007fffe80ab377 in () at /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.1
#4 0x00007fffe80a46e2 in () at /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.1
#5 0x00007fffe80afc09 in () at /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.1
#6 0x00007fffe85182d9 in gst_nv_base_enc_set_format (enc=<optimized out>, state=0x55555610fd20) at gstnvbaseenc.c:1263
#7 0x00007ffff56a464b in gst_video_encoder_setcaps (caps=0x7fff64004770, encoder=0x5555561ffb10) at gstvideoencoder.c:672
#8 0x00007ffff56a464b in gst_video_encoder_sink_event_default (encoder=0x5555561ffb10, event=0x7fff68006ab0) at gstvideoencoder.c:1027
#9 0x00007ffff5105d97 in gst_pad_send_event_unchecked (pad=pad@entry=0x555556343770, event=event@entry=0x7fff68006ab0, type=<optimized out>, type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5772
#10 0x00007ffff510622b in gst_pad_push_event_unchecked (pad=pad@entry=0x555556343520, event=0x7fff68006ab0, type=type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5417
#11 0x00007ffff5106659 in push_sticky (pad=pad@entry=0x555556343520, ev=ev@entry=0x7fff9d7fbc80, user_data=user_data@entry=0x7fff9d7fbcf0) at gstpad.c:3933
#12 0x00007ffff5103fe0 in events_foreach (pad=pad@entry=0x555556343520, func=func@entry=0x7ffff51065a0 <push_sticky>, user_data=user_data@entry=0x7fff9d7fbcf0) at gstpad.c:608
#13 0x00007ffff51109cf in check_sticky (event=0x7fff68006ab0, pad=0x555556343520) at gstpad.c:3992
#14 0x00007ffff51109cf in gst_pad_push_event (pad=0x555556343520, event=0x7fff68006ab0) at gstpad.c:5548
#15 0x00005555556a4bc8 in <O as gstreamer::pad::PadExtManual>::push_event (self=0x7fff9d7fc250, event=...) at /home/billy/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/6871e50/gstreamer/src/pad.rs:422
#16 0x00005555556def60 in gsttogglerecord::togglerecord::ToggleRecord::sink_event (self=0x5555560b62d0, pad=0x7fff9d7fd618, element=0x7fff9d7fd628, event=...) at /home/billy/.cargo/git/checkouts/gst-plugins-rs-2155d1592d6bb9f7/8b4f0f9/gst-plugin-togglerecord/src/togglerecord.rs:952
#17 0x00005555556d41c9 in gsttogglerecord::togglerecord::ToggleRecord::set_pad_functions::{{closure}}::{{closure}} (togglerecord=0x5555560b62d0, element=0x7fff9d7fd628) at /home/billy/.cargo/git/checkouts/gst-plugins-rs-2155d1592d6bb9f7/8b4f0f9/gst-plugin-togglerecord/src/togglerecord.rs:198
#18 0x00005555556b1d4a in <T as gstreamer::subclass::element::ElementImplExt>::catch_panic_pad_function::{{closure}} () at /home/billy/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/6871e50/gstreamer/src/subclass/element.rs:240
#19 0x00005555556c6e43 in <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (self=..., _args=()) at /rustc/de7c4e42314c56528640e3b663aa10e0caa6bd9b/src/libstd/panic.rs:309
#20 0x00005555556ef4c7 in std::panicking::try::do_call (data=0x7fff9d7fcec0 "(\325\177\235\377\177") at /rustc/de7c4e42314c56528640e3b663aa10e0caa6bd9b/src/libstd/panicking.rs:294
#21 0x0000555555a6013a in __rust_maybe_catch_panic () at src/libpanic_unwind/lib.rs:82
#22 0x00005555556eed67 in std::panicking::try (f=...) at /rustc/de7c4e42314c56528640e3b663aa10e0caa6bd9b/src/libstd/panicking.rs:273
#23 0x00005555556c78eb in std::panic::catch_unwind (f=...) at /rustc/de7c4e42314c56528640e3b663aa10e0caa6bd9b/src/libstd/panic.rs:388
#24 0x00005555556d16d5 in <T as gstreamer::subclass::element::ElementImplExt>::catch_panic_pad_function (parent=..., fallback=..., f=...) at /home/billy/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/6871e50/gstreamer/src/subclass/error.rs:29
#25 0x00005555556d422f in gsttogglerecord::togglerecord::ToggleRecord::set_pad_functions::{{closure}} (pad=0x7fff9d7fd618, parent=..., event=...) at /home/billy/.cargo/git/checkouts/gst-plugins-rs-2155d1592d6bb9f7/8b4f0f9/gst-plugin-togglerecord/src/togglerecord.rs:195
#26 0x00005555556c53f2 in gstreamer::pad::trampoline_event_function (pad=0x5555563432d0, parent=0x5555560b63d0, event=0x7fff68006ab0) at /home/billy/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/6871e50/gstreamer/src/pad.rs:1232
#27 0x00007ffff5105d97 in gst_pad_send_event_unchecked (pad=pad@entry=0x5555563432d0, event=event@entry=0x7fff68006ab0, type=<optimized out>, type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5772
#28 0x00007ffff510622b in gst_pad_push_event_unchecked (pad=pad@entry=0x555556343080, event=0x7fff68006ab0, type=type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5417
#29 0x00007ffff5106659 in push_sticky (pad=pad@entry=0x555556343080, ev=ev@entry=0x7fff9d7fd820, user_data=user_data@entry=0x7fff9d7fd890) at gstpad.c:3933
#30 0x00007ffff5103fe0 in events_foreach (pad=pad@entry=0x555556343080, func=func@entry=0x7ffff51065a0 <push_sticky>, user_data=user_data@entry=0x7fff9d7fd890) at gstpad.c:608
#31 0x00007ffff51109cf in check_sticky (event=0x7fff68006ab0, pad=0x555556343080) at gstpad.c:3992
#32 0x00007ffff51109cf in gst_pad_push_event (pad=0x555556343080, event=event@entry=0x7fff68006ab0) at gstpad.c:5548
#33 0x00007fffe999e0f3 in gst_queue_push_one (queue=0x555556340fe0) at gstqueue.c:1455
#34 0x00007fffe999e0f3 in gst_queue_loop (pad=<optimized out>) at gstqueue.c:1537
#35 0x00007ffff513cfe9 in gst_task_func (task=0x555556344dd0) at gsttask.c:328
#36 0x00007ffff5ca3b60 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff5ca3195 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff4a6a6db in start_thread (arg=0x7fff9d7fe700) at pthread_create.c:463
#39 0x00007ffff457b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95