[osg-users] crash in frame(); in the multithreading
wuxiaodong82 at gmail.com
Mon Jul 21 18:56:42 PDT 2008
I debug my code once more. Your judgment was right. In the single thread,
it crashed also.
2008/7/22 Wu Xiaodong <wuxiaodong82 at gmail.com>:
> Based on your opinion that the crash is "*a straight iterator
> invalidation issue due to your add/removing
> stuff from the scene graph.*" , can you give me some suggestions on fix
> the bug? the codes was so huge that i can't paste it in mail.
> Thanks a lot.
> On Fri, Jul 18, 2008 at 6:13 PM, Robert Osfield <robert.osfield at gmail.com>
>> 2008/7/18 Wu Xiaodong <wuxiaodong82 at gmail.com>:
>> > In my case, I added some new child-node to a group-node, then it crashed
>> > some times;
>> > Could the bug be fixed if i call osg::Group::setDataVariance ( )?
>> Setting DataVariance on the Group will have no effect, it only is
>> critical for StateSet and Drawable.
>> It could be that your crash has nothing to do with threading though,
>> and is a straight iterator invalidation issue due to your add/removing
>> stuff from the scene graph. Since I don't have your code in front of
>> me I can but guess at what the cause might be.
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
> Xiaodong Wu
> "'Xiao' means the time and the view when the sun rises and 'dong' means the
> east in Chinese"
"'Xiao' means the time and the view when the sun rises and 'dong' means the
east in Chinese"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users