You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mark Thom <th...@gmail.com> on 2014/03/16 00:06:13 UTC

[users@httpd] Re: Apache/2.2.22 - child pid exit signal Bus error (7)

Ok i've got something more, I installed missing libc6 detached debugging
symbols , and now i've got something like this

Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal 7, Bus error.

#0  __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:119
119     ../sysdeps/x86_64/multiarch/memcpy-ssse3.S: No such file or
directory.

(gdb) where
#0  __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:119
#1  0x00007f74d40d7658 in memcpy (__len=1559, __src=0x7f74d2070000,
__dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:52
#2  do_ssl3_write (s=s@entry=0x7f74da519550, type=type@entry=23,
buf=buf@entry=0x7f74d2070000 <Address 0x7f74d2070000 out of bounds>,
len=1559, create_empty_fragment=create_empty_fragment@entry=0)
    at s3_pkt.c:798
#3  0x00007f74d40d77c3 in ssl3_write_bytes (s=0x7f74da519550, type=23,
buf_=0x7f74d2068000, len=<optimized out>) at s3_pkt.c:609
#4  0x00007f74d0ba3f1d in ssl_filter_write (len=34327, data=<optimized
out>, f=<optimized out>) at ssl_engine_io.c:801
#5  ssl_io_filter_output (f=0x7f74d59bcbd0, bb=0x7f74d2f77bb8) at
ssl_engine_io.c:1519
#6  0x00007f74d850bc7e in ap_http_header_filter (f=0x7f74d20745b8,
b=0x7f74d2f77bb8) at http_filters.c:1327
#7  0x00007f74d84ebc00 in ap_content_length_filter (f=0x7f74d2074590,
b=0x7f74d2f77bb8) at protocol.c:1371
#8  0x00007f74d850cf6f in ap_byterange_filter (f=0x7f74d2074568,
bb=0x7f74d2f77bb8) at byterange_filter.c:262
#9  0x00007f74d84eefeb in default_handler (r=0x7f74d20730a0) at core.c:3815
#10 0x00007f74d84f9b50 in ap_run_handler (r=0x7f74d20730a0) at config.c:159
#11 0x00007f74d84f9f9b in ap_invoke_handler (r=r@entry=0x7f74d20730a0) at
config.c:377
#12 0x00007f74d850a078 in ap_process_request (r=r@entry=0x7f74d20730a0) at
http_request.c:282
#13 0x00007f74d8506f38 in ap_process_http_connection (c=0x7f74d59bc290) at
http_core.c:190
#14 0x00007f74d8500510 in ap_run_process_connection (c=0x7f74d59bc290) at
connection.c:43
#15 0x00007f74d85008f8 in ap_process_connection (c=c@entry=0x7f74d59bc290,
csd=<optimized out>) at connection.c:190
#16 0x00007f74d850ec2e in child_main (child_num_arg=child_num_arg@entry=14)
at prefork.c:667
#17 0x00007f74d850f382 in make_child (slot=14, s=0x7f74d849a818) at
prefork.c:768
#18 make_child (s=0x7f74d849a818, slot=14) at prefork.c:696
#19 0x00007f74d850fee6 in perform_idle_server_maintenance (p=<optimized
out>) at prefork.c:903
#20 ap_mpm_run (_pconf=_pconf@entry=0x7f74d84a0028, plog=<optimized out>,
s=s@entry=0x7f74d849a818) at prefork.c:1107
#21 0x00007f74d84e4826 in main (argc=3, argv=0x7fff19de3128) at main.c:755

(gdb) bt full
#0  __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:119
No locals.
#1  0x00007f74d40d7658 in memcpy (__len=1559, __src=0x7f74d2070000,
__dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:52
No locals.
#2  do_ssl3_write (s=s@entry=0x7f74da519550, type=type@entry=23,
buf=buf@entry=0x7f74d2070000 <Address 0x7f74d2070000 out of bounds>,
len=1559, create_empty_fragment=create_empty_fragment@entry=0)
    at s3_pkt.c:798
        p = 0x7f74da396358 "\247\066\226+\215\301\217\204$\004\312
\203\031\212\\Bێ\263"
        plen = 0x7f74da396356 "@ \247\066\226+\215\301\217\204$\004\312
\203\031\212\\Bێ\263"
        i = <optimized out>
        mac_size = 0
        clear = <optimized out>
        prefix_len = <optimized out>
        eivlen = <optimized out>
        align = <optimized out>
        wr = 0x7f74da54fb08
        wb = 0x7f74da54fab8
        sess = <optimized out>
#3  0x00007f74d40d77c3 in ssl3_write_bytes (s=0x7f74da519550, type=23,
buf_=0x7f74d2068000, len=<optimized out>) at s3_pkt.c:609
        buf = 0x7f74d2068000 <Address 0x7f74d2068000 out of bounds>
        tot = 32768
        n = 1559
        nw = <optimized out>
        i = <optimized out>
#4  0x00007f74d0ba3f1d in ssl_filter_write (len=34327, data=<optimized
out>, f=<optimized out>) at ssl_engine_io.c:801
        filter_ctx = <optimized out>
        outctx = 0x7f74d2084028
        res = <optimized out>
#5  ssl_io_filter_output (f=0x7f74d59bcbd0, bb=0x7f74d2f77bb8) at
ssl_engine_io.c:1519
        data = 0x7f74d2068000 <Address 0x7f74d2068000 out of bounds>
        len = 34327
        bucket = 0x7f74d2f784c8
        status = <optimized out>
        filter_ctx = 0x7f74d59bcb98
        inctx = <optimized out>
        outctx = 0x7f74d2084028
        rblock = APR_NONBLOCK_READ
#6  0x00007f74d850bc7e in ap_http_header_filter (f=0x7f74d20745b8,
b=0x7f74d2f77bb8) at http_filters.c:1327
        r = 0x7f74d20730a0
        c = 0x7f74d2073c80
        clheader = <optimized out>
        protocol = 0x7f74d851290d "HTTP/1.1"
        e = <optimized out>
        b2 = <optimized out>
        h = {pool = 0x7f74d2073028, bb = 0x7f74d2f77c98}
        ctx = 0x0
        ctype = <optimized out>
        eb = <optimized out>
#7  0x00007f74d84ebc00 in ap_content_length_filter (f=0x7f74d2074590,
b=0x7f74d2f77bb8) at protocol.c:1371
        r = 0x7f74d20730a0
        ctx = 0x7f74d2f77c10
        e = 0x7f74d2f782e8
---Type <return> to continue, or q <return> to quit---
        eos = <optimized out>
        eblock = <optimized out>
#8  0x00007f74d850cf6f in ap_byterange_filter (f=0x7f74d2074568,
bb=0x7f74d2f77bb8) at byterange_filter.c:262
        r = 0x7f74d20730a0
        c = 0x7f74d59bc290
        e = <optimized out>
        bsend = <optimized out>
        tmpbb = <optimized out>
        range_start = <optimized out>
        range_end = <optimized out>
        clength = 34327
        rv = <optimized out>
        found = 0
        boundary = 0x0
        bound_head = 0x0
        indexes = <optimized out>
        idx = <optimized out>
        i = <optimized out>
        original_status = 200
        max_ranges = 200
#9  0x00007f74d84eefeb in default_handler (r=0x7f74d20730a0) at core.c:3815
        c = 0x7f74d59bc290
        bb = 0x7f74d2f77bb8
        e = <optimized out>
        d = <optimized out>
        errstatus = <optimized out>
        fd = 0x7f74d2f77a68
        status = <optimized out>
        bld_content_md5 = <optimized out>
#10 0x00007f74d84f9b50 in ap_run_handler (r=0x7f74d20730a0) at config.c:159
        pHook = 0x7f74d8472a08
        n = 5
        rv = -633773224
#11 0x00007f74d84f9f9b in ap_invoke_handler (r=r@entry=0x7f74d20730a0) at
config.c:377
        handler = <optimized out>
        p = <optimized out>
        result = <optimized out>
        old_handler = 0x0
        ignore = <optimized out>
#12 0x00007f74d850a078 in ap_process_request (r=r@entry=0x7f74d20730a0) at
http_request.c:282
        access_status = <optimized out>
#13 0x00007f74d8506f38 in ap_process_http_connection (c=0x7f74d59bc290) at
http_core.c:190
        r = 0x7f74d20730a0
        csd = 0x7f74d59bc0a0
#14 0x00007f74d8500510 in ap_run_process_connection (c=0x7f74d59bc290) at
connection.c:43
        pHook = 0x7f74d8473098
        n = 1
        rv = -633773224
#15 0x00007f74d85008f8 in ap_process_connection (c=c@entry=0x7f74d59bc290,
csd=<optimized out>) at connection.c:190
        rc = <optimized out>
#16 0x00007f74d850ec2e in child_main (child_num_arg=child_num_arg@entry=14)
at prefork.c:667
---Type <return> to continue, or q <return> to quit---
        current_conn = 0x7f74d59bc290
        csd = 0x7f74d59bc0a0
        ptrans = 0x7f74d59bc028
        allocator = 0x7f74da387d70
        status = <optimized out>
        i = <optimized out>
        lr = <optimized out>
        pollset = 0x7f74d59be130
        sbh = 0x7f74d59be128
        bucket_alloc = 0x7f74d2f78028
        last_poll_idx = 1
#17 0x00007f74d850f382 in make_child (slot=14, s=0x7f74d849a818) at
prefork.c:768
        pid = 0
#18 make_child (s=0x7f74d849a818, slot=14) at prefork.c:696
No locals.
#19 0x00007f74d850fee6 in perform_idle_server_maintenance (p=<optimized
out>) at prefork.c:903
        i = <optimized out>
        idle_count = <optimized out>
        ws = <optimized out>
        free_length = <optimized out>
        free_slots = {14, 16, 27, 28, 21, 22, 23, 24, -636202856, 32628,
-633834224, 32628, -636202848, 32628, -746811863, 32628, -665773615, 32628,
0, 0, 0, 0, 0, 0, -666238936, 32628,
          -668038208, 32628, -666238936, 32628, -668038176, 32628}
        last_non_dead = <optimized out>
        total_non_dead = <optimized out>
#20 ap_mpm_run (_pconf=_pconf@entry=0x7f74d84a0028, plog=<optimized out>,
s=s@entry=0x7f74d849a818) at prefork.c:1107
        status = 7
        pid = {pid = -1, in = 0x7f74d82e8c70, out = 0x7f7400316562, err =
0x153}
        child_slot = <optimized out>
        exitwhy = 6
        processed_status = <optimized out>
        index = <optimized out>
        remaining_children_to_start = 0
        rv = <optimized out>
#21 0x00007f74d84e4826 in main (argc=3, argv=0x7fff19de3128) at main.c:755
        c = 0 '\000'
        configtestonly = 0
        confname = 0x7f74d85118ea "apache2.conf"
        def_server_root = 0x7f74d85118dd "/etc/apache2"
        temp_error_log = <optimized out>
        error = <optimized out>
        process = 0x7f74d84a2118
        server_conf = 0x7f74d849a818
        pglobal = <optimized out>
        pconf = 0x7f74d84a0028
        plog = 0x7f74d846c028
        ptemp = 0x7f74d8498028
        pcommands = 0x7f74d849e028
        opt = 0x7f74d849e118
        rv = 0
        mod = <optimized out>
        optarg = 0x7f74d84a2028 "(\300J\330t\177"
---Type <return> to continue, or q <return> to quit---
        signal_server = <optimized out>



2014-03-15 17:38 GMT+01:00 Mark Thom <th...@gmail.com>:

> Hello,
> I'm fighting from few days with "signal Bus error(7)" on my Apache
> instance, and i can't figure out what is wrong and what thing is causing
> this error.. Thanks in advance for any suggestions what can be wrong!
>
> Details
> =======
> OS: Debian 7.4 amd64
>
> # apache2 -V
>
> Server version: Apache/2.2.22 (Debian)
> Server built:   Feb  1 2014 21:26:04
> Server's Module Magic Number: 20051115:30
> Server loaded:  APR 1.4.6, APR-Util 1.4.1
> Compiled using: APR 1.4.6, APR-Util 1.4.1
> Architecture:   64-bit
> Server MPM:     Prefork
>   threaded:     no
>     forked:     yes (variable process count)
> Server compiled with....
>  -D APACHE_MPM_DIR="server/mpm/prefork"
>  -D APR_HAS_SENDFILE
>  -D APR_HAS_MMAP
>  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>  -D APR_USE_SYSVSEM_SERIALIZE
>  -D APR_USE_PTHREAD_SERIALIZE
>  -D APR_HAS_OTHER_CHILD
>  -D AP_HAVE_RELIABLE_PIPED_LOGS
>  -D DYNAMIC_MODULE_LIMIT=128
>  -D HTTPD_ROOT="/etc/apache2"
>  -D SUEXEC_BIN="/usr/lib/apache2/suexec"
>  -D DEFAULT_PIDLOG="/var/run/apache2.pid"
>  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>  -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
>  -D DEFAULT_ERRORLOG="logs/error_log"
>  -D AP_TYPES_CONFIG_FILE="mime.types"
>  -D SERVER_CONFIG_FILE="apache2.conf"
>
>
> Module enabled:
>
> LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so
> LoadModule auth_basic_module /usr/lib/apache2/modules/mod_auth_basic.so
> LoadModule authn_file_module /usr/lib/apache2/modules/mod_authn_file.so
> LoadModule authz_default_module
> /usr/lib/apache2/modules/mod_authz_default.so
> LoadModule authz_groupfile_module
> /usr/lib/apache2/modules/mod_authz_groupfile.so
> LoadModule authz_host_module /usr/lib/apache2/modules/mod_authz_host.so
> LoadModule authz_user_module /usr/lib/apache2/modules/mod_authz_user.so
> LoadModule autoindex_module /usr/lib/apache2/modules/mod_autoindex.so
> LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so
> LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so
> LoadModule env_module /usr/lib/apache2/modules/mod_env.so
> LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so
> LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so
> LoadModule negotiation_module /usr/lib/apache2/modules/mod_negotiation.so
> LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
> LoadModule reqtimeout_module /usr/lib/apache2/modules/mod_reqtimeout.so
> LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
> LoadModule setenvif_module /usr/lib/apache2/modules/mod_setenvif.so
> LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so
> LoadModule status_module /usr/lib/apache2/modules/mod_status.so
> LoadModule unique_id_module /usr/lib/apache2/modules/mod_unique_id.so
>
>
>
> Message from error logs:
>
> [Sat Mar 15 14:56:01 2014] [notice] child pid 18171 exit signal Bus error
> (7), possible coredump in /tmp/dump
> [Sat Mar 15 15:02:32 2014] [notice] child pid 18293 exit signal Bus error
> (7), possible coredump in /tmp/dump
> [Sat Mar 15 15:08:26 2014] [notice] child pid 18172 exit signal Bus error
> (7), possible coredump in /tmp/dump
> [Sat Mar 15 15:23:00 2014] [notice] child pid 18181 exit signal Bus error
> (7), possible coredump in /tmp/dump
>
> There is no more details in accesslog / php logs.
>
>
> GDB:
>
> # gdb /usr/sbin/apache2 core
> GNU gdb (GDB) 7.4.1-debian
> Copyright (C) 2012 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-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/sbin/apache2...Reading symbols from
> /usr/lib/debug/usr/sbin/apache2-mpm-prefork...done.
> done.
> [New LWP 23033]
>
> warning: Can't read pathname for load map: Input/output error.
>
> warning:
> "/usr/lib/debug/.build-id/84/bee3ec119629745f1abb696a297d23ef52d3ba.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: the debug information found in
> "/usr/lib/debug//usr/lib/php5/20100525/mysql.so" does not match
> "/usr/lib/php5/20100525/mysql.so" (CRC mismatch).
>
>
> warning: the debug information found in
> "/usr/lib/debug/usr/lib/php5/20100525/mysql.so" does not match
> "/usr/lib/php5/20100525/mysql.so" (CRC mismatch).
>
>
> warning: the debug information found in
> "/usr/lib/debug//usr/lib/php5/20100525/mysqli.so" does not match
> "/usr/lib/php5/20100525/mysqli.so" (CRC mismatch).
>
>
> warning: the debug information found in
> "/usr/lib/debug/usr/lib/php5/20100525/mysqli.so" does not match
> "/usr/lib/php5/20100525/mysqli.so" (CRC mismatch).
>
>
> warning: the debug information found in
> "/usr/lib/debug//usr/lib/php5/20100525/pdo_mysql.so" does not match
> "/usr/lib/php5/20100525/pdo_mysql.so" (CRC mismatch).
>
>
> warning: the debug information found in
> "/usr/lib/debug/usr/lib/php5/20100525/pdo_mysql.so" does not match
> "/usr/lib/php5/20100525/pdo_mysql.so" (CRC mismatch).
>
> Core was generated by `/usr/sbin/apache2 -k start'.
> Program terminated with signal 7, Bus error.
> #0  0x00007f74d7778300 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> (gdb) bt
> #0  0x00007f74d7778300 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> #1  0x00007f74d40d7658 in memcpy (__len=16384, __src=0x7f74d2066000,
> __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:52
> #2  do_ssl3_write (s=s@entry=0x7f74da39a5f0, type=type@entry=23,
> buf=buf@entry=0x7f74d2066000 <Address 0x7f74d2066000 out of bounds>,
> len=16384,
>     create_empty_fragment=create_empty_fragment@entry=0) at s3_pkt.c:798
> #3  0x00007f74d40d77c3 in ssl3_write_bytes (s=0x7f74da39a5f0, type=23,
> buf_=0x7f74d2066000, len=<optimized out>) at s3_pkt.c:609
> #4  0x00007f74d0ba3f1d in ssl_filter_write (len=40766, data=<optimized
> out>, f=<optimized out>) at ssl_engine_io.c:801
> #5  ssl_io_filter_output (f=0x7f74d59bcbd0, bb=0x7f74d2079bd8) at
> ssl_engine_io.c:1519
> #6  0x00007f74d850bc7e in ap_http_header_filter (f=0x7f74d20825b8,
> b=0x7f74d2079bd8) at http_filters.c:1327
> #7  0x00007f74d84ebc00 in ap_content_length_filter (f=0x7f74d2082590,
> b=0x7f74d2079bd8) at protocol.c:1371
> #8  0x00007f74d850cf6f in ap_byterange_filter (f=0x7f74d2082568,
> bb=0x7f74d2079bd8) at byterange_filter.c:262
> #9  0x00007f74d84eefeb in default_handler (r=0x7f74d20810a0) at core.c:3815
> #10 0x00007f74d84f9b50 in ap_run_handler (r=0x7f74d20810a0) at config.c:159
> #11 0x00007f74d84f9f9b in ap_invoke_handler (r=r@entry=0x7f74d20810a0) at
> config.c:377
> #12 0x00007f74d850a078 in ap_process_request (r=r@entry=0x7f74d20810a0)
> at http_request.c:282
> #13 0x00007f74d8506f38 in ap_process_http_connection (c=0x7f74d59bc290) at
> http_core.c:190
> #14 0x00007f74d8500510 in ap_run_process_connection (c=0x7f74d59bc290) at
> connection.c:43
> #15 0x00007f74d85008f8 in ap_process_connection (c=c@entry=0x7f74d59bc290,
> csd=<optimized out>) at connection.c:190
> #16 0x00007f74d850ec2e in child_main (child_num_arg=child_num_arg@entry=13)
> at prefork.c:667
> #17 0x00007f74d850f382 in make_child (slot=13, s=0x7f74d849a818) at
> prefork.c:768
> #18 make_child (s=0x7f74d849a818, slot=13) at prefork.c:696
> #19 0x00007f74d850fee6 in perform_idle_server_maintenance (p=<optimized
> out>) at prefork.c:903
> #20 ap_mpm_run (_pconf=_pconf@entry=0x7f74d84a0028, plog=<optimized out>,
> s=s@entry=0x7f74d849a818) at prefork.c:1107
> #21 0x00007f74d84e4826 in main (argc=3, argv=0x7fff19de3128) at main.c:755
>
>
>
>
>
>
>