Problem with AROS and the ARexx port

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

Problem with AROS and the ARexx port

Post by Allanon » Tue Feb 16, 2010 11:03 pm

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...
----------------------------
[Allanon] Fabio Falcucci
AMC - Creative Development // Docs Site // Support Forum
Support me on Patreon for Hollywood libraries!

User avatar
airsoftsoftwair
Posts: 3309
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problem with AROS and the ARexx port

Post by airsoftsoftwair » Wed Feb 17, 2010 11:24 am

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: 464
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: Problem with AROS and the ARexx port

Post by Allanon » Wed Feb 17, 2010 11:29 am

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
----------------------------
[Allanon] Fabio Falcucci
AMC - Creative Development // Docs Site // Support Forum
Support me on Patreon for Hollywood libraries!

User avatar
airsoftsoftwair
Posts: 3309
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problem with AROS and the ARexx port

Post by airsoftsoftwair » Wed Feb 17, 2010 11:13 pm

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: 464
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: Problem with AROS and the ARexx port

Post by Allanon » Thu Feb 18, 2010 1:07 pm

Hello Andreas,
seems an AROS bug, take alook here: http://aros-exec.org/modules/newbb/view ... 1&start=80
----------------------------
[Allanon] Fabio Falcucci
AMC - Creative Development // Docs Site // Support Forum
Support me on Patreon for Hollywood libraries!

User avatar
airsoftsoftwair
Posts: 3309
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problem with AROS and the ARexx port

Post by airsoftsoftwair » Fri Feb 19, 2010 12:00 pm

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

Post Reply