Topic: Redeloy Fails - Memory Allocation Failure
Hi,
I have come across the following problem several times most recently with Nware 1.4.4. After several redeploys as I am refining and debugging my program, the role on the Nion will not start after a redeployment. In fact is starts momentarily and then stops, while the conman role runs fine. On checking the log it seems that there is a problem with RAM allocation (or rather reuse of it) in the Nion. Here is an excerpt from the log:-
12/11/2008 14:02:47 1263 note piond/role_manager role is stopped
12/11/2008 14:02:46 1262 fault piond/role_manager role fault
12/11/2008 14:02:46 1261 fault piond/fault_policy more than two errors in less than five minutes; stopping engine
12/11/2008 14:02:46 1260 note project user logged off: defaultuser
12/11/2008 14:02:46 1259 note piond/mute muted: menu command
12/11/2008 14:02:46 1258 fault piond/sound_engine exception during poll: error [player(180)] exception during player initialization: /dev/pion/sharc_stream0: ioctl -- Cannot allocate memory
12/11/2008 14:02:46 1257 error piond/pacman error [player(180)] exception during player initialization: /dev/pion/sharc_stream0: ioctl -- Cannot allocate memory
12/11/2008 14:02:46 1256 note project user logged on: defaultuser
12/11/2008 14:02:45 1255 note piond/role_manager role is running
If having failed to start I then power cycle the Nion it will then start fine, so it seems that there is a problem with the internal memory housekeeping on redeployment.
Also, deploying a minimal project does not help, there are message players in the project, and, all devices within the project are 'up to date'