Closed rgmaidana closed 6 years ago
I have a theory that this bug is related to the OS distribution. I use Lubuntu 14.04 in a VM and it almost never crashes. The sound also works flawless. Perhaps this bug appers in Ubuntu (Unity) and Ubuntu Mate.
I realised the bug was related to Stage, not to Player. Then I started to scale down the example, using a simplified Donnie Stage model. I also simulated the original Pionner model used in the simple.cfg example distributed with Player/Stage. I tried to mix Donnie and Pionner models to figure out where was the defective part. It turns out that Donnie model did not have the command bellow in the donnie.world file.
# set the multiple of real time that Stage should try to achieve. Default is 1. # set to 0 to go as fast as possible. speedup 0
Without this line, Stage crashes when a client connects. I also commented the same line in the Pioneer example and Stage also crashed during startup.
Bug closed ! finally !
Running "donnie_player" with installation from devel branch randomly crashes on Stage start up. Output on the terminal is:
$ donnie_player
Executando Donnie software no diretório /opt/donnie/test/stage
[1] 2676
[2] 2684
[1]- Done xterm -e "player ${DONNIE_EXEC_PATH}/server_donnie.cfg &> /dev/null"
[2]+ Done xterm -e "${DONNIE_PATH}/bin/alerts &> /dev/null"