dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #34678
[Bug 1064918] Re: view canvas example crashes
** Changed in: nux (Ubuntu)
Status: New => Fix Released
** Changed in: nux (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to nux in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1064918
Title:
view canvas example crashes
Status in Nux:
Fix Released
Status in Nux Playground:
Fix Committed
Status in nux package in Ubuntu:
Fix Released
Bug description:
Nuxplayground view-canvas example crashes with the following error
(Tested with lp:nux and lp:~unity-team/nux/nux.improve-redirect-
rendering):
(gdb) run
Starting program: /home/eleni/staging/source/playgroundbranches/nuxplayground/src/view-canvas/view-canvas
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
nux::logging::Writer::Writer()
Nux: Gpu Vendor: NVIDIA Corporation
Nux: Gpu Renderer: GeForce GT 520/PCIe/SSE2/3DNOW!
Nux: Gpu OpenGL Version: 4.2.0 NVIDIA 304.43
Nux: Gpu OpenGL Major Version: 4
Nux: Gpu OpenGL Minor Version: 2
Nux: The GraphicsEngine is using the GLSL shader code path.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb)
Catch throw:
(gdb) catch throw
Function "__cxa_throw" not defined.
Catchpoint 1 (throw)
(gdb) run
Starting program: /home/eleni/staging/playgroundtobe/nuxplayground/src/view-canvas/view-canvas
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
nux::logging::Writer::Writer()
Catchpoint 1 (exception thrown), 0xb7160f40 in __cxa_throw ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
(gdb) frame 1
#1 0xb71bad54 in std::__throw_logic_error(char const*) ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
(gdb) frame 2
#2 0xb71c85ca in char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
(gdb) frame 3
#3 0xb71c8d16 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
(gdb) frame 4
#4 0xb7906b17 in nux::IOpenGLShaderProgram::LoadVertexShader (this=0x82e8e00,
glslshader=0x8079654 ' ' <repeats 12 times>, "\n uniform mat4 ViewProjectionMatrix; \n attribute vec4 AVertex;", ' ' <repeats 17 times>, "\n attribute vec4 VertexColor;", ' ' <repeats 13 times>, "\n void main()", ' ' <repeats 21 times>..., VtxShaderPreprocessorDefines=0x0)
at ./IOpenGLGLSLShader.cpp:518
518 std::string Defines(VtxShaderPreprocessorDefines);
(gdb) frame 5
#5 0xb78d89be in nux::GLSh_ColorPicker::GLSh_ColorPicker (this=0x82e8cf8,
color_channel=137268560) at ./GLSh_ColorPicker.cpp:303
303 sprog->LoadVertexShader(VtxShader.GetTCharPtr(), NULL);
(gdb) frame 6
#6 0xb7a0e9e6 in nux::ColorEditor::ColorEditor (this=0x82a3f80,
__Nux_FileName__=0xb71f35bc "HX\005\bFη\034·p,\037·HX\005\bVη\034·Ό5\037·HX\005\bgη\034·Ό5\037·HX\005\b|η\034·Ό5\037·HX\005\b\215η\034·Ό5\037·HX\005\b\236η\034·p,\037·HX\005\b°η\034·ψ5\037·HX\005\bΐη\034·ψ5\037·HX\005\bΣη\034·ψ5\037·", __Nux_LineNumber__=-1222691396) at ./ColorEditor.cpp:329
329 m_RedShader = new GLSh_ColorPicker(color::RED);
(gdb) frame 7
#7 0x0804e015 in UIInitialization (thread=0x8085af8, InitData=0x0)
at view-canvas.cpp:129
warning: Source file is more recent than executable.
129 nux::ColorEditor* color_editor = new nux::ColorEditor(NUX_TRACKER_LOCATION);
To manage notifications about this bug go to:
https://bugs.launchpad.net/nux/+bug/1064918/+subscriptions