[Bug 1070681] Re: xfreerdp crashes with SIGSEGV on copying images via clipboard
https://github.com/FreeRDP/FreeRDP/pull/414/commits/4720596d610e5406d0445433f1a079fc84858fa7 ^^ Above patch fixes this issue -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1070681 Title: xfreerdp crashes with SIGSEGV on copying images via clipboard To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/freerdp/+bug/1070681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1070681] Re: xfreerdp crashes with SIGSEGV on copying images via clipboard
I forgot to mention that it is reproducible. Attached to process with gdb: (gdb) run Starting program: /usr/bin/xfreerdp -u emp000621 -p * -d BESI-EU -g 1024x768 -a 16 --ignore-certificate -s c:\\Program\ Files\ \(x86\)\\Microsoft\ Office\\Office12\\winword.exe\ --plugin cliprdr --plugin rdpdr --data disk:local:/ -- ATRATS02.eu.besi.corp [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1. [New Thread 0x7412f700 (LWP 750)] [New Thread 0x72cf2700 (LWP 751)] [New Thread 0x724f1700 (LWP 752)] 199 ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: No such file or directory. [New Thread 0x71ae9700 (LWP 753)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7412f700 (LWP 750)] __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:199 (gdb) bt #0 __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:199 #1 0x0040b0ad in xf_cliprdr_get_requested_data (xfi=0x7fffec0008c0, target=672) at /usr/include/x86_64-linux-gnu/bits/string3.h:52 #2 0x0040c5f7 in xf_cliprdr_process_property_notify (xfi=optimized out, xevent=optimized out) at /build/buildd/freerdp-1.0.1/client/X11/xf_cliprdr.c:1212 #3 0x0040a5ce in xf_event_PropertyNotify (xfi=optimized out, event=optimized out, app=optimized out) at /build/buildd/freerdp-1.0.1/client/X11/xf_event.c:564 #4 0x0040f7d1 in xf_check_fds (instance=0x696070, set=optimized out) at /build/buildd/freerdp-1.0.1/client/X11/xfreerdp.c:270 #5 0x0041054c in xfreerdp_run (instance=0x696070) at /build/buildd/freerdp-1.0.1/client/X11/xfreerdp.c:1020 #6 0x0041062c in thread_func (param=0x6baaa0) at /build/buildd/freerdp-1.0.1/client/X11/xfreerdp.c:1052 #7 0x75fd1e9a in start_thread (arg=0x7412f700) at pthread_create.c:308 #8 0x75cff4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x in ?? () (gdb) frame 0 #0 __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:199 199 in ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (gdb) info locals No locals. (gdb) frame 1 #1 0x0040b0ad in xf_cliprdr_get_requested_data (xfi=0x7fffec0008c0, target=672) at /usr/include/x86_64-linux-gnu/bits/string3.h:52 52return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); (gdb) info locals type = 672 format = 8 data = 0x7fffec10cca0 BM6\304m\001 has_data = 0 length = 64511 bytes_left = 64511 dummy = 0 cb = 0x7fffec075460 (gdb) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1070681 Title: xfreerdp crashes with SIGSEGV on copying images via clipboard To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/freerdp/+bug/1070681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1070681] Re: xfreerdp crashes with SIGSEGV on copying images via clipboard
Valgrind output of this situation: ==8375== Memcheck, a memory error detector ==8375== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==8375== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==8375== Command: xfreerdp -u emp000621 -p * -d BESI-EU -g 1024x768 -a 16 --ignore-certificate -s c:\\Program\ Files\ (x86)\\Microsoft\ Office\\Office12\\winword.exe\ --plugin cliprdr --plugin rdpdr --data disk:local:/ -- ATRATS02.eu.besi.corp ==8375== ==8375== Warning: ignored attempt to set SIGKILL handler in sigaction(); ==8375== the SIGKILL signal is uncatchable ==8375== Warning: ignored attempt to set SIGSTOP handler in sigaction(); ==8375== the SIGSTOP signal is uncatchable ==8375== Thread 2: ==8375== Invalid write of size 8 ==8375==at 0x4C2D004: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==8375==by 0x40B0AC: xf_cliprdr_get_requested_data (string3.h:52) ==8375==by 0x40C5F6: xf_cliprdr_process_property_notify (xf_cliprdr.c:1212) ==8375==by 0x40A5CD: xf_event_PropertyNotify (xf_event.c:564) ==8375==by 0x40F7D0: xf_check_fds (xfreerdp.c:270) ==8375==by 0x41054B: xfreerdp_run (xfreerdp.c:1020) ==8375==by 0x41062B: thread_func (xfreerdp.c:1052) ==8375==by 0x6A2CE99: start_thread (pthread_create.c:308) ==8375== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==8375== loading plugin cliprdr loading plugin rdpdr connected to ATRATS02.eu.besi.corp:3389 registered device #1: local (type=8 id=1) xrealloc: null pointer given ==8375== ==8375== HEAP SUMMARY: ==8375== in use at exit: 1,276,903 bytes in 4,597 blocks ==8375== total heap usage: 14,319 allocs, 9,722 frees, 15,776,591 bytes allocated ==8375== ==8375== LEAK SUMMARY: ==8375==definitely lost: 26 bytes in 1 blocks ==8375==indirectly lost: 0 bytes in 0 blocks ==8375== possibly lost: 1,088 bytes in 4 blocks ==8375==still reachable: 1,275,789 bytes in 4,592 blocks ==8375== suppressed: 0 bytes in 0 blocks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1070681 Title: xfreerdp crashes with SIGSEGV on copying images via clipboard To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/freerdp/+bug/1070681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs