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.

Certain PCs crash on opening API

See original GitHub issue

Description

A fresh install is still broken and refuses to start. Paths seem to be fixed though. There are multiple issues with the latest release though:

  1. The process manager seems to be overly aggressive and keeps the process going even after selecting “Exit” on the tray. This caused a reinstall to fail multiple times before killing it via Task Manager (even then it seemed to pop up out of nowhere if I waited long enough).
  2. The release version says 2.7.2 but the downloaded windows installer is installing 2.7.1 (versioning broken?)
  3. The log file indicates no errors but the web portal and the API are both refusing connections

What Platform / OS are you running?

Windows

What version are you running?

2.7.2

Anything in the logs or a references that might be useful?

2021-09-27 09:59:59 info: System Bridge 2.7.1: C:\Users\dlangerm\AppData\Local\System Bridge - C:\Users\dlangerm\AppData\Local\System Bridge\system-bridge.exe - C:\Users\dlangerm\AppData\Local\System Bridge - ["C:\\Users\\dlangerm\\AppData\\Local\\System Bridge\\system-bridge.exe","C:\\snapshot\\system-bridge\\dist\\index.js"] -  -  -  - 
2021-09-27 09:59:59 info: Process Manager - Starting tray - ["C:\\Users\\dlangerm\\AppData\\Local\\System Bridge\\system-bridge-tray.exe"]
2021-09-27 09:59:59 info: Process Manager - Starting api - ["C:\\Users\\dlangerm\\AppData\\Local\\System Bridge\\system-bridge.exe","dist/components/api/index.js"]
2021-09-27 10:00:01 info: Tray - 2.7.1: C:\Users\dlangerm\AppData\Local\System Bridge - C:\Users\dlangerm\AppData\Local\System Bridge\system-bridge-tray.exe - C:\Users\dlangerm\AppData\Local\System Bridge - ["C:\\Users\\dlangerm\\AppData\\Local\\System Bridge\\system-bridge-tray.exe","C:\\snapshot\\system-bridge\\tray\\dist\\index.js"] -  -  -  - 
2021-09-27 10:00:01 info: Tray - Create Tray
2021-09-27 10:00:01 info: Tray - Started
2021-09-27 10:00:31 error: Process Manager - tray: Exited with code: 1
2021-09-27 10:00:31 info: Process Manager - tray: Restarting in 10 seconds..
2021-09-27 10:00:42 info: Process Manager - Starting tray - ["C:\\Users\\dlangerm\\AppData\\Local\\System Bridge\\system-bridge-tray.exe"]
2021-09-27 10:00:43 info: Tray - 2.7.1: C:\Users\dlangerm\AppData\Local\System Bridge - C:\Users\dlangerm\AppData\Local\System Bridge\system-bridge-tray.exe - C:\Users\dlangerm\AppData\Local\System Bridge - ["C:\\Users\\dlangerm\\AppData\\Local\\System Bridge\\system-bridge-tray.exe","C:\\snapshot\\system-bridge\\tray\\dist\\index.js"] -  -  -  - 
2021-09-27 10:00:43 info: Tray - Create Tray
2021-09-27 10:00:43 info: Tray - Started
2021-09-27 10:01:58 info: System Bridge 2.7.1: C:\Users\dlangerm\AppData\Local\System Bridge - C:\Users\dlangerm\AppData\Local\System Bridge\system-bridge.exe - C:\Users\dlangerm\AppData\Local\System Bridge - ["C:\\Users\\dlangerm\\AppData\\Local\\System Bridge\\system-bridge.exe","C:\\snapshot\\system-bridge\\dist\\index.js"] -  -  -  - 
2021-09-27 10:01:59 info: Process Manager - Starting tray - ["C:\\Users\\dlangerm\\AppData\\Local\\System Bridge\\system-bridge-tray.exe"]
2021-09-27 10:01:58 info: Process Manager - Starting api - ["C:\\Users\\dlangerm\\AppData\\Local\\System Bridge\\system-bridge.exe","dist/components/api/index.js"]
2021-09-27 10:02:00 info: Tray - 2.7.1: C:\Users\dlangerm\AppData\Local\System Bridge - C:\Users\dlangerm\AppData\Local\System Bridge\system-bridge-tray.exe - C:\Users\dlangerm\AppData\Local\System Bridge - ["C:\\Users\\dlangerm\\AppData\\Local\\System Bridge\\system-bridge-tray.exe","C:\\snapshot\\system-bridge\\tray\\dist\\index.js"] -  -  -  - 
2021-09-27 10:02:00 info: Tray - Create Tray
2021-09-27 10:02:00 info: Tray - Started

Additional information

If you haven’t done so already, I highly recommend using the Sentry suite of tools (including the node.js sdk) for remote tracing issues like this. Uploading raw log files to a public GitHub is a bit awkward and sentry is free up to a certain number of API calls.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
chadmccunecommented, Sep 28, 2021

I’m experiencing the same problem

After deleting the log file, and trying again, this is all that is in it:

2021-09-28 01:36:18 info: System Bridge 2.7.3: C:\Users\blueiris\AppData\Local\System Bridge - C:\Users\blueiris\AppData\Local\System Bridge\system-bridge.exe - C:\Users\blueiris\AppData\Local\System Bridge - [“C:\Users\blueiris\AppData\Local\System Bridge\system-bridge.exe”,“C:\snapshot\system-bridge\dist\index.js”] - - - - 2021-09-28 01:36:18 info: Process Manager - Starting api - [“C:\Users\blueiris\AppData\Local\System Bridge\system-bridge.exe”,“dist/components/api/index.js”] 2021-09-28 01:36:19 info: Process Manager - Starting tray - [“C:\Users\blueiris\AppData\Local\System Bridge\system-bridge-tray.exe”] 2021-09-28 01:36:23 info: Tray - 2.7.3: C:\Users\blueiris\AppData\Local\System Bridge - C:\Users\blueiris\AppData\Local\System Bridge\system-bridge-tray.exe - C:\Users\blueiris\AppData\Local\System Bridge - [“C:\Users\blueiris\AppData\Local\System Bridge\system-bridge-tray.exe”,“C:\snapshot\system-bridge\tray\dist\index.js”] - - - - 2021-09-28 01:36:23 info: Tray - Create Tray 2021-09-28 01:36:24 info: Tray - Started

1reaction
timmo001commented, Oct 9, 2021

The issue was the API was being attempted to be launched with execa.node instead of launching the prebuilt system-bridge.exe which has node built in.

On my (dev) machines, I have node installed, but on other machines, this may not be the case. Now node will not be required as it should have been and the API will be launched as a subprocess alongside the tray (if enabled)

Read more comments on GitHub >

github_iconTop Results From Across the Web

My PC crashes because of my audio, what can i do?
Open Windows File Explorer. ... Copy any minidump files onto your Desktop, then zip those up. Upload the zip file to the Cloud...
Read more >
Windows API Crash when window displayed - Stack Overflow
On the PCs of two of my friends, this crashes when the window is displayed. If I remove WS_VISIBLE, the application continues to...
Read more >
5 Troubleshoot System Crashes
There are various possible reasons for a crash. For example, a crash can occur due to a bug in the Java HotSpot VM,...
Read more >
[Solved] Red Dead Redemption 2 Crashing on PC - Driver Easy
Red Dead Redemption 2 keeps crashing randomly or exiting unexpectedly? Here is full guide to help you solve the RDR2 crashing and launching...
Read more >
Investigating memory access crashes - Apple Developer
The unexpected modification may have occurred a long time before the crash, so the source of the issue isn't visible in the backtrace....
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