Skip to content

Instantly share code, notes, and snippets.

Created June 22, 2013 06:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4eb5e809cd36b465aa64 to your computer and use it in GitHub Desktop.
Save anonymous/4eb5e809cd36b465aa64 to your computer and use it in GitHub Desktop.
Can't get the tulip "graph_display.cpp" example to flipping work!
(gdb) run
Starting program: /home/XXX/workspace/MODIB/build-debug/MODIB /home/XXX/Desktop/sample_tlp.tlp
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeacd7700 (LWP 8791)]
loadPlugins info: /home/XXX/.local/share/MODIB/plugins//lib/tulip/ - No such file or directory
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3cf1152 in FTSize::CharSize (this=0xd5d7c8, face=0x0, pointSize=20, xRes=72,
yRes=72) at /home/XXX/tulip-build/tulip-src/thirdparty/ftgl/FTSize.cpp:49
49 err = FT_Set_Char_Size(*face, 0L, pointSize * 64, xResolution, yResolution);
(gdb) where
#0 0x00007ffff3cf1152 in FTSize::CharSize (this=0xd5d7c8, face=0x0, pointSize=20,
xRes=72, yRes=72) at /home/XXX/tulip-build/tulip-src/thirdparty/ftgl/FTSize.cpp:49
#1 0x00007ffff3ceff98 in FTFace::Size (this=0xd5d7b8, size=20, res=72)
at /home/XXX/tulip-build/tulip-src/thirdparty/ftgl/FTFace.cpp:131
#2 0x00007ffff3cf8ca4 in FTFontImpl::FaceSize (this=0xd5d7b0, size=20, res=72)
at /home/XXX/tulip-build/tulip-src/thirdparty/ftgl/FTFont/FTFont.cpp:291
#3 0x00007ffff3cf824f in FTFont::FaceSize (this=0xd5d790, size=20, res=72)
at /home/XXX/tulip-build/tulip-src/thirdparty/ftgl/FTFont/FTFont.cpp:89
#4 0x00007ffff71e791d in tlp::GlLabel::init (this=0x1bc07f0)
at /home/XXX/tulip-build/tulip-src/library/tulip-ogl/src/GlLabel.cpp:64
#5 0x00007ffff71e72e0 in tlp::GlLabel::GlLabel (this=0x1bc07f0)
at /home/XXX/tulip-build/tulip-src/library/tulip-ogl/src/GlLabel.cpp:48
#6 0x00007ffff71fa4a8 in tlp::GlNode::GlNode (this=0x7fffffffdbe0, id=0)
at /home/XXX/tulip-build/tulip-src/library/tulip-ogl/src/GlNode.cpp:53
#7 0x00007ffff71b9d11 in tlp::GlGraphRenderer::visitNodes (this=0x1bbd3a0, graph=
0x7ea310, visitor=0x7fffffffdc80, visitHiddenEntities=false)
at /home/XXX/tulip-build/tulip-src/library/tulip-ogl/src/GlGraphRenderer.cpp:75
#8 0x00007ffff71b9c00 in tlp::GlGraphRenderer::visitGraph (this=0x1bbd3a0,
visitor=0x7fffffffdc80, visitHiddenEntities=false)
at /home/XXX/tulip-build/tulip-src/library/tulip-ogl/src/GlGraphRenderer.cpp:56
#9 0x00007ffff71b80df in tlp::GlGraphComposite::acceptVisitor (this=0x17137e0,
visitor=0x1712490)
at /home/XXX/tulip-build/tulip-src/library/tulip-ogl/src/GlGraphComposite.cpp:93
#10 0x00007ffff717ee37 in tlp::GlComposite::acceptVisitor (this=0x1713588,
---Type <return> to continue, or q <return> to quit---
visitor=0x1712490)
at /home/XXX/tulip-build/tulip-src/library/tulip-ogl/src/../include/tulip/GlComposite.h:155
#11 0x00007ffff71f04b3 in tlp::GlLayer::acceptVisitor (this=0x1713580, visitor=0x1712490)
at /home/XXX/tulip-build/tulip-src/library/tulip-ogl/src/GlLayer.cpp:96
#12 0x00007ffff721996b in tlp::GlScene::computeAjustSceneToSize (this=0x7ea5e0,
width=640, height=480, center=0x7fffffffdf80, eye=0x7fffffffdf90,
sceneRadius=0x7fffffffdf58, xWhiteFactor=0x0, yWhiteFactor=0x0,
sceneBoundingBox=0x7fffffffdfb0, zoomFactor=0x7fffffffdf5c)
at /home/XXX/tulip-build/tulip-src/library/tulip-ogl/src/GlScene.cpp:461
#13 0x00007ffff721a29a in tlp::GlScene::ajustSceneToSize (this=0x7ea5e0, width=640,
height=480) at /home/XXX/tulip-build/tulip-src/library/tulip-ogl/src/GlScene.cpp:574
#14 0x00007ffff7219803 in tlp::GlScene::centerScene (this=0x7ea5e0)
at /home/XXX/tulip-build/tulip-src/library/tulip-ogl/src/GlScene.cpp:442
#15 0x00007ffff6a1a16d in tlp::GlMainWidget::centerScene (this=0x7ea5b0,
graphChanged=false)
at /home/XXX/tulip-build/tulip-src/library/tulip-gui/src/GlMainWidget.cpp:548
#16 0x0000000000403549 in main (argc=2, argv=0x7fffffffe1a8)
at /home/XXX/workspace/MODIB/src/main.cpp:44
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment