Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionHelio Chissini de Castro
2015-04-08 18:58:08 UTC
Sound event coming from Windows remote desktop causes a crash on pulseaudio queue.
Backtrace analysis show that an invalid packet from a sound notification caused the issue
Customer reported that what caused the issue in two of the crashes was outlook new mail notification.
The current command line is:
xfreerdp --plugin cliprdr --plugin rdpsnd -g 1680x1050 -D -u xxxxx -a 16 -x 0x80 -d 1upmc-acct xxxxxxx
Backtrace:
#0 0x00007fbcec935ffb in raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1 0x00007fbcedf334b5 in fatal_handler (signum=6) at /usr/src/debug/freerdp-1.0.2/libfreerdp-utils/signal.c:52
#2 <signal handler called>
#3 0x00007fbcec59b5d7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#4 0x00007fbcec59ccc8 in __GI_abort () at abort.c:90
#5 0x00007fbce1927e5e in pa_queue_push (q=0x7fbcc8000b10, p=p@entry=0x7fbcc8002690) at pulsecore/queue.c:74
#6 0x00007fbce1925ace in pa_pstream_send_packet (p=0x7fbcc8000960, packet=0x7fbcd80123e0, creds=0x0) at pulsecore/pstream.c:341
#7 0x00007fbce1925395 in pa_pstream_send_tagstruct_with_creds (p=0x7fbcc8000960, t=t@entry=0x7fbcd80129c0, creds=creds@entry=0x0) at pulsecore/pstream-util.c:41
#8 0x00007fbce1d89bcc in stream_send_simple_command (s=s@entry=0x7fbcd8011a50, command=command@entry=43, cb=cb@entry=0x0, userdata=userdata@entry=0x0) at pulse/stream.c:2285
#9 0x00007fbce1d9108a in pa_stream_trigger (s=0x7fbcd8011a50, cb=0x0, userdata=0x0) at pulse/stream.c:2376
#10 0x00007fbce35c5947 in rdpsnd_process_message_close (rdpsnd=0x7fbcdc001d10) at /usr/src/debug/freerdp-1.0.2/channels/rdpsnd/rdpsnd_main.c:374
#11 rdpsnd_process_receive (plugin=0x7fbcdc001d10, data_in=0x7fbcdd47a220) at /usr/src/debug/freerdp-1.0.2/channels/rdpsnd/rdpsnd_main.c:420
#12 0x00007fbcedf33a1c in svc_plugin_process_data_in (plugin=0x7fbcdc001d10) at /usr/src/debug/freerdp-1.0.2/libfreerdp-utils/svc_plugin.c:249
#13 svc_plugin_thread_func (arg=0x7fbcdc001d10) at /usr/src/debug/freerdp-1.0.2/libfreerdp-utils/svc_plugin.c:278
#14 0x00007fbcec92edf5 in start_thread (arg=0x7fbce29b0700) at pthread_create.c:308
#15 0x00007fbcec65c1ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Frame 5 is the crash happened.
I've tried to reproduce the crashes, however unsuccessfully. Is it possible to reproduce the crash by playing e.g. "New Mail Notification" from "Sound" dialog in "Control panel"?
Finally I'm able to reproduce the crashes on Fedora rawhide with freerdp mock-build from Fedora 20. It seems the crashes occur only in x86_64. I'm not able to reproduce them in VM and valgrind.
I connect to Microsoft Windows Server 2008 using the following command line:
xfreerdp -u USER -p PASSWORD --plugin rdpsnd SERVER
Then I play the following radio stream using Windows Media Player:
https://api.play.cz/radio/croddur192.asx
Consequently xfreerdp crashes usually in less then 2 minutes with one of the following asserts:
Assertion 'e->mainloop->n_enabled_defer_events > 0' failed at pulse/mainloop.c:257, function mainloop_defer_enable(). Aborting.
Assertion '!e->next' failed at pulsecore/queue.c:104, function pa_queue_pop(). Aborting.
Assertion 'q->front' failed at pulsecore/queue.c:81, function pa_queue_push(). Aborting.
The crashes are caused because pa_stream_trigger() isn't called under the lock. I've already proposed fix upstream, see:
https://github.com/FreeRDP/FreeRDP/pull/2694
Big thanks for Wim Taymans who helped me a lot with addressing the issue.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-2261.html
Comment 38Red Hat Bugzilla
2023-09-14 02:57:46 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days