-
Notifications
You must be signed in to change notification settings - Fork 3
Pulseaudio daemon segfaults on arm #3
Comments
I don't have a test case for running the code on actual hardware anymore. Publish one and ill take it for a spin with my binaries. |
I have created a demo app here MyPulseAudio . |
Running pulse audio on the main thread will get you in to lots of trouble. I'd say clobber up something based on https://github.com/jackpal/Android-Terminal-Emulator like how @joeyh did with git annex assistant, and you will evade lots of pitfalls. Anyhow. Last time i did some real testing i used a rooted phone and su'ed into a app with approperiate permissions and launched pulseaudio by hand. Then I used module-native-protocol-tcp to create a loop sending audio from my laptop to my phone and back via wifi, just as a simple smoke test. I'd suggest you do the same to exclude any problems with your app. |
I should try running it on the main thread as you suggested. thanks for the pointer.
Actually that was my first attempt too, it still segfaulted. could be something to do with the -pie linker flag ( |
Hmm.. Rebuild pa with -g in your CFLAGS and LDFLAGS and we will probably get a stacktrace which will explain where it tries to follow a null pointer. |
pulseaudio was build using this build.sh and the segfault log is here
The text was updated successfully, but these errors were encountered: