debug apache-php dump
hi list,*
i want to know how can i "bind" php symbols to apache in order to debug an apache2 coredump file. i upgraded my system to debian squeeze, and suddenly my web application started to generate "segmentation faults" randomly. it is a standard package installation, apache2, php5 and libapache2-mod-php5. i also installed*apache2-dbg,*libapr1-dbg,*libaprutil1-dbg and*php5-dbg. i generated an apache coredump file,*but when i open dump file with gdb the only i get is this: root@desarrollo:~# gdb /usr/sbin/apache2 /var/cache/apache2/coreGNU gdb (GDB) 7.0.1-debianCopyright (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/>... warning: The current binary is a PIE (Position Independent Executable), whichGDB does NOT currently support. *Most debugger features will fail if usedin this session. Reading symbols from /usr/sbin/apache2...Reading symbols from /usr/lib/debug/usr/sbin/apache2-mpm-prefork...done.(no debugging symbols found)...done.Core was generated by `/usr/sbin/apache2 -k start'. Program terminated with signal 11, Segmentation fault.#0 *0xb6edfcd5 in ?? ()(gdb) bt full#0 *0xb6edfcd5 in ?? ()No symbol table info available.#1 *0xb6e9f628 in ?? () No symbol table info available.#2 *0xb626b47a in ?? ()No symbol table info available.#3 *0xb6ecb2b4 in ?? ()No symbol table info available.#4 *0xb6273500 in ?? () No symbol table info available.#5 *0xb6ebfe00 in ?? ()No symbol table info available.#6 *0xb6ecae88 in ?? ()No symbol table info available.#7 *0xb6ebe641 in ?? () No symbol table info available.#8 *0xb6e63095 in ?? ()No symbol table info available.#9 *0xb6f5064c in ?? ()No symbol table info available.#10 0xb77f5521 in ?? () No symbol table info available.#11 0xb77f9326 in ?? ()No symbol table info available.#12 0xb7808ca8 in ?? ()No symbol table info available.#13 0xb78057c8 in ?? () No symbol table info available.#14 0xb77fdda1 in ?? ()No symbol table info available.#15 0xb780e9ac in ?? ()No symbol table info available.#16 0xb780ed0e in ?? () No symbol table info available.#17 0xb780fcbb in ?? ()No symbol table info available.#18 0xb77dff8a in ?? ()No symbol table info available.#19 0xb75c8c76 in ?? () No symbol table info available.#20 0xb77dec01 in ?? ()No symbol table info available.(gdb) quit i am completely newbie with this thing of debugging... *what am i doing wrong? any help is welcome!! -- Roberto Scattini |
debug apache-php dump
hi list,*
i want to know how can i "bind" php symbols to apache in order to debug an apache2 coredump file. i upgraded my system to debian squeeze, and suddenly my web application started to generate "segmentation faults" randomly. it is a standard package installation, apache2, php5 and libapache2-mod-php5. i also installed*apache2-dbg,*libapr1-dbg,*libaprutil1-dbg and*php5-dbg. i generated an apache coredump file,*but when i open dump file with gdb the only i get is this: # gdb /usr/sbin/apache2 /var/cache/apache2/coreGNU gdb (GDB) 7.0.1-debianCopyright (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/>... warning: The current binary is a PIE (Position Independent Executable), whichGDB does NOT currently support. *Most debugger features will fail if usedin this session. Reading symbols from /usr/sbin/apache2...Reading symbols from /usr/lib/debug/usr/sbin/apache2-mpm-prefork...done.(no debugging symbols found)...done.Core was generated by `/usr/sbin/apache2 -k start'. Program terminated with signal 11, Segmentation fault.#0 *0xb6edfcd5 in ?? ()(gdb) bt full#0 *0xb6edfcd5 in ?? ()No symbol table info available.#1 *0xb6e9f628 in ?? () No symbol table info available.#2 *0xb626b47a in ?? ()No symbol table info available.#3 *0xb6ecb2b4 in ?? ()No symbol table info available.#4 *0xb6273500 in ?? () No symbol table info available.#5 *0xb6ebfe00 in ?? ()No symbol table info available.#6 *0xb6ecae88 in ?? ()No symbol table info available.#7 *0xb6ebe641 in ?? () No symbol table info available.#8 *0xb6e63095 in ?? ()No symbol table info available.#9 *0xb6f5064c in ?? ()No symbol table info available.#10 0xb77f5521 in ?? () No symbol table info available.#11 0xb77f9326 in ?? ()No symbol table info available.#12 0xb7808ca8 in ?? ()No symbol table info available.#13 0xb78057c8 in ?? () No symbol table info available.#14 0xb77fdda1 in ?? ()No symbol table info available.#15 0xb780e9ac in ?? ()No symbol table info available.#16 0xb780ed0e in ?? () No symbol table info available.#17 0xb780fcbb in ?? ()No symbol table info available.#18 0xb77dff8a in ?? ()No symbol table info available.#19 0xb75c8c76 in ?? () No symbol table info available.#20 0xb77dec01 in ?? ()No symbol table info available.(gdb) quit i am completely newbie with this thing of debugging... *what am i doing wrong? any help is welcome!! -- Roberto Scattini |
debug apache-php dump
On Monday 03 October 2011 23:53:45 Roberto Scattini wrote:
> hi list, > > i want to know how can i "bind" php symbols to apache in order to debug an > apache2 coredump file. aptitude install apache2-dbg should give you debug symbols for apache as a starting point Michael -- To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: 201110051833.31310.mimo@restoel.net">http://lists.debian.org/201110051833.31310.mimo@restoel.net |
debug apache-php dump
michael:
>> i want to know how can i "bind" php symbols to apache in order to debug an >> apache2 coredump file. > aptitude install apache2-dbg > > should give you debug symbols for apache as a starting point thanks. as you can see in my previous email, i already installed apache2-dbg, libapr1-dbg, libaprutil1-dbg and php5-dbg. i dont know how to include "php module symbols" ... -- Roberto Scattini -- To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: CAApYZY_oVWp09gv46jMcS_duqrdV1akOoGfRcEAWU+zU7keZ6 Q@mail.gmail.com">http://lists.debian.org/CAApYZY_oVWp09gv46jMcS_duqrdV1akOoGfRcEAWU+zU7keZ6 Q@mail.gmail.com |
debug apache-php dump
On Tue, Oct 04, 2011 at 09:36:59AM -0300, Roberto Scattini wrote:
> hi list, > > i want to know how can i "bind" php symbols to apache in order to debug an > apache2 coredump file. > > i upgraded my system to debian squeeze, and suddenly my web application > started to generate "segmentation faults" randomly. > it is a standard package installation, apache2, php5 and > libapache2-mod-php5. i also > installed apache2-dbg, libapr1-dbg, libaprutil1-dbg and php5-dbg. > > i generated an apache coredump file, but when i open dump file with gdb the > only i get is this: > > # gdb /usr/sbin/apache2 /var/cache/apache2/core > GNU gdb (GDB) 7.0.1-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/>... > > warning: The current binary is a PIE (Position Independent Executable), > which > GDB does NOT currently support. Most debugger features will fail if used > in this session. > > Reading symbols from /usr/sbin/apache2...Reading symbols from > /usr/lib/debug/usr/sbin/apache2-mpm-prefork...done. > (no debugging symbols found)...done. You need apache2-dbg. Also, check this bugreport¹. ¹http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346409 -- Huella de clave primaria: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56 |
debug apache-php dump
On Fri, Oct 14, 2011 at 6:18 PM, David Sastre <d.sastre.medina@gmail.com> wrote:
> On Tue, Oct 04, 2011 at 09:36:59AM -0300, Roberto Scattini wrote: >> ... >> it is a standard package installation, apache2, php5 and >> libapache2-mod-php5. i also >> installed apache2-dbg, libapr1-dbg, libaprutil1-dbg and php5-dbg. >> >> > You need apache2-dbg. Also, check this bugreport¹. > hi david, thanks for your response! you can see that i already have apache2-dbg installed, and gdb seems to be loading some symbols from /usr/lib/debug/... > ¹http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346409 > this seems to clarify a little... it will not work... just like it says... :( i will try to build gdb with PIE support by myself... thanks!!! -- Roberto Scattini -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: CAApYZY_VdR1d1s4Q3eiEj4svesd56oTLR+k=UKhxqP03biTEW g@mail.gmail.com">http://lists.debian.org/CAApYZY_VdR1d1s4Q3eiEj4svesd56oTLR+k=UKhxqP03biTEW g@mail.gmail.com |
debug apache-php dump
On Fri, Oct 14,
2011 at 6:18 PM, David Sastre <d.sastre.medina@gmail.com> wrote: On Tue, Oct 04, 2011 at 09:36:59AM -0300, Roberto Scattini wrote: ... it is a standard package installation, apache2, php5 and libapache2-mod-php5. i also installed apache2-dbg, libapr1-dbg, libaprutil1-dbg and php5-dbg. You need apache2-dbg. Also, check this bugreport¹. hi david, thanks for your response! you can see that i already have apache2-dbg installed, and gdb seems to be loading some symbols from /usr/lib/debug/... ¹http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346409 this seems to clarify a little... it will not work... just like it says... i will try to build gdb with PIE support by myself... thanks!!! -- Roberto Scattini Hi Roberto, I know it's a bit late, but I ran into the same problem. The easiest solution I could come up with was to fetch gdb 7.3-1~bpo60+1 from the squeeze backports. http://packages.debian.org/squeeze-backports/gdb --* Glenn B. Jakobsen |
| All times are GMT. The time now is 04:25 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.