tot remmina crashes when marking text in the client iff clipboard sync is disabled #695

ObiWahn opened this Issue Dec 7, 2015 · 12 comments


None yet

2 participants

ObiWahn commented Dec 7, 2015

Remmina crashes when i mark some text in the client window. This happens only when "clipboard sync" is disabled. I am using Debian/SID with xmonad. I have started remmina as WM and had the same result.


Which Remmina/FreeRDP version?

ObiWahn commented Dec 15, 2015

FreeRDP b5880750987e892234fae937017f4af420aad403
Remmina 6f1306f


I've tried to replicate your issue on two different distributions, using dwm and i3wm, but I don't have any crash.

Which clipboard manager do you use? I personally use gpaste as with parcellite I was experiencing several problems.

Can you attach a gdb backtrace (be sure to install all the debug packages needed).

ObiWahn commented Dec 18, 2015

could you give me a few instructions where to break? The main UI is still there and [Inferior 1 (process 22890) exited normally] If you give me a bit guidance i will do my best to pull some useful information out of the thread. I think last time i tried catch throw and some other stuff but i was not able to locate the problem.

Kind Regards


Remmina must be compiled with -DCMAKE_BUILD_TYPE=Debug , follows the wiki in case you need.

Start remmina with

gdb remmina

If gdb advices to install some debug packages you have to do it.

As soon as remmina crashes, execute the command (inside gdb) bt

Then you should have a list of frames that you can analyse with the command frame (frame 1, or frame 15, etc) , the frame command will show you the code that has been executed and you can print the values of variables for instance.

But just copy&paste them here for now (at lease the bt result).

ObiWahn commented Dec 18, 2015

» objdump --syms /opt/remmina_devel/remmina/bin/remmina | grep debug
0000000000000000 l d .debug_aranges 0000000000000000 .debug_aranges
0000000000000000 l d .debug_info 0000000000000000 .debug_info
0000000000000000 l d .debug_abbrev 0000000000000000 .debug_abbrev
0000000000000000 l d .debug_line 0000000000000000 .debug_line
0000000000000000 l d .debug_str 0000000000000000 .debug_str
0000000000430d6f g F .text 0000000000000018 remmina_main_on_action_help_debug

Reading symbols from /opt/remmina_devel/remmina/bin/remmina...done.
(gdb) r
Starting program: /usr/opt/remmina_devel/remmina/bin/remmina
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/".
[New Thread 0x7fffec580700 (LWP 26314)]
[New Thread 0x7fffebd7f700 (LWP 26315)]
[New Thread 0x7fffeb57e700 (LWP 26316)]
[Thread 0x7fffeb57e700 (LWP 26316) exited]
[Thread 0x7fffebd7f700 (LWP 26315) exited]
[Thread 0x7ffff7f11a40 (LWP 26310) exited]
Inferior 1 (process 26310) exited normally bt
No stack.


I think that is your clipboard manager that crashes (could be because of remmina, freerdp, or not)
What clipboard manger are you using?

ObiWahn commented Dec 18, 2015

What is a clipboard manager? I use xmonad as desktop environment . The same happens when i start remmina as x client directly.

I use startx to enter my graphical environment and use the following configuration:
» cat .xinitrc
xsetroot -solid "#333333"
xsetroot -cursor_name left_ptr
exec dbus-launch /usr/bin/xmonad-session
#exec dbus-launch /opt/remmina_devel/remmina/bin/remmina


Well you don't have one, so you are using directly the standard selections defined by the ICCCM (through X).

Honestly I'm buffed... I've tried the most similar configuration that you have (I just use dwm instead of xmonad) but I cannot replicate your issue.


two more things, did you have any other old version of remmina and freerdp installed before?

If yes can you check you don't have old files still installed ?

Do you have the same issue using xfreerdp from a terminal?

ObiWahn commented Dec 19, 2015

xfreerdp crashes as well

» ./xfreerdp /v:xxxxx
[10:51:31:003] [29955:29956] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: yyyyyy
[10:51:31:010] [29955:29956] [INFO][com.freerdp.client.x11] - Property 346 does not exist
[10:52:43:103] [29955:29956] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.
[10:52:43:103] [29955:29956] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3

(gdb) c
(gdb) [Thread 0x7f8a014b3700 (LWP 29956) exited]
Inferior 1 (process 29955) exited with code 014 bt
No stack.

» ldd xfreerdp (0x00007ffe5afba000) => /usr/opt/remmina_devel/freerdp/bin/./../lib/ (0x00007fd0fa22d000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f9fea000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f9ddf000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f9bda000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f99c9000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f97bf000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f95b9000) => /usr/opt/remmina_devel/freerdp/bin/./../lib/ (0x00007fd0f92e5000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f7f01000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f7c92000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f7971000) => /lib/x86_64-linux-gnu/ (0x00007fd0f7662000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f740f000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f71ab000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f6f9e000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f6d1b000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f6b08000) => /usr/opt/remmina_devel/freerdp/bin/./../lib/ (0x00007fd0f673c000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f63f9000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f61d2000) => /usr/opt/remmina_devel/freerdp/bin/./../lib/ (0x00007fd0f5ecf000) => /lib/x86_64-linux-gnu/ (0x00007fd0f5cc7000) => /lib/x86_64-linux-gnu/ (0x00007fd0f5c44000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f59db000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f5579000) => /lib/x86_64-linux-gnu/ (0x00007fd0f5273000) => /lib/x86_64-linux-gnu/ (0x00007fd0f5056000) => /lib/x86_64-linux-gnu/ (0x00007fd0f4e52000) => /lib/x86_64-linux-gnu/ (0x00007fd0f4c36000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f493b000) => /lib/x86_64-linux-gnu/ (0x00007fd0f4597000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f437a000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f415e000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f3ecf000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f3bb8000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f2fc8000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f2c23000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f29c3000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f279a000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f2396000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f20ed000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f1ec1000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f1c9c000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f1a5d000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f1842000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f1628000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f1420000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f1213000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f0f3d000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f0cf4000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f0acf000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f0857000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f064a000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f042f000) => /lib/x86_64-linux-gnu/ (0x00007fd0f020b000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0f0007000) => /lib/x86_64-linux-gnu/ (0x00007fd0efd99000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0efb90000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0ef909000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0ef6e7000) => /lib/x86_64-linux-gnu/ (0x00007fd0ef4c5000) => /lib/x86_64-linux-gnu/ (0x00007fd0ef1e3000)
/lib64/ (0x0000559598b80000) => /lib/x86_64-linux-gnu/ (0x00007fd0eefbd000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0eedb1000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0eea36000) => /lib/x86_64-linux-gnu/ (0x00007fd0ee81f000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0ee616000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0ee412000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd0ee20b000) => /lib/x86_64-linux-gnu/ (0x00007fd0edff800


So I can do nothing but asking you to open the same bug report to the FreeRDP guys, sorry.

@antenore antenore closed this Dec 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment