Hello,
Yes I really need multitouch for button scene and I can even give good explanation why I need it, but even if I do not need multitiouch it does not change the fact that there is a valid code that crashed corona SDK simulator and binaries created by Corona SDK.
I spend some more time (which I don’t like to do) and narrowed problem down to this:
widget = require("widget"); system.activate("multitouch"); local parentsButton = widget.newButton({ width = 260, height = 90, defaultFile = "assets/btn1.png", overFile = "assets/btn2.png", onEvent = function(event) if (event.phase == "began") then event.target:removeSelf(); end end }); parentsButton.x = display.contentCenterX; parentsButton.y = display.contentCenterY;
just run this code in main.lua and it will crash 1 time out of 3.
about handling touch ID: I assume that widget library handles touchID-s and if not there should be a big red note about it in docs.
Event assuming that widgets don’t support touch ID handling it will look like this
widget = require("widget"); system.activate("multitouch"); local touchID = nil; local parentsButton = widget.newButton({ width = 260, height = 90, defaultFile = "assets/btn1.png", overFile = "assets/btn2.png", onEvent = function(event) if (event.phase == "began") then touchID = event.id; event.target:removeSelf(); end -- Bunch of code comparing touchID and event.id which does not matter because it crashed in code above end }); parentsButton.x = display.contentCenterX; parentsButton.y = display.contentCenterY;
also there is just a single click because it is simulator and I am using single finger when app crashes 
if this helps here is stack of crash
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.coronalabs.Corona_Simulator 0x00000001022adbb3 0x1021d9000 + 871347
1 com.coronalabs.Corona_Simulator 0x00000001022adc50 0x1021d9000 + 871504
2 com.coronalabs.Corona_Simulator 0x00000001022738f4 0x1021d9000 + 633076
3 com.coronalabs.Corona_Simulator 0x00000001022740ff 0x1021d9000 + 635135
4 com.coronalabs.Corona_Simulator 0x00000001022928d5 0x1021d9000 + 760021
5 com.coronalabs.Corona_Simulator 0x00000001021ecacc 0x1021d9000 + 80588
6 com.apple.AppKit 0x00007fff909fc145 -[NSWindow sendEvent:] + 781
7 com.apple.AppKit 0x00007fff9099d5d4 -[NSApplication sendEvent:] + 2021
8 com.apple.AppKit 0x00007fff907ed9f9 -[NSApplication run] + 646
9 com.apple.AppKit 0x00007fff907d8783 NSApplicationMain + 940
10 com.coronalabs.Corona_Simulator 0x00000001021dafd4 start + 52
I can not narrow it down even more because I don’t have source codes of Corona SDK.