Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2015 00:18:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        apache@FreeBSD.org
Subject:   [Bug 204793] www/mod_python35: Fatal Python error: PyEval_SaveThread: NULL tstate
Message-ID:  <bug-204793-16115@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204793

            Bug ID: 204793
           Summary: www/mod_python35: Fatal Python error:
                    PyEval_SaveThread: NULL tstate
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: apache@FreeBSD.org
          Reporter: samorders@gmail.com
             Flags: maintainer-feedback?(apache@FreeBSD.org)
          Assignee: apache@FreeBSD.org

Not sure what's needed here but I've included everything I can think of. Let me
know if I've missed anything or more info is needed.

Problem: Apache runs for about a day but then crashes with this error in the
error log (even with little to no use). I have 2 httpd core dumps if that would
help.
> [Wed Nov 25 00:00:01.048663 2015] [:notice] [pid 7108] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads.
> [Wed Nov 25 00:00:01.048682 2015] [:notice] [pid 7108] mod_python: using mutex_directory /tmp
Fatal Python error: PyEval_SaveThread: NULL tstate
> [Wed Nov 25 00:00:01.048950 2015] [core:notice] [pid 7108] AH00060: seg fault or similar nasty error detected in the parent process

Found a similar issue on http://bugs.python.org/ but the python devs indicate
it's not a problem with python but the 3rd party program. Not sure if it
applies to this but thought I'd mention: http://bugs.python.org/issue16749

uname -a:
> FreeBSD example.com 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 #2: Tue Nov 24 22:05:12 UTC 2015     user@example.com:/usr/obj/usr/src/sys/CUSTOM  amd64

Important packages installed:
> ap24-mod_python35-3.5.0_1
> apache24-2.4.17
> mod_php56-5.6.14
> nagios-3.5.1_8
> php56-5.6.14
> pkg-1.6.1_2
> python-2.7_2,2
> python2-2_3
> python27-2.7.10_1

apachectl -M:
> Loaded Modules:
>  core_module (static)
>  so_module (static)
>  http_module (static)
>  mpm_prefork_module (static)
>  authn_file_module (shared)
>  authn_core_module (shared)
>  authz_host_module (shared)
>  authz_groupfile_module (shared)
>  authz_user_module (shared)
>  authz_core_module (shared)
>  access_compat_module (shared)
>  auth_basic_module (shared)
>  reqtimeout_module (shared)
>  filter_module (shared)
>  mime_module (shared)
>  log_config_module (shared)
>  env_module (shared)
>  headers_module (shared)
>  setenvif_module (shared)
>  version_module (shared)
>  unixd_module (shared)
>  status_module (shared)
>  autoindex_module (shared)
>  cgi_module (shared)
>  dir_module (shared)
>  alias_module (shared)
>  php5_module (shared)
>  python_module (shared)
>  auth_digest_module (shared)

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204793-16115>