Bug 658018

Summary: [abrt] rdesktop-1.6.0-9.fc14: __strlen_sse2: Process /usr/bin/rdesktop was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Mogens Kjaer <mk>
Component: rdesktopAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dexter, dominik, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:6778830506cb17a2f60ca11461645c89494b016f
Fixed In Version: rdesktop-1.6.0-10.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-08 21:37:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
Patch to fix the problem none

Description Mogens Kjaer 2010-11-29 07:17:33 UTC
abrt version: 1.1.14
architecture: x86_64
Attached file: backtrace
cmdline: rdesktop -u mk -d crcnet -x l -g 1590x1120 -k da k020-01 -r sound:local -T k020-01
component: rdesktop
crash_function: __strlen_sse2
executable: /usr/bin/rdesktop
kernel: 2.6.35.6-48.fc14.x86_64
package: rdesktop-1.6.0-9.fc14
rating: 4
reason: Process /usr/bin/rdesktop was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1291014018
uid: 500

How to reproduce
-----
1. Start rdesktop with sound support: Crash
2. Start rdesktop without sound support: OK
3.

Comment 1 Mogens Kjaer 2010-11-29 07:17:35 UTC
Created attachment 463432 [details]
File: backtrace

Comment 2 Mogens Kjaer 2010-11-29 13:49:55 UTC
There are some error messages on std err:

ao_pulse ERROR: Unrecognized channel name "" in channel matrix ""
ao_pulse WARNING: Input channel matrix invalid; ignoring.
ao_pulse ERROR: Unrecognized channel name "" in channel matrix ""
ao_pulse WARNING: Input channel matrix invalid; ignoring.

These errors disappear and sound seems to work if I add the line

format.matrix = NULL;

to the file rdpsnd_libao.c

The line has to be added after the line containing:

format.byte_format = AO_FMT_NATIVE;

This line occurs twice in the file, I've added the line above in both places.

Comment 3 Mogens Kjaer 2010-11-29 14:10:57 UTC
Created attachment 463492 [details]
Patch to fix the problem

Comment 4 Arjen Heidinga 2010-11-30 10:23:44 UTC
Package: rdesktop-1.6.0-9.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Connected to a windows XP x64 (actually under hood this is 2003)
2. After a while the rdesktop package crashed after a mouseclick, allso after reconnecting.
3.


Comment
-----
A mouseclick crashes it, most oddly

Comment 5 Arjen Heidinga 2010-11-30 10:26:43 UTC
Disabling sound indied fixes it. Willing to test the fix, but atm not really have time to compile. willing to test RPM

Comment 6 Mogens Kjaer 2010-11-30 11:06:22 UTC
Patched RPM's at:

http://ftp.crc.dk/f14-rdesktop/

Comment 7 Arjen Heidinga 2010-11-30 12:09:25 UTC
Tested with and without sound. Youtube plays with sound, other clicking sounds are ok. No further crashes detected so far.
Thanks!

Comment 8 Dominik 'Rathann' Mierzejewski 2010-11-30 22:57:39 UTC
(In reply to comment #3)
> Created attachment 463492 [details]
> Patch to fix the problem

Mogens, thanks a lot for investigating this issue and creating the patch. I'll roll this into an update ASAP and send it upstream as well (if it's not already fixed there).

Comment 9 Fedora Update System 2010-12-02 20:53:36 UTC
rdesktop-1.6.0-10.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/rdesktop-1.6.0-10.fc14

Comment 10 Fedora Update System 2010-12-03 20:41:36 UTC
rdesktop-1.6.0-10.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update rdesktop'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/rdesktop-1.6.0-10.fc14

Comment 11 Fedora Update System 2010-12-08 21:37:22 UTC
rdesktop-1.6.0-10.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.