Page 1 of 1

Problem with AROS and the ARexx port

Posted: Tue Feb 16, 2010 11:03 pm
by Allanon
Hello Andreas,
I'm trying to send commands to MPlayer for AROS using the ARexx port.

I've tryed small sample code, like the one below:

Code: Select all

Local answer = SendRexxCommand("MPLAYER.1", "FULLSCREEN")
MPlayer receives the command (and goes to fullscreen) but my Hollywood program crash and on the console is reported this error message:
Assertion (ptr->len <= ptr->max) failed in memory.c:824
After various tests I've got another error type: instead of memory.c:824 I've got arscmd.c:201

Finally I've tested the Arexx port using a script:

Code: Select all

address MPLAYER.1
FULLSCREEN
then I've launched with:
rx myscript

MPlayer has received the fullscreen command without any errors...

Re: Problem with AROS and the ARexx port

Posted: Wed Feb 17, 2010 11:24 am
by airsoftsoftwair
Well, that assertion error doesn't come from Hollywood. Does it only crash when sending the FULLSCREEN command or does it crash with other commands, too?

Re: Problem with AROS and the ARexx port

Posted: Wed Feb 17, 2010 11:29 am
by Allanon
I've tried "QUIT" and "EXIT" commands too, but with the same results... the strange thing is that if I send commands using arexx scripts all works fine, that's why I've suspected of an Hollywood bug.

If it's not an Hollywood problem I'll report this issue to AROS-Exec forums

Re: Problem with AROS and the ARexx port

Posted: Wed Feb 17, 2010 11:13 pm
by airsoftsoftwair
Well, I always take those AROS bug reports with a grain of salt because AROS is still in alpha state. Of course I can't rule out that it is a Hollywood bug, but I think it's unlikely because the ARexx interface has been there since version 2.5 and I've never had a bug report about it so I'd suspect that it's pretty stable... better try on aros-exec first and see what they're saying :)

Re: Problem with AROS and the ARexx port

Posted: Thu Feb 18, 2010 1:07 pm
by Allanon
Hello Andreas,
seems an AROS bug, take alook here: http://aros-exec.org/modules/newbb/view ... 1&start=80

Re: Problem with AROS and the ARexx port

Posted: Fri Feb 19, 2010 12:00 pm
by airsoftsoftwair
Very good... um, for me that is :) Issue solved, I'm outta here :)