Hi, this was reported by Nick Owens and I don't have an Octeon to run
tests, so everything are guesses.
He is seeing segfaults in python applications. The first segfault was in
mercurial when it tries to close a https session. The segfault doesn't
happen with a http connection.
The second segfault happens in the python tests. The backtrace shows
"sock_recv_guts" from Modules/socketmodule.c:2441. The crash is in the
timeout:
BEGIN_SELECT_LOOP(s)
Py_BEGIN_ALLOW_THREADS
timeout = internal_select_ex(s, 0, interval);
if (!timeout)
outlen = recv(s->sock_fd, cbuf, len, flags);
Py_END_ALLOW_THREADS
So, looks like the segfaults are always related to threads and sockets.
The version is 6.3. The full thread
https://marc.info/?t=152665531400001&r=1&w=2 .
The simpler test case is:
$ cd /usr/ports/lang/python/2.7
$ DEBUG=-g make test
--
Juan Francisco Cantero Hurtado http://juanfra.info