Bug 1501159 - Segmentation fault in spawn_proc_prog calling apr_palloc
Summary: Segmentation fault in spawn_proc_prog calling apr_palloc
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mod_perl
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Andrew Bauer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-12 07:30 UTC by Matti Linnanvuori
Modified: 2023-07-18 07:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matti Linnanvuori 2017-10-12 07:30:56 UTC
Description of problem:
Segmentation fault in spawn_proc_prog calling apr_palloc

Version-Release number of selected component (if applicable):
mod_perl-2.0.10-2.el7.x86_64

How reproducible:
Occasionally

Steps to Reproduce:
1. Run Apache HTTP Server requests with mod_perl spawn_proc_prog calling spawn_proc_prog

Actual results:
Segmentation fault

Expected results:
No errors

Additional info:

apr-1.4.8-3.el7.x86_64
httpd-2.4.6-67.el7.x86_64
perl-libs-5.16.3-292.el7.x86_64

gdb /usr/sbin/httpd /var/apache-dump/core.23917
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-100.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/httpd...Reading symbols from /usr/sbin/httpd...(no debugging symbols found)...done.
(no debugging symbols found)...done.

warning: core file may not match specified executable file.
[New LWP 23917]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/httpd -DFOREGROUND'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fe130dcbd92 in apr_palloc () from /lib64/libapr-1.so.0
Missing separate debuginfos, use: debuginfo-install httpd-2.4.6-67.el7_4.2.x86_64
(gdb) bt full
#0  0x00007fe130dcbd92 in apr_palloc () from /lib64/libapr-1.so.0
No symbol table info available.
#1  0x00007fe118bee03d in MPXS_modperl_spawn_proc_prog ()
   from /usr/lib64/perl5/vendor_perl/auto/Apache2/SubProcess/SubProcess.so
No symbol table info available.
#2  0x00007fe122c2340f in Perl_pp_entersub ()
   from /usr/lib64/perl5/CORE/libperl.so
No symbol table info available.
#3  0x00007fe122c1bb86 in Perl_runops_standard ()
   from /usr/lib64/perl5/CORE/libperl.so
No symbol table info available.
#4  0x00007fe122bb3168 in Perl_call_sv () from /usr/lib64/perl5/CORE/libperl.so
No symbol table info available.
#5  0x00007fe122f0cbf9 in modperl_callback ()
   from /etc/httpd/modules/mod_perl.so
No symbol table info available.
#6  0x00007fe122f0d408 in modperl_callback_run_handlers ()
   from /etc/httpd/modules/mod_perl.so
No symbol table info available.
#7  0x00007fe122f0d90f in modperl_callback_per_dir ()
   from /etc/httpd/modules/mod_perl.so
No symbol table info available.
#8  0x00007fe122f082fb in modperl_response_handler_run ()
   from /etc/httpd/modules/mod_perl.so
No symbol table info available.
#9  0x00007fe122f08536 in modperl_response_handler_cgi ()
   from /etc/httpd/modules/mod_perl.so
No symbol table info available.
#10 0x0000560dafb01a10 in ap_run_handler ()
No symbol table info available.
#11 0x0000560dafb01f59 in ap_invoke_handler ()
No symbol table info available.
#12 0x0000560dafb16ada in ap_process_async_request ()
No symbol table info available.
#13 0x0000560dafb16db4 in ap_process_request ()
No symbol table info available.
#14 0x0000560dafb12fb2 in ap_process_http_connection ()
No symbol table info available.
#15 0x0000560dafb0b010 in ap_run_process_connection ()
No symbol table info available.
#16 0x00007fe127d1180f in child_main ()
   from /etc/httpd/modules/mod_mpm_prefork.so
No symbol table info available.
#17 0x00007fe127d11a55 in make_child ()
   from /etc/httpd/modules/mod_mpm_prefork.so
No symbol table info available.
#18 0x00007fe127d126ee in prefork_run ()
   from /etc/httpd/modules/mod_mpm_prefork.so
No symbol table info available.
#19 0x0000560dafae615e in ap_run_mpm ()
No symbol table info available.
#20 0x0000560dafadeed6 in main ()
No symbol table info available.

Comment 1 Matti Linnanvuori 2018-02-15 10:22:28 UTC
I could reproduce this by calling spawn_proc_prog on an old object.

Comment 2 Fedora Admin user for bugzilla script actions 2022-02-05 05:02:28 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


Note You need to log in before you can comment on or make changes to this bug.