- When did it start?

When I got my websites back up and running on 24.04. I had the new
version for about 3 weeks, but I have no clue whether it would happen
before that since the websites were not running yet and no crashes
occurred.

So I did not see an upgrade between the time I got the sites running and
started to see these crashes. However, I installed a few additional
modules (see complete list below).

- Can you test on 24.10?

Well... not directly. I only have 24.04 and for my main server, I don't
use intermediate versions (too much work). I could install a VM, but
then it would probably not be the same and it would make the setup more
complicated (i.e. have to forward the Apache requests to the VM and
back...)

- Compile without FORITFY_SOURCE?

I would imagine that this way we could at least see whether that fixes
the issue. But it would indeed not prove much. It would be cool to know
why that very function gets called or rather which URL generates the
error. I don't see how I could determine that at the moment. Also the
crash did not happen for a couple of days... but I'm not holding my
breath.

When recompiling locally, can we generate a package? If so, that would
be fine. I could change the version slightly (like add a letter at the
end) and install that package.

Would it be possible to recompile with the version in 24.10? Then we
could see whether that crashes (but still run 24.04 as the main OS,)
would that make any sense? Or just compile the latest Apache2 source on
24.04 but still apply the Ubuntu available patches?

- New occurrence

It happened again this morning (Sat Apr 19) and this time it's a
different location (crc32_z in libz.) However, same signal (SIGBUS). So
definitely some memory allocation issues / buffer overflow of some sort.
I'll be rebooting so maybe it will be better after that event, although,
I doubt that.

The instruction was a simple:

    mov 0x20(%rcx), %rbx

And %rcx is 0x7f45126cb000, which looks like the start of a 4K page...

The error.log has this line:

[Sat Apr 19 07:20:34.565773 2025] [core:notice] [pid 1046102] AH00051:
child pid 1635807 exit signal Bus error (7), possible coredump in
/etc/apache2

Around the same time, I found this line (anonymized URL):

[Sat Apr 19 07:20:30.521369 2025] [ssl:info] [pid 1635807] [client
127.0.0.1:50542] AH01964: Connection to child 14 established (server
example.com:443)

In that same file, I see these errors once in a while:

[Sat Apr 19 06:00:59.321317 2025] [ssl:info] [pid 1635807] (70014)End of
file found: [client 127.0.0.1:53594] AH01992: SSL library error 6
reading data

I'm afraid my other logs do not include the PID so I could not find
anything with actual full URLs (not just a domain).

I'm also sending the crash reports with the normal Ubuntu system. Would
you need something from me to make it easier to find those reports?

---

List of INSTALLED modules:

$ ls /etc/apache2/mods-available/
access_compat.load    authz_user.load     dir.load                  
log_debug.load       proxy_connect.load   session_crypto.load
actions.conf          autoindex.conf      dump_io.load              
log_forensic.load    proxy_express.load   session_dbd.load
actions.load          autoindex.load      echo.load                 lua.load    
         proxy_fcgi.load      session.load
alias.conf            brotli.load         env.load                  macro.load  
         proxy_fdpass.load    setenvif.conf
alias.load            buffer.load         expires.load              md.load     
         proxy_ftp.conf       setenvif.load
allowmethods.load     cache_disk.conf     ext_filter.load           mime.conf   
         proxy_ftp.load       slotmem_plain.load
asis.load             cache_disk.load     file_cache.load           mime.load   
         proxy_hcheck.load    slotmem_shm.load
auth_basic.load       cache.load          filter.load               
mime_magic.conf      proxy_html.conf      socache_dbm.load
auth_digest.load      cache_socache.load  headers.load              
mime_magic.load      proxy_html.load      socache_memcache.load
auth_form.load        cern_meta.load      heartbeat.load            
mpm_event.conf       proxy_http2.load     socache_redis.load
authn_anon.load       cgid.conf           heartmonitor.load         
mpm_event.load       proxy_http.load      socache_shmcb.load
authn_core.load       cgid.load           http2.conf                
mpm_prefork.conf     proxy.load           speling.load
authn_dbd.load        cgi.load            http2.load                
mpm_prefork.load     proxy_scgi.load      ssl.conf
authn_dbm.load        charset_lite.load   ident.load                
mpm_worker.conf      proxy_uwsgi.load     ssl.load
authn_file.load       data.load           imagemap.load             
mpm_worker.load      proxy_wstunnel.load  status.conf
authn_socache.load    dav_fs.conf         include.load              
negotiation.conf     ratelimit.load       status.load
authnz_fcgi.load      dav_fs.load         info.conf                 
negotiation.load     reflector.load       substitute.load
authnz_ldap.load      dav.load            info.load                 perl.load   
         remoteip.load        suexec.load
authz_core.load       dav_lock.load       lbmethod_bybusyness.load  php8.3.conf 
         reqtimeout.conf      unique_id.load
authz_dbd.load        dbd.load            lbmethod_byrequests.load  php8.3.load 
         reqtimeout.load      userdir.conf
authz_dbm.load        deflate.conf        lbmethod_bytraffic.load   
proxy_ajp.load       request.load         userdir.load
authz_groupfile.load  deflate.load        lbmethod_heartbeat.load   
proxy_balancer.conf  rewrite.load         usertrack.load
authz_host.load       dialup.load         ldap.conf                 
proxy_balancer.load  sed.load             vhost_alias.load
authz_owner.load      dir.conf            ldap.load                 proxy.conf  
         session_cookie.load  xml2enc.load

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2107254

Title:
  Apache2 crashes with SIGBUS in mod_ssl

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/2107254/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to