[
https://issues.apache.org/jira/browse/GUACAMOLE-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16175157#comment-16175157
]
Phillip Arcuri commented on GUACAMOLE-384:
------------------------------------------
Hi Michael. Thanks for the fast reply. Here is the stack trace:
(gdb) where
#0 0x00002aaaadb655cc in guac_terminal_buffer_get_row (buffer=0x2aaab401e900,
row=0, width=1) at buffer.c:108
#1 0x00002aaaadb65867 in guac_terminal_buffer_set_columns
(buffer=0x2aaab401e900, row=0, start_column=0, end_column=0,
character=0x2aaadd7ffcd0) at buffer.c:196
#2 0x00002aaaadb67be0 in __guac_terminal_set_columns (terminal=0x2aaab401cf70,
row=0, start_column=0, end_column=0,
character=0x2aaadd7ffcd0) at terminal.c:57
#3 0x00002aaaadb69dfd in guac_terminal_set_columns (terminal=0x2aaab401cf70,
row=0, start_column=0, end_column=0, character=0x2aaadd7ffcd0)
at terminal.c:1234
#4 0x00002aaaadb68c8a in guac_terminal_set (term=0x2aaab401cf70, row=0, col=0,
codepoint=87) at terminal.c:676
#5 0x00002aaaadb6be12 in guac_terminal_echo (term=0x2aaab401cf70, c=87 'W') at
terminal_handlers.c:273
#6 0x00002aaaadb68ec4 in guac_terminal_write (term=0x2aaab401cf70,
c=0x2aaadd7ffda1 "elcome to Ubuntu 14.04.4 LTS (GNU/Linux 4.2.0-27-generic
x86_64)\r\n\r\n * Documentation: https://help.ubuntu.com/\r\n\r\n System
information as of Wed Sep 20 18:15:38 GMT 2017\r\n\r\n System load: 0.3
"..., size=676) at terminal.c:730
#7 0x00002aaaadb5d421 in ssh_client_thread (data=0x2aaad800ac40) at ssh.c:342
#8 0x00002aaaab8521a4 in start_thread (arg=0x2aaadd802700) at
pthread_create.c:309
#9 0x00002aaaabd5965d in clone () from /lib64/libc.so.6
Checking the value of width in guac_terminal_buffer_get_row() = endcolumn + 1
in guac_terminal_buffer_set_columns() = 1.
Please let me know if you desire any other info.
Thanks.
> Guacd crashes in buffer.c during stress test
> ---------------------------------------------
>
> Key: GUACAMOLE-384
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-384
> Project: Guacamole
> Issue Type: Bug
> Components: guacd
> Affects Versions: 0.9.12-incubating
> Environment: GNU/Linux x86_64
> Reporter: Phillip Arcuri
> Priority: Blocker
>
> In a stress test we kick off an SSH session every second. The session does a
> minimal amount of work and exits after a few seconds. A ps -ef shows we have
> 2 to 6 instances running at one time. About 1 in 10 of the instances cores
> with corrupted buffer data at line buffer.c:108.:
> (gdb) p *buffer
> $2 = {default_character = {value = -1269703408, attributes = {bold = 170,
> reverse = 42, cursor = false, underscore = false, foreground = 0,
> background = 0}, width = -1269422328}, rows = 0x2aaab456fa30, top =
> 686, length = 0, available = 686}
> As an aside I also see roughly 1 in 100 instances become a zombie process
> hung in pthread_join. Doubt that is related, but thought I'd mention it.
> This is a blocker for our deployment of a guacamole-enabled feature-set.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)