[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17224626#comment-17224626
 ] 

Juergen Kuri edited comment on GUACAMOLE-1203 at 11/2/20, 12:35 PM:
--------------------------------------------------------------------

Hi [~mjumper],

I have two core dump files. It seems to be they are created when I do something 
with audio. I did some voice recording tests with Windows 10 _voicerecorder_, 
recording and playback. The {{backtrace}} of both core dumps are the same:

* {{\-rw------- 1 root root 159358976 Nov  2 12:40 
core.guacd.11.7288.aguacate-srv-us2.server.lan}}: {code}
gdb /sbin/guacd core.guacd.11.7288.aguacate-srv-us2.server.lan                  
            
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/guacd...Reading symbols from 
/usr/lib/debug/usr/sbin/guacd.debug...done.
done.
[New LWP 7299]
[New LWP 7292]
[New LWP 7296]
[New LWP 7297]
[New LWP 7294]
[New LWP 7306]
[New LWP 7295]
[New LWP 7288]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/guacd -f /etc/sysconfig/guacd'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000297f150 in ?? ()
Missing separate debuginfos, use: debuginfo-install 
bzip2-libs-1.0.6-13.el7.x86_64 cairo-1.15.12-4.el7.x86_64 
elfutils-libelf-0.176-4.el7.x86_64 elfutils-libs-0.176-4.el7.x86_64 
expat-2.1.0-11.el7.x86_64 fontconfig-2.13.0-4.3.el7.x86_64 
freerdp-libs-2.0.0-4.rc4.el7_8.x86_64 freetype-2.8-14.el7.x86_64 
glibc-2.17-307.el7.1.x86_64 gsm-1.0.13-11.el7.x86_64 
keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-46.el7.x86_64 
libX11-1.6.7-2.el7.x86_64 libXau-1.0.8-2.1.el7.x86_64 
libXext-1.3.3-3.el7.x86_64 libXrender-0.9.10-1.el7.x86_64 
libattr-2.4.46-13.el7.x86_64 libcap-2.22-11.el7.x86_64 
libcom_err-1.42.9-17.el7.x86_64 libgcc-4.8.5-39.el7.x86_64 
libgcrypt-1.5.3-14.el7.x86_64 libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64 
libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64 
libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64 libgpg-error-1.12-3.el7.x86_64 
libjpeg-turbo-1.2.90-8.el7.x86_64 libogg-1.3.0-7.el7.x86_64 
libpng-1.5.13-7.el7_2.x86_64 libselinux-2.5-15.el7.x86_64 
libssh2-1.8.0-3.el7.x86_64 libuuid-2.23.2-63.el7.x86_64 
libvorbis-1.3.3-8.el7.1.x86_64 libwebp-0.3.0-7.el7.x86_64 
libwinpr-2.0.0-4.rc4.el7_8.x86_64 libxcb-1.13-1.el7.x86_64 
libxkbfile-1.0.9-3.el7.x86_64 lz4-1.7.5-3.el7.x86_64 
openssl-libs-1.0.2k-19.el7.x86_64 pcre-8.32-17.el7.x86_64 
pixman-0.34.0-1.el7.x86_64 systemd-libs-219-73.el7_8.9.x86_64 
uuid-1.6.2-26.el7.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-18.el7.x86_64
(gdb) backtrace 
#0  0x000000000297f150 in ?? ()
#1  0x00007f4919e9a88b in guac_protocol_send_ack (socket=0x7f4917e7f7b8 
<main_arena+88>, stream=0x29a7160, error=0x7f490828b20f "CLOSED", 
status=GUAC_PROTOCOL_STATUS_RESOURCE_CLOSED) at protocol.c:76
#2  0x00007f490828609b in guac_rdp_audio_buffer_ack (audio_buffer=<optimized 
out>, message=<optimized out>, status=<optimized out>) at 
channels/audio-input/audio-buffer.c:73
#3  0x00007f49082863cd in guac_rdp_audio_buffer_end 
(audio_buffer=0x7f490404b910) at channels/audio-input/audio-buffer.c:295
#4  0x00007f4908286ec0 in guac_rdp_ai_close (channel_callback=0x7f48f40008c0) 
at plugins/guacai/guacai.c:151
#5  0x00007f4912477246 in dvcman_channel_free () from 
/lib64/libfreerdp-client2.so.2
#6  0x00007f49121b39ac in ArrayList_Remove () from /lib64/libwinpr2.so.2
#7  0x00007f491247720d in dvcman_close_channel () from 
/lib64/libfreerdp-client2.so.2
#8  0x00007f4912478f01 in drdynvc_virtual_channel_client_thread () from 
/lib64/libfreerdp-client2.so.2
#9  0x00007f49121d4e9f in thread_launcher () from /lib64/libwinpr2.so.2
#10 0x00007f49192c1ea5 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f4917bb68dd in clone () from /lib64/libc.so.6
(gdb) quit{code}
* {{\-rw------- 1 root root 168357888 Nov  2 12:50 
core.guacd.11.7336.aguacate-srv-us2.server.lan}}: {code}
[root@aguacate-srv-us2 cores]# gdb /sbin/guacd 
core.guacd.11.7336.aguacate-srv-us2.server.lan
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/guacd...Reading symbols from 
/usr/lib/debug/usr/sbin/guacd.debug...done.
done.
[New LWP 7347]
[New LWP 7340]
[New LWP 7342]
[New LWP 7355]
[New LWP 7344]
[New LWP 7345]
[New LWP 7343]
[New LWP 7336]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/guacd -f /etc/sysconfig/guacd'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f4904000b40 in ?? ()
Missing separate debuginfos, use: debuginfo-install 
bzip2-libs-1.0.6-13.el7.x86_64 cairo-1.15.12-4.el7.x86_64 
elfutils-libelf-0.176-4.el7.x86_64 elfutils-libs-0.176-4.el7.x86_64 
expat-2.1.0-11.el7.x86_64 fontconfig-2.13.0-4.3.el7.x86_64 
freerdp-libs-2.0.0-4.rc4.el7_8.x86_64 freetype-2.8-14.el7.x86_64 
glibc-2.17-307.el7.1.x86_64 gsm-1.0.13-11.el7.x86_64 
keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-46.el7.x86_64 
libX11-1.6.7-2.el7.x86_64 libXau-1.0.8-2.1.el7.x86_64 
libXext-1.3.3-3.el7.x86_64 libXrender-0.9.10-1.el7.x86_64 
libattr-2.4.46-13.el7.x86_64 libcap-2.22-11.el7.x86_64 
libcom_err-1.42.9-17.el7.x86_64 libgcc-4.8.5-39.el7.x86_64 
libgcrypt-1.5.3-14.el7.x86_64 libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64 
libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64 
libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64 libgpg-error-1.12-3.el7.x86_64 
libjpeg-turbo-1.2.90-8.el7.x86_64 libogg-1.3.0-7.el7.x86_64 
libpng-1.5.13-7.el7_2.x86_64 libselinux-2.5-15.el7.x86_64 
libssh2-1.8.0-3.el7.x86_64 libuuid-2.23.2-63.el7.x86_64 
libvorbis-1.3.3-8.el7.1.x86_64 libwebp-0.3.0-7.el7.x86_64 
libwinpr-2.0.0-4.rc4.el7_8.x86_64 libxcb-1.13-1.el7.x86_64 
libxkbfile-1.0.9-3.el7.x86_64 lz4-1.7.5-3.el7.x86_64 
openssl-libs-1.0.2k-19.el7.x86_64 pcre-8.32-17.el7.x86_64 
pixman-0.34.0-1.el7.x86_64 systemd-libs-219-73.el7_8.9.x86_64 
uuid-1.6.2-26.el7.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-18.el7.x86_64
(gdb) backtrace
#0  0x00007f4904000b40 in ?? ()
#1  0x00007f4919e9a88b in guac_protocol_send_ack (socket=0x7f4904000078, 
stream=0x7f4904000b90, error=0x7f49082fd20f "CLOSED", 
status=GUAC_PROTOCOL_STATUS_RESOURCE_CLOSED) at protocol.c:76
#2  0x00007f49082f809b in guac_rdp_audio_buffer_ack (audio_buffer=<optimized 
out>, message=<optimized out>, status=<optimized out>) at 
channels/audio-input/audio-buffer.c:73
##3  0x00007f49082f83cd in guac_rdp_audio_buffer_end (audio_buffer=0x29ef2b0) 
at channels/audio-input/audio-buffer.c:295
#4  0x00007f49082f8ec0 in guac_rdp_ai_close (channel_callback=0x7f48f4000c80) 
at plugins/guacai/guacai.c:151
#5  0x00007f4911475246 in dvcman_channel_free () from 
/lib64/libfreerdp-client2.so.2
#6  0x00007f49111b19ac in ArrayList_Remove () from /lib64/libwinpr2.so.2
#7  0x00007f491147520d in dvcman_close_channel () from 
/lib64/libfreerdp-client2.so.2
#8  0x00007f4911476f01 in drdynvc_virtual_channel_client_thread () from 
/lib64/libfreerdp-client2.so.2
#9  0x00007f49111d2e9f in thread_launcher () from /lib64/libwinpr2.so.2
#10 0x00007f49192c1ea5 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f4917bb68dd in clone () from /lib64/libc.so.6
(gdb){code}

When I see this line: {code}#1  0x00007f4919e9a88b in guac_protocol_send_ack 
(socket=0x7f4904000078, stream=0x7f4904000b90, error=0x7f49082fd20f 
"CLOSED"{code}, it strikes me guacd wants send more data on a already closed 
TCP-socket. The network connection today was better than on 30 ^th^ of October. 
But still, Guacamole kicked me out of the RDP-session cause of _instable 
network_. 

Find attached a core dump [^core.guacd.11.7288.aguacate-srv-us2.server.lan.xz] 
and the log file of guacd [^guacd-reproducer.log.xz].


was (Author: jkuri):
Hi [~mjumper],

I have two core dump files. It seems to be they are created when I do something 
with audio. I did some voice recording tests with Windows 10 _voicerecorder_, 
recording and playback. The {{backtrace}} of both core dumps are the same:

* {{\-rw------- 1 root root 159358976 Nov  2 12:40 
core.guacd.11.7288.aguacate-srv-us2.server.lan}}: {code}
gdb /sbin/guacd core.guacd.11.7288.aguacate-srv-us2.server.lan                  
            
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/guacd...Reading symbols from 
/usr/lib/debug/usr/sbin/guacd.debug...done.
done.
[New LWP 7299]
[New LWP 7292]
[New LWP 7296]
[New LWP 7297]
[New LWP 7294]
[New LWP 7306]
[New LWP 7295]
[New LWP 7288]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/guacd -f /etc/sysconfig/guacd'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000297f150 in ?? ()
Missing separate debuginfos, use: debuginfo-install 
bzip2-libs-1.0.6-13.el7.x86_64 cairo-1.15.12-4.el7.x86_64 
elfutils-libelf-0.176-4.el7.x86_64 elfutils-libs-0.176-4.el7.x86_64 
expat-2.1.0-11.el7.x86_64 fontconfig-2.13.0-4.3.el7.x86_64 
freerdp-libs-2.0.0-4.rc4.el7_8.x86_64 freetype-2.8-14.el7.x86_64 
glibc-2.17-307.el7.1.x86_64 gsm-1.0.13-11.el7.x86_64 
keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-46.el7.x86_64 
libX11-1.6.7-2.el7.x86_64 libXau-1.0.8-2.1.el7.x86_64 
libXext-1.3.3-3.el7.x86_64 libXrender-0.9.10-1.el7.x86_64 
libattr-2.4.46-13.el7.x86_64 libcap-2.22-11.el7.x86_64 
libcom_err-1.42.9-17.el7.x86_64 libgcc-4.8.5-39.el7.x86_64 
libgcrypt-1.5.3-14.el7.x86_64 libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64 
libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64 
libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64 libgpg-error-1.12-3.el7.x86_64 
libjpeg-turbo-1.2.90-8.el7.x86_64 libogg-1.3.0-7.el7.x86_64 
libpng-1.5.13-7.el7_2.x86_64 libselinux-2.5-15.el7.x86_64 
libssh2-1.8.0-3.el7.x86_64 libuuid-2.23.2-63.el7.x86_64 
libvorbis-1.3.3-8.el7.1.x86_64 libwebp-0.3.0-7.el7.x86_64 
libwinpr-2.0.0-4.rc4.el7_8.x86_64 libxcb-1.13-1.el7.x86_64 
libxkbfile-1.0.9-3.el7.x86_64 lz4-1.7.5-3.el7.x86_64 
openssl-libs-1.0.2k-19.el7.x86_64 pcre-8.32-17.el7.x86_64 
pixman-0.34.0-1.el7.x86_64 systemd-libs-219-73.el7_8.9.x86_64 
uuid-1.6.2-26.el7.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-18.el7.x86_64
(gdb) backtrace 
#0  0x000000000297f150 in ?? ()
#1  0x00007f4919e9a88b in guac_protocol_send_ack (socket=0x7f4917e7f7b8 
<main_arena+88>, stream=0x29a7160, error=0x7f490828b20f "CLOSED", 
status=GUAC_PROTOCOL_STATUS_RESOURCE_CLOSED) at protocol.c:76
#2  0x00007f490828609b in guac_rdp_audio_buffer_ack (audio_buffer=<optimized 
out>, message=<optimized out>, status=<optimized out>) at 
channels/audio-input/audio-buffer.c:73
#3  0x00007f49082863cd in guac_rdp_audio_buffer_end 
(audio_buffer=0x7f490404b910) at channels/audio-input/audio-buffer.c:295
#4  0x00007f4908286ec0 in guac_rdp_ai_close (channel_callback=0x7f48f40008c0) 
at plugins/guacai/guacai.c:151
#5  0x00007f4912477246 in dvcman_channel_free () from 
/lib64/libfreerdp-client2.so.2
#6  0x00007f49121b39ac in ArrayList_Remove () from /lib64/libwinpr2.so.2
#7  0x00007f491247720d in dvcman_close_channel () from 
/lib64/libfreerdp-client2.so.2
#8  0x00007f4912478f01 in drdynvc_virtual_channel_client_thread () from 
/lib64/libfreerdp-client2.so.2
#9  0x00007f49121d4e9f in thread_launcher () from /lib64/libwinpr2.so.2
#10 0x00007f49192c1ea5 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f4917bb68dd in clone () from /lib64/libc.so.6
(gdb) quit{code}
* {{\-rw------- 1 root root 168357888 Nov  2 12:50 
core.guacd.11.7336.aguacate-srv-us2.server.lan}}: {code}
[root@aguacate-srv-us2 cores]# gdb /sbin/guacd 
core.guacd.11.7336.aguacate-srv-us2.server.lan
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/guacd...Reading symbols from 
/usr/lib/debug/usr/sbin/guacd.debug...done.
done.
[New LWP 7347]
[New LWP 7340]
[New LWP 7342]
[New LWP 7355]
[New LWP 7344]
[New LWP 7345]
[New LWP 7343]
[New LWP 7336]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/guacd -f /etc/sysconfig/guacd'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f4904000b40 in ?? ()
Missing separate debuginfos, use: debuginfo-install 
bzip2-libs-1.0.6-13.el7.x86_64 cairo-1.15.12-4.el7.x86_64 
elfutils-libelf-0.176-4.el7.x86_64 elfutils-libs-0.176-4.el7.x86_64 
expat-2.1.0-11.el7.x86_64 fontconfig-2.13.0-4.3.el7.x86_64 
freerdp-libs-2.0.0-4.rc4.el7_8.x86_64 freetype-2.8-14.el7.x86_64 
glibc-2.17-307.el7.1.x86_64 gsm-1.0.13-11.el7.x86_64 
keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-46.el7.x86_64 
libX11-1.6.7-2.el7.x86_64 libXau-1.0.8-2.1.el7.x86_64 
libXext-1.3.3-3.el7.x86_64 libXrender-0.9.10-1.el7.x86_64 
libattr-2.4.46-13.el7.x86_64 libcap-2.22-11.el7.x86_64 
libcom_err-1.42.9-17.el7.x86_64 libgcc-4.8.5-39.el7.x86_64 
libgcrypt-1.5.3-14.el7.x86_64 libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64 
libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64 
libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64 libgpg-error-1.12-3.el7.x86_64 
libjpeg-turbo-1.2.90-8.el7.x86_64 libogg-1.3.0-7.el7.x86_64 
libpng-1.5.13-7.el7_2.x86_64 libselinux-2.5-15.el7.x86_64 
libssh2-1.8.0-3.el7.x86_64 libuuid-2.23.2-63.el7.x86_64 
libvorbis-1.3.3-8.el7.1.x86_64 libwebp-0.3.0-7.el7.x86_64 
libwinpr-2.0.0-4.rc4.el7_8.x86_64 libxcb-1.13-1.el7.x86_64 
libxkbfile-1.0.9-3.el7.x86_64 lz4-1.7.5-3.el7.x86_64 
openssl-libs-1.0.2k-19.el7.x86_64 pcre-8.32-17.el7.x86_64 
pixman-0.34.0-1.el7.x86_64 systemd-libs-219-73.el7_8.9.x86_64 
uuid-1.6.2-26.el7.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-18.el7.x86_64
(gdb) backtrace
#0  0x00007f4904000b40 in ?? ()
#1  0x00007f4919e9a88b in guac_protocol_send_ack (socket=0x7f4904000078, 
stream=0x7f4904000b90, error=0x7f49082fd20f "CLOSED", 
status=GUAC_PROTOCOL_STATUS_RESOURCE_CLOSED) at protocol.c:76
#2  0x00007f49082f809b in guac_rdp_audio_buffer_ack (audio_buffer=<optimized 
out>, message=<optimized out>, status=<optimized out>) at 
channels/audio-input/audio-buffer.c:73
##3  0x00007f49082f83cd in guac_rdp_audio_buffer_end (audio_buffer=0x29ef2b0) 
at channels/audio-input/audio-buffer.c:295
#4  0x00007f49082f8ec0 in guac_rdp_ai_close (channel_callback=0x7f48f4000c80) 
at plugins/guacai/guacai.c:151
#5  0x00007f4911475246 in dvcman_channel_free () from 
/lib64/libfreerdp-client2.so.2
#6  0x00007f49111b19ac in ArrayList_Remove () from /lib64/libwinpr2.so.2
#7  0x00007f491147520d in dvcman_close_channel () from 
/lib64/libfreerdp-client2.so.2
#8  0x00007f4911476f01 in drdynvc_virtual_channel_client_thread () from 
/lib64/libfreerdp-client2.so.2
#9  0x00007f49111d2e9f in thread_launcher () from /lib64/libwinpr2.so.2
#10 0x00007f49192c1ea5 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f4917bb68dd in clone () from /lib64/libc.so.6
(gdb){code}

When I see this line: {code}#1  0x00007f4919e9a88b in guac_protocol_send_ack 
(socket=0x7f4904000078, stream=0x7f4904000b90, error=0x7f49082fd20f 
"CLOSED"{code}, it strikes me guacd wants send more data on a already closed 
TCP-socket. The network connection today was better than on 30 ^th^ of October. 
But still, Guacamole kicked me out of the RDP-session cause of _instable 
network_. 

Find attached a core dump [^core.guacd.11.7288.aguacate-srv-us2.server.lan.xz].

> guacd, Release 1.2.0 segfaults in connection with RDP-Sessions
> --------------------------------------------------------------
>
>                 Key: GUACAMOLE-1203
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1203
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole, guacd
>    Affects Versions: 1.2.0
>            Reporter: Juergen Kuri
>            Priority: Major
>              Labels: segfault
>         Attachments: core.guacd.11.7288.aguacate-srv-us2.server.lan.xz, 
> guacd_logs.tar.xz
>
>
> h3. 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|
> h3. 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:
>  {color:#000000}Oct 29 17:11:49 aguacate-srv-us1 kernel: guacd[23448]: 
> {color}{color:#ff5454}segfault{color}{color:#000000} at 7f7fac00a090 ip 
> 00007f7fac00a090 sp 00007f7fa0955a38 error 15 {color}
>  Oct 29 17:39:56 aguacate-srv-us1 kernel: guacd[23515]: 
> {color:#ff5454}segfault{color}{color:#000000} at 7f7fac00a110 ip 
> 00007f7fac00a110 sp 00007f7fa0955a38 error 15 {color}
>  Oct 29 18:36:06 aguacate-srv-us1 kernel: guacd[23598]: 
> {color:#ff5454}segfault{color}{color:#000000} at 7f7fac00a110 ip 
> 00007f7fac00a110 sp 00007f7fa0955a38 error 15 {color}
>  Oct 29 18:40:07 aguacate-srv-us1 kernel: guacd[23612]: 
> {color:#ff5454}segfault{color}{color:#000000} at 7f7fb4001670 ip 
> 00007f7fb4001670 sp 00007f7fa0955a38 error 15 {color}
>  Oct 29 18:46:19 aguacate-srv-us1 kernel: guacd[23633]: 
> {color:#ff5454}segfault{color}{color:#000000} at 7f7fac00a090 ip 
> 00007f7fac00a090 sp 00007f7fa0955a38 error 15 {color}
>  Oct 29 19:04:42 aguacate-srv-us1 kernel: guacd[23716]: 
> {color:#ff5454}segfault{color}{color:#000000} at 7f7fac000088 ip 
> 00007f7fac000088 sp 00007f7fa0955a38 error 15 {color}
>  Oct 30 11:07:08 aguacate-srv-us1 kernel: guacd[24871]: 
> {color:#ff5454}segfault{color}{color:#000000} at 7f7fb4001670 ip 
> 00007f7fb4001670 sp 00007f7f9ff22a38 error 15 {color}
>  Oct 30 11:22:55 aguacate-srv-us1 kernel: guacd[24911]: 
> {color:#ff5454}segfault{color}{color:#000000} at 7f7fb4001670 ip 
> 00007f7fb4001670 sp 00007f7f9ff22a38 error 15 {color}
>  Oct 30 12:29:19 aguacate-srv-us1 kernel: guacd[25017]: 
> {color:#ff5454}segfault{color}{color:#000000} at 7f7fb4001670 ip 
> 00007f7fb4001670 sp 00007f7fa0955a38 error 15 {color}
>  Oct 30 12:32:07 aguacate-srv-us1 kernel: guacd[25052]: 
> {color:#ff5454}segfault{color}{color:#000000} at 7f7fb4001670 ip 
> 00007f7fb4001670 sp 00007f7fa0955a38 error 15 {color}
>  Oct 30 12:35:19 aguacate-srv-us1 kernel: guacd[25080]: 
> {color:#ff5454}segfault{color}{color:#000000} at 7f7fb4001670 ip 
> 00007f7fb4001670 sp 00007f7fa0955a38 error 15{color}
> +Full session log+
> {noformat}
> 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.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to