You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/07/13 22:26:38 UTC

[Bug 59854] New: Apache is giving Segfault Error

https://bz.apache.org/bugzilla/show_bug.cgi?id=59854

            Bug ID: 59854
           Summary: Apache is giving Segfault Error
           Product: Apache httpd-2
           Version: 2.4.10
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
          Assignee: bugs@httpd.apache.org
          Reporter: sarathjohn@google.com

Hi,

We are on Apache 2.4.10 on Ubuntu Machine and with ModSecurity Enabled.
We are using apache to proxy pass our request to backend server. But 
 We are getting Segmentation Error. Could you please check what is the issue
here ?

 AH00052: child pid 26861 exit signal Segmentation fault (11)
[Wed Jul 13 18:02:57.120992 2016] [core:notice] [pid 26794:tid 139648044341120]
AH00052: child pid 26890 exit signal Segmentation fault (11)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59854] Apache is giving Segfault Error

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59854

Jacob Champion <ch...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #7 from Jacob Champion <ch...@gmail.com> ---
Thanks for the stack trace.

It looks like the crash is within a third-party module called mod_google_sso,
which we don't maintain. That doesn't necessarily mean that the crash is that
module's fault, but you'll need to consult with its authors for further
investigation and analysis. We can't really help much with third-party code.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59854] Apache is giving Segfault Error

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59854

--- Comment #6 from sarathjohn@google.com ---
apache2-dbg is already there

sudo apt-get install apache2-dbg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
apache2-dbg is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59854] Apache is giving Segfault Error

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59854

--- Comment #5 from sarathjohn@google.com ---
apache2-dbg is already there

sudo apt-get install apache2-dbg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
apache2-dbg is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59854] Apache is giving Segfault Error

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59854

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Eric Covener <co...@gmail.com> ---
https://httpd.apache.org/dev/debugging.html

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59854] Apache is giving Segfault Error

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59854

--- Comment #4 from sarathjohn@google.com ---
(gdb) backtrace
#0  0x00007fdc58fac080 in ?? () from /usr/lib/apache2/modules/mod_ssl.so
#1  0x00007fdc5b87a826 in ?? () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#2  0x00007fdc5b91bf51 in ?? () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#3  0x00007fdc5b91ff1a in ?? () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#4  0x00007fdc5b9200f5 in ASN1_item_free () from
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#5  0x00007fdc5bc0a19d in ExtractKey(request_rec const*,
com::google::security::corplogin::rp::CertChain const&, apr_pool_t*,
evp_pkey_st**) ()
   from /usr/lib/apache2/modules/mod_google_sso.so
#6  0x00007fdc5bc09f0b in LoadKeys(request_rec const*, mode_v2_keys*) () from
/usr/lib/apache2/modules/mod_google_sso.so
#7  0x00007fdc5bc09b49 in CheckKeys(request_rec const*) () from
/usr/lib/apache2/modules/mod_google_sso.so
#8  0x00007fdc5bc0b08b in VerifySigKeys(request_rec*, char const*, int, char
const*, char const*) () from /usr/lib/apache2/modules/mod_google_sso.so
#9  0x00007fdc5bc0bdca in ParseAndVerifyProtoTicket(request_rec*, char const*,
login_ticket*) () from /usr/lib/apache2/modules/mod_google_sso.so
#10 0x00007fdc5bc0bf57 in ParseTicket(request_rec*, char const*, login_ticket*)
() from /usr/lib/apache2/modules/mod_google_sso.so
#11 0x00007fdc5bc0e5d1 in GssoUser(request_rec*) () from
/usr/lib/apache2/modules/mod_google_sso.so
#12 0x00007fdc5f1d28e0 in ap_run_check_user_id (r=0x7fdc58c470a0) at
request.c:80
#13 0x00007fdc5f1d5cc7 in ap_process_request_internal
(r=r@entry=0x7fdc58c470a0) at request.c:244
#14 0x00007fdc5f1f20b8 in ap_process_async_request (r=0x7fdc58c470a0) at
http_request.c:315
#15 0x00007fdc5f1eef10 in ap_process_http_async_connection (c=0x7fdc58c4e330)
at http_core.c:143
#16 ap_process_http_connection (c=0x7fdc58c4e330) at http_core.c:228
#17 0x00007fdc5f1e5bf0 in ap_run_process_connection (c=0x7fdc58c4e330) at
connection.c:41
#18 0x00007fdc5a68ab07 in process_socket (my_thread_num=0,
my_child_num=<optimized out>, cs=0x7fdc58c4e2a8, sock=<optimized out>,
p=<optimized out>, thd=<optimized out>) at event.c:1035
#19 worker_thread (thd=<optimized out>, dummy=<optimized out>) at event.c:1875
#20 0x00007fdc5e6b4184 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#21 0x00007fdc5e3e137d in clone () from /lib/x86_64-linux-gnu/libc.so.6

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59854] Apache is giving Segfault Error

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59854

--- Comment #2 from sarathjohn@google.com ---
gdb /usr/sbin/apache2 /var/cache/apache2/core
GNU gdb (GDB) 7.9-gg19
Copyright (C) 2015 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-grtev4-linux-gnu".
Type "show configuration" for configuration details.

<http://go/gdb-home FAQ: http://go/gdb-faq Email: c-toolchain-team IRC: gdb>
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Reading symbols from /usr/sbin/apache2...Reading symbols from
/usr/lib/debug//usr/sbin/apache2...done.
Unable to determine compiler version.
Skipping loading of libstdc++ pretty-printers for now.
done.
Non-google3 binary detected.
[New LWP 2323]
[New LWP 2293]
[New LWP 2334]
[New LWP 2330]
[New LWP 2335]
[New LWP 2336]
[New LWP 2337]
[New LWP 2351]
[New LWP 2329]
[New LWP 2338]
[New LWP 2328]
[New LWP 2349]
[New LWP 2339]
[New LWP 2327]
[New LWP 2350]
[New LWP 2340]
[New LWP 2326]
[New LWP 2331]
[New LWP 2347]
[New LWP 2325]
[New LWP 2348]
[New LWP 2332]
[New LWP 2324]
[New LWP 2352]
[New LWP 2333]
[New LWP 2354]
[New LWP 2353]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/grte/v4/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fdc58fac080 in ?? () from /usr/lib/apache2/modules/mod_ssl.so
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59854] Apache is giving Segfault Error

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59854

--- Comment #3 from Jacob Champion <ch...@gmail.com> ---
Is that all that gdb gives you? If you issue a `backtrace` command at the gdb
prompt, does it give you more than one line?

Also, installing the apache2-dbg package may help resolve the "??" lines in the
backtrace output.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org