Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

Fresh install : Segfault with examples

$
0
0

@flyingrub wrote:

0 fly@Minotoor ~/workspace/openFrameworks/examples/graphics/polygonExample $ uname -a
Linux Minotoor 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64 GNU/Linux

0 fly@Minotoor ~/workspace/openFrameworks/examples/graphics/polygonExample $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release
Thread model: posix
gcc version 6.2.1 20160830 (GCC)

0 fly@Minotoor ~/workspace/openFrameworks/examples/graphics/polygonExample $ make
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl rtaudio gl glu glew gtk+-3.0 libmpg123
Compiling OF library for Release
make[1]: Entering directory '/home/fly/workspace/openFrameworks/libs/openFrameworksCompiled/project'
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl rtaudio gl glu glew gtk+-3.0 libmpg123
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl rtaudio gl glu glew gtk+-3.0 libmpg123
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl rtaudio gl glu glew gtk+-3.0 libmpg123
Done!
make[1]: Leaving directory '/home/fly/workspace/openFrameworks/libs/openFrameworksCompiled/project'


Compiling polygonExample for Release
make[1]: Entering directory '/home/fly/workspace/openFrameworks/examples/graphics/polygonExample'
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl rtaudio gl glu glew gtk+-3.0 libmpg123
make[2]: Entering directory '/home/fly/workspace/openFrameworks/examples/graphics/polygonExample'
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl rtaudio gl glu glew gtk+-3.0 libmpg123

     compiling done
     to launch the application

     cd bin
     ./polygonExample

     - or -

     make RunRelease


make[2]: Leaving directory '/home/fly/workspace/openFrameworks/examples/graphics/polygonExample'
make[1]: Leaving directory '/home/fly/workspace/openFrameworks/examples/graphics/polygonExample'

0 fly@Minotoor ~/workspace/openFrameworks/examples/graphics/polygonExample $ gdb ./bin/polygonExample
GNU gdb (GDB) 7.12
Copyright (C) 2016 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-pc-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/polygonExample...done.
(gdb) run
Starting program: /home/fly/workspace/openFrameworks/examples/graphics/polygonExample/bin/polygonExample
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00000000005c2d92 in updateKeyCodeLUT ()
(gdb) bt
#0  0x00000000005c2d92 in updateKeyCodeLUT ()
#1  0x00000000005c3c66 in initExtensions ()
#2  0x00000000005c43a3 in _glfwPlatformInit ()
#3  0x00000000005bdee5 in glfwInit ()
#4  0x000000000047d273 in ofAppGLFWWindow::setup(ofGLFWWindowSettings const&)
    ()
#5  0x000000000047e39e in ofAppGLFWWindow::setup(ofGLWindowSettings const&) ()
#6  0x000000000048591e in ofMainLoop::createWindow(ofWindowSettings const&) ()
#7  0x00000000004725ff in ofSetupOpenGL(int, int, ofWindowMode) ()
#8  0x0000000000418275 in main ()

Posts: 11

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles