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 2011/03/11 16:26:04 UTC

DO NOT REPLY [Bug 50915] New: Program terminated with signal 4, Illegal instruction.

https://issues.apache.org/bugzilla/show_bug.cgi?id=50915

           Summary: Program terminated with signal 4, Illegal instruction.
           Product: Apache httpd-2
           Version: 2.0.52
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: critical
          Priority: P2
         Component: worker
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jhsusc@umd.edu


Created an attachment (id=26763)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26763)
gdb core threads dump

We periodically see error.log with:

Thu Mar 10 09:29:04 2011] [notice] Apache configured -- resuming normal
operations
[Thu Mar 10 13:06:51 2011] [notice] child pid 17739 exit signal Bus error (10),
possible coredump in /site/logs/httpd/cores
[Thu Mar 10 15:47:06 2011] [notice] child pid 17738 exit signal Illegal
instruction (4), possible coredump in /site/logs/httpd/cores
[Thu Mar 10 20:43:29 2011] [notice] child pid 29007 exit signal Illegal
instruction (4), possible coredump in /site/logs/httpd/cores

And httpd-process dies with segmentation fault, following is the gdb thread
dump with fault thread 1 (please find the whole thread dump as attach):

(gdb) bt
#0  0xfee4d39c in _read () from /lib/libc.so.1
#1  0xfee3baac in read () from /lib/libc.so.1
#2  0x00047350 in ap_mpm_pod_check (pod=0xba4a0) at pod.c:53
#3  0x000456f4 in child_main (child_num_arg=0) at worker.c:1199
#4  0x00045900 in make_child (s=0x9ec40, slot=0) at worker.c:1282
#5  0x00045c3c in perform_idle_server_maintenance () at worker.c:1444
#6  0x00045dc8 in server_main_loop (remaining_children_to_start=0) at
worker.c:1493
#7  0x000460e4 in ap_mpm_run (_pconf=0x8c800, plog=0xd26d8, s=0x2) at
worker.c:1639
#8  0x0004cc24 in main (argc=7, argv=0xffbff1fc) at main.c:617



Thread 1 (process 95091    ):
#0  0xfee4d39c in _read () from /lib/libc.so.1
No symbol table info available.
#1  0xfee3baac in read () from /lib/libc.so.1
No symbol table info available.
#2  0x00047350 in ap_mpm_pod_check (pod=0xba4a0) at pod.c:53
        c = 0 '\0'
        fd = 7
        rc = 7
#3  0x000456f4 in child_main (child_num_arg=0) at worker.c:1199
        threads = (apr_thread_t **) 0x272588
        rv = 0
        ts = (thread_starter *) 0x149870
        thread_attr = (apr_threadattr_t *) 0x149880
        start_thread_id = (apr_thread_t *) 0x149890
#4  0x00045900 in make_child (s=0x9ec40, slot=0) at worker.c:1282
        pid = 0
#5  0x00045c3c in perform_idle_server_maintenance () at worker.c:1444
        i = 1
        j = 0
        idle_thread_count = 0
        ps = (process_score *) 0x8dc00
        free_length = 1
        totally_free_length = 1
        free_slots = {0, 0, 1, 0, 50, 0, 575488, 0, 50, 1, 575488, 0, -4198288,
575488, 575488, 1, -4198292, -4198296, -4198288, 632312, 16, 2635368, 
  -4198400, 286004, 0, 0, 0, 10378, -14765128, 10, 580920, 2}
        last_non_dead = 1
        total_non_dead = 2
#6  0x00045dc8 in server_main_loop (remaining_children_to_start=0) at
worker.c:1493
        child_slot = 1
        exitwhy = 6
        status = 10
        processed_status = 0
        pid = {pid = -1, in = 0xffbff0ec, out = 0x50, err = 0xdcb40}
---Type <return> to continue, or q <return> to quit---
        i = 50
#7  0x000460e4 in ap_mpm_run (_pconf=0x8c800, plog=0xd26d8, s=0x2) at
worker.c:1639
        remaining_children_to_start = 2
        rv = 0
#8  0x0004cc24 in main (argc=7, argv=0xffbff1fc) at main.c:617
        c = 68 'D'
        configtestonly = 568320
        confname = 0xffbff3a3
"/dept/oit/eis/local/apache/pdc-webhost2/far/conf/httpd.conf"
        def_server_root = 0x73450 "/dept/oit/eis/local/apache/2.0.52"
        temp_error_log = 0x72c00 "can't query MPM state; not restarting piped
log program '%s'"
        process = (process_rec *) 0x98670
        server_conf = (server_rec *) 0x9ec40
        pglobal = (apr_pool_t *) 0x73400
        pconf = (apr_pool_t *) 0x9a5f8
        plog = (apr_pool_t *) 0xd26d8
        ptemp = (apr_pool_t *) 0x1497d8
        pcommands = (apr_pool_t *) 0x9c600
        opt = (apr_getopt_t *) 0x9c698
        rv = 575488
        mod = (module **) 0x9ec40
        optarg = 0xffbff3f5 "pdc-webhost2.umd.edu"
        signal_server = (apr_OFN_ap_signal_server_t *) 0x3

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 50915] Program terminated with signal 4, Illegal instruction.

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

Dan Poirier <po...@pobox.com> changed:

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

--- Comment #1 from Dan Poirier <po...@pobox.com> 2011-03-11 10:41:06 EST ---
Does this occur on the current level of Apache 2.0?  (2.0.64)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 50915] Program terminated with signal 4, Illegal instruction.

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

joe <jh...@umd.edu> changed:

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

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 50915] Program terminated with signal 4, Illegal instruction.

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

--- Comment #4 from joe <jh...@umd.edu> 2011-03-11 11:24:28 EST ---
Thank you, yes, we are planning for upgrade.
As those are in the current production environment, Just wondering is there any
other probable cause for the crash? as we have other Apache instances runs the
same library and works fine..

> You are using a very outdated version of httpd and evene older version of
> openssl.
> 
> The crash seems to happen here:
> Thread 16 (process 1143667    ):
> #0  0x00589670 in ?? ()
> 
> No symbol table info available.
> #1  0xff365de4 in ssl3_shutdown () from /dept/oit/eis/usr/lib/libssl.so.0.9.6
> No symbol table info available.
> #2  0xfe6dd2ec in SSL_smart_shutdown (ssl=0x83dc70) at ssl_util_ssl.c:188
>         i = 0
>         rc = 8641648
> #3  0xfe6cf23c in ssl_filter_io_shutdown (filter_ctx=0x35a2b8, c=0x359eb0,
> abortive=0) at ssl_engine_io.c:963
>         ssl = (SSL *) 0x83dc70
>         type = 0xfe6e17f8 "standard"
>         sslconn = (SSLConnRec *) 0x35a200
>         shutdown_type = 2
> 
> 
> Please try to update openssl and httpd to a recent version and check if the
> crash remains.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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 50915] Program terminated with signal 4, Illegal instruction.

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #5 from Eric Covener <co...@gmail.com> ---
2.0 is end-of-life, please re-open if you see this on a contemporary software
stack.

-- 
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


DO NOT REPLY [Bug 50915] Program terminated with signal 4, Illegal instruction.

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

--- Comment #2 from joe <jh...@umd.edu> 2011-03-11 10:47:50 EST ---
No, we don't have a compiled version of 2.0.64

> Does this occur on the current level of Apache 2.0?  (2.0.64)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 50915] Program terminated with signal 4, Illegal instruction.

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

--- Comment #3 from Ruediger Pluem <rp...@apache.org> 2011-03-11 10:50:13 EST ---
You are using a very outdated version of httpd and evene older version of
openssl.

The crash seems to happen here:
Thread 16 (process 1143667    ):
#0  0x00589670 in ?? ()

No symbol table info available.
#1  0xff365de4 in ssl3_shutdown () from /dept/oit/eis/usr/lib/libssl.so.0.9.6
No symbol table info available.
#2  0xfe6dd2ec in SSL_smart_shutdown (ssl=0x83dc70) at ssl_util_ssl.c:188
        i = 0
        rc = 8641648
#3  0xfe6cf23c in ssl_filter_io_shutdown (filter_ctx=0x35a2b8, c=0x359eb0,
abortive=0) at ssl_engine_io.c:963
        ssl = (SSL *) 0x83dc70
        type = 0xfe6e17f8 "standard"
        sslconn = (SSLConnRec *) 0x35a200
        shutdown_type = 2


Please try to update openssl and httpd to a recent version and check if the
crash remains.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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