Hi Gerrit,
Gerrit Voss wrote:
> Hi,
>
> On Mon, 2009-02-09 at 13:51 +0000, Christoph Schmidt-Hieber wrote:
>> Hi,
>> when trying to run the CSM samples in opensg2, I get the following error
>> message:
>>
>> $ ./build/bin/testCSM Examples/CSM/Simple-EventMouse
>> (...snip...)
>> WARNING: Window::getFunctionByName: Couldn't get function
>> 'glXCreateContextAttribsARB' for Window 0x86496c0.
>> testCSM: vbo/vbo_save_api.c:216: map_vertex_store: Assertion
>> `vertex_store->buffer' failed.
>>
>> Any ideas what might be going wrong? I have attached the output of
>> glxinfo below. Thanks for your help.
>
> quick question, could you send me a stack trace. It's hard to tell
> where is goes wrong. The assert looks like later. The warning should be
> ok and the code should fall back to something useful if it does not
> find this function.
>
Thanks for your fast reply. Here's the call stack:
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb5d7a720 (LWP 17372)]
0xb7f4e430 in __kernel_vsyscall ()
(gdb) where
#0 0xb7f4e430 in __kernel_vsyscall ()
#1 0xb5e9d6a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb5e9f068 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb5e965be in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4 0xb5c1924a in map_vertex_store (ctx=<value optimized out>,
vertex_store=0x9817908) at vbo/vbo_save_api.c:216
#5 0xb5c1da18 in vbo_save_NewList (ctx=0x97984f0, list=1, mode=4864) at
vbo/vbo_save_api.c:1038
#6 0xb5bb0831 in _mesa_NewList (list=1, mode=4864) at main/dlist.c:6766
#7 0xb705a7e6 in OSG::Geometry::handleClassicGL () from
/home/cs/opensg/build/bin/libOSGDrawable.so.2.0.0
#8 0xb705b802 in
boost::detail::function::function_obj_invoker4<boost::_bi::bind_t<unsigned
int, boost::_mfi::mf4<unsigned int, OSG::Geometry, OSG::DrawEnv*,
unsigned int, OSG::Window::GLObjectStatusE, unsigned int>,
boost::_bi::list5<boost::_bi::value<OSG::MTPtr<OSG::Geometry> >,
boost::arg<1> (*)(), boost::arg<2> (*)(), boost::arg<3> (*)(),
boost::arg<4> (*)()> >, unsigned int, OSG::DrawEnv*, unsigned int,
OSG::Window::GLObjectStatusE, unsigned int>::invoke ()
from /home/cs/opensg/build/bin/libOSGDrawable.so.2.0.0
#9 0xb68b6228 in boost::function4<unsigned int, OSG::DrawEnv*, unsigned
int, OSG::Window::GLObjectStatusE, unsigned int, std::allocator<void>
>::operator()
() from /home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#10 0xb68b00f4 in OSG::Window::validateGLObject () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#11 0xb7058031 in OSG::Geometry::drawPrimitives () from
/home/cs/opensg/build/bin/libOSGDrawable.so.2.0.0
#12 0xb68090ed in
boost::detail::function::function_obj_invoker1<boost::_bi::bind_t<OSG::ActionBase::ResultE,
boost::_mfi::mf1<OSG::ActionBase::ResultE, OSG::MaterialDrawable,
OSG::DrawEnv*>,
boost::_bi::list2<boost::_bi::value<OSG::MaterialDrawable*>,
boost::arg<1> (*)()> >, OSG::ActionBase::ResultE, OSG::DrawEnv*>::invoke
() from /home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#13 0xb6830953 in boost::function1<OSG::ActionBase::ResultE,
OSG::DrawEnv*, std::allocator<void> >::operator() ()
from /home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#14 0xb68306b4 in OSG::TreeBuilderBase::drawNode () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#15 0xb6830687 in OSG::TreeBuilderBase::drawNode () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#16 0xb6830687 in OSG::TreeBuilderBase::drawNode () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#17 0xb6830687 in OSG::TreeBuilderBase::drawNode () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#18 0xb6830687 in OSG::TreeBuilderBase::drawNode () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#19 0xb6830799 in OSG::TreeBuilderBase::draw () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#20 0xb6740edd in OSG::RenderPartition::doExecution () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#21 0xb67353c2 in OSG::RenderAction::drawBuffer () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#22 0xb6736d02 in OSG::RenderAction::stop () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#23 0xb672faff in OSG::Action::callStop () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#24 0xb672fbe6 in OSG::Action::apply () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#25 0xb672eb0b in OSG::Action::apply () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#26 0xb6897073 in OSG::Viewport::render () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#27 0xb68b1cf3 in OSG::Window::renderAllViewports () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#28 0xb68ad7c9 in OSG::Window::render () from
/home/cs/opensg/build/bin/libOSGSystem.so.2.0.0
#29 0xb7bfaed7 in OSG::CSMWindow::render () from
/home/cs/opensg/build/bin/libOSGContribCSM.so.2.0.0
#30 0xb7c0e3cc in OSG::CSMDrawer::frame () from
/home/cs/opensg/build/bin/libOSGContribCSM.so.2.0.0
#31 0xb7c33ecc in OSG::CSMDrawManager::frame () from
/home/cs/opensg/build/bin/libOSGContribCSM.so.2.0.0
#32 0xb7be6f35 in OSG::ComplexSceneManager::frame () from
/home/cs/opensg/build/bin/libOSGContribCSM.so.2.0.0
#33 0xb7ccf0fe in OSG::CSMNativeWindow::xMainLoop () from
/home/cs/opensg/build/bin/libOSGContribCSM.so.2.0.0
#34 0xb7cc6bab in boost::detail::function::void_function_invoker0<void
(*)(), void>::invoke () from
/home/cs/opensg/build/bin/libOSGContribCSM.so.2.0.0
#35 0xb7be7964 in OSG::ComplexSceneManager::run () from
/home/cs/opensg/build/bin/libOSGContribCSM.so.2.0.0
#36 0xb7be9dda in OSG::ComplexSceneManager::startFrom () from
/home/cs/opensg/build/bin/libOSGContribCSM.so.2.0.0
#37 0x0804cdd8 in init ()
#38 0x0804cf72 in main ()
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users