Giter Site home page Giter Site logo

Comments (4)

s8sg avatar s8sg commented on June 22, 2024

@LinkinStars thank you for reporting this issue. Can you please try with the latest release
https://github.com/s8sg/goflow/releases/tag/v0.1.0

from goflow.

LinkinStars avatar LinkinStars commented on June 22, 2024

I change to version v0.1.0, but the problem remains.

2020/10/09 19:04:51 Reporting span 7df3dc34375dfee6:50ce03eb333bc0ed:3ad27942d4ab172a:1
fatal error: concurrent map writesdoSomething


goroutine 67 [running]:
runtime.throw(0x15de707, 0x15)
        /usr/local/go/src/runtime/panic.go:1116 +0x72 fp=0xc000285678 sp=0xc000285648 pc=0x1034a02
runtime.mapassign_faststr(0x15310a0, 0xc0002de780, 0x15d772f, 0x4, 0x1)
        /usr/local/go/src/runtime/map_faststr.go:211 +0x3f7 fp=0xc0002856e0 sp=0xc000285678 pc=0x1015287
github.com/s8sg/goflow/eventhandler.(*TraceHandler).StartOperationSpan(0xc00015b180, 0xc000229028, 0x8, 0xc0004bbfe0, 0x14, 0x15d772f, 0x4)
        /Users/apple/go/pkg/mod/github.com/s8sg/goflow@v0.1.0/eventhandler/trace_handler.go:127 +0x223 fp=0xc000285770 sp=0xc0002856e0 pc=0x138d1e3
github.com/s8sg/goflow/eventhandler.(*GoFlowEventHandler).ReportOperationStart(0xc0000a81c0, 0x15d772f, 0x4, 0xc000229028, 0x8, 0xc0004bbfe0, 0x14)
        /Users/apple/go/pkg/mod/github.com/s8sg/goflow@v0.1.0/eventhandler/goflow_event_handler.go:66 +0x6b fp=0xc0002857b8 sp=0xc000285770 pc=0x138bd0b
github.com/faasflow/sdk/executor.(*FlowExecutor).executeNode(0xc000285b30, 0xc0000284a0, 0x5, 0x8, 0xc000402088, 0x1a2f9f0, 0x1, 0x0, 0x0)
        /Users/apple/go/pkg/mod/github.com/faasflow/sdk@v1.0.0/executor/executor.go:350 +0x702 fp=0xc000285900 sp=0xc0002857b8 pc=0x1160a52
github.com/faasflow/sdk/executor.(*FlowExecutor).Execute(0xc000285b30, 0xc0001774d0, 0x15db96f, 0xf, 0x1a9bd40, 0x203000, 0x203000)
        /Users/apple/go/pkg/mod/github.com/faasflow/sdk@v1.0.0/executor/executor.go:1266 +0xa8a fp=0xc000285a98 sp=0xc000285900 pc=0x1169d3a
github.com/faasflow/runtime/controller/handler.ExecuteFlowHandler(0xc000285c60, 0xc0003958c0, 0x16a8ec0, 0xc000154410, 0x0, 0x0)
        /Users/apple/go/pkg/mod/github.com/faasflow/runtime@v0.2.2/controller/handler/execute_flow_handler.go:28 +0x295 fp=0xc000285bf8 sp=0xc000285a98 pc=0x1423bc5
github.com/s8sg/goflow/runtime.(*FlowRuntime).handleNewRequest(0xc000112a20, 0xc0003958c0, 0x0, 0x0)
        /Users/apple/go/pkg/mod/github.com/s8sg/goflow@v0.1.0/runtime/flow_runtime.go:372 +0xf2 fp=0xc000285ca0 sp=0xc000285bf8 pc=0x14ac092
github.com/s8sg/goflow/runtime.(*FlowRuntime).handleRequest(0xc000112a20, 0xc0003958c0, 0xc00002844b, 0x3, 0x0, 0x0)
        /Users/apple/go/pkg/mod/github.com/s8sg/goflow@v0.1.0/runtime/flow_runtime.go:349 +0x10b fp=0xc000285d08 sp=0xc000285ca0 pc=0x14abe3b
github.com/s8sg/goflow/runtime.(*FlowRuntime).queueReceiver(0xc000112a20, 0xc0000a00c0, 0x1e, 0xc00022a1b0, 0x7, 0x9, 0x254815dd1, 0x1a6fd60)
        /Users/apple/go/pkg/mod/github.com/s8sg/goflow@v0.1.0/runtime/flow_runtime.go:324 +0x181 fp=0xc000285dd8 sp=0xc000285d08 pc=0x14ab881
github.com/s8sg/goflow/runtime.(*FlowRuntime).queueReceiver-fm(0xc0000a00c0, 0x1e, 0xc00022a1b0, 0x7, 0x9, 0xc0001aec60, 0x0)
        /Users/apple/go/pkg/mod/github.com/s8sg/goflow@v0.1.0/runtime/flow_runtime.go:304 +0x5c fp=0xc000285e28 sp=0xc000285dd8 pc=0x14af4fc
github.com/benmanns/goworker.(*worker).run(0xc0000a82c0, 0xc000066900, 0xc000021410)
        /Users/apple/go/pkg/mod/github.com/benmanns/goworker@v0.1.3/worker.go:154 +0x29f fp=0xc000285ed8 sp=0xc000285e28 pc=0x142067f
github.com/benmanns/goworker.(*worker).work.func1(0xc0000ac0d0, 0xc0000a82c0, 0xc00010a480)
        /Users/apple/go/pkg/mod/github.com/benmanns/goworker@v0.1.3/worker.go:108 +0x12a fp=0xc000285fc8 sp=0xc000285ed8 pc=0x142243a
runtime.goexit()
        /usr/local/go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc000285fd0 sp=0xc000285fc8 pc=0x10647c1
created by github.com/benmanns/goworker.(*worker).work
        /Users/apple/go/pkg/mod/github.com/benmanns/goworker@v0.1.3/worker.go:93 +0x1b4

from goflow.

s8sg avatar s8sg commented on June 22, 2024

Ack. Let me check

from goflow.

s8sg avatar s8sg commented on June 22, 2024

This is Fixed by #15

from goflow.

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.