[22 Jan 2010] RotateBrush bug?

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
airsoftsoftwair
Posts: 5830
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[22 Jan 2010] RotateBrush bug?

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 22 Jan 2010 22:13:29 +0100
Hi Andreas! I've a trouble with attacched code/pic... It seems that when I pass "0.32" to RotateBrus() as scale parameter the function really often crash and locks all the system(only solution was to made a soft-reset...)... I tryed also making a 1200x1600 picture with PerfectPaint and than passing it to the program and got same problem...so it seems that was the scale parameter the problem...but I tryed with another picture of different size and works...weird... Sorry for bother...hope that can be solved... Maybe was wrong somethin on my code...???
Nope, this is another OS4 bug. I've just reported it to Hyperion. Seems like there are still some major issues in OS4.

You can work around it by starting Hollywood using the -USEWPA argument. This will be slower but it will call less OS functions. And most importantly, it will never call the OS4 API that causes the crash :)

By the way, while we are at OS4 bugs, there's another OS4 bug that causes the Snowflakes example to display an "Out of memory!" message... you can also circumvent this bug by starting Hollywood with -USEWPA.

Generally, you shouldn't use -USEWPA though. Just think of it as a kind of "protected mode" that tries to use as little as possible OS APIs :) It's my secret debugging weapon :)
GOOD WORK!

PS The "2" code was same of the other but with passing directly the "0,32" paramenter to the routine...

PPS Regarding IsPicture() do you think to add exif data extraction in future? I mean variables like picture orientation, photo date, camera type, etc... the most important was he photo orientation to display the pictures in the correct orientation at first load...I ask that because if you dont think to add that I've to do it myself studying the exif format and rading the header with Hollywood dos commands... so was only an info...but maybe a feature req :P
Sorry, that's currently not planned.
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

[22 Jan 2010] Re: RotateBrush bug?

Post by Tuxedo »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 22 Jan 2010 21:35:58 -0000
Nope, this is another OS4 bug. I've just reported it to Hyperion. Seems like there are still some major issues in OS4.

You can work around it by starting Hollywood using the -USEWPA argument. This will be slower but it will call less OS functions. And most importantly, it will never call the OS4 API that causes the crash :)

By the way, while we are at OS4 bugs, there's another OS4 bug that causes the Snowflakes example to display an "Out of memory!" message... you can also circumvent this bug by starting Hollywood with -USEWPA.

Generally, you shouldn't use -USEWPA though. Just think of it as a kind of "protected mode" that tries to use as little as possible OS APIs :) It's my secret debugging weapon :)
Thanks for the hint! Hope that Hyperion will fix all that weird and crappy bugs in a (hope) near fix(with maybe usb2 support...but that's another story...)
Sorry, that's currently not planned.
Ok, I'll look to do it myself... I dont look througly in that but was possible with hollywood dos functions right? Just have to look at the first few bytes hope that's not so slow... Can you tell me an ETA to get the IsPicture() repaired plz?

GOOD WORK!

Simone
Simone"Tuxedo"Monsignori, Perugia, ITALY.
User avatar
airsoftsoftwair
Posts: 5830
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[23 Jan 2010] Re: RotateBrush bug?

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 23 Jan 2010 15:19:22 +0100
Ok, I'll look to do it myself... I dont look througly in that but was possible with hollywood dos functions right? Just have to look at the first few bytes hope that's not so slow... Can you tell me an ETA to get the IsPicture() repaired plz?
It's already repaired but a bug fix release won't happen too soon because I'm first waiting for some more bugs. Preparing Hollywood releases is a hell of a work so it has to rent :)
Locked