ttm / pyo

Automatically exported from code.google.com/p/pyo
GNU General Public License v3.0
0 stars 0 forks source link

Server crashes when used with audio=jack and opencv or fluidsynth #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I'll give several walkarounds I tried, non worked and all ends in 

  JACK error: zombified - calling shutdown handler

  import pyo64
  s= pyo64.Server(audio='jack').boot().start()
  import cv # <-- crashes here

If you do "import cv" above, then it crashes later

  import pyo64
  import cv 
  s= pyo64.Server(audio='jack').boot().start()
  cap= cv.CaptureFromCAM(0) # <-- crashes here

and the same if you do the cap above

  import pyo64
  import cv 
  cap= cv.CaptureFromCAM(0) 
  s= pyo64.Server(audio='jack').boot().start()
  image= cv.QueryFrame(cap) # <-- crashes here

WIth fluidsynth is similar, but there is a walkaround
  import pyo64
  s= pyo64.Server(audio='jack').boot().start()
  import fluidsynth # <-- crashes here

But if you do the "import fluidsynth" above, it all works fine

What version of the product are you using? On what operating system?

I'm using pyo 0.6.0 compiled with --use-double and --use-jack in and 64 bits 
architecture on Ubuntu 10.10

Sorry about the other issue, I pressed enter and it was submitted. I don't know 
how to delete it.

Original issue reported on code.google.com by elsoni...@gmail.com on 5 Feb 2012 at 3:55

GoogleCodeExporter commented 9 years ago
If you start the server in the main process and then you use opencv in another 
process is doesn't crash, but you never hear a sound

Original comment by elsoni...@gmail.com on 5 Feb 2012 at 4:47