Apologies for shamelessly replying to my own question, but can someone at
least point out if I have an error in my command line?
Is there another alternative than using /vc: for loading static virtual
channel plugin for 1.1.0?


On Wed, Dec 5, 2012 at 6:23 PM, Grindelwald G <grindelwal...@gmail.com>wrote:

> I have a simple ping app - that sends a string over a virtual channel. I
> have it compiled as a .so file.
> It gets loaded & works fine over FreeRDP-0.8.2
>
> However, for FreeRDP-1.1.0 - when I load it, I get a crash.
> I have put the libmyping-client.so file at /usr/local/lib/freerdp/ and I
> use following cmd line -
> ./client/X11/xfreerdp --sec rdp /vc:libmyping /u:<my-username>
> /v:<Win7-Host-IP>
>
> I tracked it down to function - freerdp_channels_load_static_addin_entry()
> This function is returning NULL since CLIENT_STATIC_ADDIN_TABLE does not
> have details about libmyping.
> As a result at file libfreerdp/common/addin.c - in function -
> freerdp_load_channel_addin_entry(), the varable "entry" gets assigned to
> NULL since freerdp_load_static_channel_addin_entry - which is basically
> pointing to freerdp_channels_load_static_addin_entry() returns NULL.
> Effectively, this results in a call to
> freerdp_load_dynamic_channel_addin_entry(). Finally the crash/segfault
> actually happens in dlsym() system call.
>
> So my question is - there must be some way of loading a custom static
> virtual channel plugin without having to add an entry in that
> CLIENT_STATIC_ADDIN_TABLE and doing a recompilation of freerdp, rite?
> Or am I missing something fundamental?
>
> Thanks!
> -G
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Freerdp-devel mailing list
> Freerdp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>



-- 
Salil

"Train yourself to let go of everything you fear to lose" - Master Yoda
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to