Hi. I have generated bluemarble terrain data with VPB, and try to load it on Android. However the osgAndroidExampleGLES1 crashes occasionally when zoom or move, below are crash logs I've recorded:
1) 11-30 10:42:45.611 I/DEBUG (2432): backtrace: 11-30 10:42:45.611 I/DEBUG (2432): #00 pc 0055d39c /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osg::NodeAcceptOp std::for_each<__gnu_cxx::__normal_iterator<osg::ref_ptr<osg::Node>*, std::vector<osg::ref_ptr<osg::Node>, std::allocator<osg::ref_ptr<osg::Node> > > >, osg::NodeAcceptOp>(__gnu_cxx::__normal_iterator<osg::ref_ptr<osg::Node>*, std::vector<osg::ref_ptr<osg::Node>, std::allocator<osg::ref_ptr<osg::Node> > > >, __gnu_cxx::__normal_iterator<osg:+31) 11-30 10:42:45.611 I/DEBUG (2432): #01 pc 00569c31 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osg::PagedLOD::traverse(osg::NodeVisitor&)+92) 11-30 10:42:45.611 I/DEBUG (2432): 11-30 10:42:45.611 I/DEBUG (2432): stack: 11-30 10:42:45.611 I/DEBUG (2432): 742779a0 77a128b4 11-30 10:42:45.611 I/DEBUG (2432): 742779a4 00000000 11-30 10:42:45.611 I/DEBUG (2432): 742779a8 00000023 11-30 10:42:45.611 I/DEBUG (2432): 742779ac 401ec4e3 /system/lib/libc.so (dlmalloc+5170) 11-30 10:42:45.611 I/DEBUG (2432): 742779b0 00000000 11-30 10:42:45.611 I/DEBUG (2432): 742779b4 00000000 11-30 10:42:45.611 I/DEBUG (2432): 742779b8 00000000 11-30 10:42:45.611 I/DEBUG (2432): 742779bc 00000000 11-30 10:42:45.611 I/DEBUG (2432): 742779c0 c0000000 11-30 10:42:45.611 I/DEBUG (2432): 742779c4 00000018 11-30 10:42:45.611 I/DEBUG (2432): 742779c8 77a128b4 11-30 10:42:45.611 I/DEBUG (2432): 742779cc 0039e4f0 11-30 10:42:45.611 I/DEBUG (2432): 742779d0 00000001 11-30 10:42:45.611 I/DEBUG (2432): 742779d4 74277a48 [stack:10717] 11-30 10:42:45.611 I/DEBUG (2432): 742779d8 df0027ad 11-30 10:42:45.611 I/DEBUG (2432): 742779dc 00000000 11-30 10:42:45.611 I/DEBUG (2432): #00 742779e0 7a8de230 11-30 10:42:45.611 I/DEBUG (2432): 742779e4 74277aa0 [stack:10717] 11-30 10:42:45.611 I/DEBUG (2432): 742779e8 00000000 11-30 10:42:45.611 I/DEBUG (2432): 742779ec 74277b08 [stack:10717] 11-30 10:42:45.611 I/DEBUG (2432): 742779f0 7a0ee8d0 11-30 10:42:45.611 I/DEBUG (2432): 742779f4 76ce5c35 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osg::PagedLOD::traverse(osg::NodeVisitor&)+96) 11-30 10:42:45.611 I/DEBUG (2432): 742779f8 7a8d58f0 11-30 10:42:45.611 I/DEBUG (2432): 742779fc 76c3d1a5 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (std::_Rb_tree<osg::observer_ptr<osg::PagedLOD>, osg::observer_ptr<osg::PagedLOD>, std::_Identity<osg::observer_ptr<osg::PagedLOD> >, std::less<osg::observer_ptr<osg::PagedLOD> >, std::allocator<osg::observer_ptr<osg::PagedLOD> > >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, osg::observer_ptr<osg::PagedLOD> const&)+82) 11-30 10:42:45.611 I/DEBUG (2432): 74277a00 74277a30 [stack:10717] 11-30 10:42:45.611 I/DEBUG (2432): 74277a04 74277a48 [stack:10717] 11-30 10:42:45.611 I/DEBUG (2432): 74277a08 00000000 11-30 10:42:45.611 I/DEBUG (2432): 74277a0c 00000000 11-30 10:42:45.611 I/DEBUG (2432): 74277a10 7a0ee8d0 11-30 10:42:45.611 I/DEBUG (2432): 74277a14 76c3d203 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (std::_Rb_tree<osg::observer_ptr<osg::PagedLOD>, osg::observer_ptr<osg::PagedLOD>, std::_Identity<osg::observer_ptr<osg::PagedLOD> >, std::less<osg::observer_ptr<osg::PagedLOD> >, std::allocator<osg::observer_ptr<osg::PagedLOD> > >::_M_insert_unique(osg::observer_ptr<osg::PagedLOD> const&)+82) 11-30 10:42:45.611 I/DEBUG (2432): 74277a18 74277aa0 [stack:10717] 11-30 10:42:45.611 I/DEBUG (2432): 74277a1c 74277a48 [stack:10717] 2) 11-05 10:15:06.246 I/DEBUG (2431): backtrace: 11-05 10:15:06.246 I/DEBUG (2431): #00 pc 00000020 <unknown> 11-05 10:15:06.246 I/DEBUG (2431): #01 pc 0054b551 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osg::Group::traverse(osg::NodeVisitor&)+20) 11-05 10:15:06.246 I/DEBUG (2431): #02 pc 00516c29 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osgUtil::UpdateVisitor::handle_callbacks_and_traverse(osg::Node&)+60) 11-05 10:15:06.246 I/DEBUG (2431): #03 pc 004b28eb /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osg::Group::accept(osg::NodeVisitor&)+34) 11-05 10:15:06.246 I/DEBUG (2431): #04 pc 004541b9 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osgViewer::Scene::updateSceneGraph(osg::NodeVisitor&)+78) 11-05 10:15:06.246 I/DEBUG (2431): #05 pc 004616c5 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osgViewer::Viewer::updateTraversal()+76) 11-05 10:15:06.246 I/DEBUG (2431): 11-05 10:15:06.246 I/DEBUG (2431): stack: 11-05 10:15:06.246 I/DEBUG (2431): 76099af0 70b92e88 11-05 10:15:06.246 I/DEBUG (2431): 76099af4 78061a0b /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osgDB::DatabasePager::addLoadedDataToSceneGraph(osg::FrameStamp const&)+698) 11-05 10:15:06.246 I/DEBUG (2431): 76099af8 76099af8 [stack:14402] 11-05 10:15:06.246 I/DEBUG (2431): 76099afc 00000382 11-05 10:15:06.246 I/DEBUG (2431): 76099b00 0000fa00 11-05 10:15:06.246 I/DEBUG (2431): 76099b04 85d371d0 11-05 10:15:06.246 I/DEBUG (2431): 76099b08 76099b08 [stack:14402] 11-05 10:15:06.246 I/DEBUG (2431): 76099b0c 76099b08 [stack:14402] 11-05 10:15:06.246 I/DEBUG (2431): 76099b10 00000000 11-05 10:15:06.246 I/DEBUG (2431): 76099b14 a0b5ed8d 11-05 10:15:06.246 I/DEBUG (2431): 76099b18 3eb0c6f7 11-05 10:15:06.246 I/DEBUG (2431): 76099b1c 85d371d0 11-05 10:15:06.246 I/DEBUG (2431): 76099b20 7814932d /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (OpenThreads::Mutex::lock()) 11-05 10:15:06.246 I/DEBUG (2431): 76099b24 76099b44 [stack:14402] 11-05 10:15:06.246 I/DEBUG (2431): 76099b28 df0027ad 11-05 10:15:06.246 I/DEBUG (2431): 76099b2c 00000000 11-05 10:15:06.246 I/DEBUG (2431): #00 76099b30 70b98ab0 11-05 10:15:06.246 I/DEBUG (2431): ........ ........ 11-05 10:15:06.246 I/DEBUG (2431): #01 76099b30 70b98ab0 11-05 10:15:06.246 I/DEBUG (2431): 76099b34 70b978b8 11-05 10:15:06.246 I/DEBUG (2431): 76099b38 7825cb58 11-05 10:15:06.246 I/DEBUG (2431): 76099b3c 780b7c2b /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osgUtil::UpdateVisitor::handle_callbacks_and_traverse(osg::Node&)+62) 11-05 10:15:06.246 I/DEBUG (2431): #02 76099b40 780b7c41 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osgUtil::UpdateVisitor::apply(osg::Group&)) 11-05 10:15:06.246 I/DEBUG (2431): 76099b44 70b978b8 11-05 10:15:06.246 I/DEBUG (2431): 76099b48 70b98ab0 11-05 10:15:06.246 I/DEBUG (2431): 76099b4c 780538ed /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osg::Group::accept(osg::NodeVisitor&)+36) 11-05 10:15:06.246 I/DEBUG (2431): 3) 1-04 12:57:59.331 I/DEBUG (2431): backtrace: 11-04 12:57:59.331 I/DEBUG (2431): #00 pc 0000f11c /system/lib/libc.so 11-04 12:57:59.331 I/DEBUG (2431): #01 pc 00011ec3 /system/lib/libc.so (dlfree+1458) 11-04 12:57:59.331 I/DEBUG (2431): #02 pc 0000d033 /system/lib/libc.so (free+10) 11-04 12:57:59.331 I/DEBUG (2431): #03 pc 005a82ab /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (OpenThreads::PThreadMutexPrivateData::~PThreadMutexPrivateData()+14) 11-04 12:57:59.331 I/DEBUG (2431): #04 pc 005a82d7 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (OpenThreads::Mutex::~Mutex()+30) 11-04 12:57:59.331 I/DEBUG (2431): #05 pc 004758f1 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (osgTerrain::Terrain::~Terrain()+176) 11-04 12:57:59.336 I/DEBUG (2431): 11-04 12:57:59.336 I/DEBUG (2431): stack: 11-04 12:57:59.336 I/DEBUG (2431): 7406b040 00000001 11-04 12:57:59.336 I/DEBUG (2431): 7406b044 4027eed2 /system/lib/libc.so 11-04 12:57:59.336 I/DEBUG (2431): 7406b048 7607cbf0 11-04 12:57:59.336 I/DEBUG (2431): 7406b04c 4026aebb /system/lib/libc.so 11-04 12:57:59.336 I/DEBUG (2431): 7406b050 00000188 11-04 12:57:59.336 I/DEBUG (2431): 7406b054 00000007 11-04 12:57:59.336 I/DEBUG (2431): 7406b058 7406b054 [stack:19620] 11-04 12:57:59.336 I/DEBUG (2431): 7406b05c 00000001 11-04 12:57:59.336 I/DEBUG (2431): 7406b060 4027eace /system/lib/libc.so 11-04 12:57:59.336 I/DEBUG (2431): 7406b064 00000005 11-04 12:57:59.336 I/DEBUG (2431): 7406b068 7406b08c [stack:19620] 11-04 12:57:59.336 I/DEBUG (2431): 7406b06c 0000004f 11-04 12:57:59.336 I/DEBUG (2431): 7406b070 4028b228 11-04 12:57:59.336 I/DEBUG (2431): 7406b074 7607cbe8 11-04 12:57:59.336 I/DEBUG (2431): 7406b078 df0027ad 11-04 12:57:59.336 I/DEBUG (2431): 7406b07c 00000000 11-04 12:57:59.336 I/DEBUG (2431): #00 7406b080 37303637 11-04 12:57:59.336 I/DEBUG (2431): 7406b084 38656263 11-04 12:57:59.336 I/DEBUG (2431): 7406b088 76d15d00 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so 11-04 12:57:59.336 I/DEBUG (2431): 7406b08c 20404040 11-04 12:57:59.336 I/DEBUG (2431): 7406b090 524f4241 /dev/ashmem/dalvik-heap (deleted) 11-04 12:57:59.336 I/DEBUG (2431): 7406b094 474e4954 /dev/ashmem/dalvik-heap (deleted) 11-04 12:57:59.336 I/DEBUG (2431): 7406b098 494c203a /dev/ashmem/dalvik-heap (deleted) 11-04 12:57:59.336 I/DEBUG (2431): 7406b09c 203a4342 11-04 12:57:59.336 I/DEBUG (2431): 7406b0a0 55475241 /dev/ashmem/dalvik-heap (deleted) 11-04 12:57:59.336 I/DEBUG (2431): 7406b0a4 544e454d /dev/ashmem/dalvik-heap (deleted) 11-04 12:57:59.336 I/DEBUG (2431): 7406b0a8 20534920 11-04 12:57:59.336 I/DEBUG (2431): 7406b0ac 41564e49 /dev/ashmem/dalvik-heap (deleted) 11-04 12:57:59.336 I/DEBUG (2431): 7406b0b0 2044494c 11-04 12:57:59.336 I/DEBUG (2431): 7406b0b4 50414548 /dev/ashmem/dalvik-heap (deleted) 11-04 12:57:59.336 I/DEBUG (2431): 7406b0b8 44444120 /dev/ashmem/dalvik-heap (deleted) 11-04 12:57:59.336 I/DEBUG (2431): 7406b0bc 53534552 /dev/ashmem/dalvik-heap (deleted) 11-04 12:57:59.336 I/DEBUG (2431): ........ ........ 11-04 12:57:59.336 I/DEBUG (2431): #01 7406b1a8 7607cbf0 11-04 12:57:59.336 I/DEBUG (2431): 7406b1ac 78701004 11-04 12:57:59.336 I/DEBUG (2431): 7406b1b0 78701028 11-04 12:57:59.336 I/DEBUG (2431): 7406b1b4 78701010 11-04 12:57:59.336 I/DEBUG (2431): 7406b1b8 00000000 11-04 12:57:59.336 I/DEBUG (2431): 7406b1bc 4024d035 /system/lib/libc.so (free+12) 11-04 12:57:59.336 I/DEBUG (2431): #02 7406b1c0 76d21a58 /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so 11-04 12:57:59.336 I/DEBUG (2431): 7406b1c4 76c262af /data/app-lib/cn.ac.ie.GeoVis-1/libosgNativeLib.so (OpenThreads::PThreadMutexPrivateData::~PThreadMutexPrivateData()+18) Any help regarding this and possible info of what's causing this would be highly appreciated Thanks in advance, Alex
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

