matus-chochlik / oglplus

OGLplus is a collection of open-source, cross-platform libraries which implement an object-oriented facade over the OpenGL® (version 3 and higher) and also OpenAL® (version 1.1) and EGL (version 1.4) C-language APIs. It provides wrappers which automate resource and object management and make the use of these libraries in C++ safer and more convenient.
http://oglplus.org/
Boost Software License 1.0
491 stars 72 forks source link

017_single_pass_edges core dump #71

Open larspensjo opened 10 years ago

larspensjo commented 10 years ago
(gdb) run
Starting program: /lars/src/oglplus/_build/example/oglplus/017_single_pass_edges 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff2035700 (LWP 9374)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4a32b30 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
(gdb) bt
#0  0x00007ffff4a32b30 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#1  0x00007ffff4a15abc in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2  0x00007ffff49a6019 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3  0x00007ffff499930d in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#4  0x00007ffff4a267dd in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#5  0x00007ffff484a510 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#6  0x00007ffff484ae17 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#7  0x00007ffff4846ab7 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#8  0x00007ffff41cec3a in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#9  0x00007ffff41cf415 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#10 0x00007ffff3548c6c in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#11 0x000000000048197c in oglplus::ObjectOps<oglplus::tag::DirectState, oglplus::tag::Shader>::Compile (this=0xc46e7c)
    at /home/lars/src/oglplus/implement/oglplus/shader.ipp:37
#12 0x000000000045b3d7 in oglplus::SinglePassEdgeExample::SinglePassEdgeExample (this=0xc46dd0) at /home/lars/src/oglplus/example/oglplus/017_single_pass_edges.cpp:167
#13 0x0000000000457f58 in oglplus::makeExample () at /home/lars/src/oglplus/example/oglplus/017_single_pass_edges.cpp:283
#14 0x0000000000462915 in oglplus::run_example (screenshot_path=0x0, argc=1, argv=0x7fffffffdd58) at /home/lars/src/oglplus/example/oglplus/glfw_main.cpp:162
#15 0x0000000000462ae9 in glfw_example_main (argc=1, argv=0x7fffffffdd58) at /home/lars/src/oglplus/example/oglplus/glfw_main.cpp:193
#16 0x000000000046450e in oglplus::example_main(int (*)(int, char**), int, char**)::main_wrapper::operator()() const (this=0x7fffffffdc00)
    at /home/lars/src/oglplus/example/oglplus/example_main.hpp:303
#17 0x000000000046474f in oglplus::example_guarded_exec<oglplus::example_main(int (*)(int, char**), int, char**)::main_wrapper>(oglplus::example_main(int (*)(int, char**), int, char**)::main_wrapper, std::ostream&) (func=..., errstr=...) at /home/lars/src/oglplus/example/oglplus/example_main.hpp:238
#18 0x000000000046458e in oglplus::example_main (main_func=0x462a48 <glfw_example_main(int, char**)>, argc=1, argv=0x7fffffffdd58)
    at /home/lars/src/oglplus/example/oglplus/example_main.hpp:307
#19 0x0000000000462b2e in main (argc=1, argv=0x7fffffffdd58) at /home/lars/src/oglplus/example/oglplus/glfw_main.cpp:200
(gdb) frame 11
#11 0x000000000048197c in oglplus::ObjectOps<oglplus::tag::DirectState, oglplus::tag::Shader>::Compile (this=0xc46e7c)
    at /home/lars/src/oglplus/implement/oglplus/shader.ipp:37
37      OGLPLUS_GLFUNC(CompileShader)(_name);
**(gdb) info locals **
__PRETTY_FUNCTION__ = "oglplus::ObjectOps<oglplus::tag::DirectState, oglplus::tag::Shader>& oglplus::ObjectOps<oglplus::tag::DirectState, oglplus::tag::Shader>::Compile()"
__FUNCTION__ = "Compile"
(gdb) print *this
$1 = {<oglplus::ObjCommonOps<oglplus::tag::Shader>> = {<oglplus::ObjectName<oglplus::tag::Shader>> = {_name = 2}, <No data fields>}, <No data fields>}