[ 
https://issues.apache.org/jira/browse/GUACAMOLE-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James He updated GUACAMOLE-429:
-------------------------------
    Description: 
Open 100 RDP connections at the same time with the below python script on 
Windows.

{code:none}
import webbrowser
for i in range(100):
    
webbrowser.open_new_tab('http://10.148.38.170:8080/guacamole-0.9.13-incubating/#/client/cmRwAGMAZGVmYXVsdA==')
{code}

Some connections disconnected and observed the below core dump of guacd.

{code:none}
Program terminated with signal SIGSEGV, Segmentation fault.
#0  pthread_join (threadid=0, thread_return=0x0) at pthread_join.c:47
47      pthread_join.c: No such file or directory.
(gdb) bt
#0  pthread_join (threadid=0, thread_return=0x0) at pthread_join.c:47
#1  0x00002aaaafb6826c in guac_rdp_client_free_handler (client=0x2aaad4007990) 
at client.c:96
#2  0x00002aaaaaf45815 in guac_client_free (client=0x2aaad4007990) at 
client.c:193
#3  0x0000000000404d72 in guacd_exec_proc (proc=0x2aaad4007970, 
protocol=0x2aaad400bda3 "rdp") at proc.c:191
#4  0x0000000000404f3e in guacd_create_proc (protocol=0x2aaad400bda3 "rdp") at 
proc.c:253
#5  0x0000000000403bb8 in guacd_route_connection (map=0x2aaaaaad7010, 
socket=0x2aaad4005890)
    at connection.c:299
#6  0x0000000000403dc0 in guacd_connection_thread (data=0xe12b10) at 
connection.c:394
#7  0x00002aaaab8521a4 in start_thread (arg=0x2aab0a023700) at 
pthread_create.c:309
#8  0x00002aaaabd5965d in clone () from /lib64/libc.so.6
(gdb) frame 1
#1  0x00002aaaafb6826c in guac_rdp_client_free_handler (client=0x2aaad4007990) 
at client.c:96
96          pthread_join(rdp_client->client_thread, NULL);
(gdb) p rdp_client->client_thread
$5 = 0
{code}


  was:
Open 100 RDP connections at the same time with the below python script on 
Windows.

{code:none}
import webbrowser
for i in range(100):
    
webbrowser.open_new_tab('http://10.148.38.170:8080/guacamole-0.9.13-incubating/#/client/cmRwAGMAZGVmYXVsdA==')
{code}

Some connections disconnected and observed the below core dump of guacd.

{code:none}
(gdb) bt
#0  pthread_join (threadid=0, thread_return=0x0) at pthread_join.c:47
#1  0x00002aaaafb6826c in guac_rdp_client_free_handler (client=0x2aaad4007990) 
at client.c:96
#2  0x00002aaaaaf45815 in guac_client_free () from /lib64/libguac.so.12
#3  0x0000000000404d72 in ?? ()
#4  0x0000000000404f3e in ?? ()
#5  0x0000000000403bb8 in ?? ()
#6  0x0000000000403dc0 in ?? ()
#7  0x00002aaaab8521a4 in start_thread (arg=0x2aab0a023700) at 
pthread_create.c:309
#8  0x00002aaaabd5965d in clone () from /lib64/libc.so.6
(gdb) frame 1
#1  0x00002aaaafb6826c in guac_rdp_client_free_handler (client=0x2aaad4007990) 
at client.c:96
96          pthread_join(rdp_client->client_thread, NULL);
(gdb) p rdp_client->client_thread
$5 = 0
{code}



> guacd segfault when starts many RDP connections
> -----------------------------------------------
>
>                 Key: GUACAMOLE-429
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-429
>             Project: Guacamole
>          Issue Type: Bug
>          Components: RDP
>    Affects Versions: 0.9.12-incubating
>         Environment: GNU Linux x86_64
>            Reporter: James He
>            Priority: Normal
>
> Open 100 RDP connections at the same time with the below python script on 
> Windows.
> {code:none}
> import webbrowser
> for i in range(100):
>     
> webbrowser.open_new_tab('http://10.148.38.170:8080/guacamole-0.9.13-incubating/#/client/cmRwAGMAZGVmYXVsdA==')
> {code}
> Some connections disconnected and observed the below core dump of guacd.
> {code:none}
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  pthread_join (threadid=0, thread_return=0x0) at pthread_join.c:47
> 47      pthread_join.c: No such file or directory.
> (gdb) bt
> #0  pthread_join (threadid=0, thread_return=0x0) at pthread_join.c:47
> #1  0x00002aaaafb6826c in guac_rdp_client_free_handler 
> (client=0x2aaad4007990) at client.c:96
> #2  0x00002aaaaaf45815 in guac_client_free (client=0x2aaad4007990) at 
> client.c:193
> #3  0x0000000000404d72 in guacd_exec_proc (proc=0x2aaad4007970, 
> protocol=0x2aaad400bda3 "rdp") at proc.c:191
> #4  0x0000000000404f3e in guacd_create_proc (protocol=0x2aaad400bda3 "rdp") 
> at proc.c:253
> #5  0x0000000000403bb8 in guacd_route_connection (map=0x2aaaaaad7010, 
> socket=0x2aaad4005890)
>     at connection.c:299
> #6  0x0000000000403dc0 in guacd_connection_thread (data=0xe12b10) at 
> connection.c:394
> #7  0x00002aaaab8521a4 in start_thread (arg=0x2aab0a023700) at 
> pthread_create.c:309
> #8  0x00002aaaabd5965d in clone () from /lib64/libc.so.6
> (gdb) frame 1
> #1  0x00002aaaafb6826c in guac_rdp_client_free_handler 
> (client=0x2aaad4007990) at client.c:96
> 96          pthread_join(rdp_client->client_thread, NULL);
> (gdb) p rdp_client->client_thread
> $5 = 0
> {code}



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

Reply via email to