* [Qemu-devel] [Bug 1563612] [NEW] pulseaudio applications crash under linux-user-x86_64
@ 2016-03-30 0:37 Bla Blub
2020-11-19 16:16 ` [Bug 1563612] " Thomas Huth
2021-01-19 4:17 ` Launchpad Bug Tracker
0 siblings, 2 replies; 3+ messages in thread
From: Bla Blub @ 2016-03-30 0:37 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
Running a simple application that uses pulseaudio under qemu-i386 or
qemu-x86_64 makes it crash (tested on Debian 8.0):
# apt-get install build-essential qemu-user libpulse-dev pulseaudio
$ cat > test.c << __EOF
#include <pulse/simple.h>
int main(void) {
pa_simple *s;
pa_sample_spec ss;
ss.format = PA_SAMPLE_S16NE;
ss.channels = 2;
ss.rate = 44100;
s = pa_simple_new(NULL, // Use the default server.
"Fooapp", // Our application's name.
PA_STREAM_PLAYBACK,
NULL, // Use the default device.
"Music", // Description of our stream.
&ss, // Our sample format.
NULL, // Use default channel map
NULL, // Use default buffering
// attributes.
NULL // Ignore error code.
);
int16_t buf[2 * 1000];
int i;
memset(buf, 0, sizeof buf);
for (i = 0; i < 44; i++) {
pa_simple_write(s, buf, sizeof buf, NULL);
}
pa_simple_free(s);
return 0;
}
__EOF
$ gcc test.c -o test -lpulse -lpulse-simple
$ ./test
<no output, no error>
$ qemu-x86_64 ./test
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
$
I think this is related to the futex system call. In an attempt to debug the problem, I compiled pulseaudio in debug mode and it hit an assertion failure in pa_mutex_unlock.
Thank you for developing QEMU. :-)
** Affects: qemu
Importance: Undecided
Status: New
** Tags: linux-user
** Attachment added: "test program"
https://bugs.launchpad.net/bugs/1563612/+attachment/4616535/+files/test.c
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1563612
Title:
pulseaudio applications crash under linux-user-x86_64
Status in QEMU:
New
Bug description:
Running a simple application that uses pulseaudio under qemu-i386 or
qemu-x86_64 makes it crash (tested on Debian 8.0):
# apt-get install build-essential qemu-user libpulse-dev pulseaudio
$ cat > test.c << __EOF
#include <pulse/simple.h>
int main(void) {
pa_simple *s;
pa_sample_spec ss;
ss.format = PA_SAMPLE_S16NE;
ss.channels = 2;
ss.rate = 44100;
s = pa_simple_new(NULL, // Use the default server.
"Fooapp", // Our application's name.
PA_STREAM_PLAYBACK,
NULL, // Use the default device.
"Music", // Description of our stream.
&ss, // Our sample format.
NULL, // Use default channel map
NULL, // Use default buffering
// attributes.
NULL // Ignore error code.
);
int16_t buf[2 * 1000];
int i;
memset(buf, 0, sizeof buf);
for (i = 0; i < 44; i++) {
pa_simple_write(s, buf, sizeof buf, NULL);
}
pa_simple_free(s);
return 0;
}
__EOF
$ gcc test.c -o test -lpulse -lpulse-simple
$ ./test
<no output, no error>
$ qemu-x86_64 ./test
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
$
I think this is related to the futex system call. In an attempt to debug the problem, I compiled pulseaudio in debug mode and it hit an assertion failure in pa_mutex_unlock.
Thank you for developing QEMU. :-)
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1563612/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 1563612] Re: pulseaudio applications crash under linux-user-x86_64
2016-03-30 0:37 [Qemu-devel] [Bug 1563612] [NEW] pulseaudio applications crash under linux-user-x86_64 Bla Blub
@ 2020-11-19 16:16 ` Thomas Huth
2021-01-19 4:17 ` Launchpad Bug Tracker
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2020-11-19 16:16 UTC (permalink / raw)
To: qemu-devel
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.
** Changed in: qemu
Status: New => Incomplete
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1563612
Title:
pulseaudio applications crash under linux-user-x86_64
Status in QEMU:
Incomplete
Bug description:
Running a simple application that uses pulseaudio under qemu-i386 or
qemu-x86_64 makes it crash (tested on Debian 8.0):
# apt-get install build-essential qemu-user libpulse-dev pulseaudio
$ cat > test.c << __EOF
#include <pulse/simple.h>
int main(void) {
pa_simple *s;
pa_sample_spec ss;
ss.format = PA_SAMPLE_S16NE;
ss.channels = 2;
ss.rate = 44100;
s = pa_simple_new(NULL, // Use the default server.
"Fooapp", // Our application's name.
PA_STREAM_PLAYBACK,
NULL, // Use the default device.
"Music", // Description of our stream.
&ss, // Our sample format.
NULL, // Use default channel map
NULL, // Use default buffering
// attributes.
NULL // Ignore error code.
);
int16_t buf[2 * 1000];
int i;
memset(buf, 0, sizeof buf);
for (i = 0; i < 44; i++) {
pa_simple_write(s, buf, sizeof buf, NULL);
}
pa_simple_free(s);
return 0;
}
__EOF
$ gcc test.c -o test -lpulse -lpulse-simple
$ ./test
<no output, no error>
$ qemu-x86_64 ./test
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
$
I think this is related to the futex system call. In an attempt to debug the problem, I compiled pulseaudio in debug mode and it hit an assertion failure in pa_mutex_unlock.
Thank you for developing QEMU. :-)
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1563612/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 1563612] Re: pulseaudio applications crash under linux-user-x86_64
2016-03-30 0:37 [Qemu-devel] [Bug 1563612] [NEW] pulseaudio applications crash under linux-user-x86_64 Bla Blub
2020-11-19 16:16 ` [Bug 1563612] " Thomas Huth
@ 2021-01-19 4:17 ` Launchpad Bug Tracker
1 sibling, 0 replies; 3+ messages in thread
From: Launchpad Bug Tracker @ 2021-01-19 4:17 UTC (permalink / raw)
To: qemu-devel
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1563612
Title:
pulseaudio applications crash under linux-user-x86_64
Status in QEMU:
Expired
Bug description:
Running a simple application that uses pulseaudio under qemu-i386 or
qemu-x86_64 makes it crash (tested on Debian 8.0):
# apt-get install build-essential qemu-user libpulse-dev pulseaudio
$ cat > test.c << __EOF
#include <pulse/simple.h>
int main(void) {
pa_simple *s;
pa_sample_spec ss;
ss.format = PA_SAMPLE_S16NE;
ss.channels = 2;
ss.rate = 44100;
s = pa_simple_new(NULL, // Use the default server.
"Fooapp", // Our application's name.
PA_STREAM_PLAYBACK,
NULL, // Use the default device.
"Music", // Description of our stream.
&ss, // Our sample format.
NULL, // Use default channel map
NULL, // Use default buffering
// attributes.
NULL // Ignore error code.
);
int16_t buf[2 * 1000];
int i;
memset(buf, 0, sizeof buf);
for (i = 0; i < 44; i++) {
pa_simple_write(s, buf, sizeof buf, NULL);
}
pa_simple_free(s);
return 0;
}
__EOF
$ gcc test.c -o test -lpulse -lpulse-simple
$ ./test
<no output, no error>
$ qemu-x86_64 ./test
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
$
I think this is related to the futex system call. In an attempt to debug the problem, I compiled pulseaudio in debug mode and it hit an assertion failure in pa_mutex_unlock.
Thank you for developing QEMU. :-)
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1563612/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-19 4:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-30 0:37 [Qemu-devel] [Bug 1563612] [NEW] pulseaudio applications crash under linux-user-x86_64 Bla Blub
2020-11-19 16:16 ` [Bug 1563612] " Thomas Huth
2021-01-19 4:17 ` Launchpad Bug Tracker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.