Hi!
Does openFramworks work with Wayland?
I’m using Archlinux.
Everything still compiles fine, but I get a segmentation fault now whenever I try and run an app. Wether they are mine or in the examples folder.
Or maybe I’m missing something?
Here’s the output from valgrind:
==22147== Memcheck, a memory error detector
==22147== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==22147== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==22147== Command: ./bin/3DPrimitivesExample
==22147==
==22147== Invalid read of size 1
==22147== at 0x5DC112: updateKeyCodeLUT (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x5DCFE5: initExtensions (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x5DD722: _glfwPlatformInit (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x5D7264: glfwInit (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x51FAC2: ofAppGLFWWindow::setup(ofGLFWWindowSettings const&) (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x520BED: ofAppGLFWWindow::setup(ofGLWindowSettings const&) (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x5273BD: ofMainLoop::createWindow(ofWindowSettings const&) (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x514E8E: ofSetupOpenGL(int, int, ofWindowMode) (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x41ACA6: main (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== Address 0xc is not stack'd, malloc'd or (recently) free'd
==22147==
==22147==
==22147== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==22147== Access not within mapped region at address 0xC
==22147== at 0x5DC112: updateKeyCodeLUT (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x5DCFE5: initExtensions (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x5DD722: _glfwPlatformInit (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x5D7264: glfwInit (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x51FAC2: ofAppGLFWWindow::setup(ofGLFWWindowSettings const&) (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x520BED: ofAppGLFWWindow::setup(ofGLWindowSettings const&) (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x5273BD: ofMainLoop::createWindow(ofWindowSettings const&) (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x514E8E: ofSetupOpenGL(int, int, ofWindowMode) (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== by 0x41ACA6: main (in /home/dimitri/Documents/development/of_v0.9.3_linux64_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample)
==22147== If you believe this happened as a result of a stack
==22147== overflow in your program's main thread (unlikely but
==22147== possible), you can try to increase the size of the
==22147== main thread stack using the --main-stacksize= flag.
==22147== The main thread stack size used in this run was 8388608.
==22147==
==22147== HEAP SUMMARY:
==22147== in use at exit: 376,577 bytes in 1,915 blocks
==22147== total heap usage: 4,779 allocs, 2,864 frees, 577,823 bytes allocated
==22147==
==22147== LEAK SUMMARY:
==22147== definitely lost: 0 bytes in 0 blocks
==22147== indirectly lost: 0 bytes in 0 blocks
==22147== possibly lost: 1,352 bytes in 18 blocks
==22147== still reachable: 375,225 bytes in 1,897 blocks
==22147== of which reachable via heuristic:
==22147== newarray : 1,536 bytes in 16 blocks
==22147== suppressed: 0 bytes in 0 blocks
==22147== Rerun with --leak-check=full to see details of leaked memory
==22147==
==22147== For counts of detected and suppressed errors, rerun with: -v
==22147== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Segmentation fault (core dumped)
Thanks!