Re: Segmentation fault on an Intel based Mac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 21-Mar-07, at 00:23 , Sander Temme wrote:


On Mar 20, 2007, at 9:04 PM, Andre-John Mas wrote:

Hi,

I have just downloaded Apache 2.2.4, compiled it, installed it
and the tried running it. What I get when I call:

./apachectl start

is:

./apachectl: line 102: 12799 Segmentation fault      $HTTPD -k $ARGV

and if I call:

./httpd

directly, then I get:

Bus Error

Could you run

ulimit -c unlimited

before you start the server? It should dump core in /cores. Then, run

gdb httpd -core `ls -t /cores | head -1`

and when gdb has finished loading, execute the bt command (bt == backtrace). Send us the output of the bt command (#0 all the way through the line that says 'in main ()').

Turns out that there is that there is a better crash log automatically generated by
the OS, in /Library/Logs/CrashReporter/, which I had forgotten about.
Follows is the contents of httpd.crash.log:

Host Name:      ghostwalker
Date/Time:      2007-03-24 11:42:32.637 -0400
OS Version:     10.4.9 (Build 8P2137)
Report Version: 4

Command: httpd
Path:    ./httpd
Parent:  sh [3496]

Version: ??? (???)

PID:    3584
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x0000003f

Thread 0 Crashed:
0   httpd            	0x0002da40 compile_regex + 2434 (pcre.c:2463)
1   httpd            	0x0002d6a7 compile_regex + 1513 (pcre.c:3666)
2   httpd            	0x000300f4 pcre_compile + 696 (pcre.c:5511)
3   httpd            	0x000082bc ap_regcomp + 65 (util_pcre.c:135)
4   httpd            	0x000051f3 ap_pregcomp + 57 (util.c:268)
5 mod_usertrack.so 0x0058cb18 set_and_comp_regexp + 351 (mod_usertrack.c:203) 6 mod_usertrack.so 0x0058cc38 make_cookie_dir + 91 (mod_usertrack.c:271) 7 httpd 0x0001a33c ap_single_module_configure + 79 (config.c:2048)
8   httpd            	0x00028e8c load_module + 969 (mod_so.c:294)
9   httpd            	0x00017996 invoke_cmd + 273 (config.c:785)
10 httpd 0x0001849a ap_build_config_sub + 479 (config.c: 1436)
11  httpd            	0x00018a65 ap_build_config + 141 (config.c:1219)
12 httpd 0x00019230 process_resource_config_nofnmatch + 527 (config.c:1629) 13 httpd 0x00019538 ap_process_resource_config + 302 (config.c:1742)
14  httpd            	0x0001a14b ap_read_config + 693 (config.c:2022)
15  httpd            	0x000030be main + 1745 (main.c:610)
16  httpd            	0x0000245e _start + 228 (crt.c:272)
17  httpd            	0x00002379 start + 41

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x0000005d  ebx: 0x0002d0cf  ecx: 0x00000000  edx: 0x01847715
  edi: 0x00000010  esi: 0x00000000  ebp: 0xbfffec38  esp: 0xbfffeaa0
   ss: 0x0000001f  efl: 0x00010246  eip: 0x0002da40   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037

Binary Images Description:
    0x1000 -    0x3dfff httpd 	/Library/Apache2/bin/httpd
0x124000 - 0x132fff libaprutil-1.0.dylib /Library/Apache2/lib/ libaprutil-1.0.dylib 0x16c000 - 0x183fff libexpat.0.dylib /Library/Apache2/lib/ libexpat.0.dylib 0x1b7000 - 0x1b7fff mod_authn_file.so /Library/Apache2/modules/ mod_authn_file.so 0x1bf000 - 0x1bffff mod_authn_dbm.so /Library/Apache2/modules/ mod_authn_dbm.so 0x1c7000 - 0x1c7fff mod_authn_anon.so /Library/Apache2/modules/ mod_authn_anon.so 0x1cf000 - 0x1cffff mod_authn_dbd.so /Library/Apache2/modules/ mod_authn_dbd.so 0x1d7000 - 0x1d7fff mod_authn_default.so /Library/Apache2/ modules/mod_authn_default.so 0x1df000 - 0x1dffff mod_authz_host.so /Library/Apache2/modules/ mod_authz_host.so 0x1e8000 - 0x1e8fff mod_authz_groupfile.so /Library/Apache2/ modules/mod_authz_groupfile.so 0x1f1000 - 0x1f1fff mod_authz_user.so /Library/Apache2/modules/ mod_authz_user.so 0x305000 - 0x31bfff libapr-1.0.dylib /Library/Apache2/lib/ libapr-1.0.dylib 0x37b000 - 0x37bfff mod_authz_dbm.so /Library/Apache2/modules/ mod_authz_dbm.so 0x383000 - 0x383fff mod_authz_owner.so /Library/Apache2/modules/ mod_authz_owner.so 0x38b000 - 0x38bfff mod_authz_default.so /Library/Apache2/ modules/mod_authz_default.so 0x393000 - 0x393fff mod_auth_basic.so /Library/Apache2/modules/ mod_auth_basic.so 0x39c000 - 0x3a0fff mod_auth_digest.so /Library/Apache2/modules/ mod_auth_digest.so 0x3ae000 - 0x3b2fff mod_cache.so /Library/Apache2/modules/ mod_cache.so
  0x3c9000 -   0x3cafff mod_dbd.so 	/Library/Apache2/modules/mod_dbd.so
0x3d4000 - 0x3d4fff mod_dumpio.so /Library/Apache2/modules/ mod_dumpio.so 0x3dd000 - 0x3dffff mod_ext_filter.so /Library/Apache2/modules/ mod_ext_filter.so 0x3eb000 - 0x3ecfff mod_filter.so /Library/Apache2/modules/ mod_filter.so 0x3f7000 - 0x3f7fff mod_log_forensic.so /Library/Apache2/ modules/mod_log_forensic.so 0x505000 - 0x50cfff mod_include.so /Library/Apache2/modules/ mod_include.so 0x521000 - 0x523fff mod_deflate.so /Library/Apache2/modules/ mod_deflate.so 0x52f000 - 0x531fff mod_log_config.so /Library/Apache2/modules/ mod_log_config.so 0x540000 - 0x540fff mod_logio.so /Library/Apache2/modules/ mod_logio.so
  0x549000 -   0x549fff mod_env.so 	/Library/Apache2/modules/mod_env.so
0x551000 - 0x554fff mod_mime_magic.so /Library/Apache2/modules/ mod_mime_magic.so 0x563000 - 0x563fff mod_cern_meta.so /Library/Apache2/modules/ mod_cern_meta.so 0x56c000 - 0x56dfff mod_expires.so /Library/Apache2/modules/ mod_expires.so 0x576000 - 0x577fff mod_headers.so /Library/Apache2/modules/ mod_headers.so 0x582000 - 0x582fff mod_ident.so /Library/Apache2/modules/ mod_ident.so 0x58b000 - 0x58cfff mod_usertrack.so /Library/Apache2/modules/ mod_usertrack.so
0x8fe00000 - 0x8fe4afff dyld 46.12	/usr/lib/dyld
0x90000000 - 0x90172fff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x90bce000 - 0x90bd5fff libgcc_s.1.dylib 	/usr/lib/libgcc_s.1.dylib
0x9114c000 - 0x9115afff libz.1.dylib 	/usr/lib/libz.1.dylib
0x92a07000 - 0x92af4fff libiconv.2.dylib 	/usr/lib/libiconv.2.dylib
0x94060000 - 0x940a1fff libsqlite3.0.dylib 	/usr/lib/libsqlite3.0.dylib
0x95a5a000 - 0x95a5cfff libmathCommon.A.dylib /usr/lib/system/ libmathCommon.A.dylib




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux