Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642324 - pycam (media-gfx/pycam-0.6.2)get's SIGSEGV from libglut.so.3 (media-libs/freeglut-3.0.0)
Summary: pycam (media-gfx/pycam-0.6.2)get's SIGSEGV from libglut.so.3 (media-libs/free...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-26 15:33 UTC by alex Mezey
Modified: 2018-01-06 18:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alex Mezey 2017-12-26 15:33:16 UTC
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
Comment 1 Jonas Stein gentoo-dev 2018-01-03 21:30:25 UTC
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).
Comment 2 alex Mezey 2018-01-04 03:30:27 UTC
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.
Comment 3 Jonas Stein gentoo-dev 2018-01-06 18:44:45 UTC
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