[COMPASS-6051] Stacktrace generates "MongoDB Compass has encountered an unexpected error" Created: 25/Aug/22  Updated: 29/Oct/23  Resolved: 21/Feb/23

Status: Closed
Project: Compass
Component/s: Auto Updates
Affects Version/s: 1.32.6
Fix Version/s: 1.36.0

Type: Bug Priority: Major - P3
Reporter: Felicia Hsieh Assignee: Sergey Petushkov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mac 12.5.1


Attachments: PNG File Screen Shot 2022-08-22 at 1.47.01 PM.png     PNG File Screen Shot 2022-08-22 at 1.47.12 PM.png    
Issue Links:
Cloners
clones COMPASS-5882 Properly detach events and intervals ... Closed
Documentation Changes: Not Needed
Sprint: Iteration Velvet Crab

 Description   

Problem Statement/Rationale

What is going wrong? What action would you like the Engineering team to take?

Stacktrace generated while not running any command. See image

Please be sure to attach relevant logs with any sensitive data redacted.

Steps to Reproduce

How could an engineer replicate the issue you’re reporting?

Start Compass. Wait. Compass has no active connection.

Believe it's related to installing Compass 1.32.5, then let AutoUpdate change it to both versions (1.32.5 and 1.32.6) from the reference in the error message.

The Compass icon in the tray says 1.32.5 still, but if About Compass is chosen, the version running is 1.32.6. Then wait.

I can still run Compass however.

Expected Results

What do you expect to happen?

No error. This is the firsts time this error has ever appeared.

Actual Results

What do you observe is happening?

"MongoDB Compass has encountered an unexpected error
Error [ERR_STREAM_WRITE_AFTER_END]: write after end
    at process.<anonymous> (/Applications/MongoDB Compass 1.32.5.app/Contents/Resources/app.asar/build/520.js:1:19846)
    at a (/Applications/MongoDB Compass 1.32.5.app/Contents/Resources/app.asar/build/main.js:1:270)
    at Object.write (/Applications/MongoDB Compass 1.32.5.app/Contents/Resources/app.asar/build/main.js:1:334)
    at p._write (/Applications/MongoDB Compass 1.32.5.app/Contents/Resources/app.asar/build/main.js:1:98130)
    at p.info (/Applications/MongoDB Compass 1.32.5.app/Contents/Resources/app.asar/build/main.js:1:98336)
    at AutoUpdater.<anonymous> (/Applications/MongoDB Compass 1.32.5.app/Contents/Resources/app.asar/build/471.js:1:2757)"

Additional Notes

Any additional information that may be useful to include.

Also recently upgraded Mac from 12.5.0 to 12.5.1



 Comments   
Comment by Githook User [ 01/Mar/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: fix(mongodb-compass): halt autoupdater on application exit to prevent logger crashing COMPASS-6051 (#4074)

  • fix(mongodb-compass): halt autoupdater on application exit to prevent logger crashing
Comment by Githook User [ 27/Feb/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: fix(mongodb-compass): halt autoupdater on application exit to prevent logger crashing COMPASS-6051 (#4074)

  • fix(mongodb-compass): halt autoupdater on application exit to prevent logger crashing
Comment by Githook User [ 24/Feb/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: fix(mongodb-compass): halt autoupdater on application exit to prevent logger crashing COMPASS-6051 (#4074)

  • fix(mongodb-compass): halt autoupdater on application exit to prevent logger crashing
Comment by Githook User [ 22/Feb/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(mongodb-compass): ignore write after end errors in log writer COMPASS-6051 (#4078)

  • chore(mongodb-compass): ignore write after end errors in log writer
Comment by Githook User [ 20/Feb/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(mongodb-compass): ignore write after end errors in log writer COMPASS-6051 (#4078)

  • chore(mongodb-compass): ignore write after end errors in log writer
Comment by Githook User [ 20/Feb/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: fix(mongodb-compass): halt autoupdater on application exit to prevent logger crashing COMPASS-6051 (#4074)

  • fix(mongodb-compass): halt autoupdater on application exit to prevent logger crashing
Comment by Githook User [ 20/Feb/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: fix(mongodb-compass): halt autoupdater on application exit to prevent logger crashing COMPASS-6051 (#4074)

  • fix(mongodb-compass): halt autoupdater on application exit to prevent logger crashing
Generated at Wed Feb 07 22:41:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.