Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash Ubuntu 12.10 32bits #16

Closed
think-free opened this issue Dec 27, 2012 · 2 comments
Closed

Crash Ubuntu 12.10 32bits #16

think-free opened this issue Dec 27, 2012 · 2 comments

Comments

@think-free
Copy link

I have several crash like this one when transfering several files, I'm using the compiled binary for linux.
Connecting to Galaxy Nexus and Nexus 10, crash seems random


2012/12/27 09:57:37 sending file without backing store: "11 - myfile.mp3"
panic: sending file without backing store: "11 - myfile.mp3"

goroutine 9 [running]:
log.Panicf(0x8150734, 0x26, 0xb7455d40, 0x1)
/home/hanwen/vc/go/src/pkg/log/log.go:0 +0x99
main.(_fileNode).send(0x187cf090, 0x0, 0x0)
/home/hanwen/go/src/go-mtpfs/fs.go:233 +0x116
main.(_pendingFile).Flush(0x187c7248, 0x187cf000, 0x0)
/home/hanwen/go/src/go-mtpfs/fs.go:662 +0x66
github.com/hanwen/go-fuse/fuse.(_FileSystemConnector).Flush(0x18701c90, 0x18767f10, 0x18767f38, 0x40, 0x1873f140, ...)
/home/hanwen/go/src/github.com/hanwen/go-fuse/fuse/api.go:0 +0x7e
github.com/hanwen/go-fuse/fuse.(_LockingRawFileSystem).Flush(0x187300b0, 0x18767f10, 0x18767f38, 0x0, 0x1873f1e0, ...)
/home/hanwen/go/src/github.com/hanwen/go-fuse/fuse/api.go:0 +0x71
github.com/hanwen/go-fuse/fuse.doFlush(0x18744310, 0x18767e00, 0x40)
/home/hanwen/go/src/github.com/hanwen/go-fuse/fuse/api.go:0 +0x56
github.com/hanwen/go-fuse/fuse.(_MountState).handleRequest(0x18744310, 0x18767e00, 0x18767e00)
/home/hanwen/go/src/github.com/hanwen/go-fuse/fuse/api.go:0 +0x221
github.com/hanwen/go-fuse/fuse.(_MountState).loop(0x18744310, 0x1, 0x0)
/home/hanwen/go/src/github.com/hanwen/go-fuse/fuse/api.go:0 +0x7b
created by github.com/hanwen/go-fuse/fuse.(*MountState).readRequest
/home/hanwen/go/src/github.com/hanwen/go-fuse/fuse/api.go:0 +0x7af

goroutine 1 [syscall]:
syscall.Syscall()
/home/hanwen/vc/go/src/pkg/syscall/asm_linux_386.s:0 +0x1f
syscall.Read(0x9, 0x18970000, 0x11000, 0x11000, 0x187002e8, ...)
/home/hanwen/vc/go/src/pkg/syscall/env_unix.go:0 +0x5c
os.(_File).read(0x187002e8, 0x18970000, 0x11000, 0x11000, 0x90, ...)
/home/hanwen/vc/go/src/pkg/os/dir_unix.go:0 +0x44
os.(_File).Read(0x187002e8, 0x18970000, 0x11000, 0x11000, 0xb7451b58, ...)
/home/hanwen/vc/go/src/pkg/os/dir_unix.go:0 +0x67
github.com/hanwen/go-fuse/fuse.(_MountState).readRequest(0x18744310, 0x18767000, 0x18767000, 0x0, 0x18744374, ...)
/home/hanwen/go/src/github.com/hanwen/go-fuse/fuse/api.go:0 +0x1b8
github.com/hanwen/go-fuse/fuse.(_MountState).loop(0x18744310, 0x0, 0xf)
/home/hanwen/go/src/github.com/hanwen/go-fuse/fuse/api.go:0 +0x4f
github.com/hanwen/go-fuse/fuse.(*MountState).Loop(0x18744310, 0x1)
/home/hanwen/go/src/github.com/hanwen/go-fuse/fuse/api.go:0 +0x46
main.main()
/home/hanwen/go/src/go-mtpfs/main.go:90 +0xdf4

goroutine 2 [syscall]:
created by runtime.main
/home/hanwen/vc/go/src/pkg/runtime/proc.c:-1577

goroutine 3 [syscall]:
syscall.Syscall()
/home/hanwen/vc/go/src/pkg/syscall/asm_linux_386.s:0 +0x1f
syscall.Read(0x9, 0x189c5000, 0x11000, 0x11000, 0x187002e8, ...)
/home/hanwen/vc/go/src/pkg/syscall/env_unix.go:0 +0x5c
os.(_File).read(0x187002e8, 0x189c5000, 0x11000, 0x11000, 0x8060885, ...)
/home/hanwen/vc/go/src/pkg/os/dir_unix.go:0 +0x44
os.(_File).Read(0x187002e8, 0x189c5000, 0x11000, 0x11000, 0x0, ...)
/home/hanwen/vc/go/src/pkg/os/dir_unix.go:0 +0x67
github.com/hanwen/go-fuse/fuse.(_MountState).readRequest(0x18744310, 0x18782001, 0x18782000, 0x0, 0x1874813c, ...)
/home/hanwen/go/src/github.com/hanwen/go-fuse/fuse/api.go:0 +0x1b8
github.com/hanwen/go-fuse/fuse.(_MountState).loop(0x18744310, 0x1, 0x0)
/home/hanwen/go/src/github.com/hanwen/go-fuse/fuse/api.go:0 +0x4f
created by github.com/hanwen/go-fuse/fuse.(*MountState).readRequest
/home/hanwen/go/src/github.com/hanwen/go-fuse/fuse/api.go:0 +0x7af

goroutine 4 [finalizer wait]:
created by runtime.gc
/home/hanwen/vc/go/src/pkg/runtime/mgc0.c:-1343

@hanwen
Copy link
Owner

hanwen commented Jan 4, 2013

can you compile the latest, and try again? If it crashes again, can you tell me how you copied, and send me the output of an strace of the program?

eg. if you used cp, do

strace cp files /tmp/mountpoint

and send the result.

@hanwen
Copy link
Owner

hanwen commented Jan 4, 2013

also, I want to see the complete stderr log

@hanwen hanwen closed this as completed Jan 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants