Code Monkey home page Code Monkey logo

fastime's Introduction

Hi there, I'm Yusuke Kato (@kpango)

Distributed System Developer & R&D Product Manager @yahoojapan & Tech Lead @vdaas

kpango


  • I am currently working as an R&D Product Manager at Yahoo! Japan Corporation.

  • Here is my technology stack.

    • Distributed systems, Kubernetes, Docker, OpenStack.
    • Go, C, C++, Rust, Nim, Python, TypeScript.
  • I'm also interested in vector search engines and other similar search engines like I invented a distributed vector search engine called Vald.

  • I also have several OSS repositories that you can take a look at if you are interested! Repositories

  • Currently, I am looking for a side job opportunity. Here is a link to my resume.

    • https://kpango.com
    • I have a leading knowledge of Go, Kubernetes at Yahoo and would be happy to help you guys out.
  • I'd love to receive the PR and Issues report for vald.


My Github Stats


With respect and love,
Yusuke Kato

Copyright ©2022 Yusuke Kato. All rights reserved.

fastime's People

Contributors

aldiesel avatar dongnguyenvt avatar imgbot[bot] avatar kevindiu avatar kpango avatar milerius avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fastime's Issues

invalid memory address or nil pointer dereference

I am using the github.com/kpango/glg package that in turn is using this package. When I run my code on a x86_64 machine it works, no problems what so ever, but when I compile it and try to run it on a arm processor (Raspberry Pi 3) it panics and crashes with the following error

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x4 pc=0x114fc]
goroutine 17 [running]:
sync/atomic.storeUint64(0x1101e034, 0x4c4b40, 0x0)
/usr/lib/go-1.10/src/sync/atomic/64bit_arm.go:20 +0x3c
github.com/kpango/fastime.(*Fastime).StartTimerD.func1(0x1101e000, 0x4c4b40, 0x0, 0x386220, 0x110001e0)
/home/user/go/src/github.com/kpango/fastime/fastime.go:181 +0x64
created by github.com/kpango/fastime.(*Fastime).StartTimerD
/home/user/go/src/github.com/kpango/fastime/fastime.go:179 +0xb8

panic at runtime on android

E/Go: panic: unaligned 64-bit atomic operation
E/Go: 
E/Go: goroutine 8 [running]:
E/Go: runtime/internal/atomic.panicUnaligned()
E/Go: 	/Users/milerius/sdk/go1.16.2/src/runtime/internal/atomic/unaligned.go:8 +0x38
E/Go: runtime/internal/atomic.Store64(0x8684e2f4, 0x4c4b40, 0x0)
E/Go: 	/Users/milerius/sdk/go1.16.2/src/runtime/internal/atomic/asm_386.s:213 +0x10
E/Go: github.com/kpango/fastime.(*Fastime).StartTimerD.func1(0x8684e2c0, 0x4c4b40, 0x0, 0xb7422b9c, 0x86812820)
E/Go: 	/var/folders/9w/h3xyrgx538g23bw10m59tbgc0000gn/T/gomobile-work-681244108/pkg/mod/github.com/kpango/[email protected]/fastime.go:188 +0x88
E/Go: created by github.com/kpango/fastime.(*Fastime).StartTimerD
E/Go: 	/var/folders/9w/h3xyrgx538g23bw10m59tbgc0000gn/T/gomobile-work-681244108/pkg/mod/github.com/kpango/[email protected]/fastime.go:185 +0xc9
A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 8080 (Thread-2), pid 8045 (e.myapplication)

golang/go#11891

Would be nice if we can solve it, i try to make fasthttp work on my android device, and i'm block at this point

cc @kpango i dont know if you ever see this problem

Reference: golang/go#599 and https://golang.org/pkg/sync/atomic/#pkg-note-BUG
Solution: golang/go#11891 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.