[ 
https://issues.apache.org/jira/browse/BEAM-11604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kezhu Wang updated BEAM-11604:
------------------------------
    Fix Version/s: 2.28.0
       Resolution: Fixed
           Status: Resolved  (was: Open)

Fixed in commit [aab4353bb2fb4aad4e71100ba468eee24d8e46b8 
|https://github.com/apache/beam/commit/aab4353bb2fb4aad4e71100ba468eee24d8e46b8]
 which released in 2.28.0

cc [~lostluck]

> Prevent panic to run streaming_wordcap
> --------------------------------------
>
>                 Key: BEAM-11604
>                 URL: https://issues.apache.org/jira/browse/BEAM-11604
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>         Environment: go version go1.15.6 darwin/amd64
>            Reporter: Yusaku Matsuki
>            Priority: P3
>             Fix For: 2.28.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I tried to the example streaming_wordcap/wordcap.go and panic occurred.
>  
> {code:java}
> $ cd beam/sdks/go/examples/streaming_wordcap/wordcap.go
> $ go run wordcap.go \
>   --project=MY_PROJECT\
>   --temp_location=gs://MY_BUKET/tmp\
>   --staging_location=gs://MY_BUKET/binaries\
>   --runner=dataflow
> ...
> panic: runtime error: invalid memory address or nil pointer dereferencepanic: 
> runtime error: invalid memory address or nil pointer dereference[signal 
> SIGSEGV: segmentation violation code=0x1 addr=0x58 pc=0x15b85c3]
> goroutine 1 
> [running]:github.com/apache/beam/sdks/go/pkg/beam/core/runtime/graphx.(*marshaller).addMultiEdge(0xc00079ba10,
>  0x1d16d9d, 0x8, 0xc00025a0a0, 0x2544dc0, 0xc0001f6c00, 0x2, 0x30, 0x2867560)
>         
> $GOPATH/pkg/mod/github.com/apache/[email protected]+incompatible/sdks/go/pkg/beam/core/runtime/graphx/translate.go:305
>  +0x163
> ...{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to