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.
Bug 1210049 - rdpsnd plugin crashes in specific situations dua a bad sound frame from network
Summary: rdpsnd plugin crashes in specific situations dua a bad sound frame from network
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: freerdp
Version: 7.0
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Ondrej Holy
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1203710 1297830 1298832
TreeView+ depends on / blocked
 
Reported: 2015-04-08 18:58 UTC by Helio Chissini de Castro
Modified: 2023-09-14 02:57 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1298832 (view as bug list)
Environment:
Last Closed: 2016-11-04 01:47:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1054987 0 unspecified CLOSED [abrt] freerdp: pa_queue_push(): xfreerdp killed by SIGABRT 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2016:2261 0 normal SHIPPED_LIVE freerdp bug fix update 2016-11-03 13:32:50 UTC

Description Helio 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.

Comment 2 Ondrej Holy 2015-04-21 09:55:05 UTC
It isn't caused only by Outlook according the Bug 1054987 for Fedora.

Comment 3 Ondrej Holy 2015-04-21 09:55:43 UTC
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"?

Comment 4 Ondrej Holy 2015-04-28 08:46:58 UTC
Alsa backend can be used as a workaround "--plugin rdpsnd --data alsa --".

Comment 7 Ondrej Holy 2015-06-11 13:04:17 UTC
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.

Comment 8 Ondrej Holy 2015-06-11 13:06:41 UTC
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.

Comment 37 errata-xmlrpc 2016-11-04 01:47:37 UTC
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 38 Red 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


Note You need to log in before you can comment on or make changes to this bug.