[go-nuts] Re: Panic in go1.8rc3 using cgo to get binary data from database

2017-02-13 Thread Mark Crook
Thanks Daniel, that seems on the right track. The driver api itself is a C library, without source code. >From the driver api docs: /** * get_column() fills the supplied buffer with the value fetched for the * specified column. *For A_BINARY and A_STRING * data types,* * * value->buffer will

[go-nuts] Re: Panic in go1.8rc3 using cgo to get binary data from database

2017-02-12 Thread Daniel Theophanes
It is difficult to be certain, but I would put my bets on your sql anywhere driver may not be handling the c data lifetimes correctly, or might not be keeping a reference. It is difficult to tell without the driver code. Thanks, -Daniel On Saturday, February 11, 2017 at 7:27:11 PM UTC-8, Mark

[go-nuts] Re: Panic in go1.8rc3 using cgo to get binary data from database

2017-02-12 Thread Mark Crook
Thanks Damian On Monday, 13 February 2017 04:29:59 UTC+13, Damian Gryski wrote: > > Please file an issue at https://golang.org/issues > > Damian > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving