Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ronin13's full-sized avatar

Raghavendra Prabhu ronin13

View GitHub Profile
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)
>>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
{
"ociVersion": "1.0.0-rc2-dev",
"platform": {
"os": "linux",
"arch": "amd64"
},
"process": {
"terminal": false,
"consoleSize": {
"height": 0,
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
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;
@ronin13
ronin13 / build.log
Created November 17, 2016 10:48
zkfuse build issues
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
$ opam switch show
system
$ opam config var switch
system
$ opam config var compiler
system
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)
@ronin13
ronin13 / file1.txt
Created May 28, 2013 09:08
the description for this gist
String file contents
@ronin13
ronin13 / file1.txt
Created May 28, 2013 09:09
the description for this gist
String file contents