OK I created a small standalone program that shows the crash (attached).
To trigger the crash:
1. Run debug version of osgmultiwindowtesttext. It will open 2 windows
(Viewers) that contain text "Scene1" and "Scene2"
2. Close one window -> it might crash. If it crashes, see debug info
Hi Robert, yes I'm working on a standalone test program now. Multithreaded
crashes are often hard to reproduce in a vacuum, but as soon as I have
something I'll post here.
I'm running on Win10, Nvidia GTX 980 (latest drivers), Visual Studio 2013,
OpenSceneGraph-3.6 branch.
Ravi
On Tue, Dec 18, 2
Hi Ravi,
My guess is that the new text implementation isn't the cause of the crash,
only it's the straw that broke the camels back, and actually there is an
underlying limitation with the OSG w..r.t you specific usage case.
Could you create a small test program that reproduces the crash. Details
Hello all,
I'm seeing a crash on the OpenSceneGraph-3.6 branch that occurs when I have
two CompositeViewers that contain Text objects in their scenes. My
simplified scenario is this:
- 2 CompositeViewers, each in singlethreaded mode, but being run at the
same time in separate threads (via OpenThre
Robert,
thanks! I'll try this helper marco.
Cheers,
Alexander
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63310#63310
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.op
Hi Alexander,
Could you try either putting the mutex in the global scope or creating a
small initializer class that calls getDefaultFont() that gets constructed
in the global scope, the OSG has a helper macro for this so you could use:
OSG_INIT_SINGLETON_PROXY(InitDefaultFont, getDefaultFont())
Hi,
My osgEarth based application was crashing from time to time (3-4 times a day).
It was not easy to debug. But eventually I've caught the problem place in
Release with Debug info mode.
DatabasePager thread crashed in osgText/Font.cpp file in the function:
Code:
osg::ref_ptr& Font::getDefau
Hello everyone - I'm experiencing a crash using the latest nVidia
driver when I bring up the stats window and am wondering if anyone
else is experiencing the same problem. My hardware is a Dell
Workstation using a nVidia FX4600 card. I'm convinced the issue is
related to the driver upgrade. I was r
erwatch.textron.com
>>> __
>>> *(C): (+1) 571-265-2612
>>> (W)**: (+1) 703-437-7651*
>>>
>>> "Self defence is not a function of learning tricks
>>> but is a function of how quickly and
___
>> *(C): (+1) 571-265-2612
>> (W)**: (+1) 703-437-7651*
>>
>> "Self defence is not a function of learning tricks
>> but is a function of how quickly and intensely one
>> can arouse one's instinct for survival"
>> - *Master Tamb
;
> --
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Chris
> *Sent:* Wednesday, October 08, 2008 3:22 PM
>
> *To:* OpenSceneGraph Users
> *Subject:* Re: [osg-users] osgText crash
>
> Sorry if I don't quite understand the GUI
r survival"
- Master Tambo Tetsura
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Sent: Wednesday, October 08, 2008 3:22 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgText crash
Sorry if I don't quite understand t
icks
> but is a function of how quickly and intensely one
> can arouse one's instinct for survival"
> - *Master Tambo Tetsura*
>
>
>
> --
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Chris
> *Sent:* Wed
ckly and intensely one
can arouse one's instinct for survival"
- Master Tambo Tetsura
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Sent: Wednesday, October 08, 2008 2:48 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgT
Thanks Robert,
I do realize it's tough to tell without seeing the code. Up to yesterday I
used osg 2.1, but just upgrade to 2.7.1 (bug still occurs). FWIW, I'm not
using the viewer setup in the examples, I use my own osgUtil::SceneView and
use cull & draw directly. Note I setup my viewport proper
Hi Pail,
The default setting of DataVariance is UNSPECIFIED. There has been
lots written on this topic, please go look at the archives.
Robert,
On Wed, Oct 8, 2008 at 7:17 PM, Paul Melis <[EMAIL PROTECTED]> wrote:
> Robert Osfield wrote:
>>
>> On Wed, Oct 8, 2008 at 6:21 PM, Paul Melis <[EMAIL
Thanks Jean,
The adding / removing / deleting is because I am using it to enter typed
text. You're right, I don't have to actually delete the Text drawable each
time I'm finished entering text, but I do need to set it's text repeatedly
in response to my typing. I have a feeling it would crash any
Robert Osfield wrote:
On Wed, Oct 8, 2008 at 6:21 PM, Paul Melis <[EMAIL PROTECTED]> wrote:
Hmmm, if setting it to STATIC causes a crash like this, might that be a
design flaw?
Is a design constraint for when running in DrawThreadPerContext or
CullThreadPerCameraDrawThreadPerContext th
Hi Chris,
With so few details about your viewer setup and scene graph usage the
best we can do is guess what you might have done wrong given other
common mistakes we see pop up - have the DataVariance recommendation.
Another thing you could try setting the threading model on the viewer
by calling
Hi Chris,
I create my Text in response to a keystroke, and add it to the scene.
The next keystroke removes and deletes it. Each time I create it, the
initial rendered text string does not change.
This is more of a workaround than an actual fix, but why are you
adding/removing/deleting the ob
I had just read the osg archive and set the text DataVariance to DYNAMIC,
with high hopes..unfortunately still crashes :(
_text->setDataVariance(osg::Object::DYNAMIC);
I create my Text in response to a keystroke, and add it to the scene. The
next keystroke removes and deletes it. Each time I crea
On Wed, Oct 8, 2008 at 6:21 PM, Paul Melis <[EMAIL PROTECTED]> wrote:
> Hmmm, if setting it to STATIC causes a crash like this, might that be a
> design flaw?
Is a design constraint for when running in DrawThreadPerContext or
CullThreadPerCameraDrawThreadPerContext threading models as these
thread
Robert Osfield wrote:
Are you dynamically updating the text each frame? If so set the
DataVariance to DYNAMIC.
Hmmm, if setting it to STATIC causes a crash like this, might that be a
design flaw?
Paul
Robert.
On Wed, Oct 8, 2008 at 6:09 PM, Chris <[EMAIL PROTECTED]> wrote:
Hi,
I'm
Hi Chris,
Are you dynamically updating the text each frame? If so set the
DataVariance to DYNAMIC.
Robert.
On Wed, Oct 8, 2008 at 6:09 PM, Chris <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having semi-random crash bugs when I add an osgText drawable to my
> scene. The actual error is a mem access
Chris wrote:
I'm having semi-random crash bugs when I add an osgText drawable to my
scene. The actual error is a mem access violation, and it occurs after
I've added & removed the node containing the drawable from the scene a
random number of times' (usually from 1 to 10 times)
The exception
Hi,
I'm having semi-random crash bugs when I add an osgText drawable to my
scene. The actual error is a mem access violation, and it occurs after I've
added & removed the node containing the drawable from the scene a random
number of times' (usually from 1 to 10 times)
The exception occurs in the
26 matches
Mail list logo