First of all sorry Mark. It seems that this bug has nothing to do with hijack.
But my problem is still the same:
I'm running the following application on my empeg:
empacman, telnetd, viewer, dynamic DNS client, prozilla (remote download manager). They are all installed in /programs0/. The www stuff is also located in this directory.
I found out that the problem only exists if I call the script to mount the /programs0 partition (through preinit). If I copy all the application to /drive0 and remove the mount script, all the applications runs fine. No problems with RO/RW command either.
The problem seems to be the preinit in conjunction with the mount script.
I tried it with two different players (mk2 and mk2a) with different results.
On the mk2 player I get a memory violation at boot time soon after executing the mount script. (Tracedump on serial console) After a timeout of preinit, I think 60 seconds the player software is starting up and everything is running. (The player software, Hijack, the user application, ...)
On the mk2a I get a memory violation if I call the RW/RO command through the webinterface. (Empeg completly dies until reboot) It's not depending on the time between the two commands.
Both players running 2.0Beta13, Hijack 291, Preinit v4
There seems to be another problem with the menu entries in hijack. I have entries for both the application empacman and viewer. But neverless which entry I choose, in both cases the viewer application is starting. Not sure if this is the applications or hijacks fault.