Err sorry should have read more. Your panic message was

2016/09/05 02:57:52 fuse: panic in handler for Write [ID=0x25 Node=0x8 
Uid=1000 Gid=1000 Pid=3299] 0x2 17 @31 fl=0 lock=0 ffl=OpenReadWrite: 
runtime error: slice bounds out of range 

so it's the slice that's busted, not the deref.

On Tuesday, September 6, 2016 at 1:16:42 PM UTC-7, Tommi Virtanen wrote:
>
> On Sunday, September 4, 2016 at 8:18:08 PM UTC-7, kortschak wrote:
>
>> Can someone tell me what it is that I'm failing to understand with file 
>> truncation/write and FUSE? 
>>
>
> Doesn't seem to have much to do with FUSE.
>
> goroutine 50 [running]: 
>> bazil.org/fuse/fs.(*Server).serve.func2(0x65e4a0, 0xc4200a4460, 
>> 0xc420042ec8, 0xc420042e1f) 
>>         /home/travis/gopath/src/bazil.org/fuse/fs/serve.go:857 +0x1d9 
>> panic(0x5702e0, 0xc420018150) 
>>         
>> /home/travis/.gimme/versions/go1.7.linux.amd64/src/runtime/panic.go:458 
>> +0x243 
>> github.com/ev3go/sisyphus.(*Bytes).WriteAt(0xc42000c680, 0xc42014a050, 
>> 0x11, 0x20fb0, 0x1f, 0x590ba0, 0xc420042901, 0x7fd968d874c0) 
>>         /home/travis/gopath/src/github.com/ev3go/sisyphus/sisyphus.go:102 
>> +0x115 
>>
>
>
> https://github.com/ev3go/sisyphus/blob/205b07b1c66176293c0a4d2d52dec9335c5f2ab4/sisyphus.go#L102
>
> Looks like f there is nil. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to