[Webkit-unassigned] [Bug 277615] IndexedDB failing with "UnknownError: Connection to Indexed Database server lost."
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 18 11:10:53 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=277615
--- Comment #10 from Nisala <nisala at getbaseline.app> ---
@Ahmad I have created a working minimal reproduction of this bug. I found that in order to reproduce the bug, I needed to not only have a WebView that used IndexedDB, but also enable and use Background Modes on the app (I used a background task for the reproduction, but I believe any background mode will cause this issue).
In order to reproduce the bug, I simply opened and interacted with the app every ~six hours. This is unfortunately not a deterministic reproduction, but I can guarantee with fairly high certainty that within a few days, the bug will appear -- you will see an alert that says "Database forcibly closed", and then the button to add new items to the IndexedDB will stop working because the connection to the database has broken. Force-closing and relaunching the app fixes it.
I also took a sysdiagnose when I was able to reproduce the bug on my iPhone. If this would be useful to share, please let me know where I should send it. Happy to provide any additional help -- this has caused thousands of user crashes for my app, and I'm happy to do whatever I can to get this fixed as soon as possible.
https://github.com/nkalupahana/indexeddb-crash-repro
Files of note are AppDelegate.swift, App.tsx, and db.ts.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241018/420378dc/attachment.htm>
More information about the webkit-unassigned
mailing list