Skip to content

Instantly share code, notes, and snippets.

View SamCarlberg's full-sized avatar

Sam Carlberg SamCarlberg

View GitHub Profile
@SamCarlberg
SamCarlberg / eOS_.bashrc
Created March 16, 2017 03:21
Default .bashrc for Elementary OS
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# We use preexec and precmd hook functions for Bash
# If you have anything that's using the Debug Trap or PROMPT_COMMAND
# change it to use preexec or precmd
# See also https://github.com/rcaloras/bash-preexec
# If not running interactively, don't do anything
case $- in
package edu.wpi.grip.core;
import org.bytedeco.javacpp.opencv_core.Mat;
import org.bytedeco.javacpp.opencv_core.Size;
import org.bytedeco.javacpp.opencv_cuda.GpuMat;
import java.util.function.Function;
import static org.bytedeco.javacpp.opencv_core.CV_16S;
import static org.bytedeco.javacpp.opencv_core.CV_16U;
*** Error in `/usr/java/jdk1.8.0_121/bin/java': double free or corruption (out): 0x00007fb9d7205ca0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fbafaecb7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7fbafaed3e0a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fbafaed798c]
/usr/lib/nvidia-375/libnvidia-ptxjitcompiler.so.375.39(+0x6b9d8a)[0x7fb9d9a42d8a]
/usr/lib/nvidia-375/libnvidia-ptxjitcompiler.so.375.39(+0x6b72b6)[0x7fb9d9a402b6]
/usr/lib/nvidia-375/libnvidia-ptxjitcompiler.so.375.39(+0x6b7eb2)[0x7fb9d9a40eb2]
/usr/lib/nvidia-375/libnvidia-ptxjitcompiler.so.375.39(+0x1200b0)[0x7fb9d94a90b0]
/usr/lib/nvidia-375/libnvidia-ptxjitcompiler.so.375.39(+0x120f58)[0x7fb9d94a9f58]
@SamCarlberg
SamCarlberg / threaddump.log
Created November 7, 2017 20:41
OutlineViewer hang
2017-11-07 15:38:22
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.144-b01 mixed mode):
"RMI TCP Connection(2)-10.0.1.25" #26 daemon prio=5 os_prio=0 tid=0x0000000021058000 nid=0x403c runnable [0x000000003032e000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
@SamCarlberg
SamCarlberg / maven_debug_output
Last active August 19, 2018 18:49
JavaCPP JNI errors
/usr/java/jdk-10.0.1/bin/java -Dmaven.multiModuleProjectDirectory=/home/sam/code/javacpp-fresh/javacpp-presets -Dmaven.home=/home/sam/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-1/182.3911.36/plugins/maven/lib/maven3 -Dclassworlds.conf=/home/sam/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-1/182.3911.36/plugins/maven/lib/maven3/bin/m2.conf -javaagent:/home/sam/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-1/182.3911.36/lib/idea_rt.jar=46393:/home/sam/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-1/182.3911.36/bin -Dfile.encoding=UTF-8 -classpath /home/sam/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-1/182.3911.36/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2018.2.1 install -e --projects .,opencv -Djavacpp.cppbuild.skip=true -X
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
Maven home: /home/sam/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-1/182.3911.36/plugins/maven/lib/maven3
Java version: 10.0.1, v