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

Nick Couchman edited comment on GUACAMOLE-441 at 2/2/18 9:33 PM:
-----------------------------------------------------------------

I'm concerned about the following from your output:

{quote}
#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
{quote}

If the source is more recent than the executable, it seems that you have, at 
best, slightly newer source than the executables, and, at worst, are running a 
completely different version of the executable.  Could you grab the latest git 
version and build it, then either make sure that /sbin/guacd gets updated (and 
is newer than the source) or run guacd directly from the source directory?  The 
lines in your output definitely do not match the current version of the source 
code.


was (Author: nick.couch...@yahoo.com):
I'm concerned about the following from your output:

{{#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}}

If the source is more recent than the executable, it seems that you have, at 
best, slightly newer source than the executables, and, at worst, are running a 
completely different version of the executable.  Could you grab the latest git 
version and build it, then either make sure that /sbin/guacd gets updated (and 
is newer than the source) or run guacd directly from the source directory?  The 
lines in your output definitely do not match the current version of the source 
code.

> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)

Reply via email to