网站在iOS上的Safari崩溃(Website is crashing on Safari in iOS)

编程入门 行业动态 更新时间:2024-10-22 21:20:28
网站在iOS上的Safari崩溃(Website is crashing on Safari in iOS)

我们在客户的网站上有一个复杂的问题。 该网站在iPhone 6 Plus上的iOS 9.3.2上崩溃。 但它不会在最新版本的iOS上崩溃,甚至在iOS 9.3.1的iPhone 6上也不会崩溃。

如何重现错误:

使用iPhone 6(或iPhone 6 Plus)打开网站: http : //www.kindervorhang.ch/Vorhaenge-fixfertig-Verdunkler-Ellie 点击«In den Warenkorb»将产品添加到购物篮中 现在,如果您滚动网站或更改方向,它将崩溃 现在,如果您触摸某些内容或滚动一下,它将再次崩溃,直到您看到全屏错误说明

有没有人有一个熟悉的问题或现在如何解决它?

我在Xcode中得到了这个错误代码:

May 10 12:43:56 ASs-iPhone diagnosticd[88] <Error>: unable to find offset 0x804cf98c in shared cache for arch 'arm64' May 10 12:43:56 ASs-iPhone ReportCrash[703] <Notice>: platform_task_update_threads failed 1 May 10 12:43:56 ASs-iPhone ReportCrash[703] <Notice>: Formulating report for process[699] com.apple.WebKit.WebContent May 10 12:43:56 ASs-iPhone assertiond[67] <Error>: assertion failed: 13F69: assertiond + 72572 [0B862A7D-6E8B-3778-AD17-C7694ECD5BCD]: 0x3 May 10 12:43:56 ASs-iPhone Unknown[67] <Error>: May 10 12:43:56 ASs-iPhone assertiond[67] <Error>: assertion failed: 13F69: assertiond + 72572 [0B862A7D-6E8B-3778-AD17-C7694ECD5BCD]: 0x3 May 10 12:43:56 ASs-iPhone Unknown[67] <Error>: May 10 12:43:56 ASs-iPhone UserEventAgent[26] <Notice>: jetsam: kernel termination snapshot being created May 10 12:43:56 ASs-iPhone ReportCrash[703] <Warning>: report not saved because it is non-actionable May 10 12:43:56 ASs-iPhone com.apple.xpc.launchd[1] <Error>: assertion failed: 13F69: launchd + 116796 [9F6284CF-8A17-36CC-9DB5-85D510A21F14]: 0x3 May 10 12:43:56 ASs-iPhone ReportCrash[704] <Warning>: Report of type '298(298)' not saved because the limit of 25 logs has been reached

We have a complicated problem on a website of a customer. The Website crashed on iOS 9.3.2 on iPhone 6 Plus. It does however not crash on the newest version of iOS or even on a iPhone 6 with iOS 9.3.1.

How to reproduce the error:

Open the website with iPhone 6 (or iPhone 6 Plus): http://www.kindervorhang.ch/Vorhaenge-fixfertig-Verdunkler-Ellie Klick on «In den Warenkorb» to add the product to the basket Now if you scroll the website or change the orientation it will crash Now if you touch something or scroll a bit it will crash again until you see a full screen error description

Does anyone have a smiliar problem or now how to solve it?

I got this errorcode in Xcode:

May 10 12:43:56 ASs-iPhone diagnosticd[88] <Error>: unable to find offset 0x804cf98c in shared cache for arch 'arm64' May 10 12:43:56 ASs-iPhone ReportCrash[703] <Notice>: platform_task_update_threads failed 1 May 10 12:43:56 ASs-iPhone ReportCrash[703] <Notice>: Formulating report for process[699] com.apple.WebKit.WebContent May 10 12:43:56 ASs-iPhone assertiond[67] <Error>: assertion failed: 13F69: assertiond + 72572 [0B862A7D-6E8B-3778-AD17-C7694ECD5BCD]: 0x3 May 10 12:43:56 ASs-iPhone Unknown[67] <Error>: May 10 12:43:56 ASs-iPhone assertiond[67] <Error>: assertion failed: 13F69: assertiond + 72572 [0B862A7D-6E8B-3778-AD17-C7694ECD5BCD]: 0x3 May 10 12:43:56 ASs-iPhone Unknown[67] <Error>: May 10 12:43:56 ASs-iPhone UserEventAgent[26] <Notice>: jetsam: kernel termination snapshot being created May 10 12:43:56 ASs-iPhone ReportCrash[703] <Warning>: report not saved because it is non-actionable May 10 12:43:56 ASs-iPhone com.apple.xpc.launchd[1] <Error>: assertion failed: 13F69: launchd + 116796 [9F6284CF-8A17-36CC-9DB5-85D510A21F14]: 0x3 May 10 12:43:56 ASs-iPhone ReportCrash[704] <Warning>: Report of type '298(298)' not saved because the limit of 25 logs has been reached

最满意答案

我花了一整天时间来解决类似的问题。 我的网站因iPad 3和iPhone 5的负载而崩溃。我最终将其缩小为CSS属性:

#cv-section-header { overflow-x: hidden; }

很难相信CSS属性可能会导致网站在旧iOS上中断,但它就是这样。

We tested the css line for line and found that everything was working if we commented this lines out:

div.set-65131>.colInside { position: fixed; top: 0; height: 100%; width: 100% } div.set-53541 { height: 100%; width: 100%; position: absolute } div.set-53541>.colInside { background-image: none; background-color: rgba(255, 255, 255, 0) } div.set-53541>.colInside { height: 100%; max-width: 1240px; left: 0!important; right: 0!important; margin-left: auto!important; margin-right: auto!important; position: fixed }

Now it is working across all different devices. The Problem is probably position fixed in combination width height 100%.

We found a different solution to apply our background-image.

更多推荐

本文发布于:2023-08-07 13:20:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1464238.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网站   iOS   Safari   Website   crashing

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!