question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash without doing anything

See original GitHub issue

Describe the bug

Write a clear and concise description of what the bug is.

Version & OS

Version: 2.9.3 OS: Windows 10.0.22000

Steps to reproduce the behavior

  1. Open GitHub Desktop
  2. Just wait

Expected behavior

No crash should occurred.

Actual behavior

A crash occurred.

Screenshots

image

Logs

RangeError: Invalid string length
    at u.<anonymous> (file:///app/renderer.js:55:334937)
    at u.emit (events.js:315:20)
    at T (file:///app/renderer.js:19:96653)
    at x (file:///app/renderer.js:19:96483)
    at u.k.push (file:///app/renderer.js:19:97267)
    at u.push (file:///app/renderer.js:19:119820)
    at c (file:///app/renderer.js:6:250300)
    at u.a [as _transform] (file:///app/renderer.js:6:249986)
    at u._read (file:///app/renderer.js:19:120281)
    at u._write (file:///app/renderer.js:19:120120)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Reecstuffcommented, Sep 23, 2022

Well this is quite an old Issue, but I solved it: Squash and merge generates a commit with a description that includes all commits and all other squash and merge with their commits. This message gets with time so long it crashes the UI on load. Github Desktop loads the commit messages on startup in the background, so it crashes after some wait time and you get the Invalid String Length error. It even is crashing on other Git Clients like Fork if you click on the specific commit with your invalid string.

The solution is to save your local data and create a new repository with it. The git history of your old repository will be forever bugged, so you can delete it and never ever use squash and merge again!

0reactions
stevewardcommented, Sep 23, 2022

@Reecstuff thanks for sharing that info! If you’d be up for opening a new issue with reproduction steps so that the team can take a look that would be helpful.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Computer randomly crashes with no warning
Hi all, i have an issue with my computer where it randomly crashes (while gaming or while doing nothing at all) it doesnt...
Read more >
Why does My PC Keep Crashing? Here're 10 Fast Fixes!
A computer crash happens when the drivers are outdated, there is a fault in the hardware, or there is not sufficient airflow due...
Read more >
[FIXED] Windows 10 Crashing Issues | 2022 - Driver Easy
Your Windows 10 computer crashes and you don't know what to do? ... just work your way down the list until everything's working...
Read more >
10 Instant Ways to Fix Computer Keeps Crashing Windows 10
Why does my computer keep crashing randomly? ... The common reasons for computers keep crashing are but are not ... To Wrap Things...
Read more >
12 Reasons Why Your Games Keep Crashing (And How to Fix ...
Working out why your favorite game is crashing can be tricky. ... Without suitable hardware, you'll need to upgrade your PC before you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found