-
Notifications
You must be signed in to change notification settings - Fork 55
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 when calling start_ranging #37
Comments
Sorry, I seem to have missed this- did you get any closer to figuring out what the problem might be? I can only guess the device was responding in an unexpected way, such that it caused the library to crash, but I've no idea quite how. |
This issue came from a lockdown project that I'm no longer working on as I'm back to work, so unfortunately don't really have the time to continue debugging now, sorry! In the end I just continued with the qwiic library instead; I assume the reason this library doesn't work for me is just a peculiarity with my device as nobody else seems to have the same issue. If/when I do get back to this, what's the best way for me to debug the issue? |
I'm having the same exact problem with the sensor on Ubuntu using Python. If anyone's figured out the solution, I'd appreciate it. |
having the same problem Rasberry pi 4 ubuntu 18.04 |
after some debugging I've identified the problem. |
another comment: |
Same issue here with a Raspberry Pi 4 running Raspberry OS bullseye using Python 3.9.2 installed from source. |
Hello, Is there anyone who has recovered from this fault " segmentation fault (core dumped) " error while using this code on a RasPi 3b+ . i am currently using the ubuntu os on raspi |
Same fault. |
I have a brand new Pimoroni VL53L1X connected to the I2C bus on my Raspberry Pi 4B. Using this Python library, I get a segmentation fault when I start ranging:
I've tried building from source and got the same error. Also the same on Ubuntu instead of Raspbian.
I thought I just had a dodgy sensor, but if I use the qwiic_vl53l1x library from SparkFun, everything works fine:
The text was updated successfully, but these errors were encountered: