alwayson causes assertion

Paul Osmialowski <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Message-ID <[email protected]>
I don't know if anyone mentioned that so far, but looks like setting 
alwayson to 1 for passthrough driver ends always with assertion. I tried 
three different operating systems and it's always the same. Strangely 
enough, I had no such problem with cameracompress driver. How they differ 
inside?!

example cfg file that always fails:

driver
(
   name "passthrough"
   requires ["vlab.pjwstk.edu.pl:6888:blobfinder:0"]
   provides ["blobfinder:0"]
   alwayson 1
)

result:
Registering driver
Player v.3.0.2

* Part of the Player/Stage/Gazebo Project 
[http://playerstage.sourceforge.net].
* Copyright (C) 2000 - 2009 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig, and contributors. Released under the GNU General Public 
License.
* Player comes with ABSOLUTELY NO WARRANTY.  This is free software, and 
you
* are welcome to redistribute it under certain conditions; see COPYING
* for details.

accepted TCP client 0 on port 6888, fd 3
listening on 6665
Listening on ports: 6665
player: /root/psg3/src/player-3.0.2/libplayercore/message.cc:717: 
MessageQueue* QueuePointer::operator->(): Assertion `Queue' failed.

Whenever I set alwayson to 0, it starts fine, I can connect playerv to it, 
subscribe and all blobfinder data are rendered correctly!

example cfg file that works fine:

driver
(
   name "cameracompress"
   requires ["vlab.pjwstk.edu.pl:6888:camera:0"]
   provides ["camera:0"]
   alwayson 1
)

Paul

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.