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 2012/06/04 21:25:44 UTC

[Bug 53329] Segmentation fault in ap_mpm_pod_check() method

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

Maulik <ma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maulik.linuxsysadmin@gmail.
                   |                            |com

--- Comment #1 from Maulik <ma...@gmail.com> ---
Hi,

I am also facing the same problem as mentioned. I have seen couple of users
also reported the same issue on Apache users site as well.

Can someone please look into this? I can provide all data if you want.

mdb core -
> ::stack
libc.so.1`_read+0xc(6, ffbff783, 1, 0, 10b4, fef73ac0)
ap_mpm_pod_check+0x18(d6800, 68764, 68f8c, 1b7ec0, 0, 1)
child_main+0x2d4(0, 682dc, 0, fee58000, fef73700, fedf2a00)
make_child+0x128(9bc00, 0, 1, 9cc00, 9b400, 9c800)
ap_mpm_run+0x740(fe7a0058, 4, 0, a, 1, 0)
main+0x77c(a7810, 99c00, 9bc00, 9bc00, a5808, 0)
_start+0x5c(0, 0, 0, 0, 0, 0)

When I ran truss against PID, i got SIGSEGV for thread @ 20 and thus I am
including pstack and truss o/p for details. (I have full truss available for
20693/20. Please let me know if someone wants to dig further)

pstack core -
-----------------  lwp# 20 / thread# 20  --------------------
 0002e26c ap_escape_logitem (544dd0, 76370, 540dc0, 1, 2000, 0) + 80
 00050068 config_log_transaction (54be10, d4b18, 0, 9ce78, d2450, d3210) + 16c
 00050198 multi_log_transaction (54be10, 544d50, c40, 0, 9bf54, d65c8) + 4c
 00030b80 ap_run_log_transaction (54be10, 11, 6, 54be10, 0, 56eb50) + 3c
 0005558c ap_process_request (54be10, 544d50, 4, 54be10, 9c818, 56ebb0) + dc
 0005269c ap_process_http_connection (56eb50, 56e8a0, 56e8a0, 11, 9c818, d6680)
+ 10c
 000434e8 ap_run_process_connection (56eb50, 56e8a0, 56e8a0, 11, 56eb48,
53ada8) + 3c
 00068edc worker_thread (1b8390, 0, 0, 9c800, 9c800, 44) + 20c
 ff221524 ???????? (1b8390, fce7c000, 0, 0, ff221518, 1)
 fef44990 _lwp_start (0, 0, 0, 0, 0, 0)

Truss output-

20693/20:    690.6373   
stat64("/data/apache-2.2.22/xyz/htdocs/img/hcmgmt/disability_blue.gif",
0xFCE7BA18) = 0
20693/20:        d=0x04B4791E i=62364 m=0100777 l=1  u=0     g=1     sz=851
20693/20:        at = Jun  1 13:37:34 EDT 2012  [ 1338572254 ]
20693/20:        mt = Jul 17 17:29:54 EDT 2001  [ 995405394 ]
20693/20:        ct = May 30 19:56:03 EDT 2012  [ 1338422163 ]
20693/20:        bsz=8192  blks=2     fs=ufs
20693/20:    690.6384    getpid()                    = 20693 [7534]
20693/20:    690.6386    time()                        = 1338572791
20693/20:    690.6388    time()                        = 1338572791
20693/20:    690.6416    getpid()                    = 20693 [7534]
20693/20:    690.6418   
open("/data/apache-2.2.22/xyz/htdocs/img/hcmgmt/disability_blue.gif",
O_RDONLY|O_LARGEFILE) = 28
20693/20:    690.6424    fcntl(28, F_GETFD, 0x00000000)            = 0
20693/20:    690.6425    fcntl(28, F_SETFD, 0x00000001)            = 0
20693/20:    690.6428    mmap64(0x00000000, 851, PROT_READ, MAP_SHARED, 28, 0)
= 0xFEB50000
20693/20:    690.6432    munmap(0xFEB50000, 851)                = 0
20693/20:    690.6434    writev(27, 0xFCE7B410, 1)            = 1119
20693/20:        iov_base = 0x00548DD8  iov_len = 1119
20693/20:      1703\0\0EE0402B1F191 .E685FCB593\tE5C2B88C18 zDECA j + _ t ! YA0
20693/20:       (E9D7 @C3B0BE05FE8AE09E .E7 C L1D YCB9F ZBE\0 2B7 'DB - $ R87 u
20693/20:      AE ] >07C9 _E1D1859FE7 W 7879E ,AA18 `E1E8 gF3BA9D d I ' `01BE18
20693/20:      F8E9 F14 t _ # U859EA0B9 S K lA2C7\nA81F %17 $ s ,859D PBA  8711
20693/20:      D38F vC3 I\r9AEC\n . }1CBBFA9A 305 rDE88E0A9 Z pCB A cB2 :DDDD V
20693/20:       ^7FA7 xD4 4 [ vA205D8D8 e89C1868B & @ABC88C \19\b - f v cFA\0EC
20693/20:      EED1 p cC8BA _80AC050F0F v p oA597 ? ? C $A982 3 nD6C519 @ I84D5
20693/20:       5 5 p90CD - w1EA1 B81DA m v10 "C7 .C41703\003 g @ a 1A28F f TA2
20693/20:       xB4 >89 r uC7AC0394 !A5 i Z TB0BB8D01 D7F +F3 bC8\nF9 A88 H BEE
20693/20:      02B3 k16 (191419 QE7CDE4A5 BF1 X -05 &DDAF < T "A0 eBC86 v 1 nE2
20693/20:      CC97EF B91F6 6 Q yC9 $ 3 U82 a94EC 0 : .E107 <F3 L !B5 } \15FCEE
20693/20:      A581B9D5 CE10EA7E3 N JACDBCD91 OE4 _ o97 .B88A8983 VD8B69E ?848A
20693/20:      B2 fF7B9AFCAB2 BB2D7 [ y FA3F28C ZE3 L -05 N $BBAE90 -1DF7 nEF i
20693/20:      D7D9 ' y O b02\0C9F6\bB8 a031313 $ <968C k9CBD83 k d\0 sFF1BA912
20693/20:      C113DC B #0E k k\0C987E4 LC0F3 _ I1CCDC4DD A0E v03E4E4 k18C0 mB7
20693/20:       BEE\b8AF5 59DFA 1AA96 l tE5 <BE\b8ABFB1 4B6B3 D1F95 R 4 !9AD9D1
20693/20:      F0 AEDD61E -B0 ! H9BC3F4 s N -83 Z \   9C5F79DC7 m94BA Z m 1 mEE
20693/20:       _F2 l KBD O0F G 4C7 r `04 ^90B1 e03 < # %9513C6 , O `F9 9BF y81
20693/20:      F4 wD6 y90 x d b8F 8 y YFC %B6C6B893819DEAD1E7 E J +8C w nE4CB ?
20693/20:      DACAB5BB899487E6 f OB58C .88ABC681 hA0 ,9E . 4 %B7  C3CA ; 'C0 l
20693/20:      E6F2 @ + f s7FFBD791AF c o9E\bD1 ~ +C0 KEA818A92 uBAD3D1 XEA8C "
20693/20:      11B805 , 4A0\fEC ^ yF50F U )BFB707 r WCE {EC8A E96901D05 E u\t h
20693/20:      9F jF9FF 1AD8F01 jB4F3B117 } RD7A3C0BDF31003E1 > w uCF  9D87 % j
20693/20:       cA7 $9D yC2 5FC95DA ? sA0CDAD C85 1 >D5DA = > sFCD6 S BB9F580FF
20693/20:      83FAE3CEAD r01CDB01F m\rF3\f : ' T1FC2B5D7A9EBF31395CFEC100EA7 L
20693/20:       '96E3BC86 aBDDB [CAF2 z 8A4C599ABEFE2 ]  9AB99D d B p s0398 h1F
20693/20:       RA9 VFFC6BCD2E0D71B07 % ] Q z180196\n \8B y T96FFCC06F191A9E7 u
20693/20:      9806 a1594E1981B l 495 ) f GA9E9 V ND11CFFD78F17EB\vB78E90BA :DE
20693/20:      \b0E 4 yC9E7C291 / )8F01A5 R8D05E0BC0FC9E2 | s18AAD4 78A U Z hB0
20693/20:      1C 5AE8D Q19E001 vD5DE  BD x W86 @88 = 8 e8F8D83C0D31998 r _ 'F6
20693/20:      84 z HAED003D6C2 ' Q13C5 v p17 ?A0A8 _B3C296 KB6AAD49FC8 dC2DC >
20693/20:      AE =CC GCD12\n\nB1B6F7 dA6C4 YF4 Q c lE5CDA38B 4 ,\bDEC77F YF0\t
20693/20:      C2 %97C9B992 O gB3 eC2 cF1 WDC1F j f 4 hBDF087CFDEE5ADE8A5 0 6 ~
20693/20:       + .96EB g !92 FB2F795 u "F2C9BAA50E03\v @ I1BA7D911 C pBE c\0 g
20693/20:      AD $D9ECD88715CD e9B05 :BCECA8F012 V ( ^D2 n $AD181889 y18D8D5
20693/20:    690.6832        Incurred fault #6, FLTBOUNDS  %pc = 0x0002E26C
20693/20:          siginfo: SIGSEGV SEGV_MAPERR addr=0x006E0000
20693/20:    690.6835        Received signal #11, SIGSEGV [caught]
20693/20:          siginfo: SIGSEGV SEGV_MAPERR addr=0x006E0000
20693/20:    690.6837    lwp_sigmask(SIG_SETMASK, 0xFFBE6407, 0x0000FFF7) =
0xFFBFFEFF [0x0000FFFF]
20693/20:    690.6839    chdir("/data1/apache-cores")            = 0
20693/20:    690.6843    sigaction(SIGSEGV, 0xFCE7B628, 0xFCE7B6C8)    = 0
20693/20:        new: hand = 0x00000000 mask = 0 0 0 0 flags = 0x0000
20693/20:        old: hand = 0x00000000 mask = 0 0 0 0 flags = 0x0000
20693/20:    690.6849    getpid()                    = 20693 [7534]
20693/20:    690.6850    getpid()                    = 20693 [7534]
20693/20:    690.6852    kill(20693, SIGSEGV)                = 0
20693/20:    690.6854    setcontext(0xFCE7B628)

This looks like bug in Apache.

Thanks
Maulik

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