Skip to content

Instantly share code, notes, and snippets.

@singron
singron / backtrace.txt
Created August 27, 2020 03:59
nixpkgs ctypes_sh crash information
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7fe3018 in call_init.part ()
from /nix/store/an6bdv4phxsz14q2sk57iscl2dc7bnj1-glibc-2.30/lib/ld-linux-x86-64.so.2
(gdb) bt
#0 0x00007ffff7fe3018 in call_init.part ()
from /nix/store/an6bdv4phxsz14q2sk57iscl2dc7bnj1-glibc-2.30/lib/ld-linux-x86-64.so.2
#1 0x00007ffff7fe3186 in _dl_init ()
from /nix/store/an6bdv4phxsz14q2sk57iscl2dc7bnj1-glibc-2.30/lib/ld-linux-x86-64.so.2
#2 0x00007ffff7fe6f23 in dl_open_worker ()
from /nix/store/an6bdv4phxsz14q2sk57iscl2dc7bnj1-glibc-2.30/lib/ld-linux-x86-64.so.2
@singron
singron / manual-make.log
Created August 19, 2014 04:48
Manually running configure finds guile
$ sha1sum ../make-4.0.tar.gz
b092020919f74d56118eafac2c202f25ff3b6e59 ../make-4.0.tar.gz
$ ./configure --with-guile
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
@singron
singron / brew-make.log
Created August 19, 2014 04:42
brew install make can't find guile.
$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: e604db5d85d9edee3b5b5b8ae78b0d633d1414fe
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.9.4-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
@singron
singron / fragment.glsl
Created July 22, 2012 21:23
AdvMame2x shader program
/* Scale2x (aka AdvMame2x)
* Algorithm found at http://scale2x.sourceforge.net/algorithm.html
* Adapted for use by shaders
*/
#version 110
uniform sampler2D texture;
uniform vec2 textureDimensions;
varying vec2 texCoord;