hugomcruz opened a new issue #485:
URL: https://github.com/apache/pulsar-client-go/issues/485


   Hi, 
   
   I am getting this error when I compile for the RPI2. 
   
   panic: unaligned 64-bit atomic operation
   
   goroutine 1 [running]:
   runtime/internal/atomic.panicUnaligned()
        /usr/local/go/src/runtime/internal/atomic/unaligned.go:8 +0x24
   runtime/internal/atomic.Xadd64(0x25f8c14, 0x1, 0x0, 0x1, 0x24180a8)
        /usr/local/go/src/runtime/internal/atomic/asm_arm.s:233 +0x14
   
github.com/apache/pulsar-client-go/pulsar/internal.(*rpcClient).NewRequestID(0x25f8c00,
 0x24180a8, 0x2472090)
        
/Users/hcruz/go/pkg/mod/github.com/apache/[email protected]/pulsar/internal/rpc_client.go:166
 +0x34
   
github.com/apache/pulsar-client-go/pulsar.(*client).TopicPartitions(0x25a0c60, 
0x25e40c0, 0x29, 0x1c17c, 0x1c944, 0x2472060, 0x30, 0x24)
        
/Users/hcruz/go/pkg/mod/github.com/apache/[email protected]/pulsar/client_impl.go:166
 +0x6c
   
github.com/apache/pulsar-client-go/pulsar.(*producer).internalCreatePartitionsProducers(0x2688000,
 0x0, 0x0)
        
/Users/hcruz/go/pkg/mod/github.com/apache/[email protected]/pulsar/producer_impl.go:149
 +0x58
   github.com/apache/pulsar-client-go/pulsar.newProducer(0x25a0c60, 0x2682000, 
0x54b444, 0x24ba0e8, 0x6189f0)
        
/Users/hcruz/go/pkg/mod/github.com/apache/[email protected]/pulsar/producer_impl.go:123
 +0x264
   
github.com/apache/pulsar-client-go/pulsar.(*client).CreateProducer(0x25a0c60, 
0x25e40c0, 0x29, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        
/Users/hcruz/go/pkg/mod/github.com/apache/[email protected]/pulsar/client_impl.go:135
 +0x50
   main.createProducer(0x6f7544, 0x25a0c60, 0x2596cb8, 0x6, 0x25e40c0, 0x29, 
0x25da800, 0x1fb, 0x25be1e0, 0x4e, ...)
        /Users/hcruz/Documents/GitHub/dump1090-tcm/publisher/pulsar.go:38 +0xa4
   main.main()
        /Users/hcruz/Documents/GitHub/dump1090-tcm/publisher/main.go:164 +0x56c
   
   The code just works fine in my mac, but fails when creating a producer on 
this line:
   
   
        producer, err := client.CreateProducer(pulsar.ProducerOptions{
                Topic: configuration.PulsarTopic,
        })
   
   Any clues, or a RPI would not be supported at all?
   
   
   
   
   
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to