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

importing bbio causes immediate segfault #93

Open
jasedit opened this issue Dec 18, 2015 · 8 comments
Open

importing bbio causes immediate segfault #93

jasedit opened this issue Dec 18, 2015 · 8 comments

Comments

@jasedit
Copy link

jasedit commented Dec 18, 2015

I've got a Beaglebone Black, freshly installed with Ubuntu 14.04.3 (kernel 4.1.13-ti-r36), and I've downloaded this repository and run the doinstall.sh script to install the library. Whenever I attempt to run any of the examples, they do nothing, and adding in print statements to check operation produces no output. If I load up an interactive python session, and attempt to use the library, I get the following behavior:

root@luggage:~# python
Python 2.7.6 (default, Jun 22 2015, 18:31:26) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import bbio
Segmentation fault
root@luggage:~# python
Python 2.7.6 (default, Jun 22 2015, 18:31:26) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from bbio import *
Segmentation fault

I've tried running it as a normal user as well, to no avail. Is there a step I'm missing to get the library up and running?

@alexanderhiam
Copy link
Member

That's because PyBBIO doesn't support 4.x kernels yet, but it's in the works.

You could try downgrading to 3.8, though I'm not sure how to do that on the Ubuntu image (I mainly just target the official BeagleBoard.org Debian images).

If you're not attached to Ubuntu and 4.x you could also load the Debian 7.9 image, which has the 3.8 kernel, from here: http://beagleboard.org/latest-images

@alexanderhiam alexanderhiam added this to the 4.1 kernel support milestone Dec 18, 2015
@jasedit
Copy link
Author

jasedit commented Dec 18, 2015

I need Ubuntu in order to be able to interface with ROS - I was hoping to use a more modern kernel, since we've had a lot of trouble with older kernels (I was in the process of attempting to get a working system with a newer kernel.) I know how to downgrade the kernel, so I can give that a shot as well.

@alexanderhiam
Copy link
Member

OK, that would be good to confirm things are still working on Ubuntu with 3.8 (you shouldn't have any trouble with that...).

The best case ETA for 4.x support would be within the next week as I'll have some time to work on it, though that's assuming no big, unforeseen issues emerge.

@Mausy5043
Copy link
Contributor

I'm running into the same issue. Any progress?

@patrmccormack
Copy link

Same problem on Debian 8.3 -- is this still being actively developed?

@alexanderhiam
Copy link
Member

@patrmccormack I'm working on it when I can - you can track the progress (or help out) here: https://github.com/graycatlabs/PyBBIO/milestones/4.1%20kernel%20support

@patrmccormack
Copy link

Thanks Alex
I'll be delivering this project in two weeks time. From 27th May I'll have
some time to spare and would be happy to help.
Pat

“A goal without a plan is just a wish.”
― Antoine de Saint-Exupéry
http://www.goodreads.com/author/show/1020792.Antoine_de_Saint_Exup_ry

On 26 April 2016 at 04:52, Alex Hiam notifications@github.com wrote:

@patrmccormack https://github.com/patrmccormack I'm working on it when
I can - you can track the progress (or help out) here:
https://github.com/graycatlabs/PyBBIO/milestones/4.1%20kernel%20support


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#93 (comment)

@jlewallen18
Copy link

Any chance this can still be completed? I'm interested in this, and when I run the bbio import I also get an immediate segfault

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

No branches or pull requests

5 participants