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

Nick Couchman edited comment on GUACAMOLE-1017 at 4/9/20, 1:02 PM:
-------------------------------------------------------------------

[~mjharvey]: If you're able to add the valgrind output, that would be great.  I 
am currently trying this with the version of guacd built from git master, and I 
see the pango messages in the log output, but I'm not getting a segfault, nor 
am I getting any serious increase in RAM utilization by the process.  I do 
eventually get disconnected, but that seems to be because /dev/urandom produces 
the right series of data to be an escape sequence that triggers a disconnect - 
there are no segfaults associated with the disconnect.

I suspect that perhaps there was a memory bug fixed in the past, perhaps 
between version 1.1 and the upcoming 1.2 release.  If you're able to, can you 
build the version from git, either staging/1.2 or master, and see if you can 
reproduce the segfault?


was (Author: [email protected]):
[~mjharvey]: If you're able to add the valgrind output, that would be great.  I 
am currently trying this with the version of guacd built from git master, and I 
see the pango messages in the log output, but I'm not getting a segfault, nor 
am I getting any serious increase in RAM utilization by the process.  I suspect 
that perhaps there was a memory bug fixed in the past, perhaps between version 
1.1 and the upcoming 1.2 release.  If you're able to, can you build the version 
from git, either staging/1.2 or master, and see if you can reproduce the 
segfault?

> Invalid UTF-8 string passed to pango_layout_set_text() -- leading to guacd 
> segfault
> -----------------------------------------------------------------------------------
>
>                 Key: GUACAMOLE-1017
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1017
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacd
>         Environment: CentOS 7, guacd 1.1.0-1 from EPEL
> rpm -qa | grep guac
> guacd-1.1.0-1.el7.x86_64
> libguac-client-vnc-1.1.0-1.el7.x86_64
> libguac-1.1.0-1.el7.x86_64
> libguac-client-rdp-1.1.0-1.el7.x86_64
> libguac-client-ssh-1.1.0-1.el7.x86_64
>            Reporter: M J Harvey
>            Priority: Minor
>
> Hi,
> Probabilistic reproducible segfault of guacd:
>  * Installed guacd and guacamole from EPEL on a CentOS 7.7.1908 system.
>  * Configure an SSH connection type.
>  * Establish guacamole session to SSH server
>  * Do "cat /dev/urandom" to generate garbage.
>  * {{Observe /var/log/messages on the guacd server, you'll see frequent logs 
> of }}{{"Invalid UTF-8 string passed to pango_layout_set_text()"}}
>  * {{Session will pretty rapidly terminate. About 20% of the time this is an 
> uncontrolled segfault from libc}}
> {{guacd[7688]: segfault at 7f3ea6177ff0 ip 00007f3ea3cb2b1d sp 
> 00007f3e9d902ab8 error 4 in libc-2.17.so[7f3ea3b57000+1c3000]}}
>  



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

Reply via email to