Problem with AROS and the ARexx port

Report any Hollywood bugs here
Post Reply
User avatar
Allanon
Posts: 732
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Problem with AROS and the ARexx port

Post 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...
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problem with AROS and the ARexx port

Post 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?
User avatar
Allanon
Posts: 732
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: Problem with AROS and the ARexx port

Post 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
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problem with AROS and the ARexx port

Post 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 :)
User avatar
Allanon
Posts: 732
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: Problem with AROS and the ARexx port

Post by Allanon »

Hello Andreas,
seems an AROS bug, take alook here: http://aros-exec.org/modules/newbb/view ... 1&start=80
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problem with AROS and the ARexx port

Post by airsoftsoftwair »

Very good... um, for me that is :) Issue solved, I'm outta here :)
Post Reply