Skip to content

Instantly share code, notes, and snippets.

View kiryl's full-sized avatar

Kirill A. Shutemov kiryl

View GitHub Profile
package main
import (
"github.com/go-gl/gl"
glfw "github.com/go-gl/glfw3"
"runtime"
)
func main() {
runtime.LockOSThread()
package main
import (
"runtime"
glfw "github.com/go-gl/glfw3"
gl "github.com/go3d/go-opengl/core"
)
func main() {
runtime.LockOSThread()
package main
import (
"github.com/go-gl/gl"
glfw "github.com/go-gl/glfw3"
"log"
"runtime"
)
var (
make[3]: Entering directory '/root/criu/test'
./zdtm.sh -C ns/static/pipe00 &> ns_static_pipe00.log || \
{ flock Makefile cat ns_static_pipe00.log; exit 1; }
================================= CRIU CHECK =================================
Looks good.
Execute zdtm/live/static/pipe00
./pipe00 --pidfile=pipe00.pid --outfile=pipe00.out
./pipe00: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
The test failed (0, 1)
Makefile:196: recipe for target 'pipe00.pid' failed
[info]
checksum=0xd3460da2
version_name=v0.40.01
complete=true
[addresses]
translation_vector=0x09a1f170
language_vector=0x09a1f158
creature_vector=0x0992560c
active_creature_vector=0x09925618
[info]
checksum=0xdd544df6
version_name=v0.40.03
complete=true
[addresses]
translation_vector=0x09a20170
language_vector=0x09a20158
creature_vector=0x0992660c
active_creature_vector=0x09926618
[ 40.292030] BUG: soft lockup - CPU#2 stuck for 22s! [mkfs.ext4:161]
[ 40.292039] Modules linked in:
[ 40.292039] irq event stamp: 108890
[ 40.292039] hardirqs last enabled at (108889): [<ffffffff81745ce0>] restore_args+0x0/0x30
[ 40.292039] hardirqs last disabled at (108890): [<ffffffff81745fea>] apic_timer_interrupt+0x6a/0x80
[ 40.292039] softirqs last enabled at (108888): [<ffffffff81053e1c>] __do_softirq+0x20c/0x270
[ 40.292039] softirqs last disabled at (108883): [<ffffffff81053ffe>] irq_exit+0x8e/0xb0
[ 40.292039] CPU: 2 PID: 161 Comm: mkfs.ext4 Not tainted 3.16.0-rc6-00032-g3dd0de84b6bc #93
[ 40.292039] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 40.292039] task: ffff8800782494d0 ti: ffff880078280000 task.ti: ffff880078280000
#!/bin/sh -efu
/sbin/mkfs.ext4 /dev/pmem0
mount -o dax /dev/pmem0 /mnt/
cat /proc/mounts
df -h /mnt/
cd /mnt/
/host/home/kas/var/double-map test
#define _GNU_SOURCE
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
int main(int argc, char **argv)
{
typedef struct git_repository git_repository;
typedef struct git_reference git_reference;
extern int git__rethrow(int error, const char *, ...);
void git_path_join(char *buffer_out, const char *path_a, const char *path_b);
int git_reference_lookup(git_reference **reference_out, git_repository *repo, const char *name);
int git_reference_delete(git_reference *ref);
static int retrieve_tag_reference(git_reference **tag_reference_out, char *ref_name_out, git_repository *repo, const char *tag_name)