Alright people.. This will be a bit of text.
After a few hours of testing my conclusion is that the black screen and lockups are completely memory related, none of my MAG 322 are faulty, they all act in the exact same manner.
Black screen is not caused by any kind of blocking.
MAG 254 / 322 and below, boxes with 512MB RAM has a 50/50 chance of successfully launching the IPTV app with a full bouquet.
I have tested with the latest firmware on MAG 322/324, 2.20.08r2
My test setup has been three different MAG 322 and one MAG 324.
The 322/324 boxes are identical in hardware with the only exception of amount of memory.
Bouquet setup has been full bouquet vs 8 groups removed (Austria, Czech, Finland, Hungary, Kurdistan, Macedonia, Poland, South Asia)
Result on MAG 322 with full bouquet, seven reboots: Ok, Fail, Fail, Fail, Fail, Ok, Fail.
Result on MAG 322 with 8 groups removed, eight reboots: Ok, Ok, Ok, Ok, Ok, Ok, Ok, Ok. I can't get box to crash with 8 groups removed
Same result on all three MAG 322, failure is random, so not an exact match.
This does not match my experience from two days ago, maybe something else was going on.
MAG 324 was successfully booted regardless of bouquet size. This box has twice the memory compared to 322/254. 1Gb vs 512Mb
This is total memory however, about 250Mb goes to the filesystem, that leaves us with only about 250Mb to play with in MAG 322/254 and below.
Not sure what app launch really does but while app is starting up on MAG 322, free memory drops as low as 2Mb. I suspect this calls a Linux kernel OOM, Out Of Memory, which kills the offending app, our IPTV app/interface, but just a guess until I have the kernel log to back it up.
Once app is running MAG 322 got about 90Mb free but haven’t been monitoring for any length of time.
All of the MAG 322 with fully populated bouquet will render in a hit and miss of successful app launch. It will crash randomly, but more often than not.
MAG 324 is a completely different story. Here we got 1Gb from start, again, 250Mb goes to the filesystem. Leaves us with plenty of room to play with. Never seen memory go below 200Mb.
I cannot get this box to crash or lockup. If anyone out there is running a MAG 324 and experiencing lockups or crashes, please pm me firmware version so I can try to replicate and analyse.
That’s about it from my past four hours of testing.
Also, as a final to this post, I found the Public image to be just a little more stable than the factory image, no idea why. Public images must be flashed in the System Recovery Utility, from a compatible FAT USB key. The Public image brings a bonus, SSH and root access to the box.
SSH is turned off in the factory image, so no fun to get there.
So, with a Public image you can roam around and see what’s going on, if you know your Linux.
I’ll try to dig deeper and find some log files or debug mode. App gives no report on why it dies when it does, so I don’t think it crashes, I think it’s killed by the kernel.