pycam crashes at startup: denkmatte.~: pycam Enabled 12 parallel local processes Font directory: /usr/share/pycam/fonts Segmentation fault in gdb: denkmatte.~: gdb /usr/bin/python-exec2c GNU gdb (Gentoo 7.12.1 vanilla) 7.12.1 Copyright (C) 2017 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: <https://bugs.gentoo.org/>. 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 /usr/bin/python-exec2c...(no debugging symbols found)...done. (gdb) run /usr/bin/pycam Starting program: /usr/bin/python-exec2c /usr/bin/pycam process 812 is executing new program: /usr/bin/python2.7 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Enabled 12 parallel local processes [New Thread 0x7fffe4ae3700 (LWP 820)] [New Thread 0x7fffdffff700 (LWP 821)] [New Thread 0x7fffdf7fe700 (LWP 822)] [New Thread 0x7fffdeffd700 (LWP 823)] [Thread 0x7fffdf7fe700 (LWP 822) exited] Font directory: /usr/share/pycam/fonts Thread 1 "pycam" received signal SIGSEGV, Segmentation fault. 0x00007fffed6fbad0 in fghDrawGeometryWire () from /usr/lib64/libglut.so.3 (gdb) quit A debugging session is active. Inferior 1 [process 812] will be killed. Quit anyway? (y or n) y Reproducible: Always Steps to Reproduce: 1.start pycam 2. 3. Actual Results: crash about a second after startup, window is shortly visible Expected Results: usable program
Thank you for the report. Please *attach* the logfiles, https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket and reopen this ticket (Status:unconfirmed).
Pycam does not make any logs at startup. It's a runtime Error, not during build. Thats why I posted gdb output. I don't know much about gdb. So I don't even know wether this is a bug in pycam, freeglut or in python 2.7.14-r1 If the bug is in pycam, which is entirely written in python, I should get an error message by the python interpreter instead of a segfault, I guess. The packages dev-python/pyopengl-3.1.0 and dev-python/pyopengl-accelerate-3.1.0 can contain the bug as they are involved, compiled code and link to the actual opengl libraries.
To me it sounds like a bug in the software provided upstream or a misconfiguration in your system [3]. Does the same source work for you on another distribution? If it works on other distributions, but not on Gentoo Linux, I suggest to discuss this problem on a related mailing list, forum or IRC channel. I have had very good experience on the Gentoo IRC [1], of course there are also forums and mailing lists. [2] I will close this bug here, because I do not see a relation to the gentoo ebuild or the way Gentoo handles this special software package. Please provide more information, if I am wrong. [1] https://www.gentoo.org/get-involved/irc-channels/ [2] https://www.gentoo.org/support/ [3] look up the upstream forums; search in their bug tracker