You're right, Gatis ran into the same issue. Seems arm jit specific, he made a nice js only test case. (see 39289)
Simon Opprinnelig melding Fra: Zoltán Balogh Sendt: 07:50 tirsdag 27. mai 2014 Til: [email protected] Emne: [Development] split() and replace() methods SEGFAULT Hi, During the Qt5.3 migration work we have been biten by a strange bug: https://bugreports.qt-project.org/browse/QTBUG-39255 The issue effect armhf platforms and confirmed on Android too. example1: import QtQuick 2.0 Item {Component.onCompleted: "bla".replace(/\w/g, function(a){ return a.toUpperCase() })} example2: Button { function split_text() { var text_to_split = 'May the 4th be with U'; return text_to_split.split(/\s/g); } onClicked:{ label.text = split_text()[0]; } } I suspect that it is a bug in the QV4. Zoltan _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
