Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2015 03:52:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 204793] www/mod_python35: Fatal Python error: PyEval_SaveThread: NULL tstate
Message-ID:  <bug-204793-21822-0EyOs30f5a@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204793-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204793-21822@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #2 from SBB <samorders@gmail.com> ---
Ah, yes, I saw that issue as well but forgot to mention it. I've posted my
information there as well.

I'm not sure exactly how to get a backtrace, ie what commands to run but simply
running "gdb /usr/local/sbin/httpd /root/httpd.core" gives the following:

> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)...
> Core was generated by `httpd'.
> Program terminated with signal 6, Aborted.
> Reading symbols from /usr/local/lib/libpcre.so.1...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libpcre.so.1
> Reading symbols from /usr/local/lib/libaprutil-1.so.0...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libaprutil-1.so.0
> Reading symbols from /usr/local/lib/libexpat.so.1...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libexpat.so.1
> Reading symbols from /usr/local/lib/libapr-1.so.0...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libapr-1.so.0
> Reading symbols from /lib/libcrypt.so.5...(no debugging symbols found)...done.
> Loaded symbols for /lib/libcrypt.so.5
> Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
> Loaded symbols for /lib/libthr.so.3
> Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
> Loaded symbols for /lib/libc.so.7
> Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
> Loaded symbols for /lib/libm.so.5
> Reading symbols from /usr/local/lib/libpython2.7.so.1...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libpython2.7.so.1
> Reading symbols from /usr/local/lib/libintl.so.8...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libintl.so.8
> Reading symbols from /lib/libutil.so.9...(no debugging symbols found)...done.
> Loaded symbols for /lib/libutil.so.9
> Reading symbols from /usr/local/lib/python2.7/lib-dynload/_locale.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_locale.so
> Reading symbols from /usr/local/libexec/apache24/mod_authn_file.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_authn_file.so
> Reading symbols from /usr/local/libexec/apache24/mod_authn_core.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_authn_core.so
> Reading symbols from /usr/local/libexec/apache24/mod_authz_host.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_authz_host.so
> Reading symbols from /usr/local/libexec/apache24/mod_authz_groupfile.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_authz_groupfile.so
> Reading symbols from /usr/local/libexec/apache24/mod_authz_user.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_authz_user.so
> Reading symbols from /usr/local/libexec/apache24/mod_authz_core.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_authz_core.so
> Reading symbols from /usr/local/libexec/apache24/mod_access_compat.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_access_compat.so
> Reading symbols from /usr/local/libexec/apache24/mod_auth_basic.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_auth_basic.so
> Reading symbols from /usr/local/libexec/apache24/mod_reqtimeout.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_reqtimeout.so
> Reading symbols from /usr/local/libexec/apache24/mod_filter.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_filter.so
> Reading symbols from /usr/local/libexec/apache24/mod_mime.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_mime.so
> Reading symbols from /usr/local/libexec/apache24/mod_log_config.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_log_config.so
> Reading symbols from /usr/local/libexec/apache24/mod_env.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_env.so
> Reading symbols from /usr/local/libexec/apache24/mod_headers.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_headers.so
> Reading symbols from /usr/local/libexec/apache24/mod_setenvif.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_setenvif.so
> Reading symbols from /usr/local/libexec/apache24/mod_version.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_version.so
> Reading symbols from /usr/local/libexec/apache24/mod_unixd.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_unixd.so
> Reading symbols from /usr/local/libexec/apache24/mod_status.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_status.so
> Reading symbols from /usr/local/libexec/apache24/mod_autoindex.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_autoindex.so
> Reading symbols from /usr/local/libexec/apache24/mod_cgi.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_cgi.so
> Reading symbols from /usr/local/libexec/apache24/mod_dir.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_dir.so
> Reading symbols from /usr/local/libexec/apache24/mod_alias.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_alias.so
> Reading symbols from /usr/local/libexec/apache24/libphp5.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/libphp5.so
> Reading symbols from /usr/local/lib/libxml2.so.2...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libxml2.so.2
> Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/libz.so.6
> Reading symbols from /usr/lib/liblzma.so.5...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/liblzma.so.5
> Reading symbols from /usr/local/libexec/apache24/mod_python.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_python.so
> Reading symbols from /usr/local/libexec/apache24/mod_auth_digest.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache24/mod_auth_digest.so
> Reading symbols from /usr/local/lib/php/20131226/xml.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20131226/xml.so
> Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  0x000000080169d64a in thr_kill () from /lib/libc.so.7
> [New Thread 802006400 (LWP 100948/<unknown>)]

I'm not sure I can rebuild the apache and/or mod_python with debugging on this
particular machine but I'll look into it. Otherwise let me know if there's
anything else that would help.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



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