Stage segmentation fault

"Daniel Dube" <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Organization Universität Tübingen
Message-ID <op.vbgxtn2kmu2kz6@ralap111>
I tried to get into the stage code to solve a crash of stage on  
unsubscribing interfaces (id 2989947 in bug tracker).

It seems that something is messed up with the data structure of stage if  
the Model::Unsubscribe() method is called. To get into it I uncommented  
the already present debug output of this method and get the following  
output:

accepted TCP client 0 on port 6665, fd 7
subscribe to r0.laser:0 subs: 2
stage driver setup
unsubscribe from r0.laser:0 subs: 1
unsubscribe from r0 subs: 0
unsubscribe from r0.laser:0 subs: 0
unsubscribe from r0 subs: -1
unsubscribe from r0 subs: -2
unsubscribe from r0 subs: -3
Stage driver has been shutdown
Segmentation fault

(At first I subscribed the laser and then I released this interface.)

I'm not sure, but maybe the call of Driver::Unsubscribe(addr) in  
StgDriver::Unsubscribe causes a mistakenly release of the whole robot. Is  
anybody familiar enough with the code to say whether the output of  
Model::Unsubscribe() is ordinary?


Daniel

-- 
Daniel Dube
Eberhard-Karls-Universität Tübingen
Lehrstuhl Rechnerarchitektur
Sand 1, D-72076 Tübingen

Telefon: +49-7071-2977176, Fax: +49-7071-295091
E-Mail: [email protected]
http://www.ra.cs.uni-tuebingen.de/

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Playerstage-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-developers
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.