[ https://issues.apache.org/jira/browse/GUACAMOLE-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16277807#comment-16277807 ]
James He edited comment on GUACAMOLE-441 at 12/5/17 12:31 AM: -------------------------------------------------------------- Yes. I just built guacd from the latest git master. Confirmed this issue still always happens. was (Author: sanhex): Yes. I just build guacd from the latest git master. Confirmed this issue still always happens. > guacd ssh plugin segfault when copy text to clipboard > ----------------------------------------------------- > > Key: GUACAMOLE-441 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-441 > Project: Guacamole > Issue Type: Bug > Components: SSH > Affects Versions: 0.9.13-incubating > Environment: GNU Linux x86_64 > Reporter: James He > > This segfault can be replicated each time when do the below steps. > - Login to any SSH server from guacamole. > - Try a command with much output e.g. "ps aux". > - Select the output text of the above command. > - SSH connection will be terminated immediately. > - Core dump of guacd will be generated. > {code:none} > Core was generated by `/sbin/guacd -f'. > Program terminated with signal SIGABRT, Aborted. > #0 0x00002aaaabca8437 in raise () from /lib64/libc.so.6 > (gdb) bt > #0 0x00002aaaabca8437 in raise () from /lib64/libc.so.6 > #1 0x00002aaaabca9818 in abort () from /lib64/libc.so.6 > #2 0x00002aaaabce6574 in ?? () from /lib64/libc.so.6 > #3 0x00002aaaabcebdae in ?? () from /lib64/libc.so.6 > #4 0x00002aaaabcecab6 in ?? () from /lib64/libc.so.6 > #5 0x00002aaaadb6b160 in __guac_terminal_send_mouse (term=0x2aaab401bf60, > user=0x2aaab0002920, x=703, y=921, > mask=0) at terminal.c:1715 > #6 0x00002aaaadb6b2b5 in guac_terminal_send_mouse (term=0x2aaab401bf60, > user=0x2aaab0002920, x=703, y=921, mask=0) > at terminal.c:1753 > #7 0x00002aaaadb5c532 in guac_ssh_user_mouse_handler (user=0x2aaab0002920, > x=703, y=921, mask=0) at input.c:41 > #8 0x00002aaaaaf4dc2e in __guac_handle_mouse (user=0x2aaab0002920, argc=3, > argv=0x2aaab000adc0) > at user-handlers.c:134 > #9 0x00002aaaaaf4d3ea in guac_user_handle_instruction (user=0x2aaab0002920, > opcode=0x2aaab0012b29 "mouse", argc=3, > argv=0x2aaab000adc0) at user.c:178 > #10 0x00000000004055e7 in guacd_user_input_thread (data=0x2aaaaf353d20) at > user.c:127 > #11 0x00002aaaab8521a4 in start_thread (arg=0x2aab0d029700) at > pthread_create.c:309 > #12 0x00002aaaabd5965d in clone () from /lib64/libc.so.6 > (gdb) frame 5 > #5 0x00002aaaadb6b160 in __guac_terminal_send_mouse (term=0x2aaab401bf60, > user=0x2aaab0002920, x=703, y=921, > mask=0) at terminal.c:1715 > warning: Source file is more recent than executable. > 1715 guac_common_clipboard_reset(term->clipboard, > "text/plain"); > (gdb) p term->clipboard->length > $6 = 9500 > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)