Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494148 - sys-apps/grep-2.15[pcre]: grep -Pr ...: segmentation fault in Pexecute ( ... ) at pcresearch.c:189
Summary: sys-apps/grep-2.15[pcre]: grep -Pr ...: segmentation fault in Pexecute ( ... ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-13 14:04 UTC by Denis Kaganovich
Modified: 2013-12-17 09:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gdb backtrace of grep -Pr 'DEVICE_TABLE' /usr/src/linux --include '*.[hc]' (grep-2.15.gdb.taabtfull,6.79 KB, text/plain)
2013-12-13 14:17 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Kaganovich 2013-12-13 14:04:29 UTC
sys-apps/grep-2.15[pcre] - broken in long "-Pr" search, "Aborted".
To reproduce just run next command in 2.15 & 2.14 (I reduce original expression):

grep -Pr 'DEVICE_TABLE' /usr/src/linux --include '*.[hc]'
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-13 14:06:41 UTC
Please post your `emerge --info' output in a comment.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-13 14:09:07 UTC
Also, post the output of `emerge -vpq dev-libs/libpcre' in a comment.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-13 14:17:01 UTC
Created attachment 365224 [details]
gdb backtrace of grep -Pr 'DEVICE_TABLE' /usr/src/linux --include '*.[hc]'

[ebuild   R    ] sys-apps/grep-2.15  USE="nls pcre" 0 kB
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-13 14:19:33 UTC
[ebuild   R   ] dev-libs/libpcre-8.33  USE="bzip2 cxx jit readline recursion-limit (unicode) zlib -libedit -pcre16 -pcre32 -static-libs"
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-12-13 15:03:37 UTC
+*grep-2.15-r1 (13 Dec 2013)
+
+  13 Dec 2013; Lars Wendler <polynomial-c@gentoo.org> +grep-2.15-r1.ebuild,
+  +files/grep-2.15-avoid_maintainer_mode.patch,
+  +files/grep-2.15-fix_pattern_matching.patch,
+  +files/grep-2.15-fix_pcre_abort_regression.patch:
+  Fixed a regression when doing pcre searches (bug #494148). Fixed another
+  regression with pattern searches.
+