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.

element-desktop creates /tmp/.org.chromium.Chromium.xxxxxx files when started, which are not deleted upon exit

See original GitHub issue

Description

Every time I start element-desktop there are /tmp/.org.chromium.Chromium.xxxxxx created and not deleted afterwards.

Steps to reproduce

  • Start element-desktop
  • Quit element-desktop
  • See the contents of a /tmp folder

Electron always creates 2 files with ever changing names, but I suppose that they are essentially the same files every start, so I inspected them in a hex editor and to me it looks like electron unpacks keytar and seshat node modules. I also inspected the files generated during the build of element-desktop and only the gifwrap resides in app.asar.unpacked/node_modules/ everything else seems to be packed into app.asar. I also compare this to vscode, which keeps all the native modules outside app.asar. Could it be, that those modules should also be unpacked? And my suspicion is that if they are not, electron needs to unpack them every time it starts. Therefore I’m filling a bug here as it could be an issue with element-desktop build system. It could also happen to be electron issue. Anyway it would be nice not to generate extra temporary files.

Logs being sent: no

Version information

  • Platform: desktop

For the desktop app:

  • OS: Gentoo Linux
  • Version: v1.7.26

Related issues I could find, but they didn’t help solve this issue: zulip/zulip-desktop#601 electron/electron#16097

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
G2G2G2Gcommented, Jan 24, 2022

1 1 ty electron (I use arch btw)

1reaction
G2G2G2Gcommented, Apr 27, 2022

yea been watching it past week, looks great

Read more comments on GitHub >

github_iconTop Results From Across the Web

740032 – net-im/element-desktop-bin: large .org.chromium ...
chromium.Chromium.xxxxxx in /tmp. This alone wouldn't matter, but these files remain after the app has terminated, so starting/quitting the app ...
Read more >
Can you help with these odd files in my /tmp - narkive
If I delete them and then stop the KDE auto-start on Skype no new files. ... I am seeing lots of these files...
Read more >
265642 - Long running stumpy fills /tmp with ~ 166K .org ...
Any idea who's creating these files? From the name, it sounds like it might be Chrome. If that's the case, we should just...
Read more >
What are the following files and can they be removed?
In the Downloads folder on my Kindle Fire 10 there are numerous files of this form: .org.chromium.Chromium.Gwet8n .org.chromium.
Read more >
JennyGub/PrivTest · Datasets at Hugging Face
"Data Protection/Security: Document details on new ג€žEnlarge QR codeג€œ feature https://github.com/covidpass-org/covidpass/releases/tag/v0.5.0 made it possible ...
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