Needs review
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2013 at 01:32 UTC
Updated:
16 Jan 2019 at 12:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
BassistJimmyJam commentedPatch attached.
Comment #2
dawehnerHow many arguments did you passed into the view to cause a seg.fault? Is this a number you can estimate?
In general there are multiple issues in both views and drupal issue queue to simplify the regular expression.
Comment #3
BassistJimmyJam commentedI had over 7000 arguments being passed to the view. I'm not sure what the minimum number of arguments would be that would cause this issue. I searched the views issue queue before posting but was unable to find any issues addressing these specific regular expressions.
Comment #4
dawehnerYeah maybe not that easy to find, sorry: #1792836: Merge HandlerBase::breakPhrase() and HandlerBase::breakPhraseString() and clean up
Comment #5
dawehnerIn general this sounds wrong: 7k arguments to a view, ... can you please have a look at the other issue whether that new regex makes it easier?
Comment #6
BarisW commentedI was having a similar issue. On Drupal Commons, visiting the /activity page as a logged-in user, I was getting the segmentation fault as well. Described here: #2150673: Activity overview is broken for normal users
Comment #7
BarisW commentedCan this be committed?
Comment #8
clemens.tolboomHmmm ... the Drupal 8 views fix in #1792836: Merge HandlerBase::breakPhrase() and HandlerBase::breakPhraseString() and clean up does not follow the patch from #1 regarding recursion depths.
@BassistJimmyJam where did those 7K argument come from?
Side info : nice way to test @ http://www.phpliveregex.com/
Comment #9
BassistJimmyJam commentedIt's been awhile since I ran into this, but I believe they came form a default argument plugin. Those arguments were also passed to the link for the attached CSV export.
Comment #10
chris matthews commentedThe 6 year old patch in #1 to handlers.inc applied cleanly to the latest views 7.x-3.x-dev and if still relevant needs to be reviewed.