Marc Fielding created CB-6138: --------------------------------- Summary: Use of overflow-x in app with iOS 6 Deployment Target results in iOS 6 device/sim crash Key: CB-6138 URL: https://issues.apache.org/jira/browse/CB-6138 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 3.4.0 Environment: iOS 6.x (multiple sub-versions) both simulated and on-device. Xcode 5.0.2. OSX 10.9.2 Reporter: Marc Fielding Priority: Minor
Steps to reproduce (100% chance): 1) create a new Cordova 3.4 project (e.g., "mybugsample") 2) add ios platform to cordova project 3) replace www/index.html code with the following: //////////BEGIN SAMPLE/////////////// <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=medium-dpi"> <style> .app { -webkit-overflow-scrolling: touch; height:100%; width:100%; padding:0px; margin:0px; } td.myTD { overflow-x:hidden; } </style> </head> <body> <div class="app"> <table> <tr> <td class="myTD">some text</td> </tr> </table> <script type="application/javascript" src="cordova.js"></script> </div> </body> </html> ///////////////END SAMPLE////////// 4) Within project folder, perform "cordova prepare ios" 5) Within project folder, perform "open platforms/ios/mybugsample.xcodeproj" 6) Under the "General" tab in project properties, set the "Deployment Target" to "6.0". 7) Clean, build, and run the app in an iOS 6.x simulator or on a 6.x device. 8) App will crash just after the splashscreen is displayed with the following error: WebCore`WebCore::RenderTableCell::borderLeft() const: 0x3cc1c40: pushl %ebp 0x3cc1c41: movl %esp, %ebp 0x3cc1c43: subl $8, %esp 0x3cc1c46: movl 8(%ebp), %eax 0x3cc1c49: movl 12(%eax), %ecx 0x3cc1c4c: movl 12(%ecx), %ecx 0x3cc1c4f: movl 12(%ecx), %ecx 0x3cc1c52: movl 4(%ecx), %ecx 0x3cc1c55: testb $8, 48(%ecx) 0x3cc1c59: je 0x3cc1c6d ; WebCore::RenderTableCell::borderLeft() const + 45 0x3cc1c5b: movl %eax, (%esp) 0x3cc1c5e: movl $0, 4(%esp) 0x3cc1c66: calll 0x3cbf5c0 ; WebCore::RenderTableCell::borderHalfLeft(bool) const 0x3cc1c6b: jmp 0x3cc1c9b ; WebCore::RenderTableCell::borderLeft() const + 91 0x3cc1c6d: movl 4(%eax), %eax 0x3cc1c70: movl 20(%eax), %eax 0x3cc1c73: movl 104(%eax), %ecx 0x3cc1c76: cmpl $0, 132(%eax) 0x3cc1c7d: jne 0x3cc1c91 ; WebCore::RenderTableCell::borderLeft() const + 81 0x3cc1c7f: movl %ecx, %edx 0x3cc1c81: andl $1879048192, %edx 0x3cc1c87: xorl %eax, %eax 0x3cc1c89: cmpl $268435456, %edx 0x3cc1c8f: jb 0x3cc1c9b ; WebCore::RenderTableCell::borderLeft() const + 91 0x3cc1c91: shrl %ecx 0x3cc1c93: andl $67108863, %ecx 0x3cc1c99: movl %ecx, %eax 0x3cc1c9b: addl $8, %esp 0x3cc1c9e: popl %ebp 0x3cc1c9f: ret BTW, Jira lists Cordova 3.4 as an "unreleased version" :) Thanks! -- This message was sent by Atlassian JIRA (v6.1.5#6160)