Not seeing any crash when running your script. Is your Inquisit installation up to date? You should be using 4.0.6.0, which you can obtain via
https://www.millisecond.com/download/There is, however, a slight syntax issue in that
<text S1L>
/items = stimulus
/position = (90,50)
/fontstyle = ("Arial", 10%)
/select = stimulus</text>
should actually read
<text S1L>
/items = stimulus
/position = (90,50)
/fontstyle = ("Arial", 10%)
/select = list.stimulus.nextvalue</text>
and so forth for the remaining <text> elements.
Also, <trial reset> should rather use the object's functions directly as in
<trial reset>
/ ontrialbegin = [item.set.clearitems(); list.stimulus.reset();]/ stimulusframes = [1=blank]
/ response = noresponse
/ recorddata = false
/ posttrialpause = 200
</trial>
FInally, to avoid side-effects of clearing the <item> element between blocks, you should do
<text set_1>
/ items = set
/ txcolor = yellow
/ fontstyle = ("Arial", 10%)
/ erase = false
/ select = values.firstitem
</text>
<text set_6>
/ items = set
/ txcolor = yellow
/ fontstyle = ("Arial", 10%)
/ erase = false
/ select = values.sixthitem
</text>
<values>
/ firstitem = 1
/ sixthitem = 6
</values>