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.

Bug 988272

Summary: Segfault after using freerdp sound (pulseaudio) plugin
Product: Red Hat Enterprise Linux 6 Reporter: Martin Simon <msimon>
Component: freerdpAssignee: Søren Sandmann Pedersen <sandmann>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5CC: kem, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 988307 (view as bug list) Environment:
Last Closed: 2013-11-21 11:37:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 988307    
Attachments:
Description Flags
backtrace none

Description Martin Simon 2013-07-25 08:44:23 UTC
Description of problem:
Using of sound plugin in freerdp does not work and ends with segfault

Version-Release number of selected component (if applicable):
freerdp-1.0.2-2
freerdp-libs-1.0.2-2
freerdp-plugins-1.0.2-2

How reproducible:
100%

Steps to Reproduce:
1.  xfreerdp --plugin rdpsnd --data pulse -- addr.to.the.win.machine.com
2.
3.

Actual results:
Segmentation fault

Expected results:
Working sound plugin

Additional info:

Comment 1 Tomas Pelka 2013-07-25 08:56:05 UTC
Created attachment 778138 [details]
backtrace

attaching backtrace

Comment 2 Søren Sandmann Pedersen 2013-07-29 11:40:20 UTC
Can you try starting it like this:

 xfreerdp --plugin rdpsnd --data pulse: -- addr.to.the.win.machine.com

Note the colon after "pulse".

On my system, this stops the segfaulting, but I don't have working sound, so I can't verify that it actually works.

Comment 3 Tomas Pelka 2013-07-29 12:19:32 UTC
(In reply to Søren Sandmann Pedersen from comment #2)
> Can you try starting it like this:
> 
>  xfreerdp --plugin rdpsnd --data pulse: -- addr.to.the.win.machine.com

Yes this is working for me.

> 
> Note the colon after "pulse".
> 
> On my system, this stops the segfaulting, but I don't have working sound, so
> I can't verify that it actually works.

Comment 4 Martin Simon 2013-07-29 13:44:46 UTC
The solution is working for me, too. No segfault and sound working

Comment 5 Tomas Pelka 2013-07-31 18:46:19 UTC
Soren we can close this bz in case we document it ideally in man page.

Comment 6 Søren Sandmann Pedersen 2013-08-05 17:21:22 UTC
I don't think the --data argument is needed at all. If you simply use
"--plugin rdpsnd", the pulseaudio plugin will be used. There is no need for the data argument at all.

Can you verify that 

    xfreerdp --plugin rdpsnd -- addr.to.the.win.machine.com

works?

If so, I'll add a list of supported plugins to the man page; that should be sufficient documentation considering that the "--data" argument isn't mentioned elsewhere.

Comment 7 Tomas Pelka 2013-08-08 14:19:04 UTC
(In reply to Søren Sandmann Pedersen from comment #6)
> I don't think the --data argument is needed at all. If you simply use
> "--plugin rdpsnd", the pulseaudio plugin will be used. There is no need for
> the data argument at all.
> 
> Can you verify that 
> 
>     xfreerdp --plugin rdpsnd -- addr.to.the.win.machine.com
> 
> works?
> 
> If so, I'll add a list of supported plugins to the man page; that should be
> sufficient documentation considering that the "--data" argument isn't
> mentioned elsewhere.

OK I give it a try, so running it right:

xfreerdp --plugin rdpsnd lab-winxp-1.gsslab.rdu2.redhat.com

it works perfectly

Comment 10 errata-xmlrpc 2013-11-21 11:37:57 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.

http://rhn.redhat.com/errata/RHEA-2013-1625.html