Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jdonald's full-sized avatar

jdonald

View GitHub Profile
@jdonald
jdonald / dolphin_stack_trace.txt
Created August 25, 2019 16:51
Dolphin EXT_buffer_storage crash details
pi64)pi@raspberrypi:~/dolphin/build $ gdb -core core Binaries/dolphin-emu
GNU gdb (Debian 8.2.1-2) 8.2.1
...
Core was generated by `Binaries/dolphin-emu'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:105
105 ../sysdeps/aarch64/multiarch/../memcpy.S: No such file or directory.
[Current thread is 1 (Thread 0x7f88c0e4f0 (LWP 14152))]
(gdb) info threads
Id Target Id Frame
@jdonald
jdonald / v4l2-test-singlebuffer.cpp
Created January 8, 2018 02:06
PhilBot's V4L2 test with fewer modifications, but still one buffer before VIDIOC_STREAMON
// C++ / V4L2 Includes
#include <linux/videodev2.h>
#include <fcntl.h> /* low-level i/o */
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
@jdonald
jdonald / v4l2-test.cpp
Last active January 15, 2018 02:42
PhilBot's V4L2 test modified to QBUF three buffers before attempting to STREAMON
// C++ / V4L2 Includes
#include <linux/videodev2.h>
#include <fcntl.h> /* low-level i/o */
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/mman.h>
#include <sys/ioctl.h>