Professional Web Applications Themes

httpd.core - FreeBSD

What tools do I use to examine a core dump file? I'd like to at least have a clue what is wrong with httpd :c)...

  1. #1

    Default httpd.core

    What tools do I use to examine a core dump file?

    I'd like to at least have a clue what is wrong with httpd :c)


    Tom Guest

  2. #2

    Default Re: httpd.core

    Tom Vilot wrote:
     

    For examining any core file you need a debugger. A very popular debugger
    is the GNU Debugger also known as gdb

    man gdb for more information

    Regards
    S.
    Subhro Guest

  3. #3

    Default Re: httpd.core

    Tom Vilot wrote:
     

    For examining any core file you need a debugger. A very popular debugger
    is the GNU Debugger also known as gdb

    man gdb for more information

    Regards
    S.
    Subhro Guest

  4. #4

    Default Re: httpd.core

    Thank you, Subhro, for such a quick response to my question.
     


    Now ... the only problem is that if I examine the httpd.core file, it
    evidently has no debugging information in it (naturally):

    This GDB was configured as "i386-unknown-freebsd".
    Core was generated by `httpd'.
    Program terminated with signal 11, Segmentation fault.
    #0 0x2895e06c in ?? ()

    How do I build Apache with debugging information? I see in the INSTALL file:

    Use the --without-execstrip option to disable the stripping of
    executables on installation. This can be important on some platforms in
    combination with --enable-rule=SHARED_CORE or when Apache was
    built with debugging symbols which shouldn't be lost.

    I assume I need that, too ... but I also am not clear on how to build
    apache13-modssl with the debug information ...

    Thank you in advance.

    Tom Guest

  5. #5

    Default Re: httpd.core

    On Apr 9, 2005 9:45 PM, Tom Vilot <com> wrote: 

    This is because you need to explicitly build debugging symbols in the
    binary. Otherwise the whole debugging procedure is very crippled
     

    For getting this information you need to read through the Makefile.
    Generally the compile time option is DEBUG.

    So the procudere would be

    make -DDEBUG -Dother_compile_options_as_required

    This also applies for Apache.

    Best Regards,
    S.

    --
    Subhro Sankha Kar
    School of Information Technology
    Block AQ-13/1 Sector V
    ZIP 700091
    India
    Subhro Guest

Similar Threads

  1. Replies: 2
    Last Post: October 31st, 12:32 AM
  2. Assert failed in \server\core\../core/../TCFLVCacheMgr.h
    By shaharru in forum Macromedia Flash Flashcom
    Replies: 7
    Last Post: January 31st, 05:33 PM
  3. #18396 [Com]: apache dumps core when httpd -t used with libphp4.so loaded
    By olivier dot martinet at xsalto dot com in forum PHP Development
    Replies: 0
    Last Post: September 2nd, 04:38 PM
  4. Replies: 6
    Last Post: June 25th, 08:49 PM
  5. Replies: 0
    Last Post: June 24th, 06:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139