I grabbed the 2.0.15 tarball from dev.apache and compiled with: ./configure --prefix=/local/apache2.0 --enable-info --enable-status --with-mpm=threaded --enable-so $OPTIM was set to -O3 on Solaris 8, latest patches. I did some testing of large directory listings using my mp3 stash, and it seemed that when accessing a directory with FanceIndexing turned on, the child handling the request would die with a SIGBUS after doing the readdir's (as seen in the attached truss output with the getdents64() calls). However, if I turned FancyIndexing OFF, the request would succeed and there would be no SIGBUS. And of course, there's no core file left over to pick through. I wouldnt know where to look in the code for this... but there is a full truss output of a (dying) child in action attached to this mail. /dale
[root@lithium]/local/apache2.0/htdocs/mp3#truss -l -t all -v all -x all -s all -p 10078 /1: lwp_sema_wait(0xFCA0BE30) (sleeping...) /1: sema type: USYNC_PROCESS count = 0 /2: signotifywait() (sleeping...) /3: poll(0x0014A820, 2, -1) (sleeping...) /3: fd=5 ev=POLLIN rev=0 /3: fd=7 ev=POLLIN rev=0 /4: lwp_cond_wait(0xFF1555C8, 0xFF1555D8, 0xFF0F3C48) (sleeping...) /4: condvar type: USYNC_THREAD /4: mutex type: USYNC_THREAD /4: timeout: 299.371030000 sec /3: poll(0x0014A820, 2, -1) = 1 /3: fd=5 ev=POLLIN rev=0 /3: fd=7 ev=POLLIN rev=POLLIN /3: accept(7, 0x001528E8, 0x00152908, 1) = 10 /3: AF_INET name = 10.10.10.2 port = 2981 /3: lwp_sema_post(0xFCA0BE30) = 0 /3: sema type: USYNC_PROCESS count = 1 /1: lwp_sema_wait(0xFCA0BE30) = 0 /1: sema type: USYNC_PROCESS count = 0 /3: fcntl(8, 7, 0x000FA648) = 0 /3: typ=F_UNLCK whence=SEEK_SET start=0 len=0 sys=0 pid=0 /3: setsockopt(10, 6, 1, 0xFED09BAC, 4, 1) = 0 /3: getsockname(10, 0x001528A0, 0x001528C0, 1) = 0 /3: AF_INET name = 10.10.10.150 port = 80 /3: brk(0x001E4CF0) = 0 /3: brk(0x001E6CF0) = 0 /3: fcntl(10, 3, 0x00000000) = 2 /3: fstat64(10, 0xFED09818) = 0 /3: d=0x03E80000 i=9886 m=0140666 l=0 u=0 g=0 sz=0 /3: at = Mar 25 15:13:04 EST 2001 [ 985551184 ] /3: mt = Mar 25 15:13:04 EST 2001 [ 985551184 ] /3: ct = Mar 25 15:13:04 EST 2001 [ 985551184 ] /3: bsz=8192 blks=0 fs=ufs /3: getsockopt(10, 65535, 8192, 0xFED09918, 0xFED09910, 0) = 0 /3: fstat64(10, 0xFED09818) = 0 /3: d=0x03E80000 i=9886 m=0140666 l=0 u=0 g=0 sz=0 /3: at = Mar 25 15:13:04 EST 2001 [ 985551184 ] /3: mt = Mar 25 15:13:04 EST 2001 [ 985551184 ] /3: ct = Mar 25 15:13:04 EST 2001 [ 985551184 ] /3: bsz=8192 blks=0 fs=ufs /3: getsockopt(10, 65535, 8192, 0xFED09918, 0xFED09914, 0) = 0 /3: setsockopt(10, 65535, 8192, 0xFED09918, 4, 0) = 0 /3: fcntl(10, 4, 0x00000082) = 0 /1: fcntl(8, 7, 0x000FA624) = 0 /1: typ=F_WRLCK whence=SEEK_SET start=0 len=0 sys=0 pid=0 /3: brk(0x001E6CF0) = 0 /3: brk(0x001E8CF0) = 0 /3: read(10, 0x001E4F18, 8192) = 292 /3: 0x001E4F18: " G E T / m p 3 / D o w".. /3: stat(0x001E3A60, 0xFED09748) = 0 /3: 0x001E3A60: "/local/apache2.0/htdocs/mp3/Download" /3: d=0x01540032 i=2272150 m=0040755 l=2 u=500 g=100 sz=512 /3: at = Mar 24 22:42:04 EST 2001 [ 985491724 ] /3: mt = Nov 15 11:40:08 EST 2000 [ 974306408 ] /3: ct = Nov 15 11:59:31 EST 2000 [ 974307571 ] /3: bsz=8192 blks=2 fs=ufs /3: open(0x001E3D20, 0) Err#2 ENOENT /3: 0x001E3D20: "/local/apache2.0/htdocs/.htaccess" /3: brk(0x001E8CF0) = 0 /3: brk(0x001EACF0) = 0 /3: open(0x001E4E60, 0) = 11 /3: 0x001E4E60: "/local/apache2.0/htdocs/mp3/.htaccess" /3: fstat(11, 0xFED09620) = 0 /3: d=0x01540032 i=1465094 m=0100644 l=1 u=500 g=100 sz=548 /3: at = Mar 25 15:12:00 EST 2001 [ 985551120 ] /3: mt = Mar 25 15:09:51 EST 2001 [ 985550991 ] /3: ct = Mar 25 15:09:51 EST 2001 [ 985550991 ] /3: bsz=8192 blks=2 fs=ufs /3: read(11, 0x001E6F30, 4096) = 548 /3: 0x001E6F30: " I n d e x O p t i o n s".. /3: read(11, 0x001E6F30, 4096) = 0 /3: close(11) = 0 /3: brk(0x001EACF0) = 0 /3: brk(0x001ECCF0) = 0 /3: open(0x001E8BA0, 0) Err#2 ENOENT /3: 0x001E8BA0: "/local/apache2.0/htdocs/mp3/Download/.htaccess" /3: brk(0x001ECCF0) = 0 /3: brk(0x001EECF0) = 0 /3: stat(0x001EB5B8, 0xFED074B0) Err#2 ENOENT /3: 0x001EB5B8: "/local/apache2.0/htdocs/mp3/Download/index.html" /3: stat(0x001EB5B8, 0xFED074B0) = 0 /3: 0x001EB5B8: "/local/apache2.0/htdocs/mp3/Download" /3: d=0x01540032 i=2272150 m=0040755 l=2 u=500 g=100 sz=512 /3: at = Mar 24 22:42:04 EST 2001 [ 985491724 ] /3: mt = Nov 15 11:40:08 EST 2000 [ 974306408 ] /3: ct = Nov 15 11:59:31 EST 2000 [ 974307571 ] /3: bsz=8192 blks=2 fs=ufs /3: brk(0x001EECF0) = 0 /3: brk(0x001F0CF0) = 0 /3: open64(0x001EBFC0, 04) = 11 /3: 0x001EBFC0: "/local/apache2.0/htdocs/mp3/Download/" /3: fcntl(11, 2, 0x00000001) = 0 /3: fstat64(11, 0xFED07328) = 0 /3: d=0x01540032 i=2272150 m=0040755 l=2 u=500 g=100 sz=512 /3: at = Mar 24 22:42:04 EST 2001 [ 985491724 ] /3: mt = Nov 15 11:40:08 EST 2000 [ 974306408 ] /3: ct = Nov 15 11:59:31 EST 2000 [ 974307571 ] /3: bsz=8192 blks=2 fs=ufs /3: getdents64(11, 0x0013DA80, 1048) = 544 /3: ino=2272150 off=12 rlen=24 "." /3: ino=403520 off=24 rlen=24 ".." /3: ino=403732 off=60 rlen=48 "01-C.A.M.B._-_Wonders.mp3" /3: ino=403733 off=96 rlen=48 "02-Absolut_Noise_-_What.mp3" /3: ino=403734 off=156 rlen=72 "03-GMS_vs._Manitu_-_The_Vampire_Strikes_Back.mp3" /3: ino=403735 off=196 rlen=48 "04-Wizzy_Noise_-_Tripoid.mp3" /3: ino=403736 off=248 rlen=64 "05-Absolum_vs._Nomad_-_The_Game_Part_II.mp3" /3: ino=403737 off=280 rlen=48 "06-Deedrah_-_Reload.mp3" /3: ino=403738 off=320 rlen=56 "07-Bamboo_Forest_-_Analyser.mp3" /3: ino=403739 off=368 rlen=56 "08-Sonic_Kinkies_-_Method_of_Oria.mp3" /3: ino=403740 off=512 rlen=56 "09-Yucatan_-_His_Brain_Has_Gone.mp3" /3: getdents64(11, 0x0013DA80, 1048) = 0 /3: close(11) = 0 /3: sysconfig(7) = 100 /3: open64(0x001E9FA0, 04) = 11 /3: 0x001E9FA0: "/local/apache2.0/htdocs/mp3/Download/" /3: fcntl(11, 2, 0x00000001) = 0 /3: fstat64(11, 0xFED07588) = 0 /3: d=0x01540032 i=2272150 m=0040755 l=2 u=500 g=100 sz=512 /3: at = Mar 25 15:13:04 EST 2001 [ 985551184 ] /3: mt = Nov 15 11:40:08 EST 2000 [ 974306408 ] /3: ct = Nov 15 11:59:31 EST 2000 [ 974307571 ] /3: bsz=8192 blks=2 fs=ufs /3: stat(0x001EB5A0, 0xFED07338) Err#2 ENOENT /3: 0x001EB5A0: "/local/apache2.0/htdocs/mp3/Download/HEADER" /3: stat(0x001EB5A0, 0xFED07338) = 0 /3: 0x001EB5A0: "/local/apache2.0/htdocs/mp3/Download" /3: d=0x01540032 i=2272150 m=0040755 l=2 u=500 g=100 sz=512 /3: at = Mar 25 15:13:04 EST 2001 [ 985551184 ] /3: mt = Nov 15 11:40:08 EST 2000 [ 974306408 ] /3: ct = Nov 15 11:59:31 EST 2000 [ 974307571 ] /3: bsz=8192 blks=2 fs=ufs /3: open64(0x001EBFA0, 04) = 12 /3: 0x001EBFA0: "/local/apache2.0/htdocs/mp3/Download/" /3: fcntl(12, 2, 0x00000001) = 0 /3: fstat64(12, 0xFED071B0) = 0 /3: d=0x01540032 i=2272150 m=0040755 l=2 u=500 g=100 sz=512 /3: at = Mar 25 15:13:04 EST 2001 [ 985551184 ] /3: mt = Nov 15 11:40:08 EST 2000 [ 974306408 ] /3: ct = Nov 15 11:59:31 EST 2000 [ 974307571 ] /3: bsz=8192 blks=2 fs=ufs /3: getdents64(12, 0x001EEF90, 1048) = 544 /3: ino=2272150 off=12 rlen=24 "." /3: ino=403520 off=24 rlen=24 ".." /3: ino=403732 off=60 rlen=48 "01-C.A.M.B._-_Wonders.mp3" /3: ino=403733 off=96 rlen=48 "02-Absolut_Noise_-_What.mp3" /3: ino=403734 off=156 rlen=72 "03-GMS_vs._Manitu_-_The_Vampire_Strikes_Back.mp3" /3: ino=403735 off=196 rlen=48 "04-Wizzy_Noise_-_Tripoid.mp3" /3: ino=403736 off=248 rlen=64 "05-Absolum_vs._Nomad_-_The_Game_Part_II.mp3" /3: ino=403737 off=280 rlen=48 "06-Deedrah_-_Reload.mp3" /3: ino=403738 off=320 rlen=56 "07-Bamboo_Forest_-_Analyser.mp3" /3: ino=403739 off=368 rlen=56 "08-Sonic_Kinkies_-_Method_of_Oria.mp3" /3: ino=403740 off=512 rlen=56 "09-Yucatan_-_His_Brain_Has_Gone.mp3" /3: getdents64(12, 0x001EEF90, 1048) = 0 /3: close(12) = 0 /3: brk(0x001F0CF0) = 0 /3: brk(0x001F2CF0) = 0 /3: getdents64(11, 0x0013DA80, 1048) = 544 /3: ino=2272150 off=12 rlen=24 "." /3: ino=403520 off=24 rlen=24 ".." /3: ino=403732 off=60 rlen=48 "01-C.A.M.B._-_Wonders.mp3" /3: ino=403733 off=96 rlen=48 "02-Absolut_Noise_-_What.mp3" /3: ino=403734 off=156 rlen=72 "03-GMS_vs._Manitu_-_The_Vampire_Strikes_Back.mp3" /3: ino=403735 off=196 rlen=48 "04-Wizzy_Noise_-_Tripoid.mp3" /3: ino=403736 off=248 rlen=64 "05-Absolum_vs._Nomad_-_The_Game_Part_II.mp3" /3: ino=403737 off=280 rlen=48 "06-Deedrah_-_Reload.mp3" /3: ino=403738 off=320 rlen=56 "07-Bamboo_Forest_-_Analyser.mp3" /3: ino=403739 off=368 rlen=56 "08-Sonic_Kinkies_-_Method_of_Oria.mp3" /3: ino=403740 off=512 rlen=56 "09-Yucatan_-_His_Brain_Has_Gone.mp3" /3: stat(0x001EB568, 0xFED074E0) = 0 /3: 0x001EB568: "/local/apache2.0/htdocs/mp3/Download/.." /3: d=0x01540032 i=403520 m=0040755 l=112 u=500 g=100 sz=4096 /3: at = Mar 25 15:10:31 EST 2001 [ 985551031 ] /3: mt = Mar 25 15:06:27 EST 2001 [ 985550787 ] /3: ct = Mar 25 15:06:27 EST 2001 [ 985550787 ] /3: bsz=8192 blks=8 fs=ufs /3: open(0x001EBFA8, 0) = 12 /3: 0x001EBFA8: "/local/apache2.0/htdocs/mp3/Download/../.htaccess" /3: fstat(12, 0xFED07268) = 0 /3: d=0x01540032 i=1465094 m=0100644 l=1 u=500 g=100 sz=548 /3: at = Mar 25 15:13:04 EST 2001 [ 985551184 ] /3: mt = Mar 25 15:09:51 EST 2001 [ 985550991 ] /3: ct = Mar 25 15:09:51 EST 2001 [ 985550991 ] /3: bsz=8192 blks=2 fs=ufs /3: read(12, 0x001ECF78, 4096) = 548 /3: 0x001ECF78: " I n d e x O p t i o n s".. /3: read(12, 0x001ECF78, 4096) = 0 /3: close(12) = 0 /3: stat(0x001EB578, 0xFED074E0) = 0 /3: 0x001EB578: "/local/apache2.0/htdocs/mp3/Download/01-C.A.M.B._-_Wonders.mp3" /3: d=0x01540032 i=403732 m=0100644 l=1 u=500 g=100 sz=6965248 /3: at = Mar 24 11:52:40 EST 2001 [ 985452760 ] /3: mt = Nov 15 11:46:50 EST 2000 [ 974306810 ] /3: ct = Nov 30 02:46:38 EST 2000 [ 975570398 ] /3: bsz=8192 blks=13632 fs=ufs /3: stat(0x001EB580, 0xFED074E0) = 0 /3: 0x001EB580: "/local/apache2.0/htdocs/mp3/Download/02-Absolut_Noise_-_What.mp3" /3: d=0x01540032 i=403733 m=0100644 l=1 u=500 g=100 sz=6977536 /3: at = Mar 24 11:50:20 EST 2001 [ 985452620 ] /3: mt = Nov 15 11:47:16 EST 2000 [ 974306836 ] /3: ct = Nov 30 02:46:38 EST 2000 [ 975570398 ] /3: bsz=8192 blks=13648 fs=ufs /3: stat(0x001EB590, 0xFED074E0) = 0 /3: 0x001EB590: "/local/apache2.0/htdocs/mp3/Download/03-GMS_vs._Manitu_-_The_Vampire_Strikes_Back.mp3" /3: d=0x01540032 i=403734 m=0100644 l=1 u=500 g=100 sz=7550976 /3: at = Mar 24 22:06:29 EST 2001 [ 985489589 ] /3: mt = Nov 15 11:47:46 EST 2000 [ 974306866 ] /3: ct = Nov 30 02:46:38 EST 2000 [ 975570398 ] /3: bsz=8192 blks=14768 fs=ufs /3: stat(0x001EB580, 0xFED074E0) = 0 /3: 0x001EB580: "/local/apache2.0/htdocs/mp3/Download/04-Wizzy_Noise_-_Tripoid.mp3" /3: d=0x01540032 i=403735 m=0100644 l=1 u=500 g=100 sz=9023488 /3: at = Mar 24 11:50:07 EST 2001 [ 985452607 ] /3: mt = Nov 15 11:48:18 EST 2000 [ 974306898 ] /3: ct = Nov 30 02:46:38 EST 2000 [ 975570398 ] /3: bsz=8192 blks=17648 fs=ufs /3: stat(0x001EB590, 0xFED074E0) = 0 /3: 0x001EB590: "/local/apache2.0/htdocs/mp3/Download/05-Absolum_vs._Nomad_-_The_Game_Part_II.mp3" /3: d=0x01540032 i=403736 m=0100644 l=1 u=500 g=100 sz=7720960 /3: at = Mar 24 11:48:53 EST 2001 [ 985452533 ] /3: mt = Nov 15 11:48:50 EST 2000 [ 974306930 ] /3: ct = Nov 30 02:46:38 EST 2000 [ 975570398 ] /3: bsz=8192 blks=15104 fs=ufs /3: stat(0x001EB578, 0xFED074E0) = 0 /3: 0x001EB578: "/local/apache2.0/htdocs/mp3/Download/06-Deedrah_-_Reload.mp3" /3: d=0x01540032 i=403737 m=0100644 l=1 u=500 g=100 sz=7999488 /3: at = Mar 24 22:34:41 EST 2001 [ 985491281 ] /3: mt = Nov 15 11:49:16 EST 2000 [ 974306956 ] /3: ct = Nov 30 02:46:38 EST 2000 [ 975570398 ] /3: bsz=8192 blks=15648 fs=ufs /3: stat(0x001EB580, 0xFED074E0) = 0 /3: 0x001EB580: "/local/apache2.0/htdocs/mp3/Download/07-Bamboo_Forest_-_Analyser.mp3" /3: d=0x01540032 i=403738 m=0100644 l=1 u=500 g=100 sz=7909376 /3: at = Mar 24 11:50:44 EST 2001 [ 985452644 ] /3: mt = Nov 15 11:49:38 EST 2000 [ 974306978 ] /3: ct = Nov 30 02:46:38 EST 2000 [ 975570398 ] /3: bsz=8192 blks=15472 fs=ufs /3: stat(0x001EB588, 0xFED074E0) = 0 /3: 0x001EB588: "/local/apache2.0/htdocs/mp3/Download/08-Sonic_Kinkies_-_Method_of_Oria.mp3" /3: d=0x01540032 i=403739 m=0100644 l=1 u=500 g=100 sz=7665664 /3: at = Mar 24 11:51:12 EST 2001 [ 985452672 ] /3: mt = Nov 15 11:50:02 EST 2000 [ 974307002 ] /3: ct = Nov 30 02:46:38 EST 2000 [ 975570398 ] /3: bsz=8192 blks=14992 fs=ufs /3: stat(0x001EB588, 0xFED074E0) = 0 /3: 0x001EB588: "/local/apache2.0/htdocs/mp3/Download/09-Yucatan_-_His_Brain_Has_Gone.mp3" /3: d=0x01540032 i=403740 m=0100644 l=1 u=500 g=100 sz=8882176 /3: at = Mar 24 11:51:03 EST 2001 [ 985452663 ] /3: mt = Nov 15 11:50:26 EST 2000 [ 974307026 ] /3: ct = Nov 30 02:46:38 EST 2000 [ 975570398 ] /3: bsz=8192 blks=17376 fs=ufs /3: getdents64(11, 0x0013DA80, 1048) = 0 /3: Incurred fault #5, FLTACCESS %pc = 0x000C7DFC /3: siginfo: SIGBUS BUS_ADRALN addr=0xFED05574 /3: Received signal #10, SIGBUS [caught] /3: siginfo: SIGBUS BUS_ADRALN addr=0xFED05574 /3: sigaction(0x0000000A, 0xFF14F7CC, 0x00000000) = 0 /3: new: hand = 0x00000000 mask = 0 0 0 0 flags = 0x0000 /3: context(1, 0xFED03DD8) /3: Incurred fault #5, FLTACCESS %pc = 0x000C7DFC /3: siginfo: SIGBUS BUS_ADRALN addr=0xFED05574 /3: Received signal #10, SIGBUS [default] /3: siginfo: SIGBUS BUS_ADRALN addr=0xFED05574 /3: *** process killed ***
