httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Morris <supp...@bettercgi.com>
Subject Re: Help on debug an apache module
Date Tue, 04 Aug 2009 21:30:44 GMT
> (no debugging symbols found)

   You'll find instructions for compiling with 
debugging symbols in the first paragraph on the 
first page that comes up if you Google "debugging
apache module".
--
Ray Morris
support@bettercgi.com

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php


On 08/04/2009 04:21:33 PM, Jorge Bastos wrote:
> Hi people,
> 
>  
> 
> Sorry if this is not the correct place for this post.
> 
> I have some crashes with the libphp5.so, the thing is, if I start
> apache
> using gdb, I don't have any info available, just what I'm going to
> show
> below:
> 
> Is there a best way to debug the module (libphp5.so)?
> 
>  
> 
> On the kernel messages I have this:
> 
> --
> 
> apache2[30793]: segfault at 0 ip b6ed6e5f sp bff4c560 error 4 in
> libmysqlclient.so.15.0.0[b6e88000+1a3000]
> 
> --
> 
>  
> 
> flecha:~# gdb /usr/sbin/apache2
> 
> ruGNU gdb (GDB) 6.8.50.20090628-cvs-debian
> 
> Copyright (C) 2009 Free Software Foundation, Inc.
> 
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> 
> This is free software: you are free to change and redistribute it.
> 
> There is NO WARRANTY, to the extent permitted by law.  Type "show
> copying"
> 
> and "show warranty" for details.
> 
> This GDB was configured as "i486-linux-gnu".
> 
> For bug reporting instructions, please see:
> 
> <http://www.gnu.org/software/gdb/bugs/>...
> 
> (no debugging symbols found)
> 
> (gdb) run -X
> 
> Starting program: /usr/sbin/apache2 -X
> 
> (no debugging symbols found)
> 
> (no debugging symbols found)
> 
> Warning: DocumentRoot [/home/alojamento/enostar.pt/] does not exist
> 
> Warning: DocumentRoot [/home/alojamento/lemague.pt/] does not exist
> 
> Warning: DocumentRoot [/home/alojamento/cmmartins.com/] does not 
> exist
> 
> Warning: DocumentRoot [/home/alojamento/anossapensao.com/] does not
> exist
> 
> [Tue Aug 04 22:21:02 2009] [warn] NameVirtualHost *:80 has no
> VirtualHosts
> 
> [New LWP 31297]
> 
> [LWP 31297 exited]
> 
>  
> 
> Program received signal SIGSEGV, Segmentation fault.
> 
> 0xb6f38e5f in ?? ()
> 
> (gdb) bt full
> 
> #0  0xb6f38e5f in ?? ()
> 
> No symbol table info available.
> 
> #1  0xb6c7f949 in ?? ()
> 
> No symbol table info available.
> 
> #2  0xb6f586da in ?? ()
> 
> No symbol table info available.
> 
> #3  0xb6ca11b7 in ?? ()
> 
> No symbol table info available.
> 
> #4  0xb6580986 in ?? ()
> 
> No symbol table info available.
> 
> #5  0xb79d12bc in ?? ()
> 
> No symbol table info available.
> 
> #6  0xb79bbd20 in ?? ()
> 
> No symbol table info available.
> 
> #7  0xb79d0b8e in ?? ()
> 
> No symbol table info available.
> 
> #8  0xb79bbd20 in ?? ()
> 
> No symbol table info available.
> 
> #9  0xb79d0b8e in ?? ()
> 
> No symbol table info available.
> 
> #10 0xb79bbd20 in ?? ()
> 
> No symbol table info available.
> 
> #11 0xb79d0b8e in ?? ()
> 
> No symbol table info available.
> 
> #12 0xb79bbd20 in ?? ()
> 
> No symbol table info available.
> 
> #13 0xb79c0f18 in ?? ()
> 
> No symbol table info available.
> 
> #14 0xb79bbd20 in ?? ()
> 
> No symbol table info available.
> 
> 



Mime
View raw message