Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

panic: interrupted system call #21

Open
nathan-osman opened this issue Nov 18, 2015 · 2 comments
Open

panic: interrupted system call #21

nathan-osman opened this issue Nov 18, 2015 · 2 comments

Comments

@nathan-osman
Copy link

I ran the sample program on my Raspberry Pi model B. It worked but when I sent SIGINT to the application, it resulted in a panic:

panic: EpollWait error: interrupted system call

goroutine 20 [running]:
runtime.panic(0xb1460, 0x1030e100)
        /usr/lib/go/src/pkg/runtime/panic.c:279 +0x1a0
github.com/davecheney/gpio.func·001()
        /home/pi/go/src/github.com/davecheney/gpio/gpio_linux.go:77 +0x208
created by github.com/davecheney/gpio.setupEpoll
        /home/pi/go/src/github.com/davecheney/gpio/gpio_linux.go:90 +0x194s
@davecheney
Copy link
Owner

Thanks for the issue report. I have some potentially bad news. This package isn't really maintained any more, I haven't looked at it in several years. However if you wanted to send a pull request to add a loop around the EpollWait call i'd be happy to look at it.

@nathan-osman
Copy link
Author

Thanks for letting me know. I was kinda wondering (based on the revision history) if this repository was still being maintained. I've forked it and I'll see what I can do.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants