Perfect! No more crashes.
Thanks!
mario
Robert Osfield wrote:
> Hi Mario,
>
> Thanks for the through testing. I have a dual core Linux box myself
> but alas hadn't seen threading problems before with osglauncher, but
> then its not an example I generally hammer.
>
> My guess is that the updating text is not being guarded as being
> dynamic so is ended up being modified whiles still being read by the
> rendering threads in the DrawThreadPerContext and
> CullThreadPerCameraDrawThreadPerContext cases.
>
> To fix this I have added in an explict setting of the data variance to
> DYNAMIC via;
>
> updateText->setDataVariance(osg::Object::DYNAMIC);
>
> osglauncher is stable for me, but then it was stable before... Could
> you do a svn update and let me know how you get on.
>
>
> Robert.
>
> On 6/21/07, Mario Valle <[EMAIL PROTECTED]> wrote:
>> Thanks Robert!
>> Now osglauncher (almost) works.
>>
>> But if I simply move the mouse around on the osglauncher(d) window,
>> after a while I receive a segmentation fault.
>>
>> To reproduce:
>> - run osglauncherd (the crash happens in or outside gdb)
>> - move fast the mouse on the screen over the various thumbnails so the
>> label
>> on screen changes
>>
>> See the attached gdb stack trace.
>>
>> If I set OSG_THREADING to:
>> SingleThreaded no crash
>> CullDrawThreadPerContext no crash
>> DrawThreadPerContext chash, sometime as soon as app loads
>> CullThreadPerCameraDrawThreadPerContext crash
>>
>> Platform is Linux32 with GeForce 6800 GS and driver 8762
>> and two dual core Xeon
>>
>> Hope it helps
>> mario
>>
>>
>> Robert Osfield wrote:
>> > On 6/21/07, Mario Valle <[EMAIL PROTECTED]> wrote:
>> >> OpenSceneGraph-Data updated to revision 7013 few minutes ago.
>> >> no sign of osg.conf file.
>> >
>> > Oops, looks like I missed a commit on the addition of osg.conf, and
>> > this wasn't caught before 2.0 :-|
>> >
>> > Now checked in to OpenSceneGraph-Data SVN.
>> >
>> > Robert.
>> > _______________________________________________
>> > osg-users mailing list
>> > [email protected]
>> > http://openscenegraph.net/mailman/listinfo/osg-users
>> > http://www.openscenegraph.org/
>> >
>>
>> --
>> Ing. Mario Valle
>> Visualization Group |
>> http://www.cscs.ch/~mvalle
>> Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91)
>> 610.82.60
>> v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax: +41 (91)
>> 610.82.82
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://openscenegraph.net/mailman/listinfo/osg-users
>> http://www.openscenegraph.org/
>>
>>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
--
Ing. Mario Valle
Visualization Group | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/