xfreerdp crashes with SIGSEGV on copying images via clipboard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
freerdp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I copied an embedded picture from Libreoffice Writer to Powerpoint on our terminal server via xfreerdp.
The other direction is not crashing, but nothing is copied.
ProblemType: Crash
Architecture: amd64
CrashCounter: 1
Date: Wed Oct 24 07:54:45 2012
DistroRelease: Ubuntu 12.04
ExecutablePath: /usr/bin/xfreerdp
ExecutableTimes
ProcCmdline: xfreerdp -u emp000621 -p ***** -d BESI-EU -g 1024x768 -a 16 --ignore-
SegvAnalysis:
Segfault happened at: 0x7f67363c4b7b <raise+43>: cmp $0xffffffffffff
PC (0x7f67363c4b7b) ok
source "$0xfffffffffff
destination "%rax" ok
Stack memory exhausted (SP below stack segment)
SP (0x7f6734519288) ok
Reason could not be automatically determined.
SourcePackage: freerdp
Stacktrace:
#0 0x00007f67363c4b7b in raise (sig=<optimized out>) at ../nptl/
resultvar = 0
pid = <optimized out>
#1 0x00007f6736d22441 in ?? () from /usr/lib/
No symbol table info available.
#2 <signal handler called>
No symbol table info available.
#3 __memcpy_ssse3_back () at ../sysdeps/
No locals.
#4 0x000000000040b0ad in ?? ()
No symbol table info available.
#5 0x000000000040c5f7 in xf_cliprdr_
No symbol table info available.
#6 0x000000000040a5ce in xf_event_
No symbol table info available.
#7 0x000000000040f7d1 in xf_check_fds ()
No symbol table info available.
#8 0x000000000041054c in xfreerdp_run ()
No symbol table info available.
#9 0x000000000041062c in thread_func ()
No symbol table info available.
#10 0x00007f67363bce9a in start_thread (arg=0x7f673451
__res = <optimized out>
pd = 0x7f673451a700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -83389020507186
sp = <optimized out>
freesize = <optimized out>
#11 0x00007f67360ea4bd in clone () at ../sysdeps/
No locals.
#12 0x0000000000000000 in ?? ()
No symbol table info available.
StacktraceAddre
StacktraceTop:
?? ()
xf_cliprdr_
xf_event_
xf_check_fds ()
xfreerdp_run ()
Tags: precise
I forgot to mention that it is reproducible.
Attached to process with gdb:
(gdb) run certificate -s c:\\Program\ Files\ \(x86\)\\Microsoft\ Office\ \Office12\ \winword. exe\ --plugin cliprdr --plugin rdpdr --data disk:local:/ -- ATRATS02. eu.besi. corp 64-linux- gnu/libthread_ db.so.1" . x86_64/ multiarch/ memcpy- ssse3-back. S: No such file or directory.
Starting program: /usr/bin/xfreerdp -u emp000621 -p ***** -d BESI-EU -g 1024x768 -a 16 --ignore-
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7ffff412f700 (LWP 750)]
[New Thread 0x7ffff2cf2700 (LWP 751)]
[New Thread 0x7ffff24f1700 (LWP 752)]
199 ../sysdeps/
[New Thread 0x7ffff1ae9700 (LWP 753)]
Program received signal SIGSEGV, Segmentation fault. x86_64/ multiarch/ memcpy- ssse3-back. S:199 x86_64/ multiarch/ memcpy- ssse3-back. S:199 get_requested_ data (xfi=0x7fffec00 08c0, target=672) x86_64- linux-gnu/ bits/string3. h:52 process_ property_ notify (xfi=<optimized out>, xevent=<optimized out>) buildd/ freerdp- 1.0.1/client/ X11/xf_ cliprdr. c:1212 PropertyNotify (xfi=<optimized out>, event=<optimized out>, app=<optimized out>) buildd/ freerdp- 1.0.1/client/ X11/xf_ event.c: 564 buildd/ freerdp- 1.0.1/client/ X11/xfreerdp. c:270 buildd/ freerdp- 1.0.1/client/ X11/xfreerdp. c:1020 buildd/ freerdp- 1.0.1/client/ X11/xfreerdp. c:1052 f700) at pthread_ create. c:308 unix/sysv/ linux/x86_ 64/clone. S:112 x86_64/ multiarch/ memcpy- ssse3-back. S:199 x86_64/ multiarch/ memcpy- ssse3-back. S get_requested_ data (xfi=0x7fffec00 08c0, target=672) x86_64- linux-gnu/ bits/string3. h:52 __memcpy_ chk (__dest, __src, __len, __bos0 (__dest));
[Switching to Thread 0x7ffff412f700 (LWP 750)]
__memcpy_ssse3_back () at ../sysdeps/
(gdb) bt
#0 __memcpy_ssse3_back () at ../sysdeps/
#1 0x000000000040b0ad in xf_cliprdr_
at /usr/include/
#2 0x000000000040c5f7 in xf_cliprdr_
at /build/
#3 0x000000000040a5ce in xf_event_
at /build/
#4 0x000000000040f7d1 in xf_check_fds (instance=0x696070, set=<optimized out>)
at /build/
#5 0x000000000041054c in xfreerdp_run (instance=0x696070) at /build/
#6 0x000000000041062c in thread_func (param=0x6baaa0) at /build/
#7 0x00007ffff5fd1e9a in start_thread (arg=0x7ffff412
#8 0x00007ffff5cff4bd in clone () at ../sysdeps/
#9 0x0000000000000000 in ?? ()
(gdb) frame 0
#0 __memcpy_ssse3_back () at ../sysdeps/
199 in ../sysdeps/
(gdb) info locals
No locals.
(gdb) frame 1
#1 0x000000000040b0ad in xf_cliprdr_
at /usr/include/
52 return __builtin_
(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)