On Thu, Apr 1, 2021 at 8:16 AM Jantz, Andreas <
[email protected]> wrote:

> I have two DEBIAN 10 based native setups running. One is based on
> Guacamole 1.2 and the other one based on Guacamole 1.3.
>
> Both have followed the manual
> http://guacamole.apache.org/doc/gug/installing-guacamole.html
>
> We use MS LDAP and MySQL user authentication.
>
> One setup is the 1.2 version which runs perfectly during our testing with
> RDP connections (Windows Sever 2008r2 and Windows server 2012R2 with RDP
> security)
> Drive mapping and / or printing redirection works as expected.
>
> The setup with version 1.3 works too, but no drive mapping nor printing is
> possible. The connection will be refused immediately. (You have been
> disconnected)
>
> The only difference in the log file is this line in \var\log\damon.log
> compared to the 1.2 setup.
>
> Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: free(): double free detected in
> tcache 2
>
> ...
> Apr  1 17:01:56 IT1RDPGW2 guacd[17775]: Loading keymap "base"
> Apr  1 17:01:56 IT1RDPGW2 guacd[12000]: guacd[17775]: INFO:#011Loading
> keymap "base"
> Apr  1 17:01:56 IT1RDPGW2 guacd[12000]: guacd[17775]: INFO:#011Loading
> keymap "de-de-qwertz"
> Apr  1 17:01:56 IT1RDPGW2 guacd[17775]: Loading keymap "de-de-qwertz"
> Apr  1 17:01:57 IT1RDPGW2 guacd[17775]: Connected to RDPDR 1.12 as client
> 0x0004
> Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: guacd[17775]: INFO:#011Connected
> to RDPDR 1.12 as client 0x0004
> Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: free(): double free detected in
> tcache 2
> Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: Connection
> "$7ecda6f5-53ab-4d36-a2e3-8fe4c475a452" removed.
> ...
>
> Anybody with an idea how to find the root cause?
>

The most likely causes of what you're seeing are:

   - A mismatch between the version of FreeRDP that guacamole-server was
   built against and the version of FreeRDP that is installed (the free()
   behavior of FreeRDP can only be detected at build time and may vary between
   FreeRDP releases).
   - Misdetected free() behavior (see
   https://issues.apache.org/jira/browse/GUACAMOLE-1259)

I would recommend either rebuilding guacamole-server, building from the
current git master (which has addressed GUACAMOLE-1259), or using the
Docker images.

Michael Jumper
CEO, Lead Developer
Glyptodon Inc <https://enterprise.glyptodon.com/>.

Reply via email to