After some more experimentation, I narrowed it down a little more: It seems the issue was introduced between versions 0.3.4 and 0.3.5. Also, it seems that the problem is inside the polymer package, *not* the platform layer as one might expect (I reproduced the crashes with Polymer/polymer#0.3.5 + Polymer/platform#0.3.2). Then again, apparently TemplateBinding and polymer-expressions are contained in the polymer package, so maybe not that surprising after all. So it seems the culprit is hiding in one of these changesets:
https://github.com/Polymer/polymer-dev/compare/0.3.4...0.3.5 https://github.com/polymer/TemplateBinding/compare/0.3.4...0.3.5 https://github.com/polymer/polymer-expressions/compare/0.3.4...0.3.5 https://github.com/Polymer/polymer-gestures/compare/0.3.4...0.3.5 Anything else I missed that is part of the polymer package? On Monday, September 1, 2014 10:56:18 AM UTC+2, Martin Kleinschrodt wrote: > > Ever since updating from v0.3.2, my Polymer app crashes all the time. The > problem is extremely hard to debug since I don't get any error messages in > the browser console but instead the app crashes completely. This happens > both in mobile safari and in the web view. The only clue that I have is > this log from my cordova app: > > Process 15971 stopped > * thread #6: tid = 0x5783c3, 0x36ae071a > WebCore`WebCore::Document::touchEventsChangedTimerFired(WebCore::Timer<WebCore::Document>*) > > + 254, name = 'WebThread', stop reason = EXC_BAD_ACCESS (code=1, > address=0xfffffff9) > frame #0: 0x36ae071a > WebCore`WebCore::Document::touchEventsChangedTimerFired(WebCore::Timer<WebCore::Document>*) > > + 254 > WebCore`WebCore::Document::touchEventsChangedTimerFired(WebCore::Timer<WebCore::Document>*) > > + 254: > -> 0x36ae071a: ldr.w r8, [r0] > 0x36ae071e: cmp.w r8, #0x0 > 0x36ae0722: beq 0x36ae07e4 ; > WebCore::Document::touchEventsChangedTimerFired(WebCore::Timer<WebCore::Document>*) > > + 456 > 0x36ae0724: movs r0, #0x0 > > I don't know enough about WebCore to get anything from this, but based on > when the crashes occur (usually after updating a model) I suspect that the > problem has something to do with either polymer-expressions or > TemplateBinding. > > I'm currently using Polymer 0.4.0 but I think the problem exists since > 0.3.3. > > If you want to reproduce the problem yourself, go ahead and open > http://maklesoft.github.io/padlock on your iPhone (or iOS simulator) and > follow these steps: > > - Choose a master password (you can simply use an empty one) > - Create a record > - Go back > - Create another record > - Switch back and forth between the two records (tap a record to select > it), at some point the app will crash (probably sooner rather than later) > > Other ways to reproduce the crash > > - Delete a record > - Add a field to a record > - Add a category to a record > > I wish I could offer more information, but at this point I am pretty much > clueless. If you want to dig through the code, you can find it at > > https://github.com/maklesoft/padlock > > I probably don't have to mention that this is a show stopper for me. I > wonder if anybody is having similar problems? > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/e19576e2-068a-4b84-9a2a-e7ad0d8af5fd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
