You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "James He (JIRA)" <ji...@apache.org> on 2017/11/04 00:37:05 UTC
[jira] [Updated] (GUACAMOLE-429) guacd segfault when starts many
RDP connections
[ 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}
(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}
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) 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}
> (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}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)