Bug 55448

Summary: segfault in set_max_workers at event.c:3194 on SIGUSR1
Product: Apache httpd-2 Reporter: fhimpe
Component: mpm_eventAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.4.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description fhimpe 2013-08-19 08:33:06 UTC
When logrotate did its work this week-end, it ran /etc/init.d/apache2 reload. 

In the log files:

[Sun Aug 18 06:25:51.267032 2013] [mpm_event:notice] [pid 7618:tid 140663945377600] AH00493: SIGUSR1 received.  Doing graceful restart
[Sun Aug 18 06:25:51.501217 2013] [ssl:warn] [pid 7618:tid 140663945377600] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sun Aug 18 06:25:51.501469 2013] [mpm_event:notice] [pid 7618:tid 140663945377600] AH00489: Apache/2.4.6 (Debian) SVN/1.7.9 OpenSSL/1.0.1e mod_wsgi/3.4 Python/2.7.3 configured -- resuming normal operations
[Sun Aug 18 06:25:51.501500 2013] [core:notice] [pid 7618:tid 140663945377600] AH00094: Command line: '/usr/sbin/apache

at this time, a core file was generated with this backtrace: 

(gdb) core core-apache2.9927
[New LWP 9927]
warning: Can't read pathname for load map: Input/output error.
warning: "/usr/lib/debug/.build-id/d1/7ee702718ddcd69e0be5db24b49a2bd4ab720e.debug": separate debug info file has no debug info
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: "/usr/lib/debug/.build-id/2d/7fb1beefaa5a7ca4e13df623b1c8ea41ac16ff.debug": separate debug info file has no debug info
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff9312000
Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007feed931b970 in set_max_workers (cmd=0x3, dummy=<optimized out>, arg=0x7feee06b1358 "") at event.c:3194
3194	event.c: No such file or directory.
(gdb) thread apply all bt

Thread 1 (Thread 0x7feee07f3740 (LWP 9927)):
#0  0x00007feed931b970 in set_max_workers (cmd=0x3, dummy=<optimized out>, arg=0x7feee06b1358 "") at event.c:3194
#1  0x0000000000000000 in ?? ()

I'm running Apache httpd 2.4.6 on Debian GNU/Linux Wheezy AMD64.