Hi,

I've tried with the C client library and works fine.

Thanks again.

2007/11/29, Toby Collett <tcollett+player@plan9.net.nz >:
At first glance (wont have time for a proper look until tomorrow) I
would say that the Proxy has not been updated for the new request
semantics where a pointer to a pointer is passed into client_request and
the reply is allocated for you. Just a hunch, hope it helps in the mean
time, if not I will have a look when I get a chance and see if I can see
it...

Toby

AnÝbal wrote:
> Hi all,
>
> I downloaded the cvs version of Player to send opaque requests.
> When SendReq() is invoked, the console 'tells me' the following:
> segmentation fault (core dumped)
>
> I observed that opaque interface has changed. Now data field is a
> pointer, not an array.
> I suppose that you pass to this field the address of your data. here
> is my code:
>
> uint8_t* buffer = new uint8_t[1024];
> player_opaque_data_t req;
>
> memcpy(buffer,data,data_len); // copy data into the buffer
> req.data = buffer;
> req.data_count = data_len;
>
> opaqueProxy.SendReq(&req);
>
> The driver receives the request correctly and then send the reply to
> the client.
> I think the client crashes when it receives the reply.
> Can anyone help me?
>
> Thanks in advance.
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> ------------------------------------------------------------------------
>
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users