Skip to content

Mastodon 2.7.2 frontend crashes on DM column load #10068

@Luzifer

Description

@Luzifer

Expected behaviour

  • Frontend is loading properly and does not crash

Actual behaviour

  • Frontend loads most of the content and then crashes

Steps to reproduce the problem

  • ... not fully clear ...
  • Update instance from 2.7.1 to 2.7.2
  • Reload the web-ui
  • UI loads Home, Notifications, Local and List column, DM column is empty
  • Interface crashes and a blank screen is left

Specifications

  • Tested in
    • Windows 10, Chrome Beta 73
    • Linux, Chrome Beta 73
    • Linux, Chrome Stable 72
    • Linux, Firefox 65
  • According to dev-tools (source map used) crash occurs in index.js#L137 when trying to call getWrappedInstance on null object.
     react-dom.production.min.js:179 TypeError: Cannot read property 'get' of undefined
         at t.render (display_name.js:31)
         at co (react-dom.production.min.js:163)
         at so (react-dom.production.min.js:162)
         at po (react-dom.production.min.js:169)
         at $o (react-dom.production.min.js:204)
         at Yo (react-dom.production.min.js:205)
         at Ni (react-dom.production.min.js:220)
         at Ii (react-dom.production.min.js:219)
         at xi (react-dom.production.min.js:216)
         at ti (react-dom.production.min.js:214)
     [...]
     react-dom.production.min.js:179 TypeError: Cannot read property 'getWrappedInstance' of null
         at application-f86408ab580b14c099f7.js:formatted:1001
         at wo (react-dom.production.min.js:179)
         at Oo (react-dom.production.min.js:182)
         at So (react-dom.production.min.js:187)
         at Di (react-dom.production.min.js:226)
         at Ni (react-dom.production.min.js:220)
         at Ii (react-dom.production.min.js:219)
         at xi (react-dom.production.min.js:216)
         at ti (react-dom.production.min.js:214)
         at Object.enqueueSetState (react-dom.production.min.js:134)
     [...]
     alerts.js:46 TypeError: Cannot read property 'get' of undefined
         at t.render (display_name.js:31)
         at co (react-dom.production.min.js:163)
         at so (react-dom.production.min.js:162)
         at po (react-dom.production.min.js:169)
         at $o (react-dom.production.min.js:204)
         at Yo (react-dom.production.min.js:205)
         at Ni (react-dom.production.min.js:220)
         at Ii (react-dom.production.min.js:219)
         at xi (react-dom.production.min.js:216)
         at ti (react-dom.production.min.js:214)
    
  • Sadly I was not able to find out what exactly caused that issue due to the limitations of Chrome dev tools in combination with minified production code.
  • Assumption is there might be some older and likely broken DM conversation which causes trouble with the changes from 2.7.1 to 2.7.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions