You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2017/10/23 05:55:00 UTC

[jira] [Commented] (GUACAMOLE-388) segfault in vnc code path

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

Michael Jumper commented on GUACAMOLE-388:
------------------------------------------

[~chipitsine], assuming you can consistently reproduce this, can you determine where exactly that segfault is occurring? There are two dereferences on that line which may be causing this. Things are either failing when {{vnc_client}} is dereferenced to retrieve {{display}}, or when {{vnc_client->display}} is dereferenced to retrieve {{cursor}}. The values of any of these variables would be helpful.

> segfault in vnc code path
> -------------------------
>
>                 Key: GUACAMOLE-388
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-388
>             Project: Guacamole
>          Issue Type: Bug
>            Reporter: Ilya Shipitsin
>
> {code:none}
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x00007f17a32ccac2 in guac_vnc_user_leave_handler (user=0x2d34960) at user.c:115
> 115        guac_common_cursor_remove_user(vnc_client->display->cursor, user);
> (gdb) bt
> #0  0x00007f17a32ccac2 in guac_vnc_user_leave_handler (user=0x2d34960) at user.c:115
> #1  0x0000000000404d50 in guacd_handle_user (user=user@entry=0x2d34960) at user.c:304
> #2  0x0000000000404461 in guacd_user_thread (data=0x7f179c01b6f0) at proc.c:95
> #3  0x00007f17a766f064 in start_thread (arg=0x7f179af18700) at pthread_create.c:309
> #4  0x00007f17a685262d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
> (gdb) 
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)