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

segmentation fault after executing these files #2

Open
showaykerker opened this issue Oct 4, 2018 · 11 comments
Open

segmentation fault after executing these files #2

showaykerker opened this issue Oct 4, 2018 · 11 comments

Comments

@showaykerker
Copy link

I have a i7-8700 machine on Ubuntu 18.04 LTS, 16g ram python3 with BFS-U3-13Y3C-C connected with USB3 cable but when I execute these files or start to do acquisition in SpinView, it just keep crushing.
I'm wondering if there is any possible reasons?

@nimble00
Copy link
Owner

Could you please elaborate? It'd be helpful if you tell the name of the exception thrown or whatever happens.

@showaykerker
Copy link
Author

showaykerker commented Oct 27, 2018

well, it shows this line when I executing Acqusition.py from Example code :

Error: Spinnaker: Could not Start Acquisition [-1010]

and when i ran spinview, it turned out to throw an error which said
'Segmentation failed (core dumped)'

@showaykerker
Copy link
Author

showaykerker commented Oct 27, 2018

I realize that it is an IO problem, but it went well on win10 on the same computer, is there any chance that I install driver incorrectly?
I just reinstall spinnaker 1.18 sdk released at 2018/10/25 and python3 whl 1.15. It just show the same error.

@undoomed
Copy link

I am having the same issues with pyspin and spinview. There is no other information about this error online apparently. @showaykerker did you manage to solve this?

@showaykerker
Copy link
Author

@undoomed
Sorry for not updating the solution after I got one from a ptgrey eingineer.
In my case, it was an USBFS issue, Ubuntu has some sort of defaulted memory limit and needed to be modify in the configuration in order to handle large images. You can find the solution in the following link : )

https://www.ptgrey.com/tan/10685#ConfiguringUSBFS&gt

@undoomed
Copy link

Thank you so much for replying so swiftly, I got it working now. For me it didn't work without also modifying my grub. Just loading the module was not enough.

@zendevil
Copy link

I'm experiencing the same issue, however, the link above doesn't have the solution.

@nimble00 nimble00 reopened this May 22, 2019
@matthub
Copy link

matthub commented Jun 13, 2019

The web site was restructered so the link is now https://www.flir.com/support-center/iis/machine-vision/application-note/understanding-usbfs-on-linux/ basically it is saying to either set it in /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.usbfs_memory_mb=1000"

and then update grub with sudo update-grubor to use following command

$ sudo sh -c 'echo 1000 > /sys/module/usbcore/parameters/usbfs_memory_mb'

For me on 18.04.2 LTS the first way worked well.

@mcarpenterjr
Copy link

Anybody make ony progress on this? I have a set of USB3 cameras that connect to spinview without issue, after updating usbfs's memory limit.

Except they will not start acqusition from python, I can read and set nodes without issue, but once BeginAcquisition() is called, the script exits. This is the case with all of the cameras in my array. even when connecting them individually.

@zgxsin
Copy link

zgxsin commented Apr 29, 2020

I have the same issue here.

@vedantchandra
Copy link

Any updates on this? I have the same issue with Ubuntu-22.04.

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

8 participants