#581581 jack2: cause reboot after restart daemon

Package:
jackd2
Source:
jackd2
Description:
JACK Audio Connection Kit (server and example clients)
Submitter:
Vladimir Ipatov
Date:
2010-07-29 00:33:08 UTC
Severity:
important
#581581#5
Date:
2010-05-13 22:56:22 UTC
From:
To:
I'm using my firewire audiocard(Echo Audiofire 4) with ffado drivers. libffado, ffado-dbus-serverv, ffado-qt4-mixer and ffado-tools versions:
2.0.0-1
I'm using this versions because with the latest version, 2.0.0+svn1813-1, mixer don't start.

after upgrading jackd from 0.118+svn3796-3 to 1.9.5~dfsh-13 i noticed bug:
when i turn off my sound card, then turn it again and starting jackd, my computer reboots.
It happens when jackd starting, not when i turn on soundcard.
When i using jackd 0.118, my computer didn't reboot. That is why it seems not a hardware problem.
There are not any errors about this. The last messages are about normal turning off/turning on soundcard:

ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node suspended: ID:BUS[0-00:1023]  GUID[00148609c444c06e]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: Node resumed: ID:BUS[0-01:1023]  GUID[00148609c444c06e]

#581581#10
Date:
2010-05-14 01:30:56 UTC
From:
To:

That's weird. Can you investigate it? Is it an upstream bug? Please file
a bug report against the ffado package with the corresponding output.

The mixer clearly should work.
Normally, a user process should never be able to crash the machine.
OTOH, firewire is a little bit special, because it has write access to a
larger portion of the main memory.

However, jackd must not reboot the machine, that's for sure.

This is the old firewire stack. Any chance you could run it on Juju?
You'd need to upgrade your kernel to 2.6.32 or later.


Though jackd2 might trigger the behaviour, it must not reboot your
machine as long as you're not running jackd as root.

We surely need to investigate further...

#581581#15
Date:
2010-05-14 09:12:40 UTC
From:
To:
03:30 14/05 , Adrian Knoth написал:
Of course, I'll File a bug report about this.
as a user
I think so too, but yesterday i saw crashes after restart jackd, and i can't explain it differently...
Today I went to ffado.org, and saw that ffado already supports new stack, although one or two weeks ago the answer was "no".

So, I'll try to use my soundcard with new firewire stack. There Are 2.6.32 xen kernel in unstable, but i must upgrade xen-hypervisor to version 3.4.