openframeworks / openframeworks/openFrameworks
printDeviceList() causes crash on Raspberry Pi
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
soundStream.printDeviceList(); causes a crash when trying to run this example on a Raspberry Pi.
It compiles fine, but when trying to run I get a Segmentation fault, followed by the message:
make: *** [RunRelease] Error 139
Commenting it out fixes the problem. I used ofSoundStreamListDevices(); instead, and it worked about the same.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the example on a Raspberry Pi with soundStream.printDeviceList() enabled, then compare it with ofSoundStreamListDevices(). Inspect the implementation and call path for soundStream.printDeviceList() and capture the failure; done means the example runs without a segmentation fault while listing devices.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, raspberry-pi
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100