Many thanks, Mike.

Please find below the new output.

Best regards,
Sebastian

# export LD_PRELOAD=/usr/local/lib/libguac-client-rdp.so
# gdb --args guacd -L debug -f
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from guacd...done.
(gdb) set follow-fork-mode child
(gdb) run
Starting program: /usr/local/sbin/guacd -L debug -f
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
guacd[30988]: INFO: Guacamole proxy daemon (guacd) version 1.0.0 started
guacd[30988]: DEBUG: Unable to bind socket to host ::1, port 4822: Address
family not supported by protocol
guacd[30988]: DEBUG: Successfully bound socket to host 127.0.0.1, port 4822
guacd[30988]: INFO: Listening on host 127.0.0.1, port 4822
[New Thread 0x7fffef0ff700 (LWP 31208)]
guacd[30988]: INFO: Creating new client for protocol "rdp"
[New process 31211]
guacd[30988]: INFO: Connection ID is "$c50b041e-8490-42f5-b13f-8712be244b24"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee8fe700 (LWP 31214)]
guacd[31211]: DEBUG: Parameter "console" omitted. Using default value of 0.
guacd[31211]: DEBUG: Parameter "console-audio" omitted. Using default value
of 0.
guacd[31211]: DEBUG: Parameter "ignore-cert" omitted. Using default value
of 0.
guacd[31211]: DEBUG: Parameter "disable-auth" omitted. Using default value
of 0.
guacd[31211]: INFO: No security mode specified. Defaulting to RDP.
guacd[31211]: DEBUG: Parameter "port" omitted. Using default value of 3389.
guacd[31211]: DEBUG: User resolution is 1920x944 at 96 DPI
guacd[31211]: DEBUG: Parameter "dpi" omitted. Using default value of 96.
guacd[31211]: DEBUG: Using resolution of 1920x944 at 96 DPI
guacd[31211]: DEBUG: Parameter "read-only" omitted. Using default value of
0.
guacd[31211]: DEBUG: Parameter "client-name" omitted. Using default value
of "Guacamole RDP".
guacd[31211]: DEBUG: Parameter "enable-wallpaper" omitted. Using default
value of 0.
guacd[31211]: DEBUG: Parameter "enable-theming" omitted. Using default
value of 0.
guacd[31211]: DEBUG: Parameter "enable-font-smoothing" omitted. Using
default value of 0.
guacd[31211]: DEBUG: Parameter "enable-full-window-drag" omitted. Using
default value of 0.
guacd[31211]: DEBUG: Parameter "enable-desktop-composition" omitted. Using
default value of 0.
guacd[31211]: DEBUG: Parameter "enable-menu-animations" omitted. Using
default value of 0.
guacd[31211]: DEBUG: Parameter "disable-bitmap-caching" omitted. Using
default value of 0.
guacd[31211]: DEBUG: Parameter "disable-offscreen-caching" omitted. Using
default value of 0.
guacd[31211]: DEBUG: Parameter "disable-glyph-caching" omitted. Using
default value of 0.
guacd[31211]: DEBUG: Parameter "color-depth" omitted. Using default value
of 16.
guacd[31211]: DEBUG: Parameter "disable-audio" omitted. Using default value
of 0.
guacd[31211]: DEBUG: Parameter "enable-printing" omitted. Using default
value of 0.
guacd[31211]: DEBUG: Parameter "printer-name" omitted. Using default value
of "Guacamole Printer".
guacd[31211]: DEBUG: Parameter "enable-drive" omitted. Using default value
of 0.
guacd[31211]: DEBUG: Parameter "drive-name" omitted. Using default value of
"Guacamole Filesystem".
guacd[31211]: DEBUG: Parameter "drive-path" omitted. Using default value of
"".
guacd[31211]: DEBUG: Parameter "create-drive-path" omitted. Using default
value of 0.
guacd[31211]: DEBUG: Parameter "enable-sftp" omitted. Using default value
of 0.
guacd[31211]: DEBUG: Parameter "sftp-hostname" omitted. Using default value
of "10.2.0.208".
guacd[31211]: DEBUG: Parameter "sftp-port" omitted. Using default value of
"22".
guacd[31211]: DEBUG: Parameter "sftp-username" omitted. Using default value
of "".
guacd[31211]: DEBUG: Parameter "sftp-password" omitted. Using default value
of "".
guacd[31211]: DEBUG: Parameter "sftp-passphrase" omitted. Using default
value of "".
guacd[31211]: DEBUG: Parameter "sftp-root-directory" omitted. Using default
value of "/".
guacd[31211]: DEBUG: Parameter "sftp-server-alive-interval" omitted. Using
default value of 0.
guacd[31211]: DEBUG: Parameter "recording-name" omitted. Using default
value of "recording".
guacd[31211]: DEBUG: Parameter "recording-exclude-output" omitted. Using
default value of 0.
guacd[31211]: DEBUG: Parameter "recording-exclude-mouse" omitted. Using
default value of 0.
guacd[31211]: DEBUG: Parameter "recording-include-keys" omitted. Using
default value of 0.
guacd[31211]: DEBUG: Parameter "create-recording-path" omitted. Using
default value of 0.
guacd[31211]: INFO: Resize method: none
guacd[31211]: DEBUG: Parameter "enable-audio-input" omitted. Using default
value of 0.
guacd[31211]: DEBUG: Parameter "gateway-port" omitted. Using default value
of 443.
[New Thread 0x7fffee0fd700 (LWP 31217)]
guacd[31211]: INFO: User "@d83baca8-7cad-4b9c-a56d-0f98f33da4f4" joined
connection "$c50b041e-8490-42f5-b13f-8712be244b24" (1 users now present)
[New Thread 0x7fffed8fc700 (LWP 31218)]
guacd[31211]: INFO: Loading keymap "base"
guacd[31211]: INFO: Loading keymap "en-us-qwerty"
LoadLibraryA: /usr/lib/x86_64-linux-gnu/freerdp/guacdr-client.so: cannot
open shared object file: No such file or directory
guacd[31211]: WARNING: Failed to load guacdr plugin. Drive redirection and
printing will not work. Sound MAY not work.
LoadLibraryA: /usr/lib/x86_64-linux-gnu/freerdp/guacsnd-client.so: cannot
open shared object file: No such file or directory
guacd[31211]: WARNING: Failed to load guacsnd alongside guacdr plugin.
Sound will not work. Drive redirection and printing MAY not work.
connected to 10.2.0.208:3389
[New Thread 0x7fffec80f700 (LWP 31222)]
[New Thread 0x7fffdfdfa700 (LWP 31269)]
[Thread 0x7fffdfdfa700 (LWP 31269) exited]
[New Thread 0x7fffdfdfa700 (LWP 31270)]
[Thread 0x7fffdfdfa700 (LWP 31270) exited]

Thread 2.3 "guacd" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffee0fd700 (LWP 31217)]
tcache_get (tc_idx=7) at malloc.c:2943
2943 malloc.c: No such file or directory.
(gdb) bt
#0  tcache_get (tc_idx=7) at malloc.c:2943
#1  __GI___libc_malloc (bytes=129) at malloc.c:3050
#2  0x00007ffff5583dde in png_malloc () from
/usr/lib/x86_64-linux-gnu/libpng16.so.16
#3  0x00007ffff5583e09 in png_calloc () from
/usr/lib/x86_64-linux-gnu/libpng16.so.16
#4  0x00007ffff559e41a in ?? () from
/usr/lib/x86_64-linux-gnu/libpng16.so.16
#5  0x00007ffff559984c in png_write_row () from
/usr/lib/x86_64-linux-gnu/libpng16.so.16
#6  0x00007ffff5599ceb in png_write_image () from
/usr/lib/x86_64-linux-gnu/libpng16.so.16
#7  0x00007ffff619544a in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#8  0x00007ffff6195df9 in cairo_surface_write_to_png_stream () from
/usr/lib/x86_64-linux-gnu/libcairo.so.2
#9  0x00007ffff798eae4 in guac_png_cairo_write (socket=<optimized out>,
stream=<optimized out>, surface=<optimized out>) at encode-png.c:194
#10 0x00007ffff798ee1a in guac_png_write (socket=socket@entry=0x7fffe800c040,
stream=stream@entry=0x7fffe800b658, surface=surface@entry=0x7fffe0068270)
at encode-png.c:299
#11 0x00007ffff798e50a in guac_client_stream_png (client=0x7fffe800b350,
socket=0x7fffe800c040, mode=mode@entry=GUAC_COMP_SRC, layer=0x7fffe000b890,
x=x@entry=0, y=y@entry=0, surface=0x7fffe0068270)
    at client.c:524
#12 0x00007ffff7bb92ca in guac_common_cursor_set_argb
(cursor=0x7fffe000b830, hx=4, hy=4, data=<optimized out>, width=32,
height=32, stride=128) at cursor.c:235
#13 0x00007ffff7bb936e in guac_common_cursor_set_surface (cursor=<optimized
out>, hx=<optimized out>, hy=<optimized out>, surface=<optimized out>) at
cursor.c:251
#14 0x00007ffff6ebc5dd in ?? () from
/usr/lib/x86_64-linux-gnu/libfreerdp-core.so.1.1
#15 0x00007ffff6ebcabd in fastpath_recv_updates () from
/usr/lib/x86_64-linux-gnu/libfreerdp-core.so.1.1
#16 0x00007ffff6ebb78d in ?? () from
/usr/lib/x86_64-linux-gnu/libfreerdp-core.so.1.1
#17 0x00007ffff6ebec1f in transport_check_fds () from
/usr/lib/x86_64-linux-gnu/libfreerdp-core.so.1.1
#18 0x00007ffff6eaf3c7 in freerdp_check_fds () from
/usr/lib/x86_64-linux-gnu/libfreerdp-core.so.1.1
#19 0x00007ffff7bb35ee in guac_rdp_handle_connection
(client=0x7fffe800b350) at rdp.c:766
#20 guac_rdp_client_thread (data=0x7fffe800b350) at rdp.c:1011
#21 0x00007ffff776f6db in start_thread (arg=0x7fffee0fd700) at
pthread_create.c:463
#22 0x00007ffff720b88f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) quit
A debugging session is active.

Inferior 2 [process 31211] will be killed.

Quit anyway? (y or n) y
guacd[30988]: INFO: Connection "$c50b041e-8490-42f5-b13f-8712be244b24"
removed.

Reply via email to