Hello,

while loading osgShadow with osgLua (which uses osgIntrospection and 
osgWrappers):

script->enable("osgShadow");

I get a segfault. This happens in 2.8.2 as in trunk. While I didn't properly 
investigate this, I should still mention for those interested that the crash 
can be avoided by suppressing the problematic ConvexPolyhedron object. Add the 
following to src/osgWrappers/genwrapper.conf and rebuild the wrappers:

suppress reflector "osgShadow::ConvexPolyhedron"

I may sure about this, but if this is not osgLua specific, perhaps it could be 
put in trunk until better solution come along.

Best regards, 
Marko



#0  0x00007fca5fa385aa in osg::Matrixd::set () from 
/usr/local/lib64/libosg.so.55
#1  0x00007fca5fa67c9c in osg::Matrixd::Matrixd () from 
/usr/local/lib64/libosg.so.55
#2  0x00007fca57fff04e in 
osgIntrospection::Value::Instance_box<osg::Matrixd>::Instance_box ()
   from /usr/local/lib64/osgPlugins-2.8.2/osgwrapper_osg.so                     
              
#3  0x00007fca57ffe27b in osgIntrospection::Value::Value<osg::Matrixd> () from 
/usr/local/lib64/osgPlugins-2.8.2/osgwrapper_osg.so
#4  0x00007fca56194ffd in (anonymous namespace)::reflector34::reflector34 ()    
                                                  
   from /usr/local/lib64/osgPlugins-2.8.2/osgwrapper_osgShadow.so               
                                                  
#5  0x00007fca56199337 in __static_initialization_and_destruction_0 () from 
/usr/local/lib64/osgPlugins-2.8.2/osgwrapper_osgShadow.so
#6  0x00007fca56199558 in global constructors keyed to ConvexPolyhedron.cpp ()  
                                                     
   from /usr/local/lib64/osgPlugins-2.8.2/osgwrapper_osgShadow.so               
                                                     
#7  0x00007fca56246cc2 in __do_global_ctors_aux () from 
/usr/local/lib64/osgPlugins-2.8.2/osgwrapper_osgShadow.so                    
#8  0x00007fca56066c4b in _init () from 
/usr/local/lib64/osgPlugins-2.8.2/osgwrapper_osgShadow.so                       
             
#9  0x00007fca55fe65d0 in ?? () from 
/usr/local/lib64/osgPlugins-2.8.2/osgwrapper_osgShadow.so                       
                
#10 0x00007fca5ff1d998 in call_init () from /lib64/ld-linux-x86-64.so.2         
                                                     
#11 0x00007fca5ff1dac7 in _dl_init_internal () from /lib64/ld-linux-
x86-64.so.2                                                      
#12 0x00007fca5ff21cfe in dl_open_worker () from /lib64/ld-linux-x86-64.so.2    
                                                     
#13 0x00007fca5ff1d626 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2   
                                                     
#14 0x00007fca5ff214ab in _dl_open () from /lib64/ld-linux-x86-64.so.2          
                                                     
#15 0x00007fca5ad6cf9b in dlopen_doit () from /lib/libdl.so.2                   
                                                     
#16 0x00007fca5ff1d626 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2   
                                                     
#17 0x00007fca5ad6d34c in _dlerror_run () from /lib/libdl.so.2                  
                                                     
#18 0x00007fca5ad6cf01 in dlopen@@GLIBC_2.2.5 () from /lib/libdl.so.2           
                                                     
#19 0x00007fca5bb0c4bb in osgDB::DynamicLibrary::getLibraryHandle () from 
/usr/local/lib64/libosgDB.so.55                            
#20 0x00007fca5bb0c2de in osgDB::DynamicLibrary::loadLibrary () from 
/usr/local/lib64/libosgDB.so.55                                 
#21 0x00007fca5ef1d8d0 in osgLua::loadWrapper () from 
/usr/local/lib64/libosgLua.so                                                  
#22 0x00007fca5ef21722 in osgLua::Script::enable () from 
/usr/local/lib64/libosgLua.so                                               
#23 0x000000000040cb99 in Script::loadLibrary (this=0x19cb1e0, name=            
                                                     
        {static npos = 18446744073709551615, _M_dataplus = 
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data 
fields>}, <No data fields>}, _M_p = 0x19d3608 "osgShadow"}}) at 
/home/marko/devel/sword/applications/swordEngine/swordEngine.cpp:17          
#24 0x000000000040aa42 in main () at 
/home/marko/devel/sword/applications/swordEngine/swordEngine.cpp:125
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to