Can everyone help me to generate a backtrace of php
with symbols ? --enable-debug doesn't work.

Thanks.

-Thomas

On Thu, 2005-07-28 at 14:53 -0700, Rasmus Lerdorf wrote:
> Thomas Börnert wrote:
> > Here is the backtrace. Thanks for help. Thomas
> > 
> > i started a test.php with one line <? echo "hallo"; ?>
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread -1208971136 (LWP 11454)]
> > 0xb7d0d1b6 in ?? () from /etc/httpd/modules/libphp4.so
> > (gdb) bt
> > #0  0xb7d0d1b6 in ?? () from /etc/httpd/modules/libphp4.so
> > #1  0xb7cca2de in ?? () from /etc/httpd/modules/libphp4.so
> > #2  0xb7c8d883 in ?? () from /etc/httpd/modules/libphp4.so
> > #3  0xb7c8d8ef in ?? () from /etc/httpd/modules/libphp4.so
> > #4  0xb7cc69f4 in ?? () from /etc/httpd/modules/libphp4.so
> > #5  0xb7cc6b32 in ?? () from /etc/httpd/modules/libphp4.so
> > #6  0xb7c43786 in ?? () from /etc/httpd/modules/libphp4.so
> > #7  0xb7d018f5 in ?? () from /etc/httpd/modules/libphp4.so
> > #8  0xb7d0e459 in ?? () from /etc/httpd/modules/libphp4.so
> > #9  0xb7d0d95c in ?? () from /etc/httpd/modules/libphp4.so
> > #10 0x08068a95 in ap_run_handler (r=0x82f4f68) at config.c:152
> > #11 0x080690a0 in ap_invoke_handler (r=0x82f4f68) at config.c:364
> > #12 0x0806594a in ap_process_request (r=0x82f4f68) at http_request.c:249
> > #13 0x08060cfd in ap_process_http_connection (c=0x82eed08) at
> > http_core.c:251
> > #14 0x08072945 in ap_run_process_connection (c=0x82eed08) at
> > connection.c:43
> > #15 0x08067064 in child_main (child_num_arg=0) at prefork.c:610
> > #16 0x0806727b in make_child (s=0x0, slot=0) at prefork.c:650
> > #17 0x080672d8 in startup_children (number_to_start=8) at prefork.c:722
> > #18 0x08067b7a in ap_mpm_run (_pconf=0x80a00a8, plog=0x80ca150, s=0x0)
> > at prefork.c:941
> > #19 0x0806e0ed in main (argc=2, argv=0xbfb12c64) at main.c:618
> > (gdb)
> 
> Hrm.. Without debugging symbols that doesn't tell us much.  Any chance
> you can build an unstripped libphp4.so?
> 
> -Rasmus
-- 
Mit freundlichen Grüßen
Best regards

Thomas Börnert
Geschäftsführer
Senior IT Consultant & Manager
BSI lizenzierter IT-Grundschutz Auditor

DO NOT GIVE OUR ADDRESS TO THIRD PARTYS, WE HATE JUNK-MAIL
___________________________________________________________________
TBits.net GmbH                  | Telefon:  +49 (0)7172 18391-0
Thomas Börnert                  | Telefax:  +49 (0)7172 18391-99
Seeweg 6                        | Service:  +49 (0)700 TBITSNET
D-73553 Alfdorf                 | Auto:     +49 (0)170 6744415
www.tbits.net                   | eMail:    [EMAIL PROTECTED]
Key fingerprint = 8602 2EF5 78FD 3C04 B148  2506 5D4F 6A49 E4E2 9D15

Reply via email to