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

Michael Jumper commented on GUACAMOLE-620:
------------------------------------------

I'm not trying to suggest that there is a data race within guacamole-server. My 
suspicion is that there is a data race within your servlet. If you are 
accidentally sharing the same TCP socket to guacd between client connections, 
then this behavior (one connection clobbering the other) is exactly what would 
happen.

> User input thread automatically exit with an instruction parse error
> --------------------------------------------------------------------
>
>                 Key: GUACAMOLE-620
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-620
>             Project: Guacamole
>          Issue Type: Bug
>          Components: libguac
>    Affects Versions: 0.9.14
>            Reporter: Changkun Ou
>            Priority: Minor
>         Attachments: connection.pcap
>
>
> Remote desktop protocol: RDP
> User experience:
> A user operates a few minutes, then the desktop display froze. A browser 
> refresh can connect to the server desktop again.
> Under the hood: 
> Observed `guacd` log shows the user is disconnected. 
> A warning level log shows that {{guac_user_input_thread}} automatically exit 
> with an instruction parser error:
> {code}
> Guacamole connection failure: Instruction parse error
> {code}
> Here is a happening context captured in a browser, where the server sends 
> {{10.disconnect}} since last {{sync}} instruction:
>  
> {code}
> server: 4.sync,8.24744179;
> client: 4.sync,8.24744179;
> client: 5.mouse,3.667,3.459,1.1;
> client: 5.mouse,3.627,3.470,1.1;
> client: 5.mouse,3.597,3.470,1.1;
> client: 5.mouse,3.493,3.442,1.1;
> server: 4.copy,1.0,3.241,3.368,3.617,3.355,2.14,1.0,1.0,3.377;
> server: 4.copy,1.0,3.241,3.366,3.616,1.2,2.14,1.0,1.0,3.375;
> server: 4.copy,1.0,3.241,3.365,3.615,1.1,2.14,1.0,1.0,3.374;
> server: 4.copy,1.0,3.241,3.364,3.613,1.1,2.14,1.0,1.0,3.373;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.220,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.284,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.348,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.412,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.476,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.540,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.604,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.668,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.732,3.364;
> server: 4.copy,4.-113,1.0,1.0,2.58,1.1,2.14,1.0,3.796,3.364;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.218,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.282,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.346,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.410,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.474,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.538,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.602,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.666,3.365;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.730,3.365;
> server: 4.copy,4.-114,1.0,1.0,2.62,1.1,2.14,1.0,3.794,3.365;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.217,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.281,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.345,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.409,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.473,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.537,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.601,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.665,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.729,3.366;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.793,3.366;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.216,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.280,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.344,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.408,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.472,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.536,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.600,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.664,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.728,3.368;
> server: 4.copy,4.-594,1.0,1.0,2.64,1.5,2.14,1.0,3.792,3.368;
> server: 3.img,1.3,2.14,1.0,9.image/png,3.856,3.368;
> server: 
> 4.blob,1.3,112.iVBORw0KGgoAAAANSUhEUgAAAAIAAAAFAQMAAABVfa/fAAAAA1BMVEUQIDF/BroyAAAAC0lEQVQImWNggAEAAAoAAWeL7ekAAAAASUVORK5CYII=;
> server: 3.end,1.3;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.613,3.373;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.677,3.373;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.741,3.373;
> server: 4.copy,4.-634,1.0,1.0,2.53,1.1,2.14,1.0,3.805,3.373;
> server: 4.copy,4.-634,1.0,1.0,2.53,1.1,2.14,1.0,3.805,3.373;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.679,3.374;
> server: 4.copy,3.-25,1.0,1.0,2.64,1.1,2.14,1.0,3.743,3.374;
> server: 4.copy,4.-635,1.0,1.0,2.51,1.1,2.14,1.0,3.807,3.374;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.616,3.375;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.680,3.375;
> server: 4.copy,3.-26,1.0,1.0,2.64,1.2,2.14,1.0,3.744,3.375;
> server: 4.copy,4.-639,1.0,1.0,2.50,1.2,2.14,1.0,3.808,3.375;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.617,3.377;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.681,3.377;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.745,3.377;
> server: 4.copy,4.-636,1.0,1.0,2.49,2.63,2.14,1.0,3.809,3.377;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.617,3.440;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.681,3.440;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.745,3.440;
> server: 4.copy,4.-636,1.0,1.0,2.49,2.63,2.14,1.0,3.809,3.440;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.617,3.503;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.681,3.503;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.745,3.503;
> server: 4.copy,4.-636,1.0,1.0,2.49,2.63,2.14,1.0,3.809,3.503;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.617,3.566;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.681,3.566;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.745,3.566;
> server: 4.copy,4.-636,1.0,1.0,2.49,2.63,2.14,1.0,3.809,3.566;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.617,3.629;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.681,3.629;
> server: 4.copy,2.-4,1.0,1.0,2.64,2.63,2.14,1.0,3.745,3.629;
> server: 4.copy,4.-636,1.0,1.0,2.49,2.63,2.14,1.0,3.809,3.629;
> server: 4.copy,4.-822,1.0,1.0,2.64,2.40,2.14,1.0,3.617,3.692;
> server: 4.copy,4.-822,1.0,1.0,2.64,2.40,2.14,1.0,3.681,3.692;
> server: 4.copy,4.-822,1.0,1.0,2.64,2.40,2.14,1.0,3.745,3.692;
> server: 3.img,1.3,2.14,1.0,9.image/png,3.809,3.692;
> server: 
> 4.blob,1.3,116.iVBORw0KGgoAAAANSUhEUgAAADEAAAAoAQMAAABti4AMAAAAA1BMVEUQIDF/BroyAAAADUlEQVQYlWNgGAWUAAABQAABuwBcGQAAAABJRU5ErkJggg==;
> server: 3.end,1.3;
> server: 4.sync,8.24744258;
> server: 7.dispose,5.-1017;
> server: 10.disconnect;
> client: 10.disconnect;
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to