Hi Noel,

thanks for you input, but: please fix your quoting - this is a mess. And
no, changing the subject line is not enough to fix threading :-(.

> Core was generated by `./testgpu'.
> Program terminated with signal 11, Segmentation fault.
> [New process 4920]
> #0  OGLImagingContext (this=0xbfc53c70, [EMAIL PROTECTED]) at
> OGLImagingContext.cpp:84
> 84          vi = glXChooseVisual(dpy, DefaultScreen(dpy), attributes);
> (gdb) bt
> #0  OGLImagingContext (this=0xbfc53c70, [EMAIL PROTECTED]) at
> OGLImagingContext.cpp:84
> #1  0x0804c6a0 in main () at testgpu.cpp:212

Ok, I've reproduced this here: testgpu segfaulted if there was no X
windows display available. This is fixed in current svn, but you'll just
get a meaningful error message instead ;-).

What does glxinfo output on your machine?

> #0  0xb691e077 in std::uncaught_exception () from /usr/lib/libstdc++.so.6
> (gdb) bt
> #0  0xb691e077 in std::uncaught_exception () from /usr/lib/libstdc++.so.6
> #1  0xb68ef335 in std::__ostream_insert<char, std::char_traits<char> > ()
> from /usr/lib/libstdc++.so.6
> #2  0xb7b7279f in avg::Logger::trace (this=0x8216278, category=1024,
> [EMAIL PROTECTED]) at /usr/include/c++/4.2/ostream:517
> #3  0xb7b72a8b in avg::Logger::get () at Logger.cpp:65
> #4  0xb7ae04e8 in avg::Player::loadFile (this=0x81cd690,
> [EMAIL PROTECTED]) at Player.cpp:199

This looks familiar, and should be fixed with current distributions
(e.g. Ubuntu 8.4). Otherwise, there are some workarounds described here:
https://www.libavg.de/wiki/index.php/Libavg_on_Debian_etch_installation_notes#Broken_stderr_workarounds

If that doesn't help, post back and I'll see what I can do.

Cheers,

  Uli

Noel Corbett wrote:
>> # ulimit -c unlimited
> # make check
> [...]
> Core dumped
> # gdb python core
> [...]
> (gdb) bt
> [... stack trace follows ...]
> 
> This is the dump from testgpu that was failing
> 
> Core was generated by `./testgpu'.
> Program terminated with signal 11, Segmentation fault.
> [New process 4920]
> #0  OGLImagingContext (this=0xbfc53c70, [EMAIL PROTECTED]) at
> OGLImagingContext.cpp:84
> 84          vi = glXChooseVisual(dpy, DefaultScreen(dpy), attributes);
> (gdb) bt
> #0  OGLImagingContext (this=0xbfc53c70, [EMAIL PROTECTED]) at
> OGLImagingContext.cpp:84
> #1  0x0804c6a0 in main () at testgpu.cpp:212
> 
> 
> This was generated by opening up the python interpreter and typing:
> 
> from libavg import avg
> player = avg.Player()
> player.loadFile('sunriver.avg')
> 
> Core was generated by `python'.
> Program terminated with signal 11, Segmentation fault.
> [New process 4907]
> #0  0xb691e077 in std::uncaught_exception () from /usr/lib/libstdc++.so.6
> (gdb) bt
> #0  0xb691e077 in std::uncaught_exception () from /usr/lib/libstdc++.so.6
> #1  0xb68ef335 in std::__ostream_insert<char, std::char_traits<char> > ()
> from /usr/lib/libstdc++.so.6
> #2  0xb7b7279f in avg::Logger::trace (this=0x8216278, category=1024,
> [EMAIL PROTECTED]) at /usr/include/c++/4.2/ostream:517
> #3  0xb7b72a8b in avg::Logger::get () at Logger.cpp:65
> #4  0xb7ae04e8 in avg::Player::loadFile (this=0x81cd690,
> [EMAIL PROTECTED]) at Player.cpp:199
> #5  0xb7a64722 in
> boost::python::objects::caller_py_function_impl<boost::python::detail::caller<void
> (avg::Player::*)(std::string const&), boost::python::default_call_policies,
> boost::mpl::vector3<void, avg::Player&, std::string const&> > >::operator()
> (this=0x81f1d50, args=0xb7d4f86c, kw=0x0)
>     at /usr/include/boost/python/detail/invoke.hpp:94
> #6  0xb6ab59b0 in boost::python::objects::function::call () from
> /usr/lib/libboost_python-gcc42-1_34_1.so.1.34.1
> #7  0xb6ab5bd7 in ?? () from /usr/lib/libboost_python-gcc42-1_34_1.so.1.34.1
> #8  0xb795e01b in boost::function0<void,
> std::allocator<boost::function_base> >::operator() () from
> /usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
> #9  0xb6abd2b3 in boost::python::detail::exception_handler::operator() ()
> from /usr/lib/libboost_python-gcc42-1_34_1.so.1.34.1
> #10 0xb7a531e2 in
> boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool,
> boost::python::detail::translate_exception<avg::Exception, void
> (*)(avg::Exception const&)>, boost::_bi::list3<boost::arg<1> (*)(),
> boost::arg<2> (*)(), boost::_bi::value<void (*)(avg::Exception const&)> > >,
> bool, boost::python::detail::exception_handler const&,
> boost::function0<void, std::allocator<boost::function_base> >
> const&>::invoke (
>     [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at
> /usr/include/boost/python/detail/translate_exception.hpp:46
> #11 0xb6abd5d9 in boost::function2<bool,
> boost::python::detail::exception_handler const&, boost::function0<void,
> std::allocator<boost::function_base> > const&,
> std::allocator<boost::function_base> >::operator() () from
> /usr/lib/libboost_python-gcc42-1_34_1.so.1.34.1
> #12 0xb6abd116 in boost::python::handle_exception_impl () from
> /usr/lib/libboost_python-gcc42-1_34_1.so.1.34.1
> #13 0xb6ab33fe in ?? () from /usr/lib/libboost_python-gcc42-1_34_1.so.1.34.1
> #14 0x0805cb97 in PyObject_Call ()
> #15 0x080c7aa7 in PyEval_EvalFrameEx ()
> #16 0x080cb1f7 in PyEval_EvalCodeEx ()
> #17 0x080cb347 in PyEval_EvalCode ()
> #18 0x080eaef0 in PyRun_InteractiveOneFlags ()
> #19 0x080eb116 in PyRun_InteractiveLoopFlags ()
> #20 0x080eb232 in PyRun_AnyFileExFlags ()
> #21 0x08059335 in Py_Main ()
> #22 0x080587f2 in main ()
> 
> 
> 
> Also, please don't reply to digests. It messes up subject lines and threads.
> 
> Sorry, Does changing the subject line put it in the correct location?
> 
> 
> Regards
> Noel
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> libavg-users mailing list
> [email protected]
> https://mail.datenhain.de/mailman/listinfo/libavg-users


-- 
Any technology distinguishable from magic is insufficiently advanced.

Ulrich von Zadow | +49-172-7872715
Jabber: [EMAIL PROTECTED]
Skype: uzadow

_______________________________________________
libavg-users mailing list
[email protected]
https://mail.datenhain.de/mailman/listinfo/libavg-users

Reply via email to