This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) bt | |
#0 0x0000000000000000 in ?? () | |
#1 0x00007fbb3a7d191c in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so | |
#2 0x00007fbb3a7d1eb4 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so | |
#3 0x00007fbb3a7d4b56 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so | |
#4 0x00007fbb39c5ed98 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so | |
#5 0x00007fbb39c08f64 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so | |
#6 0x00007fbb39c09167 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so | |
#7 0x00007fbb3891f05f in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so | |
#8 0x00007fbb398301b7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/git/rust-opengl-test (master) $ ulimit -c unlimited | |
~/git/rust-opengl-test (master) $ cargo run | |
Finished debug [unoptimized + debuginfo] target(s) in 0.0 secs | |
Running `target/debug/rust-opengl-test` | |
Prefix path: /home/jhasse/git/rust-opengl-test | |
error: Process didn't exit successfully: `target/debug/rust-opengl-test` (signal: 11, SIGSEGV: invalid memory reference) | |
~/git/rust-opengl-test (master) $ ls /var/lib/systemd/coredump/ | |
~/git/rust-opengl-test (master) $ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) run | |
Starting program: /home/jhasse/.cargo/bin/cargo run | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
Finished debug [unoptimized + debuginfo] target(s) in 0.0 secs | |
Running `target/debug/rust-opengl-test` | |
Prefix path: /home/jhasse/git/rust-opengl-test | |
error: Process didn't exit successfully: `target/debug/rust-opengl-test` (signal: 11, SIGSEGV: invalid memory reference) | |
[Inferior 1 (process 2907) exited with code 0145] | |
(gdb) bt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// launch.json | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "example", | |
"type": "cppdbg", | |
"request": "launch", | |
"miDebuggerPath": "/usr/bin/gdb", | |
"targetArchitecture": "x64", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Macaron] PANIC: runtime error: makeslice: cap out of range | |
/usr/local/go/src/runtime/panic.go:423 (0x42b609) | |
/usr/local/go/src/runtime/slice.go:30 (0x440aac) | |
/tmp/d20160903-15-h2vuet/opt/gogs/.heroku/go/src/github.com/gogits/gogs/models/org_team.go:40 (0x59451a) | |
/tmp/d20160903-15-h2vuet/opt/gogs/.heroku/go/src/github.com/gogits/gogs/models/org_team.go:58 (0x594caa) | |
/tmp/d20160903-15-h2vuet/opt/gogs/.heroku/go/src/github.com/gogits/gogs/models/org_team.go:320 (0x597e95) | |
/tmp/d20160903-15-h2vuet/opt/gogs/.heroku/go/src/github.com/gogits/gogs/routers/org/teams.go:260 (0x8c1b08) | |
/usr/local/go/src/runtime/asm_amd64.s:437 (0x45c52e) | |
/usr/local/go/src/reflect/value.go:432 (0x50110a) | |
/usr/local/go/src/reflect/value.go:300 (0x4ffdd1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clone: | |
recursive: true | |
build: | |
image: ubuntu:16.04 | |
commands: | |
- apt-get update | |
- apt-get install ... | |
- ... | |
environment: | |
- CLICOLOR_FORCE=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\jhass_000\git\cmaketest>type main.cpp | |
#include <ft2build.h> | |
C:\Users\jhass_000\git\cmaketest>type CMakeLists.txt | |
cmake_minimum_required(VERSION 2.8) | |
include_directories("freetype2") | |
add_library( freetype-gl STATIC "main.cpp") | |
C:\Users\jhass_000\git\cmaketest>cmake -G "MinGW Makefiles" . | |
-- Configuring done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
int main() { | |
long long g = -4294966190; | |
unsigned int p = 0; | |
--p; | |
g += p; | |
std::cout << g << std::endl; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn draw(&self, shader_programs: &mut ShaderPrograms) { | |
self.text.draw(&mut shader_programs); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shopt -s dotglob | |
du -sk * | sort -n | while read size fname; do for unit in k M G T P E Z Y; do if [ $size -lt 1024 ]; then echo -e "${size}${unit}\t${fname}"; break; fi; size=$((size/1024)); done; done |