You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by john <ba...@gmail.com> on 2017/07/20 14:03:41 UTC

Tried 0.9.13 incubating rc 1, segfault on : libguac-client-rdp

yesterday i've been testing 0.9.13 rc1, but it would not connect givnig me
this segfault on : libguac-client-rdp

Jul 19 22:01:20 blabla kernel: [4927132.712324] guacd[24138]: segfault at
7fc9d32e7ea8 ip 00007fca5998f0f7 sp 00007fca5299d6e0 error 6 in
libguac-client-rdp.so.0.0.0[7fca59975000+21000]

there were no libguac.so.13.0.0 but only libguac.so.12.2.0 created by this
build, is this correct?

i reverted back to 0.9.12, everthing was working again.



--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/Tried-0-9-13-incubating-rc-1-segfault-on-libguac-client-rdp-tp1342.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: Tried 0.9.13 incubating rc 1, segfault on : libguac-client-rdp

Posted by Mike Jumper <mi...@guac-dev.org>.
Can you confirm that no other copies of libguac-client-rdp exist on your
system except for that built from 0.9.13-incubating-RC1 (including any
which may have been installed via your distribution's packages)?

Would you be willing to try running guacd under a debugger to see where
exactly that segfault is occurring? Doing this is a bit different for
guacd, as each connection is run within its own forked process, and the
protocol library needs to be preloaded to ensure gdb loads all necessary
symbols:

1. Ensure guacd is no longer running

2. Load guacd under gdb, preloading the library for the protocol being
debugged:

    $ LD_PRELOAD=libguac-client-rdp.so gdb /usr/local/sbin/guacd

3. Start guacd, first telling gdb to follow the execution of child
processes (connections):

    (gdb) set follow-fork-mode child
    (gdb) run -f -L debug

4. Reproduce the problem. When gdb pauses execution due to the segfault,
run:

    (gdb) bt

And then post the resulting backtrace. Beware that you may need to scroll
through the results a bit, depending on how long the backtrace is.

- Mike

Re: Tried 0.9.13 incubating rc 1, segfault on : libguac-client-rdp

Posted by john <ba...@gmail.com>.
all the freerdp plugins are of the same date as the 13 build.
i deleted them, and did a make install, same segfault.




--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/Tried-0-9-13-incubating-rc-1-segfault-on-libguac-client-rdp-tp1342p1347.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: Tried 0.9.13 incubating rc 1, segfault on : libguac-client-rdp

Posted by Mike Jumper <mi...@guac-dev.org>.
Please verify that the guacsnd.so (or guacsnd-client.so), etc. FreeRDP
plugins installed by the libguac-client-rdp build are indeed from the same
build, and not your previous build of 0.9.12.

- Mike


On Jul 20, 2017 07:23, "john" <ba...@gmail.com> wrote:

> yesterday i've been testing 0.9.13 rc1, but it would not connect givnig me
> this segfault on : libguac-client-rdp
>
> Jul 19 22:01:20 blabla kernel: [4927132.712324] guacd[24138]: segfault at
> 7fc9d32e7ea8 ip 00007fca5998f0f7 sp 00007fca5299d6e0 error 6 in
> libguac-client-rdp.so.0.0.0[7fca59975000+21000]
>
> there were no libguac.so.13.0.0 but only libguac.so.12.2.0 created by this
> build, is this correct?
>
> i reverted back to 0.9.12, everthing was working again.
>
>
>
> --
> View this message in context: http://apache-guacamole-
> incubating-users.2363388.n4.nabble.com/Tried-0-9-13-
> incubating-rc-1-segfault-on-libguac-client-rdp-tp1342.html
> Sent from the Apache Guacamole (incubating) - Users mailing list archive
> at Nabble.com.
>