You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Stefan Traby <st...@hello-penguin.com> on 2000/10/18 19:46:37 UTC
mod_perl/6709: Static XML within Apache conflicts with XML-Parser-2.30 (expat 1.95.0)
>Number: 6709
>Category: mod_perl
>Synopsis: Static XML within Apache conflicts with XML-Parser-2.30 (expat 1.95.0)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Oct 18 10:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: stefan@hello-penguin.com
>Release: 3.1.14
>Organization:
apache
>Environment:
Linux stefan 2.2.17 #1 Son Okt 8 22:43:52 MEST 2000 i686 unknown
gcc version pgcc-2.95.2 19991024 (release)
>Description:
Program received signal SIGSEGV, Segmentation fault.
0x4025f31f in memmove () at ../sysdeps/generic/memmove.c:108
108 ../sysdeps/generic/memmove.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 0x4025f31f in memmove () at ../sysdeps/generic/memmove.c:108
#1 0x818a49a in XML_GetBuffer ()
#2 0x818a30e in XML_Parse ()
#3 0x4037bf87 in XS_XML__Parser__Expat_ParseString ()
from /opt/lib/perl5/site_perl/5.7.0/i686-linux/auto/XML/Parser/Expat/Expat.so
#4 0x81ea1c8 in Perl_pp_entersub ()
#5 0x81e4a60 in Perl_runops_standard ()
#6 0x81a4c7a in perl_call_sv ()
#7 0x81a4dc5 in perl_eval_sv ()
#8 0x814a5ba in perl_section ()
#9 0x8163ada in ap_clear_module_list ()
#10 0x816464f in ap_handle_command ()
#11 0x81646f9 in ap_srm_command_loop ()
#12 0x8164e24 in ap_process_resource_config ()
#13 0x81657e8 in ap_read_config ()
#14 0x8170997 in main ()
#15 0x4021ed4b in __libc_start_main () at ../sysdeps/generic/libc-start.c:93
(gdb)
>How-To-Repeat:
Combine Apache with old static expat and new expat in XML-Parser-2.30
>Fix:
Make XML a configure option for Apache. While removing the expat directories
works, it breaks make install because of:
Makefile.tmpl: $(CP) $(TOP)/$(SRC)/lib/expat-lite/*.h $(root)$(includedir)/xml/
easy fix:
Makefile.tmpl: -$(CP) $(TOP)/$(SRC)/lib/expat-lite/*.h $(root)$(includedir)/xml/
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]