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

indi_sx_ccd segfaults on Ubuntu 16.04 LTS #132

Closed
teuben opened this issue Dec 23, 2016 · 6 comments
Closed

indi_sx_ccd segfaults on Ubuntu 16.04 LTS #132

teuben opened this issue Dec 23, 2016 · 6 comments

Comments

@teuben
Copy link

teuben commented Dec 23, 2016

**Starting from the current git repo I'm starting the indiserver to talk to my Starlight Express: **

indiserver -vvv indi_sx_ccd

shows in /var/log/kern.log that indi_sx_ccd died:

Dec 22 19:52:05 nemo2 kernel: [21577.370424] usb 3-1: reset high-speed USB device number 15 using xhci_hcd
Dec 22 19:52:05 nemo2 kernel: [21577.500185] indi_sx_ccd[13693]: segfault at 40 ip 00007fa6aba952a6 sp 00007ffd4928ffe0 error 4
Dec 22 19:52:05 nemo2 kernel: [21577.500191] usb 3-1: USB disconnect, device number 15
Dec 22 19:52:05 nemo2 kernel: [21577.500199] in libusb-1.0.so.0.1.0[7fa6aba8d000+17000]
Dec 22 19:52:05 nemo2 kernel: [21577.666614] usb 3-1: new high-speed USB device number 16 using xhci_hcd

Then executing the sx_ccd_test program showed a bit more. Running it through the debugger, showed it dies in the libusb-1.0 library:

(gdb) n
338 int rc = libusb_bulk_transfer(sxHandle, BULK_OUT, setup_data, 8, &transferred, BULK_COMMAND_TIMEOUT);
(gdb) s

Thread 1 "sx_ccd_test" received signal SIGSEGV, Segmentation fault.
0x00007ffff7bc72aa in libusb_submit_transfer () from /lib/x86_64-linux-gnu/libusb-1.0.so.0

As a next step I might compile the USB library to see if this gives me more insight, but obviously would be greatful for any other hints on this problem on which I've been banging for a few days now.

@teuben
Copy link
Author

teuben commented Dec 23, 2016

After some more testing, I should add that the segfault is not persistent. Re-executing sx_ccd_test will actually work, and I also get the impression a time-out within things work or fail is of relevance.

@knro
Copy link
Contributor

knro commented Mar 4, 2017

Any update on this issue?

@teuben
Copy link
Author

teuben commented Mar 4, 2017

none, but I am moving my code to a raspberry pie as well, and hope it will fare better there. I saw there were some updates overall, so it's time to test again.

@knro
Copy link
Contributor

knro commented Mar 20, 2017

Ok can this issue be closed or still pending?

@teuben
Copy link
Author

teuben commented Mar 20, 2017 via email

@knro
Copy link
Contributor

knro commented Apr 15, 2017

If there are no more updates, I'll be closing this issue soon.

@knro knro closed this as completed May 17, 2017
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