Skip to content

Instantly share code, notes, and snippets.

jdonald

View GitHub Profile
@jdonald
jdonald / dolphin_stack_trace.txt
Created Aug 25, 2019
Dolphin EXT_buffer_storage crash details
View dolphin_stack_trace.txt
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 Jan 8, 2018
PhilBot's V4L2 test with fewer modifications, but still one buffer before VIDIOC_STREAMON
View v4l2-test-singlebuffer.cpp
// 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 Jan 15, 2018
PhilBot's V4L2 test modified to QBUF three buffers before attempting to STREAMON
View v4l2-test.cpp
// 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>
You can’t perform that action at this time.