Carsten Neumann
Wed, 05 Sep 2007 08:58:25 -0700
Hi Gerrit,
in case you are already aware of this problem just forget this mail,
otherwise here is the error (also attached for better readability):
[EMAIL PROTECTED] (1030) ~/devel/opensg2/svn/trunk/build.linux.g++/type-
debug--arch-x64/unittest $ ./runOSGGroup
WARNING: FCType CubeTextureChunk has 66 (>64) fields!
WARNING: illegal copyValues called for attachments
runOSGGroup: build.linux.g+
+/instlinks/include/OpenSG/OSGAttachmentMapSFields.inl:157: virtual void
OSG::EditSFieldHandle<OSG::SFFieldContainerAttachmentPtrMap>::copyValues
(OSG::GetFieldHandlePtr): Assertion `false' failed.
Aborted
[EMAIL PROTECTED] (1031) ~/devel/opensg2/svn/trunk/build.linux.g++/type-
debug--arch-x64/unittest $ gdb ./runOSGGroup
GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host
libthread_db library "/lib64/tls/libthread_db.so.1".
(gdb) r
Starting program: /home/carsten/devel/opensg2/svn/trunk/build.linux.g+
+/type-debug--arch-x64/unittest/runOSGGroup
[Thread debugging using libthread_db enabled]
[New Thread 182946071872 (LWP 14082)]
WARNING: FCType CubeTextureChunk has 66 (>64) fields!
WARNING: illegal copyValues called for attachments
runOSGGroup: build.linux.g+
+/instlinks/include/OpenSG/OSGAttachmentMapSFields.inl:157: virtual void
OSG::EditSFieldHandle<OSG::SFFieldContainerAttachmentPtrMap>::copyValues
(OSG::GetFieldHandlePtr): Assertion `false' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 182946071872 (LWP 14082)]
0x00000036ade2e21d in raise () from /lib64/tls/libc.so.6
(gdb) bt
#0 0x00000036ade2e21d in raise () from /lib64/tls/libc.so.6
#1 0x00000036ade2fa1e in abort () from /lib64/tls/libc.so.6
#2 0x00000036ade27ae1 in __assert_fail () from /lib64/tls/libc.so.6
#3 0x0000000000428097 in
OSG::EditSFieldHandle<OSG::SField<std::map<unsigned int,
OSG::FieldContainerAttachment*, std::less<unsigned int>,
std::allocator<std::pair<unsigned int const,
OSG::FieldContainerAttachment*> > >, 0> >::copyValues (this=Could not
find the frame base for
"OSG::EditSFieldHandle<OSG::SField<std::map<unsigned int,
OSG::FieldContainerAttachment*, std::less<unsigned int>,
std::allocator<std::pair<unsigned int const,
OSG::FieldContainerAttachment*> > >, 0> >::copyValues
(boost::shared_ptr<OSG::GetFieldHandle>)".
) at build.linux.g+
+/instlinks/include/OpenSG/OSGAttachmentMapSFields.inl:157
#4 0x0000002a95fb2af8 in OSG::deepClone (src=0x683cf0,
[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED])
at Source/System/FieldContainer/Base/OSGFieldContainer.cpp:382
#5 0x0000002a95fa35af in OSG::cloneTree (rootNode=0x683b80,
[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED])
at Source/System/FieldContainer/Node/OSGNode.cpp:1130
#6 0x0000002a95fa365a in OSG::cloneTree (rootNode=0x6838a0,
[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED])
at Source/System/FieldContainer/Node/OSGNode.cpp:1148
#7 0x0000002a95fa3303 in OSG::cloneTree (rootNode=0x6838a0,
[EMAIL PROTECTED], [EMAIL PROTECTED]) at
Source/System/FieldContainer/Node/OSGNode.cpp:1069
#8 0x000000000041c003 in
NodeTests::CloneFixtureCloneTreeHelper::RunTest (this=0x6837e0,
[EMAIL PROTECTED]) at
Source/System/NodeCores/Groups/Misc/OSGNodeTest.cpp:188
#9 0x000000000041b916 in NodeTests::TestCloneFixtureCloneTree::RunImpl
(this=0x542ec0, [EMAIL PROTECTED]) at
Source/System/NodeCores/Groups/Misc/OSGNodeTest.cpp:176
#10 0x000000000042d22a in UnitTest::Test::Run ()
#11 0x000000000042ca38 in UnitTest::RunAllTests ()
#12 0x000000000042cc0d in UnitTest::RunAllTests ()
#13 0x000000000042c730 in main (argc=1, argv=0x7fbffff5e8) at
Tools/UnitTestRunner.cpp:12
The problem seems to be a recent change to the return value of
isPointerField for FieldContainerAttachmentPtrMap fields, but a missing
implementation of
EditSFieldHandle<SFFieldContainerAttachmentPtrMap>::copyValues.
This is on x86_64 linux debug, option.cache attached as well.
Please let me know if you need more infos,
thanks,
Carsten
[EMAIL PROTECTED] (1030)
~/devel/opensg2/svn/trunk/build.linux.g++/type-debug--arch-x64/unittest $
./runOSGGroup
WARNING: FCType CubeTextureChunk has 66 (>64) fields!
WARNING: illegal copyValues called for attachments
runOSGGroup:
build.linux.g++/instlinks/include/OpenSG/OSGAttachmentMapSFields.inl:157:
virtual void
OSG::EditSFieldHandle<OSG::SFFieldContainerAttachmentPtrMap>::copyValues(OSG::GetFieldHandlePtr):
Assertion `false' failed.
Aborted
[EMAIL PROTECTED] (1031)
~/devel/opensg2/svn/trunk/build.linux.g++/type-debug--arch-x64/unittest $ gdb
./runOSGGroup
GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db
library "/lib64/tls/libthread_db.so.1".
(gdb) r
Starting program:
/home/carsten/devel/opensg2/svn/trunk/build.linux.g++/type-debug--arch-x64/unittest/runOSGGroup
[Thread debugging using libthread_db enabled]
[New Thread 182946071872 (LWP 14082)]
WARNING: FCType CubeTextureChunk has 66 (>64) fields!
WARNING: illegal copyValues called for attachments
runOSGGroup:
build.linux.g++/instlinks/include/OpenSG/OSGAttachmentMapSFields.inl:157:
virtual void
OSG::EditSFieldHandle<OSG::SFFieldContainerAttachmentPtrMap>::copyValues(OSG::GetFieldHandlePtr):
Assertion `false' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 182946071872 (LWP 14082)]
0x00000036ade2e21d in raise () from /lib64/tls/libc.so.6
(gdb) bt
#0 0x00000036ade2e21d in raise () from /lib64/tls/libc.so.6
#1 0x00000036ade2fa1e in abort () from /lib64/tls/libc.so.6
#2 0x00000036ade27ae1 in __assert_fail () from /lib64/tls/libc.so.6
#3 0x0000000000428097 in OSG::EditSFieldHandle<OSG::SField<std::map<unsigned
int, OSG::FieldContainerAttachment*, std::less<unsigned int>,
std::allocator<std::pair<unsigned int const, OSG::FieldContainerAttachment*> >
>, 0> >::copyValues (this=Could not find the frame base for
"OSG::EditSFieldHandle<OSG::SField<std::map<unsigned int,
OSG::FieldContainerAttachment*, std::less<unsigned int>,
std::allocator<std::pair<unsigned int const, OSG::FieldContainerAttachment*> >
>, 0> >::copyValues(boost::shared_ptr<OSG::GetFieldHandle>)".
) at build.linux.g++/instlinks/include/OpenSG/OSGAttachmentMapSFields.inl:157
#4 0x0000002a95fb2af8 in OSG::deepClone (src=0x683cf0, [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED])
at Source/System/FieldContainer/Base/OSGFieldContainer.cpp:382
#5 0x0000002a95fa35af in OSG::cloneTree (rootNode=0x683b80, [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED])
at Source/System/FieldContainer/Node/OSGNode.cpp:1130
#6 0x0000002a95fa365a in OSG::cloneTree (rootNode=0x6838a0, [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED])
at Source/System/FieldContainer/Node/OSGNode.cpp:1148
#7 0x0000002a95fa3303 in OSG::cloneTree (rootNode=0x6838a0, [EMAIL PROTECTED],
[EMAIL PROTECTED]) at Source/System/FieldContainer/Node/OSGNode.cpp:1069
#8 0x000000000041c003 in NodeTests::CloneFixtureCloneTreeHelper::RunTest
(this=0x6837e0, [EMAIL PROTECTED]) at
Source/System/NodeCores/Groups/Misc/OSGNodeTest.cpp:188
#9 0x000000000041b916 in NodeTests::TestCloneFixtureCloneTree::RunImpl
(this=0x542ec0, [EMAIL PROTECTED]) at
Source/System/NodeCores/Groups/Misc/OSGNodeTest.cpp:176
#10 0x000000000042d22a in UnitTest::Test::Run ()
#11 0x000000000042ca38 in UnitTest::RunAllTests ()
#12 0x000000000042cc0d in UnitTest::RunAllTests ()
#13 0x000000000042c730 in main (argc=1, argv=0x7fbffff5e8) at
Tools/UnitTestRunner.cpp:12build_suffix = '' enable_fcd2code = False enable_gv_beta = False enable_revision_tags = False prefix = 'use-instlinks' enable_fbd2code = False enable_unittests = True enable_distcc = False BoostBaseDir = '/usr' BoostIncludeDir = '/usr/include' freetype_incdir = '/usr/include/freetype2' enable_gif = True enable_scanparse_regen = False docs_mode = 'NONE' disable_glut_glsubdir = False enable_osg1_compat = False fcptr_mode = 'MT_CPTR' enable_testcontainer = False enable_valgrind_checks = False enable_memory_debugging = False enable_elf_localstorage = True disable_deprecated = False enable_new_osb_io = True enable_deprecated_props = False default_debug_level = 'standard' default_opt_level = 'standard' default_warning_level = 'standard' var_arch = ['x64'] var_type = ['debug']
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Opensg-core mailing list Opensg-core@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-core