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