View gist:16a328dd56846a28d25feb8a2140f858
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
goroutine 5 [IO wait]: | |
internal/poll.runtime_pollWait(0x7f70c7e4cf00, 0x72, 0x469a89) | |
/home/raghu/repo/go/src/github.com/go/src/runtime/netpoll.go:173 +0x59 | |
internal/poll.(*pollDesc).wait(0xc420016338, 0x72, 0x53c3e0, 0x53b120) | |
/home/raghu/repo/go/src/github.com/go/src/internal/poll/fd_poll_runtime.go:85 +0xae | |
internal/poll.(*pollDesc).waitRead(0xc420016338, 0xc420094000, 0x200) | |
/home/raghu/repo/go/src/github.com/go/src/internal/poll/fd_poll_runtime.go:90 +0x34 | |
internal/poll.(*FD).Read(0xc420016320, 0xc420094000, 0x200, 0x200, 0x0, 0x0, 0x0) | |
/home/raghu/repo/go/src/github.com/go/src/internal/poll/fd_unix.go:113 +0x15e | |
os.(*File).read(0xc42000c038, 0xc420094000, 0x200, 0x200, 0x45f7fb, 0x4b3fe0, 0x200) |
View test.sh
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
>>p 'sh -c' | |
root 10304 0.0 0.0 13980 2592 ? Ss 11:53 0:00 sh -c while :; do date; sleep 3; done | |
raghu 10590 0.0 0.0 11056 2220 pts/13 S+ 11:54 0:00 grep sh -c | |
(/tmp/hh)~11:54-0 | |
>>sudo ls -l /proc/10304/fd | |
total 0 | |
lr-x------ 1 root root 64 Dec 8 11:53 0 -> 'pipe:[594747]' | |
l-wx------ 1 root root 64 Dec 8 11:53 1 -> 'pipe:[594746]' | |
l-wx------ 1 root root 64 Dec 8 11:53 2 -> 'pipe:[594746]' | |
(/tmp/hh)~11:54-0 |
View config.json
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
{ | |
"ociVersion": "1.0.0-rc2-dev", | |
"platform": { | |
"os": "linux", | |
"arch": "amd64" | |
}, | |
"process": { | |
"terminal": false, | |
"consoleSize": { | |
"height": 0, |
View config.sh
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
inxi -F | |
System: Host: lative Kernel: 4.8.10-1-ARCH x86_64 (64 bit) Desktop: N/A Distro: Arch Linux | |
Machine: Device: laptop System: Dell product: XPS 13 9360 | |
Mobo: Dell model: 0839Y6 v: A00 UEFI: Dell v: 1.0.7 date: 09/13/2016 | |
Battery BAT0: charge: 75.4 Wh 95.5% condition: 78.9/78.9 Wh (100%) | |
CPU: Dual core Intel Core i7-7500U (-HT-MCP-) cache: 4096 KB | |
clock speeds: max: 3500 MHz 1: 937 MHz 2: 930 MHz 3: 897 MHz 4: 857 MHz | |
Graphics: Card: Intel Device 5916 | |
Display Server: X.Org 1.18.4 driver: intel Resolution: 3200x1800@60.0hz | |
GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2) GLX Version: 3.0 Mesa 13.0.2 |
View mem.diff
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
diff --git a/criu/mem.c b/criu/mem.c | |
index 2258605..8c46265 100644 | |
--- a/criu/mem.c | |
+++ b/criu/mem.c | |
@@ -112,6 +112,9 @@ bool should_dump_page(VmaEntry *vmae, u64 pme) | |
if (pme & (PME_PRESENT | PME_SWAP)) | |
return true; | |
+ if (vmae->madv & (1ul << MADV_DONTDUMP)) | |
+ return false; |
View build.log
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
make | |
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/raghu/zookeeper/src/contrib/zkfuse/missing autoheader) | |
rm -f stamp-h1 | |
touch config.h.in | |
cd . && /bin/sh ./config.status config.h | |
config.status: creating config.h | |
config.status: config.h is unchanged | |
make all-recursive | |
make[1]: Entering directory '/home/raghu/zookeeper/src/contrib/zkfuse' | |
Making all in src |
View gist:5bd675296326c3bfdff9e2e3dfc26a88
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
$ opam switch show | |
system | |
$ opam config var switch | |
system | |
$ opam config var compiler | |
system | |
View gist:bb82648c5d48ee68e808
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
sudo ./build-rkt-1.0.0+git/bin/rkt run docker:busybox | |
image: using image from file /usr/lib/rkt/stage1.aci | |
image: remote fetching from URL "docker:busybox" | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal 0xb code=0x1 addr=0x0 pc=0x5e4314] | |
goroutine 1 [running, locked to thread]: | |
github.com/coreos/rkt/rkt/image.(*dockerFetcher).GetHash(0xc82033b2f0, 0xc820322080, 0x0, 0x0, 0x0, 0x0) | |
/home/raghu/repo/go/src/github.com/coreos/rkt/build-rkt-1.0.0+git/gopath/src/github.com/coreos/rkt/rkt/image/dockerfetcher.go:54 +0x1f4 | |
github.com/coreos/rkt/rkt/image.(*Fetcher).maybeFetchDockerURLFromRemote(0xc82033ba50, 0xc820322080, 0x0, 0x0, 0x0, 0x0) |
View gist:8387266e48b6390d73fb
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
hostile.sh -m 100 curl -L http://google.com | |
=============== | |
Thread 2 (Thread 0x7fd1b0039740 (LWP 31959)): | |
#0 0x00007fd1af2e6e8d in poll () from /usr/lib/libc.so.6 | |
#1 0x00007fd1afa16131 in ?? () from /usr/lib/libcurl.so.4 | |
#2 0x00007fd1afa0a180 in curl_easy_perform () from /usr/lib/libcurl.so.4 | |
#3 0x000000000040a6b2 in ?? () | |
#4 0x000000000040bfdd in ?? () | |
#5 0x000000000040247a in ?? () |
View gist:b08faf84a88a04d89019
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
net_get_random_once(&inet_ehash_secret, sizeof(inet_ehash_secret)); | |
return __inet_ehashfn(laddr, lport, faddr, fport, | |
inet_ehash_secret + net_hash_mix(net)); | |
............... | |
........... | |
static inline unsigned int __inet_ehashfn(const __be32 laddr, | |
const __u16 lport, |
NewerOlder