On Thu, May 4, 2023 at 2:27 AM Steven Ellis <[email protected]> wrote:
>
> Moving this conversation over from the dev-list
>
> I've been using Trac for many many years and as part of upgrading to Ubuntu 
> 22.04 I migrated my Trac 1.4 environment to the latest 1.5.4 Dev release.
>
> I'm seeing a number of segfaults when I'm modifying existing tickets
>
> [Tue May 02 15:23:46.436233 2023] [core:notice] [pid 591] AH00052: child pid 
> 602 exit signal Segmentation fault (11)
>
> Trac was install under Python 3.10 using pip as per the install notes and the 
> existing Trac environments we're upgraded. Everything is front-ended via 
> Apache and I use sqlite backed with no additional plugins.
>
> Overall Ubuntu install is fairly generic, and  my base configuring for apache 
> is
>
>         SetHandler mod_python
>         Require all granted
>         PythonHandler trac.web.modpython_frontend
>         PythonOption TracEnvParentDir /var/trac
>         PythonOption TracUriRoot /
>         PythonOption PYTHON_EGG_CACHE /var/trac/.cache
>         PythonOption TracLocale en_US.UTF8
>
> I do have one other odd error apache due to a python packaging issue on 22.04
>
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: 
> PkgResourcesDeprecationWarning: 1.1build1 is an invalid version and will not 
> be supported in a future release
>   warnings.warn(
>
> I'd appreciate any additional pointers to help debug this as I'm not seeing a 
> lot in my apache logs other than Segfaults.
>
> Steven

I recommend to use mod_wsgi instead of mod_python. Also, mod_python
with Python 3.9+ appears to be buggy, according to
https://github.com/grisha/mod_python/issues or Ubuntu bug tracker.

Please report it to https://github.com/grisha/mod_python/issues with
backtrace of the core dump.

-- 
Jun Omae <[email protected]> (大前 潤)

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CAEVLMajbDN%3D3w4iTCTTVRYAGhUOo1oEzu9v9ej0EEOupin%2B9tg%40mail.gmail.com.

Reply via email to