Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1203

guacd, Release 1.2.0 segfaults in connection with RDP-Sessions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: guacamole, guacd
    • Labels:

      Description

      Setup

      Component Release
      guacamole server guacd 1.2.0
      guacamole client 1.2.0
      OS of guacamole server CentOS 7
      OS of guacamole client CentOS 7
      RDP-server Windows 10

      Situation

      • I haven't seen it with guacd 1.1.0
      • guacd was resently updated to release 1.2.0 (self-built)
      • It is not reproducible with every session
      • I have no core dump yet (system is not prepared for it)
      • segfaults so far since update to release 1.2.0:
        Oct 29 17:11:49 aguacate-srv-us1 kernel: guacd[23448]: segfault at 7f7fac00a090 ip 00007f7fac00a090 sp 00007f7fa0955a38 error 15
        Oct 29 17:39:56 aguacate-srv-us1 kernel: guacd[23515]: segfault at 7f7fac00a110 ip 00007f7fac00a110 sp 00007f7fa0955a38 error 15
        Oct 29 18:36:06 aguacate-srv-us1 kernel: guacd[23598]: segfault at 7f7fac00a110 ip 00007f7fac00a110 sp 00007f7fa0955a38 error 15
        Oct 29 18:40:07 aguacate-srv-us1 kernel: guacd[23612]: segfault at 7f7fb4001670 ip 00007f7fb4001670 sp 00007f7fa0955a38 error 15
        Oct 29 18:46:19 aguacate-srv-us1 kernel: guacd[23633]: segfault at 7f7fac00a090 ip 00007f7fac00a090 sp 00007f7fa0955a38 error 15
        Oct 29 19:04:42 aguacate-srv-us1 kernel: guacd[23716]: segfault at 7f7fac000088 ip 00007f7fac000088 sp 00007f7fa0955a38 error 15
        Oct 30 11:07:08 aguacate-srv-us1 kernel: guacd[24871]: segfault at 7f7fb4001670 ip 00007f7fb4001670 sp 00007f7f9ff22a38 error 15
        Oct 30 11:22:55 aguacate-srv-us1 kernel: guacd[24911]: segfault at 7f7fb4001670 ip 00007f7fb4001670 sp 00007f7f9ff22a38 error 15
        Oct 30 12:29:19 aguacate-srv-us1 kernel: guacd[25017]: segfault at 7f7fb4001670 ip 00007f7fb4001670 sp 00007f7fa0955a38 error 15
        Oct 30 12:32:07 aguacate-srv-us1 kernel: guacd[25052]: segfault at 7f7fb4001670 ip 00007f7fb4001670 sp 00007f7fa0955a38 error 15
        Oct 30 12:35:19 aguacate-srv-us1 kernel: guacd[25080]: segfault at 7f7fb4001670 ip 00007f7fb4001670 sp 00007f7fa0955a38 error 15

      Full session log

      Oct 30 12:34:46 aguacate-srv-us1 guacd[21561]: Creating new client for protocol "rdp"
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[21561]: INFO:#011Creating new client for protocol "rdp"
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[21561]: INFO:#011Connection ID is "$a17fd54d-4132-497b-aa2a-35afb3fa2c4b"
      Oct 30 12:34:46 aguacate-srv-us1 guacd[21561]: Connection ID is "$a17fd54d-4132-497b-aa2a-35afb3fa2c4b"
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Processing instruction: size
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Processing instruction: audio
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Processing instruction: video
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Processing instruction: image
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Processing instruction: timezone
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "console-audio" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: INFO:#011Security mode: Negotiate (ANY)
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "port" omitted. Using default value of 3389.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011User resolution is 1853x974 at 96 DPI
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "dpi" omitted. Using default value of 96.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Using resolution of 1852x974 at 96 DPI
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "read-only" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "client-name" omitted. Using default value of "Guacamole RDP".
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "enable-wallpaper" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "enable-theming" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "enable-font-smoothing" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "enable-full-window-drag" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "enable-desktop-composition" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "enable-menu-animations" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "disable-bitmap-caching" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "disable-offscreen-caching" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "disable-glyph-caching" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "color-depth" omitted. Using default value of 16.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "disable-audio" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "enable-printing" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "printer-name" omitted. Using default value of "Guacamole Printer".
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "enable-drive" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "drive-name" omitted. Using default value of "Guacamole Filesystem".
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "drive-path" omitted. Using default value of "".
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "create-drive-path" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "disable-download" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "disable-upload" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "timezone" omitted. Using default value of "Europe/Berlin".
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "enable-sftp" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "sftp-hostname" omitted. Using default value of "DWCH-6QB9R53".
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "sftp-port" omitted. Using default value of "22".
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "sftp-username" omitted. Using default value of "".
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "sftp-password" omitted. Using default value of "".
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "sftp-passphrase" omitted. Using default value of "".
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "sftp-root-directory" omitted. Using default value of "/".
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "sftp-server-alive-interval" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "sftp-disable-download" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "sftp-disable-upload" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "recording-name" omitted. Using default value of "recording".
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "recording-exclude-output" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "recording-exclude-mouse" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "recording-include-keys" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "create-recording-path" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: INFO:#011Resize method: none
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "gateway-port" omitted. Using default value of 443.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "disable-copy" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "disable-paste" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Parameter "wol-send-packet" omitted. Using default value of 0.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: INFO:#011User "@51caf17d-aef4-41b6-a151-c2a21ba73088" joined connection "$a17fd54d-4132-497b-aa2a-35afb3fa2c4b" (1 users now present)
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Client is using protocol version "VERSION_1_1_0"
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: INFO:#011Loading keymap "base"
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: INFO:#011Loading keymap "en-us-qwerty"
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Support for CLIPRDR (clipboard redirection) registered. Awaiting channel connection.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Support for static channel "rdpdr" loaded.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Support for static channel "rdpsnd" loaded.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Local framebuffer format  PIXEL_FORMAT_BGRX32
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Remote framebuffer format PIXEL_FORMAT_RGB16
      Oct 30 12:34:46 aguacate-srv-us1 guacd[25069]: Security mode: Negotiate (ANY)
      Oct 30 12:34:46 aguacate-srv-us1 guacd[25069]: Resize method: none
      Oct 30 12:34:46 aguacate-srv-us1 guacd[25069]: User "@51caf17d-aef4-41b6-a151-c2a21ba73088" joined connection "$a17fd54d-4132-497b-aa2a-35afb3fa2c4b" (1 users now present)
      Oct 30 12:34:46 aguacate-srv-us1 guacd[25069]: Loading keymap "base"
      Oct 30 12:34:46 aguacate-srv-us1 guacd[25069]: Loading keymap "en-us-qwerty"
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011CLIPRDR (clipboard redirection) channel connected.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011SVC "rdpdr" connected.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011SVC "rdpsnd" connected.
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Loading Dynamic Virtual Channel guacai
      Oct 30 12:34:46 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011AUDIO_INPUT plugin loaded.
      Oct 30 12:34:47 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Clipboard data received. Reporting availability of clipboard data to RDP server.
      Oct 30 12:34:47 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011User is requesting to provide audio input as 2-channel, 44100 Hz PCM audio at 2 bytes/sample.
      Oct 30 12:34:47 aguacate-srv-us1 guacd[25069]: Connected to RDPDR 1.13 as client 0x0003
      Oct 30 12:34:47 aguacate-srv-us1 guacd: guacd[25069]: INFO:#011Connected to RDPDR 1.13 as client 0x0003
      Oct 30 12:34:47 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Ignoring server capability set type=0x0001, length=44
      Oct 30 12:34:47 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Ignoring server capability set type=0x0002, length=8
      Oct 30 12:34:47 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Ignoring server capability set type=0x0003, length=8
      Oct 30 12:34:47 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Ignoring server capability set type=0x0004, length=8
      Oct 30 12:34:47 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Ignoring server capability set type=0x0005, length=8
      Oct 30 12:34:47 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Sending capabilities...
      Oct 30 12:34:47 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Capabilities sent.
      Oct 30 12:34:47 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Client ID confirmed
      Oct 30 12:35:05 aguacate-srv-us1 guacd[25069]: Connected to RDPDR 1.13 as client 0x0002
      Oct 30 12:35:05 aguacate-srv-us1 guacd: guacd[25069]: INFO:#011Connected to RDPDR 1.13 as client 0x0002
      Oct 30 12:35:05 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Ignoring server capability set type=0x0001, length=44
      Oct 30 12:35:05 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Ignoring server capability set type=0x0002, length=8
      Oct 30 12:35:05 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Ignoring server capability set type=0x0003, length=8
      Oct 30 12:35:05 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Ignoring server capability set type=0x0004, length=8
      Oct 30 12:35:05 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Ignoring server capability set type=0x0005, length=8
      Oct 30 12:35:05 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Sending capabilities...
      Oct 30 12:35:05 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Capabilities sent.
      Oct 30 12:35:05 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Client ID confirmed
      Oct 30 12:35:05 aguacate-srv-us1 guacd[25069]: RDPDR user logged on
      Oct 30 12:35:05 aguacate-srv-us1 guacd: guacd[25069]: INFO:#011RDPDR user logged on
      Oct 30 12:35:05 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011All supported devices sent.
      Oct 30 12:35:05 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011New AUDIO_INPUT channel connection
      Oct 30 12:35:06 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011RDP server is accepting audio input as 2-channel, 44100 Hz PCM audio at 2 bytes/sample.
      Oct 30 12:35:06 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011AUDIO_INPUT channel connection closed
      Oct 30 12:35:06 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011New AUDIO_INPUT channel connection
      Oct 30 12:35:06 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011RDP server is accepting audio input as 2-channel, 44100 Hz PCM audio at 2 bytes/sample.
      Oct 30 12:35:06 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011User is requesting to provide audio input as 2-channel, 44100 Hz PCM audio at 2 bytes/sample.
      Oct 30 12:35:16 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Handler not found for "ping"
      Oct 30 12:35:18 aguacate-srv-us1 guacd[25069]: User connection aborted
      Oct 30 12:35:18 aguacate-srv-us1 guacd: guacd[25069]: WARNING:#011User connection aborted
      Oct 30 12:35:18 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Failing instruction handler in user was "sync"
      Oct 30 12:35:18 aguacate-srv-us1 guacd: guacd[25069]: INFO:#011User "@51caf17d-aef4-41b6-a151-c2a21ba73088" disconnected (0 users remain)
      Oct 30 12:35:18 aguacate-srv-us1 guacd: guacd[25069]: INFO:#011Last user of connection "$a17fd54d-4132-497b-aa2a-35afb3fa2c4b" disconnected
      Oct 30 12:35:18 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011Requesting termination of client...
      Oct 30 12:35:18 aguacate-srv-us1 guacd[25069]: User "@51caf17d-aef4-41b6-a151-c2a21ba73088" disconnected (0 users remain)
      Oct 30 12:35:18 aguacate-srv-us1 guacd[25069]: Last user of connection "$a17fd54d-4132-497b-aa2a-35afb3fa2c4b" disconnected
      Oct 30 12:35:19 aguacate-srv-us1 guacd: guacd[25069]: DEBUG:#011AUDIO_INPUT channel connection closed
      Oct 30 12:35:19 aguacate-srv-us1 kernel: guacd[25080]: segfault at 7f7fb4001670 ip 00007f7fb4001670 sp 00007f7fa0955a38 error 15
      Oct 30 12:35:19 aguacate-srv-us1 guacd[21561]: Connection "$a17fd54d-4132-497b-aa2a-35afb3fa2c4b" removed.
      Oct 30 12:35:19 aguacate-srv-us1 guacd: guacd[21561]: INFO:#011Connection "$a17fd54d-4132-497b-aa2a-35afb3fa2c4b" removed.
      

        Attachments

        1. guacd_logs.tar.xz
          39 kB
          Juergen Kuri
        2. core.guacd.11.7288.aguacate-srv-us2.server.lan.xz
          1.03 MB
          Juergen Kuri
        3. guacd-reproducer.log.xz
          3 kB
          Juergen Kuri

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jkuri Juergen Kuri
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: