So i'm creating my own application using the wonderful Guacamole APIs
provided..
But I seem to come across a problem I can't get across... I'm trying to
setup SFTP for my VNC and RDP connection.. I can start a connection, and
join one as well, so I understand how to use the Java and JS apis, but for
some reason, as soon as I add 'enable-sftp' as a parameter with a true
value, I can't connect to the host machine anymore.
My goal is to be able to upload and download file from/to the machine i'm
connecting to through Guacamole.
I found out eventually that at first, when I start a connection (when having
the 'enable-sftp' parameter) I get this in my guacd console:
*guacd[9692]: INFO: Creating new client for protocol "rdp"
guacd[9692]: INFO: Connection ID is "$8e7e22f2-33db-4b0a-b572-4888fc94fc08"
guacd[32188]: INFO: Security mode: ANY
guacd[32188]: INFO: Resize method: none
guacd[32188]: INFO: User "@205e5df6-9a1e-405c-b22e-a6a61df9ff59" joined
connection "$8e7e22f2-33db-4b0a-b572-4888fc94fc08" (1 users now present)
guacd[32188]: ERROR:User is not responding.
guacd[32188]: INFO: User "@205e5df6-9a1e-405c-b22e-a6a61df9ff59"
disconnected (0 users remain)
guacd[32188]: INFO: Last user of connection
"$8e7e22f2-33db-4b0a-b572-4888fc94fc08" disconnected*
and I found out later on that I get this error message after like 2/4
minutes
Error in `guacd': free(): invalid pointer: 0x7f0c68002910 ***
=== Backtrace: =
/lib64/libc.so.6(+0x7c619)[0x7f0c7be88619]
/usr/local/lib/libguac-client-rdp.so(guac_common_ssh_destroy_user+0x23)[0x7f0c747d17d3]
/usr/local/lib/libguac-client-rdp.so(guac_rdp_client_free_handler+0x61)[0x7f0c747c5ba1]
/usr/local/lib/libguac.so.12(guac_client_free+0x32)[0x7f0c7d913b72]
guacd[0x404310]
guacd[0x403a80]
/lib64/libpthread.so.0(+0x7e25)[0x7f0c7cf36e25]
/lib64/libc.so.6(clone+0x6d)[0x7f0c7bf0434d]
=== Memory map:
0040-00407000 r-xp 08:01 18403851
/usr/local/sbin/guacd
00606000-00607000 r--p 6000 08:01 18403851
/usr/local/sbin/guacd
00607000-00608000 rw-p 7000 08:01 18403851
/usr/local/sbin/guacd
02518000-02d37000 rw-p 00:00 0
[heap]
7f0c5000-7f0c50021000 rw-p 00:00 0
7f0c50021000-7f0c5400 ---p 00:00 0
7f0c5800-7f0c58021000 rw-p 00:00 0
7f0c58021000-7f0c5c00 ---p 00:00 0
7f0c5c00-7f0c5c021000 rw-p 00:00 0
7f0c5c021000-7f0c6000 ---p 00:00 0
7f0c6000-7f0c60021000 rw-p 00:00 0
7f0c60021000-7f0c6002b000 rw-p 00:00 0
7f0c6002b000-7f0c6400 ---p 00:00 0
7f0c64ffa000-7f0c64ffb000 ---p 00:00 0
7f0c64ffb000-7f0c657fb000 rw-p 00:00 0
[stack:32188]
7f0c677a2000-7f0c677b7000 r-xp 08:01 25193214
/usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f0c677b7000-7f0c679b6000 ---p 00015000 08:01 25193214
/usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f0c679b6000-7f0c679b7000 r--p 00014000 08:01 25193214
/usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f0c679b7000-7f0c679b8000 rw-p 00015000 08:01 25193214
/usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f0c679b8000-7f0c679e r-xp 08:01 25170971
/usr/lib64/libssh2.so.1.0.1
7f0c679e-7f0c67be ---p 00028000 08:01 25170971
/usr/lib64/libssh2.so.1.0.1
7f0c67be-7f0c67be1000 r--p 00028000 08:01 25170971
/usr/lib64/libssh2.so.1.0.1
7f0c67be1000-7f0c67be2000 rw-p 00029000 08:01 25170971
/usr/lib64/libssh2.so.1.0.1
7f0c67be2000-7f0c67bf1000 r-xp 08:01 26283925
/usr/lib64/libfreerdp-codec.so.1.0.2
7f0c67bf1000-7f0c67df ---p f000 08:01 26283925
/usr/lib64/libfreerdp-codec.so.1.0.2
7f0c67df-7f0c67df1000 r--p e000 08:01 26283925
/usr/lib64/libfreerdp-codec.so.1.0.2
7f0c67df1000-7f0c67df2000 rw-p f000 08:01 26283925
/usr/lib64/libfreerdp-codec.so.1.0.2
7f0c67df2000-7f0c67dff000 r-xp 08:01 26283935
/usr/lib64/libfreerdp-utils.so.1.0.2
7f0c67dff000-7f0c67ffe000 ---p d000 08:01 26283935
/usr/lib64/libfreerdp-utils.so.1.0.2
7f0c67ffe000-7f0c67fff000 r--p c000 08:01 26283935
/usr/lib64/libfreerdp-utils.so.1.0.2
7f0c67fff000-7f0c6800 rw-p d000 08:01 26283935
/usr/lib64/libfreerdp-utils.so.1.0.2
7f0c6800-7f0c68021000 rw-p 00:00 0
7f0c68021000-7f0c6c00 ---p 00:00 0
7f0c6c00-7f0c6c021000 rw-p 00:00 0
7f0c6c021000-7f0c7000 ---p 00:00 0
7f0c7000-7f0c70021000 rw-p 00:00 0
7f0c70021000-7f0c7400 ---p 00:00 0
7f0c7415a000-7f0c7415e000 r-xp 08:01 26283923