https://bugzilla.redhat.com/show_bug.cgi?id=1610977 Bug ID: 1610977 Summary: [abrt] perl-XML-XPath: __libc_sigaction(): perl killed by SIGABRT Product: Fedora Version: 28 Component: perl-XML-XPath Assignee: jplesnik@xxxxxxxxxx Reporter: anthony@xxxxxxxxxxxx QA Contact: extras-qa@xxxxxxxxxxxxxxxxx CC: jplesnik@xxxxxxxxxx, kasal@xxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx Description of problem: how to reproduce: #!/bin/sh curl --silent --fail "https://en.wiktionary.org/w/index.php?title=test&printable=yes" \ | xpath -q -e \ '//div[@class = "mw-parser-output"]/*/span[@id = "Verb" or @id = "Noun" or @id = "Adjective"]/ancestor::*/following-sibling::ol[1]/li' Trying to parse wiktionary. messing with xpath just to experiment. above seems to cause a problem. probably with how xpath buffers stdin? when using a process substitution as an argument instead of stdin, it seems to work correctly. Version-Release number of selected component: perl-XML-XPath-1.42-2.fc28 Additional info: reporter: libreport-2.9.5 backtrace_rating: 4 cmdline: /usr/bin/perl /usr/bin/xpath -q -e //div[@class = "mw-parser-output"]/*/span[@id = "Verb" or @id = "Noun" or @id = "Adjective"]/ancestor::*/following-sibling::ol[1]/li crash_function: __libc_sigaction executable: /usr/bin/perl journald_cursor: s=eed7f97804554ea880a518462e7c4cbb;i=8afd8;b=eba64ca943464449a349f01ba4ccb9e2;m=5335fb2d5;t=5726432a1d733;x=2ffc37276436acb9 kernel: 4.17.9-200.fc28.x86_64 rootdir: / runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (1 frames) #0 __libc_sigaction at ../sysdeps/unix/sysv/linux/x86_64/sigaction.c:53 -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx/message/MXRGNTMSLJEBSUS2HKXKGPOYIV7AI4ZV/