Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred in Firefox Profiler: TypeError: can't access dead object. #5066

Open
kemingy opened this issue Jul 31, 2024 · 3 comments
Open

Comments

@kemingy
Copy link

kemingy commented Jul 31, 2024

I encountered this error with the following web console output:

TypeError: can't access dead object
    componentDidUpdate UrlManager.js:248
    React 12
        yl
        Cl
        bl
        vc
        vc
        lc
        Ho
        cc
        Pe
        Vr
        Yt
        jt
[react-dom.production.min.js:188:119](webpack:///node_modules/react-dom/cjs/react-dom.production.min.js)
    React 15
        us
        callback
        Va
        yl
        Cl
        bl
        vc
        vc
        lc
        Ho
        cc
        Pe
        Vr
        Yt
        jt
An unhandled error was thrown in a React component. TypeError: can't access dead object
    componentDidUpdate UrlManager.js:248
    React 12
        yl
        Cl
        bl
        vc
        vc
        lc
        Ho
        cc
        Pe
        Vr
        Yt
        jt
 
Cm@https://profiler.firefox.com/main.cbf4af26c4d9555531ea.bundle.js:104:7034
c@https://profiler.firefox.com/main.cbf4af26c4d9555531ea.bundle.js:2:23947
div
YT@https://profiler.firefox.com/main.cbf4af26c4d9555531ea.bundle.js:137:121599
c@https://profiler.firefox.com/main.cbf4af26c4d9555531ea.bundle.js:2:23947
Lf@https://profiler.firefox.com/main.cbf4af26c4d9555531ea.bundle.js:111:15372
Uf
de@https://profiler.firefox.com/main.cbf4af26c4d9555531ea.bundle.js:2:16873
ce@https://profiler.firefox.com/main.cbf4af26c4d9555531ea.bundle.js:2:16786
dI@https://profiler.firefox.com/main.cbf4af26c4d9555531ea.bundle.js:137:170141
c@https://profiler.firefox.com/main.cbf4af26c4d9555531ea.bundle.js:2:23947
st@https://profiler.firefox.com/main.cbf4af26c4d9555531ea.bundle.js:2:22211
Lf@https://profiler.firefox.com/main.cbf4af26c4d9555531ea.bundle.js:111:15372
Of
mI@https://profiler.firefox.com/main.cbf4af26c4d9555531ea.bundle.js:137:171233 [ErrorBoundary.js:43:12](webpack:///src/components/app/ErrorBoundary.js)
    componentDidCatch ErrorBoundary.js:43
    React 14
        callback
        Va
        yl
        Cl
        bl
        vc
        vc
        lc
        Ho
        cc
        Pe
        Vr
        Yt
        jt
@julienw
Copy link
Contributor

julienw commented Aug 29, 2024

Interesting error, could you share also some more context ? What action were you doing ? Do you reproduce this reliably ? Thanks!

The error seems to happen in

window.history.pushState(urlState, document.title, newUrl);
.

@julienw
Copy link
Contributor

julienw commented Aug 29, 2024

I wonder if the InvalidStateError of #5060 might be related as well.

@kemingy
Copy link
Author

kemingy commented Aug 29, 2024

Interesting error, could you share also some more context ? What action were you doing ? Do you reproduce this reliably ? Thanks!

I visited the profiler page where the data was generated by samply. I shut down the local samply server and then clicked some frames on the flamegraph page.

Sadly, I didn't encounter this error later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants