[osg-users] setMaxAnisotropy() Causes Segfault

merspieler merspieler at airmail.cc
Thu Feb 18 03:55:52 PST 2021


I was told to ask here for help on this.

I'm receiving a SIGSEGV when texture->setMaxAnisotropy() is called.
According to the header file texture is:
osg::ref_ptr<osg::Texture2D> texture;

I'm not familiar with osg nor the code that causes it
so I hope, you can help me.

Thread 1 "fgfs" received signal SIGSEGV, Segmentation fault.
0x00007ffff73e1890 in osg::Texture::setMaxAnisotropy(float) () from ../../openscenegraph/lib/libosg.so.162
(gdb) bt full
#0  0x00007ffff73e1890 in osg::Texture::setMaxAnisotropy(float) () from ../../openscenegraph/lib/libosg.so.162
No symbol table info available.
#1  0x0000555556476bf9 in simgear::canvas::ODGauge::setMaxAnisotropy (this=<optimized out>, anis=<optimized out>)
    at /games/flightgear-new/simgear/simgear/canvas/ODGauge.cxx:207
....

I did already a sanity check on the input to rule out any
unreasonable input values.

What can I do to find the issue?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20210218/f6b4497c/attachment.sig>


More information about the osg-users mailing list