Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-68126

xfreerdp dumped core when connecting to localhost with something in clipboard

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • freerdp
    • None
    • Yes
    • Moderate
    • 1
    • rhel-sst-display-productivity
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • DESKTOP Cycle #3 10.0 phase
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      connect to gnome-remote-desktop rdp server on localhost with something in clipboard:
      xfreerdp /v:127.0.0.1 /u:$user /p:$password /cert:tofu /port:$port

      This issue is reproducible only when connecting to localhost

      What is the impact of this issue to you?

      after a while dumps a core

      Please provide the package NVR for which the bug is seen:

      freerdp-2:3.9.0-1.el10.x86_64 

      gnome-remote-desktop-47.alpha-1.el10.x86_64

      How reproducible is this bug?:

      always

      Steps to reproduce

      1. set a gnome-remote-desktop rdp server
      2. Copy some text to clipboard
      3. connect to it with xfreerdp:
        xfreerdp /v:127.0.0.1 /u:$user /p:$password /cert:tofu /port:$port
      4.  

      Expected results

      no core dump

      Actual results

      after the connection and cca 10s core is dumped.

       

      freerdp output log:

      16:00:57:989] [2627:00000a44] [INFO][com.freerdp.client.x11] - [xf_setup_x11]: Enabling X11 debug mode.
      [16:00:57:379] [2627:00000a44] [WARN][com.freerdp.crypto] - [verify_cb]: Certificate verification failure 'self-signed certificate (18)' at stack position 0
      [16:00:57:379] [2627:00000a44] [WARN][com.freerdp.crypto] - [verify_cb]: C = DE, ST = NONE, L = NONE, O = GNOME, CN = localhost
      [16:00:57:385] [2627:00000a44] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_AcquireCredentialsHandleA]: krb5_parse_name (Configuration file does not specify default realm [-1765328160])
      [16:00:57:385] [2627:00000a44] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_AcquireCredentialsHandleA]: krb5_parse_name (Configuration file does not specify default realm [-1765328160])
      [16:00:57:485] [2627:00000a44] [WARN][com.freerdp.core.license] - [license_read_binary_blob_data]: license binary blob::type BB_ERROR_BLOB, length=0, skipping.
      [16:00:57:854] [2627:00000a44] [INFO][com.freerdp.gdi] - [gdi_init_ex]: Local framebuffer format  PIXEL_FORMAT_BGRX32
      [16:00:57:854] [2627:00000a44] [INFO][com.freerdp.gdi] - [gdi_init_ex]: Remote framebuffer format PIXEL_FORMAT_BGRA32
      [16:00:57:865] [2627:00000a44] [INFO][com.freerdp.channels.rdpsnd.client] - [rdpsnd_load_device_plugin]: [static] Loaded fake backend for rdpsnd
      [16:00:57:866] [2627:00000a44] [INFO][com.freerdp.channels.drdynvc.client] - [dvcman_load_addin]: Loading Dynamic Virtual Channel ainput
      [16:00:57:868] [2627:00000a44] [INFO][com.freerdp.channels.drdynvc.client] - [dvcman_load_addin]: Loading Dynamic Virtual Channel rdpgfx
      [16:00:57:869] [2627:00000a44] [INFO][com.freerdp.channels.drdynvc.client] - [dvcman_load_addin]: Loading Dynamic Virtual Channel rdpsnd
      [16:00:58:233] [2627:00000a66] [WARN][com.freerdp.client.x11.cliprdr] - [xf_cliprdr_server_format_data_response]: Format Data Response PDU msgFlags is CB_RESPONSE_FAIL
      [16:00:58:291] [2627:00000a66] [WARN][com.freerdp.client.x11.cliprdr] - [xf_cliprdr_server_format_data_response]: Format Data Response PDU msgFlags is CB_RESPONSE_FAIL
      [16:00:58:319] [2627:00000a66] [WARN][com.freerdp.client.x11.cliprdr] - [xf_cliprdr_server_format_data_response]: Format Data Response PDU msgFlags is CB_RESPONSE_FAIL
      [16:00:58:327] [2627:00000a66] [WARN][com.freerdp.client.x11.cliprdr] - [xf_cliprdr_server_format_data_response]: Format Data Response PDU msgFlags is CB_RESPONSE_FAIL
      [16:00:58:333] [2627:00000a66] [WARN][com.freerdp.client.x11.cliprdr] - [xf_cliprdr_server_format_data_response]: Format Data Response PDU msgFlags is CB_RESPONSE_FAIL
      [16:00:58:336] [2627:00000a66] [WARN][com.freerdp.client.x11.cliprdr] - [xf_cliprdr_server_format_data_response]: Format Data Response PDU msgFlags is CB_RESPONSE_FAIL
      [16:00:58:348] [2627:00000a66] [WARN][com.freerdp.client.x11.cliprdr] - [xf_cliprdr_server_format_data_response]: Format Data Response PDU msgFlags is CB_RESPONSE_FAIL
      [16:01:10:821] [2627:00000a44] [FATAL][com.freerdp.winpr.assert] - [winpr_int_assert]: server [/builddir/build/BUILD/FreeRDP-3.6.3/client/X11/xf_cliprdr.c:xf_cliprdr_formats_equal:308]
      [16:01:10:823] [2627:00000a44] [FATAL][com.freerdp.winpr.assert] - [winpr_log_backtrace_ex]: 0: dli_fname=/lib64/libwinpr3.so.3 [0x7f32724e6000], dli_sname=winpr_backtrace [0x7f32725336e0]
      [16:01:10:823] [2627:00000a44] [FATAL][com.freerdp.winpr.assert] - [winpr_log_backtrace_ex]: 1: dli_fname=/lib64/libwinpr3.so.3 [0x7f32724e6000], dli_sname=winpr_log_backtrace_ex [0x7f3272533c10]
      [16:01:10:823] [2627:00000a44] [FATAL][com.freerdp.winpr.assert] - [winpr_log_backtrace_ex]: 2: dli_fname=xfreerdp [0x557393a69000], dli_sname=(null) [(nil)]
      [16:01:10:823] [2627:00000a44] [FATAL][com.freerdp.winpr.assert] - [winpr_log_backtrace_ex]: 3: dli_fname=xfreerdp [0x557393a69000], dli_sname=(null) [(nil)]
      [16:01:10:823] [2627:00000a44] [FATAL][com.freerdp.winpr.assert] - [winpr_log_backtrace_ex]: 4: dli_fname=xfreerdp [0x557393a69000], dli_sname=(null) [(nil)]
      [16:01:10:823] [2627:00000a44] [FATAL][com.freerdp.winpr.assert] - [winpr_log_backtrace_ex]: 5: dli_fname=xfreerdp [0x557393a69000], dli_sname=(null) [(nil)]
      [16:01:10:823] [2627:00000a44] [FATAL][com.freerdp.winpr.assert] - [winpr_log_backtrace_ex]: 6: dli_fname=/lib64/libwinpr3.so.3 [0x7f32724e6000], dli_sname=(null) [(nil)]
      [16:01:10:823] [2627:00000a44] [FATAL][com.freerdp.winpr.assert] - [winpr_log_backtrace_ex]: 7: dli_fname=/lib64/libc.so.6 [0x7f32720c3000], dli_sname=(null) [(nil)]
      [16:01:10:823] [2627:00000a44] [FATAL][com.freerdp.winpr.assert] - [winpr_log_backtrace_ex]: 8: dli_fname=/lib64/libc.so.6 [0x7f32720c3000], dli_sname=(null) [(nil)]
      [16:01:10:823] [2627:00000a44] [FATAL][com.freerdp.winpr.assert] - [winpr_log_backtrace_ex]: 9: unresolvable, address=(nil)
      [16:01:10:823] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [fatal_handler]: Caught signal 'Aborted' [6]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 0: dli_fname=/lib64/libwinpr3.so.3 [0x7f32724e6000], dli_sname=winpr_backtrace [0x7f32725336e0]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 1: dli_fname=/lib64/libwinpr3.so.3 [0x7f32724e6000], dli_sname=winpr_log_backtrace_ex [0x7f3272533c10]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 2: dli_fname=/lib64/libfreerdp3.so.3 [0x7f3272600000], dli_sname=(null) [(nil)]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 3: dli_fname=/lib64/libc.so.6 [0x7f32720c3000], dli_sname=(null) [(nil)]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 4: dli_fname=/lib64/libc.so.6 [0x7f32720c3000], dli_sname=(null) [(nil)]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 5: dli_fname=/lib64/libc.so.6 [0x7f32720c3000], dli_sname=gsignal [0x7f3272103a00]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 6: dli_fname=/lib64/libc.so.6 [0x7f32720c3000], dli_sname=abort [0x7f32720eb823]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 7: dli_fname=xfreerdp [0x557393a69000], dli_sname=(null) [(nil)]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 8: dli_fname=xfreerdp [0x557393a69000], dli_sname=(null) [(nil)]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 9: dli_fname=xfreerdp [0x557393a69000], dli_sname=(null) [(nil)]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 10: dli_fname=xfreerdp [0x557393a69000], dli_sname=(null) [(nil)]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 11: dli_fname=/lib64/libwinpr3.so.3 [0x7f32724e6000], dli_sname=(null) [(nil)]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 12: dli_fname=/lib64/libc.so.6 [0x7f32720c3000], dli_sname=(null) [(nil)]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 13: dli_fname=/lib64/libc.so.6 [0x7f32720c3000], dli_sname=(null) [(nil)]
      [16:01:10:824] [2627:00000a44] [ERROR][com.freerdp.utils.signal] - [winpr_log_backtrace_ex]: 14: unresolvable, address=(nil)
      Aborted (core dumped)

              oholy@redhat.com Ondrej Holy
              rduda Radek Duda
              Ondrej Holy Ondrej Holy
              Radek Duda Radek Duda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: