OpenCut-app / OpenCut-app/OpenCut

[BUG] Parking not supported on this platform

Open
#769 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
89.8k
Forks
8.9k
PR merge metrics
No merged PRs in 30d

Description

Platform

Windows 10 64 bit, latest ESU verion.

Browser

Zen v1.19.8b (Firefox 149.0.2)

Current Behavior

Intermittent panic: parking_lot "Parking not supported on this platform" (Firefox), with a "unreachable executed" error.

Console log:

panicked at /home/heart/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parking_lot_core-0.9.12/src/thread_parker/wasm.rs:26:9:
Parking not supported on this platform

Stack:

a$@https://opencut.app/_next/static/chunks/f741412813bdb97f.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:6:15028
@https://opencut.app/_next/static/chunks/0180b4bf9eaaf0d7.wasm?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:wasm-function[4253]:0x27bcb7
@https://opencut.app/_next/static/chunks/0180b4bf9eaaf0d7.wasm?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:wasm-function[1937]:0x2311e5
@https://opencut.app/_next/static/chunks/0180b4bf9eaaf0d7.wasm?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:wasm-function[3059]:0x25d467
@https://opencut.app/_next/static/chunks/0180b4bf9eaaf0d7.wasm?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:wasm-function[3980]:0x276669
@https://opencut.app/_next/static/chunks/0180b4bf9eaaf0d7.wasm?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:wasm-function[907]:0x136e83
@https://opencut.app/_next/static/chunks/0180b4bf9eaaf0d7.wasm?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:wasm-function[820]:0x114b4f
@https://opencut.app/_next/static/chunks/0180b4bf9eaaf0d7.wasm?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:wasm-function[653]:0x9b490
@https://opencut.app/_next/static/chunks/0180b4bf9eaaf0d7.wasm?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:wasm-function[3319]:0x26296e
@https://opencut.app/_next/static/chunks/0180b4bf9eaaf0d7.wasm?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:wasm-function[3333]:0x263ad8
o@https://opencut.app/_next/static/chunks/f741412813bdb97f.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:5:3908
ensureInitialized@https://opencut.app/_next/static/chunks/f741412813bdb97f.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:33:277657
render@https://opencut.app/_next/static/chunks/f741412813bdb97f.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:33:288067
async*renderToCanvas@https://opencut.app/_next/static/chunks/f741412813bdb97f.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:33:288248
updateThumbnailFromTimeline@https://opencut.app/_next/static/chunks/f741412813bdb97f.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:33:298901
loadProject@https://opencut.app/_next/static/chunks/f741412813bdb97f.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:33:292398
async*g/</<@https://opencut.app/_next/static/chunks/32ab2c2dd7ddbb3c.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:11:55770
async*g/<@https://opencut.app/_next/static/chunks/32ab2c2dd7ddbb3c.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:11:56154
ih@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:101211
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125061
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125043
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125043
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125043
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125108
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125108
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125043
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125108
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125043
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125043
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125043
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125043
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125108
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725
uf@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:125043
uc@https://opencut.app/_next/static/chunks/657f596438d892c4.js?dpl=dpl_H5DYXbeyhh5chkWbjhaGKzmaX8PK:1:124725


opencut_wasm_bg.js:835:17

(Note: this doesnt seem to occur in Edge, Chromium)

This happens alongwith issue #768

Expected Behavior

The project gets initiallized successfully and I get redirected to the editor.

Recurrence Probability

Sometimes

Steps To Reproduce
  1. Go to the projects page (https://opencut.app/projects), and create a New project using its button OR click on a previously created project (A bad project in my case, because it never gets created.)
  2. You get shown "unreachable executed" with the error in console logs SOMETIMES.
Anything else?

This was observed alongside issue #768, where screenshots are provided.
It occurred while reproducing that issue, but disappeared after a refresh and has not been consistently reproducible.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the intermittent failure in Firefox on Windows and trace the initialization path shown in the stack, especially renderToCanvas, updateThumbnailFromTimeline, and loadProject. Compare the behavior with Edge or Chromium; done means creating or opening a project consistently initializes successfully and reaches the editor without the parking_lot or "unreachable executed" panic.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, rust, typescript, wasm
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.