[
https://issues.apache.org/jira/browse/GUACAMOLE-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
rysinal updated GUACAMOLE-2152:
-------------------------------
Description:
When using the Docker image of guacd (v1.6.0) as an RDP gateway, I
intermittently encounter frame error issues. The issue is resolved after
restarting the guacd container, but it reoccurs after some time. RDP
connections fail intermittently, and the system kernel logs are roughly of the
following type:
{code:java}
sl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:05:23.616465+08:00 109238250-Ops kernel: [1502095.219872]
guacd[2838887]: segfault at 7fd2e3ef5bf8 ip 00007fcb49b874c8 sp
00007fcae3ef22e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:05:28.468456+08:00 109238250-Ops kernel: [1502100.070967]
guacd[2838939]: segfault at 7fd2e509bbf8 ip 00007fcb49b874c8 sp
00007fcae50982e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:05:31.832456+08:00 109238250-Ops kernel: [1502103.435494]
guacd[2838991]: segfault at 7fd2e3ef5bf8 ip 00007fcb49b874c8 sp
00007fcae3ef22e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:05:39.904524+08:00 109238250-Ops kernel: [1502111.509135]
guacd[2839069]: segfault at 7fd2e4f22bf8 ip 00007fcb49b874c8 sp
00007fcae4f1f2e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:05:45.216458+08:00 109238250-Ops kernel: [1502116.817487]
guacd[2839124]: segfault at 7fd2e52bfbf8 ip 00007fcb49b874c8 sp
00007fcae52bc2e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:05:55.156459+08:00 109238250-Ops kernel: [1502126.758582]
guacd[2839208]: segfault at 7fd2e4f22bf8 ip 00007fcb49b874c8 sp
00007fcae4f1f2e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:20:22.840459+08:00 109238250-Ops kernel: [1502994.425825]
guacd[2848166]: segfault at 7f8510ddb1a0 ip 00007f851a0b5b3d sp
00007f84d7741190 error 4
2025-10-11T15:20:22.840482+08:00 109238250-Ops kernel: [1502994.425833]
guacd[2848170]: segfault at 7f8510ddb2b8 ip 00007f851a0b5b3d sp
00007f84d5729190 error 4
2025-10-11T15:20:22.840485+08:00 109238250-Ops kernel: [1502994.425843]
guacd[2848179]: segfault at 7f8510ddb3d0 ip 00007f851a0b5b3d sp
00007f84d0ef3190 error 4
2025-10-11T15:20:22.840486+08:00 109238250-Ops kernel: [1502994.425846]
guacd[2848177]: segfault at 7f8510ddb4e8 ip 00007f851a0b5b3d sp
00007f84d1eff190 error 4
2025-10-11T15:25:14.684471+08:00 109238250-Ops kernel: [1503286.264410]
guacd[2850857]: segfault at 7f85173e9240 ip 00007f851c8e0b3d sp
00007f84d7f47190 error 4 {code}
Two types of logs related to the guacd container have been identified as
potentially relevant:
{code:java}
{"log":"guacd[635479]: DEBUG:\u0009SSL_CTX_new
failed\n","stream":"stderr","time":"2025-10-11T06:40:24.55282166Z"} {code}
{code:java}
{"log":"guacd[645564]: DEBUG:\u0009Major bug, unable to allocate a TLS value
for currentThread\n","stream":"stderr","time":"2025-10-11T07:05:55.15411298Z"}
{code}
Based on the information searched using the log details, I have also tried
recompiling the guacd image. The Dockerfile uses debian:bookworm-slim as the
base image, yet the problem still occurs after a period of time. Please help
verify and resolve this issue.
was:
When using the Docker image of guacd (v1.6.0) as an RDP gateway, I
intermittently encounter frame error issues. RDP connections fail
intermittently, and the system kernel logs are roughly of the following type:
123. The issue is resolved after restarting the guacd container, but it
reoccurs after some time.
{code:java}
sl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:05:23.616465+08:00 109238250-Ops kernel: [1502095.219872]
guacd[2838887]: segfault at 7fd2e3ef5bf8 ip 00007fcb49b874c8 sp
00007fcae3ef22e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:05:28.468456+08:00 109238250-Ops kernel: [1502100.070967]
guacd[2838939]: segfault at 7fd2e509bbf8 ip 00007fcb49b874c8 sp
00007fcae50982e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:05:31.832456+08:00 109238250-Ops kernel: [1502103.435494]
guacd[2838991]: segfault at 7fd2e3ef5bf8 ip 00007fcb49b874c8 sp
00007fcae3ef22e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:05:39.904524+08:00 109238250-Ops kernel: [1502111.509135]
guacd[2839069]: segfault at 7fd2e4f22bf8 ip 00007fcb49b874c8 sp
00007fcae4f1f2e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:05:45.216458+08:00 109238250-Ops kernel: [1502116.817487]
guacd[2839124]: segfault at 7fd2e52bfbf8 ip 00007fcb49b874c8 sp
00007fcae52bc2e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:05:55.156459+08:00 109238250-Ops kernel: [1502126.758582]
guacd[2839208]: segfault at 7fd2e4f22bf8 ip 00007fcb49b874c8 sp
00007fcae4f1f2e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
2025-10-11T15:20:22.840459+08:00 109238250-Ops kernel: [1502994.425825]
guacd[2848166]: segfault at 7f8510ddb1a0 ip 00007f851a0b5b3d sp
00007f84d7741190 error 4
2025-10-11T15:20:22.840482+08:00 109238250-Ops kernel: [1502994.425833]
guacd[2848170]: segfault at 7f8510ddb2b8 ip 00007f851a0b5b3d sp
00007f84d5729190 error 4
2025-10-11T15:20:22.840485+08:00 109238250-Ops kernel: [1502994.425843]
guacd[2848179]: segfault at 7f8510ddb3d0 ip 00007f851a0b5b3d sp
00007f84d0ef3190 error 4
2025-10-11T15:20:22.840486+08:00 109238250-Ops kernel: [1502994.425846]
guacd[2848177]: segfault at 7f8510ddb4e8 ip 00007f851a0b5b3d sp
00007f84d1eff190 error 4
2025-10-11T15:25:14.684471+08:00 109238250-Ops kernel: [1503286.264410]
guacd[2850857]: segfault at 7f85173e9240 ip 00007f851c8e0b3d sp
00007f84d7f47190 error 4 {code}
Two types of logs related to the guacd container have been identified as
potentially relevant:
{code:java}
{"log":"guacd[635479]: DEBUG:\u0009SSL_CTX_new
failed\n","stream":"stderr","time":"2025-10-11T06:40:24.55282166Z"} {code}
{code:java}
{"log":"guacd[645564]: DEBUG:\u0009Major bug, unable to allocate a TLS value
for currentThread\n","stream":"stderr","time":"2025-10-11T07:05:55.15411298Z"}
{code}
Based on the information searched using the log details, I have also tried
recompiling the guacd image. The Dockerfile uses debian:bookworm-slim as the
base image, yet the problem still occurs after a period of time. Please help
verify and resolve this issue.
> guacd 1.6.0 segfault in ld-musl-x86_64.so.1(unable to allocate a TLS)
> ---------------------------------------------------------------------
>
> Key: GUACAMOLE-2152
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-2152
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole
> Affects Versions: 1.6.0
> Reporter: rysinal
> Priority: Major
>
> When using the Docker image of guacd (v1.6.0) as an RDP gateway, I
> intermittently encounter frame error issues. The issue is resolved after
> restarting the guacd container, but it reoccurs after some time. RDP
> connections fail intermittently, and the system kernel logs are roughly of
> the following type:
> {code:java}
> sl-x86_64.so.1[7fcb49b44000+4c000]
> 2025-10-11T15:05:23.616465+08:00 109238250-Ops kernel: [1502095.219872]
> guacd[2838887]: segfault at 7fd2e3ef5bf8 ip 00007fcb49b874c8 sp
> 00007fcae3ef22e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
> 2025-10-11T15:05:28.468456+08:00 109238250-Ops kernel: [1502100.070967]
> guacd[2838939]: segfault at 7fd2e509bbf8 ip 00007fcb49b874c8 sp
> 00007fcae50982e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
> 2025-10-11T15:05:31.832456+08:00 109238250-Ops kernel: [1502103.435494]
> guacd[2838991]: segfault at 7fd2e3ef5bf8 ip 00007fcb49b874c8 sp
> 00007fcae3ef22e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
> 2025-10-11T15:05:39.904524+08:00 109238250-Ops kernel: [1502111.509135]
> guacd[2839069]: segfault at 7fd2e4f22bf8 ip 00007fcb49b874c8 sp
> 00007fcae4f1f2e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
> 2025-10-11T15:05:45.216458+08:00 109238250-Ops kernel: [1502116.817487]
> guacd[2839124]: segfault at 7fd2e52bfbf8 ip 00007fcb49b874c8 sp
> 00007fcae52bc2e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
> 2025-10-11T15:05:55.156459+08:00 109238250-Ops kernel: [1502126.758582]
> guacd[2839208]: segfault at 7fd2e4f22bf8 ip 00007fcb49b874c8 sp
> 00007fcae4f1f2e8 error 4 in ld-musl-x86_64.so.1[7fcb49b44000+4c000]
> 2025-10-11T15:20:22.840459+08:00 109238250-Ops kernel: [1502994.425825]
> guacd[2848166]: segfault at 7f8510ddb1a0 ip 00007f851a0b5b3d sp
> 00007f84d7741190 error 4
> 2025-10-11T15:20:22.840482+08:00 109238250-Ops kernel: [1502994.425833]
> guacd[2848170]: segfault at 7f8510ddb2b8 ip 00007f851a0b5b3d sp
> 00007f84d5729190 error 4
> 2025-10-11T15:20:22.840485+08:00 109238250-Ops kernel: [1502994.425843]
> guacd[2848179]: segfault at 7f8510ddb3d0 ip 00007f851a0b5b3d sp
> 00007f84d0ef3190 error 4
> 2025-10-11T15:20:22.840486+08:00 109238250-Ops kernel: [1502994.425846]
> guacd[2848177]: segfault at 7f8510ddb4e8 ip 00007f851a0b5b3d sp
> 00007f84d1eff190 error 4
> 2025-10-11T15:25:14.684471+08:00 109238250-Ops kernel: [1503286.264410]
> guacd[2850857]: segfault at 7f85173e9240 ip 00007f851c8e0b3d sp
> 00007f84d7f47190 error 4 {code}
> Two types of logs related to the guacd container have been identified as
> potentially relevant:
>
>
> {code:java}
> {"log":"guacd[635479]: DEBUG:\u0009SSL_CTX_new
> failed\n","stream":"stderr","time":"2025-10-11T06:40:24.55282166Z"} {code}
> {code:java}
> {"log":"guacd[645564]: DEBUG:\u0009Major bug, unable to allocate a TLS value
> for
> currentThread\n","stream":"stderr","time":"2025-10-11T07:05:55.15411298Z"}
> {code}
> Based on the information searched using the log details, I have also tried
> recompiling the guacd image. The Dockerfile uses debian:bookworm-slim as the
> base image, yet the problem still occurs after a period of time. Please help
> verify and resolve this issue.
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)