ports/171132: [patch?] astro/stellarium segfault on missing pthread
Oliver Heesakkers
dev2 at heesakkers.info
Tue Aug 28 00:40:02 UTC 2012
>Number: 171132
>Category: ports
>Synopsis: [patch?] astro/stellarium segfault on missing pthread
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 28 00:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Oliver Heesakkers
>Release: FreeBSD 9.0-RELEASE-p3
>Organization:
>Environment:
>Description:
For a while now Stellarium would segfault immediately after running, gdb shows something like:
0x4826a2c2 in pthread_mutexattr_setkind_np () from /lib/libthr.so.3
>How-To-Repeat:
Install then (try to) run stellarium
>Fix:
On the web it was suggested to add -pthread to the compile flags, so I added -pthread to CMAKE_C_FLAGS and CMAKE_CXX_FLAGS on lines 89 and 90 of CMakeLists.txt, which solved the problem for me.
I don't know whether there is a more correct way of handling this and CMakeList.txt is already touched from the Makefile, so I chose to not include a literal patch in this report.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list