httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Houser, Rick" <Houser.R...@aoins.com>
Subject RE: Help on debug an apache module
Date Wed, 05 Aug 2009 12:08:42 GMT
Depending on how you are getting into this situation and whether the
problem is triggered by the PHP itself, you might be able to replicate
it via CGI in a new process without going through the hoops to debug via
Apache.



Thanks,

Rick Houser
Auto-Owners Insurance
Systems Support
(517)703-2580

-----Original Message-----
From: Jorge Bastos [mailto:mysql.jorge@decimal.pt] 
Sent: Tuesday, August 04, 2009 5:22 PM
To: modules-dev@httpd.apache.org
Subject: Help on debug an apache module

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