Page 13 of 14

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Fri Oct 30, 2015 18:20
by Don
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
don@don-lx:~$ cd NodeBoxEditor
don@don-lx:~/NodeBoxEditor$ cmake .
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- IRRLICHT_SOURCE_DIR =
-- IRRLICHT_INCLUDE_DIR = /usr/local/include
-- IRRLICHT_LIBRARY = /usr/local/lib/libIrrlicht.a
-- Found IRRLICHT: /usr/local/lib/libIrrlicht.a 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so 
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so 
-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - found
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.51")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/don/NodeBoxEditor
don@don-lx:~/NodeBoxEditor$ make -j4
Scanning dependencies of target nodeboxeditor
[  3%] [  7%] [ 11%] [ 14%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/EditorState.cpp.o
Building CXX object CMakeFiles/nodeboxeditor.dir/src/main.cpp.o
Building CXX object CMakeFiles/nodeboxeditor.dir/src/GUIHelpers.cpp.o
Building CXX object CMakeFiles/nodeboxeditor.dir/src/Configuration.cpp.o
[ 18%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/MenuState.cpp.o
[ 22%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/Editor.cpp.o
[ 25%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/minetest.cpp.o
[ 29%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/project.cpp.o
[ 33%] /home/don/NodeBoxEditor/src/Editor.cpp: In member function ‘bool Editor::run(irr::IrrlichtDevice*, Configuration*, bool)’:
/home/don/NodeBoxEditor/src/Editor.cpp:98:72: warning: ‘bool irr::video::IVideoDriver::beginScene(bool, bool, irr::video::SColor, const irr::video::SExposedVideoData&, irr::core::rect<int>*)’ is deprecated [-Wdeprecated-declarations]
   driver->beginScene(true, true, irr::video::SColor(255, 150, 150, 150));
                                                                        ^
In file included from /usr/local/include/IQ3Shader.h:11:0,
                 from /usr/local/include/IAnimatedMeshMD3.h:9,
                 from /usr/local/include/irrlicht.h:59,
                 from /home/don/NodeBoxEditor/src/common.hpp:3,
                 from /home/don/NodeBoxEditor/src/Editor.hpp:4,
                 from /home/don/NodeBoxEditor/src/Editor.cpp:1:
/usr/local/include/IVideoDriver.h:251:25: note: declared here
   _IRR_DEPRECATED_ bool beginScene(bool backBuffer = true, bool zBuffer = true, SColor color = SColor(255,0,0,0),
                         ^
Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/media.cpp.o
[ 37%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/node.cpp.o
[ 40%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/nodebox.cpp.o
[ 44%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/modes/NBEditor.cpp.o
[ 48%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/modes/NodeEditor.cpp.o
[ 51%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/modes/TextureEditor.cpp.o
[ 55%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/dialogs/FileDialog.cpp.o
[ 59%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/dialogs/TextureDialog.cpp.o
[ 62%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/dialogs/ImageDialog.cpp.o
[ 66%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/FileFormat.cpp.o
[ 70%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/helpers.cpp.o
[ 74%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/NBE.cpp.o
[ 77%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/Lua.cpp.o
[ 81%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/CPP.cpp.o
[ 85%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/obj.cpp.o
[ 88%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/util/string.cpp.o
[ 92%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/util/filesys.cpp.o
[ 96%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/util/SimpleFileCombiner.cpp.o
[100%] Building C object CMakeFiles/nodeboxeditor.dir/src/util/tinyfiledialogs.c.o
Linking CXX executable bin/nodeboxeditor
[100%] Built target nodeboxeditor
don@don-lx:~/NodeBoxEditor$ cd..
cd..: command not found
don@don-lx:~/NodeBoxEditor$ cd ..
don@don-lx:~$ sudo apt-get install gdb
[sudo] password for don:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gdb is already the newest version.
The following packages were automatically installed and are no longer required:
  libao-common libao4 libcec-platform1v5 libcec3 libfstrcmp0 liblockdev1
  libplatform1 libshairplay0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
don@don-lx:~$ cd NodeBoxEditor
don@don-lx:~/NodeBoxEditor$ cmake . -DDEBUG=1
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Is debug
-- IRRLICHT_SOURCE_DIR =
-- IRRLICHT_INCLUDE_DIR = /usr/local/include
-- IRRLICHT_LIBRARY = /usr/local/lib/libIrrlicht.a
-- Found IRRLICHT: /usr/local/lib/libIrrlicht.a 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so 
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so 
-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - found
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.51")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/don/NodeBoxEditor
don@don-lx:~/NodeBoxEditor$ make -j3
Scanning dependencies of target nodeboxeditor
[  3%] [  7%] [ 11%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/main.cpp.o
Building CXX object CMakeFiles/nodeboxeditor.dir/src/GUIHelpers.cpp.o
Building CXX object CMakeFiles/nodeboxeditor.dir/src/Configuration.cpp.o
[ 14%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/EditorState.cpp.o
[ 18%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/MenuState.cpp.o
[ 22%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/Editor.cpp.o
[ 25%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/minetest.cpp.o
/home/don/NodeBoxEditor/src/Editor.cpp: In member function ‘bool Editor::run(irr::IrrlichtDevice*, Configuration*, bool)’:
/home/don/NodeBoxEditor/src/Editor.cpp:98:72: warning: ‘bool irr::video::IVideoDriver::beginScene(bool, bool, irr::video::SColor, const irr::video::SExposedVideoData&, irr::core::rect<int>*)’ is deprecated [-Wdeprecated-declarations]
   driver->beginScene(true, true, irr::video::SColor(255, 150, 150, 150));
                                                                        ^
In file included from /usr/local/include/IQ3Shader.h:11:0,
                 from /usr/local/include/IAnimatedMeshMD3.h:9,
                 from /usr/local/include/irrlicht.h:59,
                 from /home/don/NodeBoxEditor/src/common.hpp:3,
                 from /home/don/NodeBoxEditor/src/Editor.hpp:4,
                 from /home/don/NodeBoxEditor/src/Editor.cpp:1:
/usr/local/include/IVideoDriver.h:251:25: note: declared here
   _IRR_DEPRECATED_ bool beginScene(bool backBuffer = true, bool zBuffer = true,
                         ^
[ 29%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/project.cpp.o
[ 33%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/media.cpp.o
[ 37%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/node.cpp.o
[ 40%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/nodebox.cpp.o
[ 44%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/modes/NBEditor.cpp.o
[ 48%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/modes/NodeEditor.cpp.o
[ 51%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/modes/TextureEditor.cpp.o
[ 55%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/dialogs/FileDialog.cpp.o
[ 59%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/dialogs/TextureDialog.cpp.o
[ 62%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/dialogs/ImageDialog.cpp.o
[ 66%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/FileFormat.cpp.o
[ 70%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/helpers.cpp.o
[ 74%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/NBE.cpp.o
[ 77%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/Lua.cpp.o
[ 81%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/CPP.cpp.o
[ 85%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/obj.cpp.o
[ 88%] [ 92%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/util/string.cpp.o
Building CXX object CMakeFiles/nodeboxeditor.dir/src/util/filesys.cpp.o
[ 96%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/util/SimpleFileCombiner.cpp.o
[100%] Building C object CMakeFiles/nodeboxeditor.dir/src/util/tinyfiledialogs.c.o
Linking CXX executable bin/nodeboxeditor
[100%] Built target nodeboxeditor
don@don-lx:~/NodeBoxEditor$ gdb --ex run --args bin/nodeboxeditor
GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from bin/nodeboxeditor...done.
Starting program: /home/don/NodeBoxEditor/bin/nodeboxeditor
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
 _   _           _        ____              _____    _ _ _             
| \ | | ___   __| | ___  | __ )  _____  __ | ____|__| (_) |_ ___  _ __
|  \| |/ _ \ / _` |/ _ \ |  _ \ / _ \ \/ / |  _| / _` | | __/ _ \| '__|
| |\  | (_) | (_| |  __/ | |_) | (_) >  <  | |__| (_| | | || (_) | |   
|_| \_|\___/ \__,_|\___| |____/ \___/_/\_\ |_____\__,_|_|\__\___/|_|   


Debug mode enabled!
Looking for the working directory...
Irrlicht Engine version 1.9.0
Linux 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64
Creating X window...
[New Thread 0x7ffff046a700 (LWP 9658)]
Visual chosen: : 769
Using renderer: OpenGL 3.0
Gallium 0.4 on AMD SUMO (DRM 2.43.0, LLVM 3.6.2): X.Org
OpenGL driver version is 1.2 or better.
GLSL version: 1.3
Media Manager created!
Media Manager:
Loaded texture: /home/don/NodeBoxEditor/media/texture_terrain.png
Loaded texture: /home/don/NodeBoxEditor/media/sky.jpg
Needed 0ms to create OctreeTriangleSelector.(1 nodes, 12 polys)
PNG warning: iCCP: Not recognizing known sRGB profile that has been edited
Loaded texture: /home/don/NodeBoxEditor/media/flip_x.png
Loaded texture: /home/don/NodeBoxEditor/media/flip_y.png
Loaded texture: /home/don/NodeBoxEditor/media/flip_z.png
Loaded texture: /home/don/NodeBoxEditor/media/rotate_x.png
Loaded texture: /home/don/NodeBoxEditor/media/rotate_y.png
Loaded texture: /home/don/NodeBoxEditor/media/rotate_z.png
Loaded texture: /home/don/NodeBoxEditor/media/gui_scale.png
Loaded texture: /home/don/NodeBoxEditor/media/coordinates.png
Loaded texture: /home/don/NodeBoxEditor/media/icon_mode_nodebox.png

Program received signal SIGSEGV, Segmentation fault.
0x00000000005948f8 in irr::IReferenceCounted::grab (this=0x7ffff7b96928)
    at ../../include/IReferenceCounted.h:96
96         void grab() const { ++ReferenceCounter; }
(gdb)

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Fri Oct 30, 2015 18:23
by rubenwardy
You never typed bt full,

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
0x00000000005948f8 in irr::IReferenceCounted::grab (this=0x7ffff7b96928)
    at ../../include/IReferenceCounted.h:96
96         void grab() const { ++ReferenceCounter; }
(gdb) bt full


do it like that ^

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Fri Oct 30, 2015 18:29
by Don
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
(gdb) bt full
#0  0x00000000005948f8 in irr::IReferenceCounted::grab (this=0x7ffff7b7dc88)
    at ../../include/IReferenceCounted.h:96
No locals.
#1  0x000000000068387c in irr::video::COGLCoreCacheHandler<irr::video::COpenGLDriver, irr::video::COpenGLTexture>::STextureCache::set (this=0xe88190, index=0,
    texture=0x1040c20) at COGLCoreCacheHandler.h:76
        prevTexture = 0x10391c0
        status = false
        type = irr::video::EDT_OPENGL
#2  0x000000000068ca0e in irr::video::COpenGLTexture::uploadTexture (
    this=0x10391c0, newTexture=true, mipmapData=0x0, level=0)
    at COpenGLTexture.cpp:578
        image = 0xfbff00
        cacheHandler = 0xe88180
        prevTexture = 0x1040c20
        oldInternalFormat = 6408
        filtering = 9729
        compressedDataSize = 0
        source = 0x10379e0
#3  0x000000000068ad57 in irr::video::COpenGLTexture::COpenGLTexture (
    this=0x10391c0, origImage=0xe5a020, name=..., mipmapData=0x0,
    driver=0xe868f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at COpenGLTexture.cpp:76
---Type <return> to continue, or q <return> to quit---Quit
(gdb)

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Fri Oct 30, 2015 18:32
by rubenwardy
Please may you also keep pressing enter so I can see all of the trace :/

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Fri Oct 30, 2015 18:34
by Don
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
don@don-lx:~/NodeBoxEditor$  gdb --ex run --args bin/nodeboxeditor
GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from bin/nodeboxeditor...done.
Starting program: /home/don/NodeBoxEditor/bin/nodeboxeditor
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
 _   _           _        ____              _____    _ _ _             
| \ | | ___   __| | ___  | __ )  _____  __ | ____|__| (_) |_ ___  _ __
|  \| |/ _ \ / _` |/ _ \ |  _ \ / _ \ \/ / |  _| / _` | | __/ _ \| '__|
| |\  | (_) | (_| |  __/ | |_) | (_) >  <  | |__| (_| | | || (_) | |   
|_| \_|\___/ \__,_|\___| |____/ \___/_/\_\ |_____\__,_|_|\__\___/|_|   


Debug mode enabled!
Looking for the working directory...
Irrlicht Engine version 1.9.0
Linux 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64
Creating X window...
[New Thread 0x7ffff046a700 (LWP 10157)]
Visual chosen: : 769
Using renderer: OpenGL 3.0
Gallium 0.4 on AMD SUMO (DRM 2.43.0, LLVM 3.6.2): X.Org
OpenGL driver version is 1.2 or better.
GLSL version: 1.3
Media Manager created!
Media Manager:
Loaded texture: /home/don/NodeBoxEditor/media/texture_terrain.png
Loaded texture: /home/don/NodeBoxEditor/media/sky.jpg
Needed 0ms to create OctreeTriangleSelector.(1 nodes, 12 polys)
PNG warning: iCCP: Not recognizing known sRGB profile that has been edited
Loaded texture: /home/don/NodeBoxEditor/media/flip_x.png
Loaded texture: /home/don/NodeBoxEditor/media/flip_y.png
Loaded texture: /home/don/NodeBoxEditor/media/flip_z.png
Loaded texture: /home/don/NodeBoxEditor/media/rotate_x.png
Loaded texture: /home/don/NodeBoxEditor/media/rotate_y.png
Loaded texture: /home/don/NodeBoxEditor/media/rotate_z.png
Loaded texture: /home/don/NodeBoxEditor/media/gui_scale.png
Loaded texture: /home/don/NodeBoxEditor/media/coordinates.png
Loaded texture: /home/don/NodeBoxEditor/media/icon_mode_nodebox.png

Program received signal SIGSEGV, Segmentation fault.
0x00000000005948f8 in irr::IReferenceCounted::grab (this=0x7ffff7b7dc88)
    at ../../include/IReferenceCounted.h:96
96         void grab() const { ++ReferenceCounter; }
(gdb) bt full
#0  0x00000000005948f8 in irr::IReferenceCounted::grab (this=0x7ffff7b7dc88)
    at ../../include/IReferenceCounted.h:96
No locals.
#1  0x000000000068387c in irr::video::COGLCoreCacheHandler<irr::video::COpenGLDriver, irr::video::COpenGLTexture>::STextureCache::set (this=0xe88190, index=0,
    texture=0x1040c20) at COGLCoreCacheHandler.h:76
        prevTexture = 0x10391c0
        status = false
        type = irr::video::EDT_OPENGL
#2  0x000000000068ca0e in irr::video::COpenGLTexture::uploadTexture (
    this=0x10391c0, newTexture=true, mipmapData=0x0, level=0)
    at COpenGLTexture.cpp:578
        image = 0xfbff00
        cacheHandler = 0xe88180
        prevTexture = 0x1040c20
        oldInternalFormat = 6408
        filtering = 9729
        compressedDataSize = 0
        source = 0x10379e0
#3  0x000000000068ad57 in irr::video::COpenGLTexture::COpenGLTexture (
    this=0x10391c0, origImage=0xe5a020, name=..., mipmapData=0x0,
    driver=0xe868f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at COpenGLTexture.cpp:76
---Type <return> to continue, or q <return> to quit---Quit
(gdb)
#0  0x00000000005948f8 in irr::IReferenceCounted::grab (this=0x7ffff7b7dc88)
    at ../../include/IReferenceCounted.h:96
No locals.
#1  0x000000000068387c in irr::video::COGLCoreCacheHandler<irr::video::COpenGLDriver, irr::video::COpenGLTexture>::STextureCache::set (this=0xe88190, index=0,
    texture=0x1040c20) at COGLCoreCacheHandler.h:76
        prevTexture = 0x10391c0
        status = false
        type = irr::video::EDT_OPENGL
#2  0x000000000068ca0e in irr::video::COpenGLTexture::uploadTexture (
    this=0x10391c0, newTexture=true, mipmapData=0x0, level=0)
    at COpenGLTexture.cpp:578
        image = 0xfbff00
        cacheHandler = 0xe88180
        prevTexture = 0x1040c20
        oldInternalFormat = 6408
        filtering = 9729
        compressedDataSize = 0
        source = 0x10379e0
#3  0x000000000068ad57 in irr::video::COpenGLTexture::COpenGLTexture (
    this=0x10391c0, origImage=0xe5a020, name=..., mipmapData=0x0,
    driver=0xe868f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at COpenGLTexture.cpp:76
---Type <return> to continue, or q <return> to quit---
No locals.
#4  0x0000000000679186 in irr::video::COpenGLDriver::createDeviceDependentTexture (this=0xe868f0, surface=0xe5a020, name=..., mipmapData=0x0)
    at COpenGLDriver.cpp:2526
No locals.
#5  0x00000000006650d8 in irr::video::CNullDriver::addTexture (this=0xe868f0,
    name=..., image=0xe5a020, mipmapData=0x0) at CNullDriver.cpp:579
        t = 0x665070 <irr::video::CNullDriver::addTexture(irr::core::string<char, irr::core::irrAllocator<char> > const&, irr::video::IImage*, void*)>
#6  0x00000000005919fa in darken(irr::video::IVideoDriver*, irr::video::IImage*, float, char const*) ()
No symbol table info available.
#7  0x00000000005925dd in NodeBox::buildMesh(EditorState*, irr::core::vector3d<int>, irr::IrrlichtDevice*, Media::Image**, bool) ()
No symbol table info available.
#8  0x000000000058ef2f in Node::remesh(NodeBox*) ()
No symbol table info available.
#9  0x000000000059b074 in CDR::update(NBEditor*, bool, irr::core::rect<int>) ()
No symbol table info available.
#10 0x000000000059a77b in NBEditor::viewportTick(EViewport, irr::video::IVideoDriver*, irr::core::rect<int>) ()
No symbol table info available.
#11 0x0000000000583505 in Editor::viewportTick(EViewport, irr::core::rect<int>, ---Type <return> to continue, or q <return> to quit---
bool, bool) ()
No symbol table info available.
#12 0x000000000058074b in Editor::run(irr::IrrlichtDevice*, Configuration*, bool) ()
No symbol table info available.
#13 0x00000000005783bd in main ()
No symbol table info available.

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Fri Oct 30, 2015 18:51
by rubenwardy
Thank you for your help.

Very weird. Happens when darkening the nodebox for shading.
I use Irrlicht 1.8.1, not 1.9.0. I think the problem may be there - install_irrlicht.sh is probably a bad idea, as it's giving you the latest dev.

You can try reverting to 1.8.x by doing this:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo apt-get install libirrlicht-dev


and then recompiling.

If that doesn't work, you should be able to set lighting = 0 in editor.conf and get it to work (as a temporary workaround, so you can actually use the tool). I'll see if this is a problem with dev Irrlicht, or my code.

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Fri Oct 30, 2015 19:00
by Don
I did it and run the commands again. It still crashes.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Program received signal SIGABRT, Aborted.
0x00007ffff67ad267 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:55
55   ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt full
#0  0x00007ffff67ad267 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:55
        resultvar = 0
        pid = 11653
        selftid = 11653
#1  0x00007ffff67aeeca in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0},
          sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = 0,
          sa_restorer = 0x0}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007ffff67f0c53 in __libc_message (do_abort=do_abort@entry=1,
    fmt=fmt@entry=0x7ffff69091a8 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/posix/libc_fatal.c:175
        ap = {{gp_offset = 40, fp_offset = 0,
            overflow_arg_area = 0x7fffffffd000,
            reg_save_area = 0x7fffffffcf90}}
        fd = 6
        on_2 = <optimized out>
        list = <optimized out>
        nlist = <optimized out>
        cp = <optimized out>
        written = <optimized out>
---Type <return> to continue, or q <return> to quit---
#3  0x00007ffff67f67c7 in malloc_printerr (action=<optimized out>,
    str=0x7ffff69091f0 "corrupted double-linked list (not small)",
    ptr=<optimized out>) at malloc.c:4965
        buf = "0000000001067890"
        cp = <optimized out>
#4  0x00007ffff67fae25 in _int_malloc (
    av=av@entry=0x7ffff6b3cc00 <main_arena>, bytes=bytes@entry=1056)
    at malloc.c:3694
        p = <optimized out>
        iters = <optimized out>
        nb = <optimized out>
        idx = <optimized out>
        bin = <optimized out>
        victim = 0x1067890
        size = 1344
        victim_index = <optimized out>
        remainder = <optimized out>
        remainder_size = 272
        block = <optimized out>
        bit = <optimized out>
        map = <optimized out>
        fwd = 0x7ffff6b3d098 <main_arena+1176>
        bck = <optimized out>
---Type <return> to continue, or q <return> to quit---
        errstr = 0x0
        __func__ = "_int_malloc"
#5  0x00007ffff67fd0b5 in __libc_calloc (n=<optimized out>,
    elem_size=<optimized out>) at malloc.c:3213
        av = 0x7ffff6b3cc00 <main_arena>
        oldtop = 0x106af20
        p = <optimized out>
        bytes = 1056
        sz = 1056
        csz = <optimized out>
        oldtopsize = 61664
        mem = <optimized out>
        clearsize = <optimized out>
        nclears = <optimized out>
        d = <optimized out>
        hook = <optimized out>
        __func__ = "__libc_calloc"
#6  0x00007ffff3826c72 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
No symbol table info available.
#7  0x00007ffff37c6d37 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
No symbol table info available.
#8  0x00000000006838a5 in irr::video::COGLCoreCacheHandler<irr::video::COpenGLDriver, irr::video::COpenGLTexture>::STextureCache::set (this=0xe88120, index=0,
---Type <return> to continue, or q <return> to quit---
    texture=0x1041f90) at COGLCoreCacheHandler.h:83
        prevTexture = 0x1038910
        status = false
        type = irr::video::EDT_OPENGL
#9  0x000000000068ca0e in irr::video::COpenGLTexture::uploadTexture (
    this=0x1038910, newTexture=true, mipmapData=0x0, level=0)
    at COpenGLTexture.cpp:578
        image = 0x102d6a0
        cacheHandler = 0xe88110
        prevTexture = 0x1041f90
        oldInternalFormat = 6408
        filtering = 9729
        compressedDataSize = 0
        source = 0x1038b80
#10 0x000000000068ad57 in irr::video::COpenGLTexture::COpenGLTexture (
    this=0x1038910, origImage=0x10342e0, name=..., mipmapData=0x0,
    driver=0xe86890, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at COpenGLTexture.cpp:76
No locals.
#11 0x0000000000679186 in irr::video::COpenGLDriver::createDeviceDependentTexture (this=0xe86890, surface=0x10342e0, name=..., mipmapData=0x0)
    at COpenGLDriver.cpp:2526
No locals.
---Type <return> to continue, or q <return> to quit---
#12 0x00000000006650d8 in irr::video::CNullDriver::addTexture (this=0xe86890,
    name=..., image=0x10342e0, mipmapData=0x0) at CNullDriver.cpp:579
        t = 0x665070 <irr::video::CNullDriver::addTexture(irr::core::string<char, irr::core::irrAllocator<char> > const&, irr::video::IImage*, void*)>
#13 0x00000000005919fa in darken(irr::video::IVideoDriver*, irr::video::IImage*, float, char const*) ()
No symbol table info available.
#14 0x00000000005925dd in NodeBox::buildMesh(EditorState*, irr::core::vector3d<int>, irr::IrrlichtDevice*, Media::Image**, bool) ()
No symbol table info available.
#15 0x000000000058ef2f in Node::remesh(NodeBox*) ()
No symbol table info available.
#16 0x000000000059b074 in CDR::update(NBEditor*, bool, irr::core::rect<int>) ()
    at ../../include/SMaterial.h:265
No symbol table info available.
#17 0x000000000059a77b in NBEditor::viewportTick(EViewport, irr::video::IVideoDriver*, irr::core::rect<int>) () at ../../include/SMaterial.h:265
No symbol table info available.
#18 0x0000000000583505 in Editor::viewportTick(EViewport, irr::core::rect<int>, bool, bool) ()
No symbol table info available.
#19 0x000000000058074b in Editor::run(irr::IrrlichtDevice*, Configuration*, bool) ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#20 0x00000000005783bd in main ()
No symbol table info available.

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Fri Oct 30, 2015 19:12
by Don
Sorry for taking so long. My daughter is sick today. She needed me.

I set lighting to 0 but it did not help.

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Fri Oct 30, 2015 19:26
by rubenwardy
Don wrote:Sorry for taking so long. My daughter is sick today. She needed me.

I set lighting to 0 but it did not help.


Does it actually say Irrlicht 1.8.something in the console when running it?
eg: Irrlicht Engine version 1.8.1

Also, don't run install_irrlicht.sh again. If you've run it after running apt-get install libirrlicht-dev, you'll
have to run sudo apt-get install --reinstall libirrlicht-dev

Setting lighting to 0 should disable darken(), so the error will be coming from another place - could you share the traceback again?

Re: NodeBoxEditor [0.8.1] - Mesh export, file dialogs & wind

PostPosted: Fri Oct 30, 2015 20:40
by Glorfindel
minetestcr wrote:
Glorfindel wrote:The ubuntu/debian download is not up anymore, does anyone have it?
(I'm horrible at building things)


I just copied the NodeBoxEditor folder to the desktop (or any place you want), then, to run it, I go to bin folder and double-click nodeboxeditor and it runs.... no need to build or install.

I'm using ubuntu 15.04 64 bits.

Thanks, I'll try that

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Sat Nov 21, 2015 21:13
by Don
I am loving the new feature. Thank you so much for your work.
Zoom is making things so much easier. Might be because my eyes are getting too old.

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Sat Nov 28, 2015 13:32
by Martin_Devil
0.9 rotate perspectives became very slow.
The rate was excellent at version 0.8.1!
I use Windows 10.

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Thu May 19, 2016 20:42
by webdesigner97
Are you still planning to work on this?

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Thu May 19, 2016 21:50
by rubenwardy
Not particularly. I'll fix bugs ofc. Given MT's mesh support, there is not much need for making a more complicated editor

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Thu May 19, 2016 22:40
by Don
rubenwardy wrote:Not particularly. I'll fix bugs ofc. Given MT's mesh support, there is not much need for making a more complicated editor

I am somewhat sorry to hear this. I understand though. Besides I am quite pleased with how well it works. I have made many nodeboxes with your program.
Thank you for your work!

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Thu May 19, 2016 23:43
by ExeterDad
rubenwardy wrote:Not particularly. I'll fix bugs ofc. Given MT's mesh support, there is not much need for making a more complicated editor

Not everyone can make meshes. In fact, rarely do new meshes appear. However with your tool, it's a snap for all skill levels. And I see far more new designs popping up, ones that either were made by your tool, or easily could be. I'm hoping you'll continue developing it my friend.

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Thu May 19, 2016 23:56
by Don
ExeterDad wrote:
rubenwardy wrote:Not particularly. I'll fix bugs ofc. Given MT's mesh support, there is not much need for making a more complicated editor

Not everyone can make meshes. In fact, rarely do new meshes appear. However with your tool, it's a snap for all skill levels. And I see far more new designs popping up, ones that either were made by your tool, or easily could be. I'm hoping you'll continue developing it my friend.

Not enough new meshes because people like you get busy with real life Exeterdad. You should spend more time with us. :P

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Fri May 20, 2016 00:03
by rubenwardy
Maybe I'll work on it at some point.
I'm quite busy with exams atm, and any free time I have I tend to spend on non-minetest projects (games + android apps).
I'd like to eventually make it so you can group nodes be making them a child of another node.

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Fri May 20, 2016 23:27
by philipbenr
Good luck with your exams. I feel for you, because I just took 2 AP tests, am gearing up for Finals, and just took a Calculus test today.

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Sat May 21, 2016 15:39
by TumeniNodes
philipbenr wrote:Good luck with your exams. I feel for you, because I just took 2 AP tests, am gearing up for Finals, and just took a Calculus test today.


Calculus..., was an historical, political figure of Rome.
Algebra..., is a small country which borders Albania.
Geoma tree, a species of the Maple tree, with characteristics of the Oak family.
(These answers reflect my scores maths...) :P

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Sun May 22, 2016 12:40
by webdesigner97
Good luck with your exams! Btw, I don't think that the support for meshes makes this program useless, there aren't many people who can create meshes. I tried Blender many times, but it's just too complicated for me ^^ I guess it's the same for many others...

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Sun May 22, 2016 13:10
by azekill_DIABLO
webdesigner97 wrote:Good luck with your exams! Btw, I don't think that the support for meshes makes this program useless, there aren't many people who can create meshes. I tried Blender many times, but it's just too complicated for me ^^ I guess it's the same for many others...


yes!ithought i was the only man which wasn't able to animate a blend ;)

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Sun May 22, 2016 16:11
by TumeniNodes
Rubenwardy, would it be possible to break the nodes down to even smaller sections in the future, to enable even more detailed objects? That would be great, and make your N.B.E., even more awesomer!!!! : )

webdesigner97 wrote:Good luck with your exams! Btw, I don't think that the support for meshes makes this program useless, there aren't many people who can create meshes. I tried Blender many times, but it's just too complicated for me ^^ I guess it's the same for many others...


I always thought it would be really awesome if the Blender devs were able to work with the Inkscape devs and try to integrate some of the image manipulation features and tools from Inkscape, into Blender, (or maybe even try to use the last build of XaraLX, such as the shape, and path editing tools. Blender has become more confusing and difficult to figure out for average users with each new version. Some tools which were easily found are moved to a harder to find way of accessing them, etc..
I have been using Blender here and there for a few years (no where near on an experienced level), and with each new release, I am more confused and frustrated than the previous build.
Wouldn't it be so nice, to have, say, a cube, click on it with a shape editor tool and be able to use the same node handles as in Inkscape to bend and shape the cube? Also to have a much simpler means to cut shapes out of the material, etc..
I love Blender, I just wish the ease of use for end-users got more focus. But, even Inkscape has become so bloated over the last 7 years that it can be problematic to run on older hardware with low resources. The more involved the piece one is working on, the slower it runs/renders.
It comes from laziness over time, rather than actually fix an issue, a patch is created and worked in, and then is considered fixed, and then no code cleanup follows..., which is the same path MS has taken with their Windows OS since day one.

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Sun May 22, 2016 16:28
by rubenwardy
TumeniNodes wrote:Rubenwardy, would it be possible to break the nodes down to even smaller sections in the future, to enable even more detailed objects? That would be great, and make your N.B.E., even more awesomer!!!! : )



I'd like to make it into a tree structure with children, rather like how blender's scene works.

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Sun May 22, 2016 18:01
by TumeniNodes
That would be pretty cool. But would that not make it a bit more confusing for the average user?
I only say this because, as the tool is currently, is extremely novice-user friendly (which makes it extremely appealing and nice to use). Taking a single node, and splitting it up into 4x4 would add a lot as far as the amount of detail available for an object. I think adding the tree structure may increase confusion and difficulty on the user end?
Just a thought / personal opinion.
KISS is often the best path to follow :)
Maybe there could be 2 versions? (I don;t ask for much huh? haha) But, I have often used this tool to create an object, sometimes using a texture I created with transparency which is too fine using the current size of individual nodes, and have thought "man, if a single node were just split 4x4, I could get that small rounded curve to look much better." Such as the case with this image:
Image
with smaller nodes I could have created this object with much better detail.
Either way, I love this tool, and I am grateful for it, each time I used it... Thank you

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Tue Jun 28, 2016 00:44
by GamingAssociation39
It ain't working for me :(

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Tue Jun 28, 2016 15:00
by rubenwardy
GamingAssociation39 wrote:It ain't working for me :(


You're going to have to give a bit more detail than that, for example what actually isn't working.

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Sun Jul 03, 2016 17:08
by GamingAssociation39
It won't work on windows 10 says there is something missing from it

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Sun Jul 03, 2016 17:11
by rubenwardy
If you answer includes "something" then you are not being precise enough. What exactly is missing from it?

Re: NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

PostPosted: Fri Jul 29, 2016 20:56
by KCoombes
Is there any way to remove a previous texture from a project? I'm trying to import a changed .png file, but NBE keeps using the previous .png file instead of overwriting it (even after I remove the imported files from the media folder).