Ticket #163 (new defect)

Opened 4 months ago

segmentation fault

Reported by: ittayd Owned by: ser
Priority: normal Milestone:
Component: Other Version: 3.1.7
Severity: blocker Keywords:
Cc: Ruby version: 1.8.6
Operating system: Linux

Description

Trying to parse an xml doc, I get a segmentation fault. Below is the trace. Adding print-debugs shows it is trying to parse a path with value '*'

ruby --version

ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]

rexml is version 3.1.7.1 (from ruby)

c-call /usr/lib/ruby/1.8/rexml/parsers/xpathparser.rb:583 === Regexp

c-return /usr/lib/ruby/1.8/rexml/parsers/xpathparser.rb:583 === Regexp

line /usr/lib/ruby/1.8/rexml/parsers/xpathparser.rb:589 PrimaryExpr? REXML::Parsers::XPathParser

c-call /usr/lib/ruby/1.8/rexml/parsers/xpathparser.rb:589 === Regexp

c-return /usr/lib/ruby/1.8/rexml/parsers/xpathparser.rb:589 === Regexp

line /usr/lib/ruby/1.8/rexml/parsers/xpathparser.rb:599 PrimaryExpr? REXML::Parsers::XPathParser

c-call /usr/lib/ruby/1.8/rexml/parsers/xpathparser.rb:599 === Regexp

c-return /usr/lib/ruby/1.8/rexml/parsers/xpathparser.rb:599 === Regexp

line /usr/lib/ruby/1.8/rexml/parsers/xpathparser.rb:605 PrimaryExpr? REXML::Parsers::XPathParser

c-call /usr/lib/ruby/1.8/rexml/parsers/xpathparser.rb:605 === Regexp

Note: See TracTickets for help on using tickets.