On Mon, Jun 4, 2012 at 2:27 AM, Abhi Auradkar <aurabhi@xxxxxxxxx> wrote: > Hi All, > > > I am running a apache 2.2.21 on Solaris Sparc. I see the following > segmantation faults every now and then. > Any pointers to whats wrong will be really helpful. Please get the stack of this thread, which is probably the one that crashed: t@68 a l@68 dummy_worker() LWP suspended in in <can't get PC>() As is also visible with pflags sometimes, Solaris can misidentify the main thread of the process as the crasher. That is blocked in read() during steady state and cannot crash. > > Thanks. > > t@1 (l@1) terminated by signal SEGV (Segmentation Fault) > 0xff03e3ac: _read+0x000c: bcc,pt %icc,_read+0x20 ! 0xff03e3c0 > (dbx) where > current thread: t@1 > =>[1] _read(0x4, 0xffbff84b, 0x1, 0x0, 0x0, 0x0), at 0xff03e3ac > [2] read(0x8, 0xffbff84b, 0x1, 0x0, 0x1cf4, 0x8), at 0xff02ca1c > [3] ap_mpm_pod_check(0xd6d70, 0x6b854, 0xa0000, 0xff232a00, 0xfff7, 0x0), > at 0x6f408 > [4] child_main(0x5, 0xffbff8b4, 0x135d98, 0x1, 0x9f0ec, 0x1b0870), at > 0x6cbbc > [5] perform_idle_server_maintenance(0x0, 0x9f000, 0xafb70, 0x2, 0x5, 0x0), > at 0x6d6ac > [6] server_main_loop(0x0, 0x0, 0x5, 0x9f0b0, 0x0, 0xffbffa78), at 0x6dd10 > [7] ap_mpm_run(0x20, 0xa07d8, 0x9f0b8, 0x0, 0x20, 0x60), at 0x6e000 > [8] main(0x9e800, 0x4b8d0, 0x9ebb4, 0x7ddd0, 0x9d8e8, 0x9e800), at 0x29eac > (dbx) threads > o> t@1 a l@1 ?() signal SIGSEGV in _read() > t@3 a l@3 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@4 a l@4 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@5 a l@5 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@6 a l@6 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@7 a l@7 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@8 a l@8 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@9 a l@9 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@10 a l@10 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@11 a l@11 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@12 a l@12 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@13 a l@13 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@14 a l@14 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@15 a l@15 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@16 a l@16 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@17 a l@17 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@18 a l@18 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@19 a l@19 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@20 a l@20 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@21 a l@21 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@22 a l@22 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@23 a l@23 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@24 a l@24 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@25 a l@25 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@26 a l@26 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@27 a l@27 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@28 a l@28 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@29 a l@29 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@30 a l@30 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@31 a l@31 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@32 a l@32 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@33 a l@33 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@34 a l@34 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@35 a l@35 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@36 a l@36 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@37 a l@37 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@38 a l@38 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@39 a l@39 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@40 a l@40 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@41 a l@41 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@42 a l@42 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@43 a l@43 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@44 a l@44 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@45 a l@45 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@46 a l@46 dummy_worker() LWP suspended in _stat64() > t@47 a l@47 dummy_worker() LWP suspended in __lwp_park() > t@48 a l@48 dummy_worker() LWP suspended in __pollsys() > t@49 a l@49 dummy_worker() LWP suspended in __pollsys() > t@50 a l@50 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@51 a l@51 dummy_worker() LWP suspended in strstr() > t@52 a l@52 dummy_worker() LWP suspended in __pollsys() > t@53 a l@53 dummy_worker() LWP suspended in __pollsys() > t@54 a l@54 dummy_worker() LWP suspended in __pollsys() > t@55 a l@55 dummy_worker() sleep on 0xff0b5a60 in __lwp_park() > t@56 a l@56 dummy_worker() LWP suspended in _lstat64() > t@57 a l@57 dummy_worker() LWP suspended in __pollsys() > t@58 a l@58 dummy_worker() LWP suspended in _brk_unlocked() > t@59 a l@59 dummy_worker() LWP suspended in __pollsys() > t@60 a l@60 dummy_worker() LWP suspended in _lstat64() > t@61 a l@61 dummy_worker() LWP suspended in __pollsys() > t@62 a l@62 dummy_worker() LWP suspended in __pollsys() > t@63 a l@63 dummy_worker() LWP suspended in _lstat64() > t@64 a l@64 dummy_worker() LWP suspended in __lwp_park() > t@65 a l@65 dummy_worker() LWP suspended in __pollsys() > t@66 a l@66 dummy_worker() sleep on 0x135e30 in __lwp_park() > t@67 a l@67 dummy_worker() LWP suspended in __lwp_unpark() > t@68 a l@68 dummy_worker() LWP suspended in in <can't get PC>() > t@69 a l@69 dummy_worker() LWP suspended in ___nanosleep() > (dbx) > > > Apache Version Info > ============= > > /usr/local/apache2/bin/httpd -v > Server version: Apache/2.2.21 (Unix) > Server built: Jan 19 2012 09:52:37 > bash-3.00# /usr/local/apache2/bin/httpd -V > Server version: Apache/2.2.21 (Unix) > Server built: Jan 19 2012 09:52:37 > Server's Module Magic Number: 20051115:30 > Server loaded: APR 1.4.5, APR-Util 1.3.12 > Compiled using: APR 1.4.5, APR-Util 1.3.12 > Architecture: 32-bit > Server MPM: Worker > threaded: yes (fixed thread count) > forked: yes (variable process count) > Server compiled with.... > -D APACHE_MPM_DIR="server/mpm/worker" > -D APR_HAS_SENDFILE > -D APR_HAS_MMAP > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) > -D APR_USE_PROC_PTHREAD_SERIALIZE > -D APR_USE_PTHREAD_SERIALIZE > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT > -D APR_HAS_OTHER_CHILD > -D AP_HAVE_RELIABLE_PIPED_LOGS > -D DYNAMIC_MODULE_LIMIT=128 > -D HTTPD_ROOT="/usr/local/apache2" > -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" > -D DEFAULT_ERRORLOG="logs/error_log" > -D AP_TYPES_CONFIG_FILE="conf/mime.types" > -D SERVER_CONFIG_FILE="conf/httpd.conf" > > -- Born in Roswell... married an alien... http://emptyhammock.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx