Giter Club home page Giter Club logo

Comments (7)

sndnvaps avatar sndnvaps commented on August 16, 2024

my go version:

go1.13.1

from kala.

sndnvaps avatar sndnvaps commented on August 16, 2024

when i restart the kala got some error

1:6379
INFO[0000] Preparing cache                              
INFO[0000] Job test_job:9d3ec76d-1c58-421a-4cd3-5a12d4834228 repeating in 0s 
INFO[0000] Job test_job:9d3ec76d-1c58-421a-4cd3-5a12d4834228 added to cache. 
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x12cbc]

goroutine 1 [running]:
runtime/internal/atomic.goXadd64(0x240e6c4, 0x1, 0x0, 0x240d001, 0xc5)
        /usr/local/go/src/runtime/internal/atomic/atomic_arm.go:103 +0x1c
github.com/cornelk/hashmap.(*List).insertAt(0x240e6c0, 0x240d880, 0x0, 0x0, 0x0)
        /home/pi/gowork/pkg/mod/github.com/cornelk/[email protected]/list.go:129 +0x7c
github.com/cornelk/hashmap.(*List).AddOrUpdate(0x240e6c0, 0x240d880, 0x0, 0x240d0c0)
        /home/pi/gowork/pkg/mod/github.com/cornelk/[email protected]/list.go:65 +0x118
github.com/cornelk/hashmap.(*HashMap).insertListElement(0x240e6d0, 0x240d880, 0x3956ac01, 0x7cc3581b)
        /home/pi/gowork/pkg/mod/github.com/cornelk/[email protected]/hashmap.go:152 +0x64
github.com/cornelk/hashmap.(*HashMap).Set(0x240e6d0, 0x4a60c0, 0x2410bf8, 0x254c000)
        /home/pi/gowork/pkg/mod/github.com/cornelk/[email protected]/hashmap.go:131 +0xa4
github.com/ajvb/kala/job.(*LockFreeJobCache).Set(...)
        /home/pi/gowork/src/github.com/ajvb/kala/job/cache.go:258
github.com/ajvb/kala/job.(*LockFreeJobCache).Start(0x2540140, 0x2a05f200, 0x1, 0x7b8a800, 0xfffffff2)
        /home/pi/gowork/src/github.com/ajvb/kala/job/cache.go:202 +0x1dc
github.com/ajvb/kala/cmd.init.0.func2(0x24e8100)
        /home/pi/gowork/src/github.com/ajvb/kala/cmd/app.go:182 +0x408
github.com/codegangsta/cli.Command.Run(0x521bbf, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x523a0c, 0x8, 0x0, ...)
        /home/pi/gowork/pkg/mod/github.com/codegangsta/[email protected]/command.go:127 +0x3b4
github.com/codegangsta/cli.(*App).Run(0x251c360, 0x2484040, 0x4, 0x4, 0x0, 0x0)
        /home/pi/gowork/pkg/mod/github.com/codegangsta/[email protected]/app.go:159 +0x3c0
main.main()
        /home/pi/gowork/src/github.com/ajvb/kala/main.go:20 +0x74

from kala.

tooolbox avatar tooolbox commented on August 16, 2024

Seems caused by https://github.com/cornelk/hashmap

Reviewing the go.mod file, we are pinned to a version from 2017. There have been ~50 commits since that point.

from kala.

tooolbox avatar tooolbox commented on August 16, 2024

@sndnvaps how do you feel about trying with https://github.com/tooolbox/kala/tree/hashmap-update ?

from kala.

sndnvaps avatar sndnvaps commented on August 16, 2024

@sndnvaps how do you feel about trying with https://github.com/tooolbox/kala/tree/hashmap-update ?

ok, i will try it now. thanks.

from kala.

sndnvaps avatar sndnvaps commented on August 16, 2024

@tooolbox i have test it . every thing is ok.
i hope it can merge into master branch

from kala.

tooolbox avatar tooolbox commented on August 16, 2024

Yup, merged & tagged as v0.3.3

from kala.

Related Issues (20)

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.