Bug 658799 - Instantly crash's after showing the remote desktop
Summary: Instantly crash's after showing the remote desktop
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rdesktop
Version: 14
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-01 10:40 UTC by fibric
Modified: 2010-12-08 21:37 UTC (History)
2 users (show)

Fixed In Version: rdesktop-1.6.0-10.fc14
Clone Of:
Environment:
Last Closed: 2010-12-08 21:37:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
abrt.log (10.71 KB, text/x-log)
2010-12-01 10:42 UTC, fibric
no flags Details

Description fibric 2010-12-01 10:40:09 UTC
1. loaded rdesktop
2. tried to connect to a Windows XP mashine with enabled RDP
3. it crashed after showing very short a desktop

[New Thread 15429]
Core was generated by `rdesktop -u ams -d wob -p XXX -a 15 -k de -K -P -z -r sound:local -r disk:home'.
Program terminated with signal 11, Segmentation fault.
#0  0x001b5056 in __strlen_sse2_bsf () from /lib/libc.so.6

Thread 1 (Thread 15429):
#0  0x001b5056 in __strlen_sse2_bsf () from /lib/libc.so.6
No symbol table info available.
#1  0x0035f412 in _sanitize_matrix (maxchannels=2, matrix=0x903 <Address 0x903 out of bounds>, device=<value optimized out>) at audio_out.c:635
        ret = <value optimized out>
        p = <value optimized out>
        count = <value optimized out>
#2  0x00360a2b in _open_device (driver_id=<value optimized out>, format=0xbf967dac, options=0x0, file=0x0) at audio_out.c:991
        funcs = 0x9be1328
        driver = <value optimized out>
        device = 0x9be45c0
        result = <value optimized out>
        sformat = {bits = 16, rate = 44100, channels = 2, byte_format = 4, matrix = 0x0}
#3  0x0806002a in libao_open () at rdpsnd_libao.c:81
        format = {bits = 16, rate = 44100, channels = 2, byte_format = 4, matrix = 0x903 <Address 0x903 out of bounds>}
#4  0x0805e79c in rdpsnd_auto_select () at rdpsnd.c:199
        failed = 0
#5  0x0805f230 in rdpsnd_process_negotiate (s=0x81c4f68) at rdpsnd.c:238
        in_format_count = 76
        i = <value optimized out>
        device_available = 0
        readcnt = <value optimized out>
        format = <value optimized out>
        out = <value optimized out>
        discardcnt = <value optimized out>
#6  rdpsnd_process_packet (s=0x81c4f68) at rdpsnd.c:483
        s = 0x80c2c60
        vol_left = <value optimized out>
        vol_right = <value optimized out>
        tick = 0
        format = 0
        packet_index = 0 '\000'
#7  rdpsnd_process (s=0x81c4f68) at rdpsnd.c:598
        len = <value optimized out>
#8  0x08062c47 in sec_recv (rdpver=0xbf967eaf "\003\330\177\226\277\334\177\226\277X\177\226\277\023I\006\b") at secure.c:828
        sec_flags = <value optimized out>
        channel = 1005
        s = 0x80c6360
#9  0x080638cb in rdp_recv (type=0xbf967f1b "") at rdp.c:89
        rdp_s = 0x80c6360
        length = <value optimized out>
        pdu_type = <value optimized out>
        rdpver = <value optimized out>
#10 0x08064913 in rdp_loop (deactivated=0xbf967fdc, ext_disc_reason=0xbf967fd8) at rdp.c:1411
        type = 0 '\000'
        cont = <value optimized out>
        s = <value optimized out>
#11 0x080654bc in rdp_main_loop (deactivated=0xbf967fdc, ext_disc_reason=0xbf967fd8) at rdp.c:1396
No locals.
#12 0x0804d959 in main (argc=23, argv=0xbf9683b4) at rdesktop.c:954
        server = "130.30.16.59\000\063\063\070\071", '\000' <repeats 46 times>
        fullhostname = "PC-OI105\000\000\000\000hAT\000\000\000\000\000\000\000\000\000\004\000\000\000\004\000\000\000\b\000\000\000\b\000\000\000\a\000\000\000`CT\000hCT\000\a\000\000\000\000\030\023\000\240\347,"
        domain = "wob", '\000' <repeats 12 times>
        password = '\000' <repeats 63 times>
        shell = "\000.35.6-48.fc14.i686.PAE", '\000' <repeats 40 times>, "#1 SMP Fri Oct 22 15:27:53 UTC 2010", '\000' <repeats 30 times>, "i686", '\000' <repeats 61 times>, "vwbnw", '\000' <repeats 57 times>
        directory = '\000' <repeats 20 times>, "y\256-\000\311Z\033\000\"\201\226\277\000\000\000\000\003\000\000\000\003\000\000\000\000\000\000\000\003\000\000\000\003\000\000\000\003\000\000\000\000\000\000\000\"\201\226\277\000\000\000\000\000\000\000\000\003\000\000\000\"\201\226\277\364/.\000\037\201\226\277\001\000\000\000\000\203\226\277\210\353,\000\037\201\226\277y\256-\000\000\000\000\000\000\000\000\000`\202\226\277Linux", '\000' <repeats 60 times>, "PC-OI105", '\000' <repeats 57 times>, "2."
        prompt_password = 0
        deactivated = <value optimized out>
        pw = <value optimized out>
        flags = <value optimized out>
        ext_disc_reason = 0
        p = 0x0
        c = <value optimized out>
        locale = 0x9b99830 "6"
        username_option = 1
        geometry_option = 1
        run_count = <value optimized out>
        continue_connect = 1
        rdpsnd_optarg = 0xbf969a19 ""
From        To          Syms Read   Shared Object Library
0x04a87e80  0x04b6bee8  Yes         /lib/libcrypto.so.10
0x002f0300  0x002f66f8  Yes         /usr/lib/libpcsclite.so.1
0x0035e390  0x003628e8  Yes         /usr/lib/libao.so.4
0x006394b0  0x006c9bb8  Yes         /usr/lib/libX11.so.6
0x002ce640  0x002dadc8  Yes         /lib/libpthread.so.0
0x0014abf0  0x0026d1d4  Yes         /lib/libc.so.6
0x002e8a60  0x002e9a88  Yes         /lib/libdl.so.2
0x00328670  0x00335298  Yes         /lib/libz.so.1
0x0033ff90  0x00356818  Yes         /lib/libgcc_s.so.1
0x00769e90  0x00778b88  Yes         /usr/lib/libxcb.so.1
0x00110850  0x00128e2f  Yes         /lib/ld-linux.so.2
0x0075ea00  0x0075f7f8  Yes         /usr/lib/libXau.so.6
0x004c4460  0x004c5af8  Yes         /usr/lib/gconv/UTF-16.so
0x00b2fe40  0x00b35418  Yes         /usr/lib/libXcursor.so.1
0x009492c0  0x0094f158  Yes         /usr/lib/libXrender.so.1
0x00953e70  0x009563b8  Yes         /usr/lib/libXfixes.so.3
0x002fa980  0x002fb4d8  Yes         /usr/lib/ao/plugins-4/libpulse.so
0x002fdf70  0x002ff3d8  Yes         /usr/lib/libpulse-simple.so.0
0x02d00000  0x02d2fac8  Yes         /usr/lib/libpulse.so.0
0x02cae7c0  0x02ce20a8  Yes         /usr/lib/libpulsecommon-0.9.21.so
0x0457d380  0x04581d28  Yes         /usr/lib/libSM.so.6
0x04964530  0x049741f8  Yes         /usr/lib/libICE.so.6
0x00dacec0  0x00dafbd8  Yes         /usr/lib/libXtst.so.6
0x00db5f10  0x00dba008  Yes         /lib/libwrap.so.0
0x04bdf3b0  0x04c2f068  Yes         /usr/lib/libsndfile.so.1
0x00dbfd80  0x00dc2a58  Yes         /usr/lib/libasyncns.so.0
0x0095f6a0  0x0098e728  Yes         /lib/libdbus-1.so.3
0x003028c0  0x00306928  Yes         /lib/librt.so.1
0x003694b0  0x00383bb8  Yes         /lib/libm.so.6
0x00da5f00  0x00da7bc8  Yes         /lib/libuuid.so.1
0x008436b0  0x0084de28  Yes         /usr/lib/libXext.so.6
0x0087f780  0x00889938  Yes         /usr/lib/libXi.so.6
0x04d5f0f0  0x04d6dc78  Yes         /lib/libnsl.so.1
0x048e1580  0x0490b848  Yes         /usr/lib/libFLAC.so.8
0x051b7b90  0x051ba068  Yes         /usr/lib/libvorbisenc.so.2
0x04e5b770  0x04e70a08  Yes         /usr/lib/libvorbis.so.0
0x04e1c2f0  0x04e1eb38  Yes         /usr/lib/libogg.so.0
0x00497650  0x004a72b8  Yes         /lib/libresolv.so.2
0x00ceeed0  0x00cf1838  Yes         /usr/lib/ao/plugins-4/libalsa.so
0x003adf40  0x00440228  Yes         /lib/libasound.so.2
0x00c0a7e0  0x00c0b1a8  Yes         /usr/lib/ao/plugins-4/liboss.so
$1 = 0x0
No symbol "__glib_assert_msg" in current context.
eax            0x0	0
ecx            0x3	3
edx            0x903	2307
ebx            0x36540c	3560460
esp            0xbf967c84	0xbf967c84
ebp            0xbf967ce8	0xbf967ce8
esi            0xbf967dac	-1080656468
edi            0x903	2307
eip            0x1b5056	0x1b5056 <__strlen_sse2_bsf+22>
eflags         0x210283	[ CF SF IF RF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
Dump of assembler code for function __strlen_sse2_bsf:
   0x001b5040 <+0>:	push   %esi
   0x001b5041 <+1>:	push   %edi
   0x001b5042 <+2>:	mov    0xc(%esp),%edi
   0x001b5046 <+6>:	xor    %eax,%eax
   0x001b5048 <+8>:	mov    %edi,%ecx
   0x001b504a <+10>:	and    $0x3f,%ecx
   0x001b504d <+13>:	pxor   %xmm0,%xmm0
   0x001b5051 <+17>:	cmp    $0x30,%ecx
   0x001b5054 <+20>:	ja     0x1b506d <__strlen_sse2_bsf+45>
=> 0x001b5056 <+22>:	movdqu (%edi),%xmm1
   0x001b505a <+26>:	pcmpeqb %xmm1,%xmm0
   0x001b505e <+30>:	pmovmskb %xmm0,%edx
   0x001b5062 <+34>:	test   %edx,%edx
   0x001b5064 <+36>:	jne    0x1b50d9 <__strlen_sse2_bsf+153>
   0x001b5066 <+38>:	mov    %edi,%eax
   0x001b5068 <+40>:	and    $0xfffffff0,%eax
   0x001b506b <+43>:	jmp    0x1b5087 <__strlen_sse2_bsf+71>
   0x001b506d <+45>:	mov    %edi,%eax
   0x001b506f <+47>:	and    $0xfffffff0,%eax
   0x001b5072 <+50>:	pcmpeqb (%eax),%xmm0
   0x001b5076 <+54>:	mov    $0xffffffff,%esi
   0x001b507b <+59>:	sub    %eax,%ecx
   0x001b507d <+61>:	shl    %cl,%esi
   0x001b507f <+63>:	pmovmskb %xmm0,%edx
   0x001b5083 <+67>:	and    %esi,%edx
   0x001b5085 <+69>:	jne    0x1b50d7 <__strlen_sse2_bsf+151>
   0x001b5087 <+71>:	pxor   %xmm0,%xmm0
   0x001b508b <+75>:	pxor   %xmm1,%xmm1
   0x001b508f <+79>:	pxor   %xmm2,%xmm2
   0x001b5093 <+83>:	pxor   %xmm3,%xmm3
   0x001b5097 <+87>:	mov    %esi,%esi
   0x001b5099 <+89>:	lea    0x0(%edi,%eiz,1),%edi
   0x001b50a0 <+96>:	pcmpeqb 0x10(%eax),%xmm0
   0x001b50a5 <+101>:	pmovmskb %xmm0,%edx
   0x001b50a9 <+105>:	test   %edx,%edx
   0x001b50ab <+107>:	jne    0x1b50e1 <__strlen_sse2_bsf+161>
   0x001b50ad <+109>:	pcmpeqb 0x20(%eax),%xmm1
   0x001b50b2 <+114>:	pmovmskb %xmm1,%edx
   0x001b50b6 <+118>:	test   %edx,%edx
   0x001b50b8 <+120>:	jne    0x1b50ee <__strlen_sse2_bsf+174>
   0x001b50ba <+122>:	pcmpeqb 0x30(%eax),%xmm2
   0x001b50bf <+127>:	pmovmskb %xmm2,%edx
   0x001b50c3 <+131>:	test   %edx,%edx
   0x001b50c5 <+133>:	jne    0x1b50fb <__strlen_sse2_bsf+187>
   0x001b50c7 <+135>:	pcmpeqb 0x40(%eax),%xmm3
   0x001b50cc <+140>:	pmovmskb %xmm3,%edx
   0x001b50d0 <+144>:	lea    0x40(%eax),%eax
   0x001b50d3 <+147>:	test   %edx,%edx
   0x001b50d5 <+149>:	je     0x1b50a0 <__strlen_sse2_bsf+96>
   0x001b50d7 <+151>:	sub    %edi,%eax
   0x001b50d9 <+153>:	bsf    %edx,%edx
   0x001b50dc <+156>:	add    %edx,%eax
   0x001b50de <+158>:	pop    %edi
   0x001b50df <+159>:	pop    %esi
   0x001b50e0 <+160>:	ret    
   0x001b50e1 <+161>:	sub    %edi,%eax
   0x001b50e3 <+163>:	bsf    %edx,%edx
   0x001b50e6 <+166>:	add    %edx,%eax
   0x001b50e8 <+168>:	add    $0x10,%eax
   0x001b50eb <+171>:	pop    %edi
   0x001b50ec <+172>:	pop    %esi
   0x001b50ed <+173>:	ret    
   0x001b50ee <+174>:	sub    %edi,%eax
   0x001b50f0 <+176>:	bsf    %edx,%edx
   0x001b50f3 <+179>:	add    %edx,%eax
   0x001b50f5 <+181>:	add    $0x20,%eax
   0x001b50f8 <+184>:	pop    %edi
   0x001b50f9 <+185>:	pop    %esi
   0x001b50fa <+186>:	ret    
   0x001b50fb <+187>:	sub    %edi,%eax
   0x001b50fd <+189>:	bsf    %edx,%edx
   0x001b5100 <+192>:	add    %edx,%eax
   0x001b5102 <+194>:	add    $0x30,%eax
   0x001b5105 <+197>:	pop    %edi
   0x001b5106 <+198>:	pop    %esi
   0x001b5107 <+199>:	ret    
End of assembler dump.

Comment 1 fibric 2010-12-01 10:42:36 UTC
Created attachment 463941 [details]
abrt.log

Comment 2 Fedora Update System 2010-12-02 20:53:41 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 3 Fedora Update System 2010-12-03 20:41:40 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 4 fibric 2010-12-08 06:20:57 UTC
It is working now :-)
Before updating to test release I found that crashing rdesktop could be related to sharing a local folder and/or sharing sound with local machine. If I turned off both rdesktop didn't crashed again either. But with the test release I turned on both again and it works :-)

Comment 5 Fedora Update System 2010-12-08 21:37:27 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.


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