opened 02:01AM - 18 Feb 24 UTC
bug
### Description
Multiple errors occur when opening the app (attached in the L…ogs section), however the app still opens. This doesn't happen with official appimage
### Obsidian Version
```bash session
Obsidian - Markdown-based knowledge base
ID: md.obsidian.Obsidian
Ref: app/md.obsidian.Obsidian/x86_64/stable
Arch: x86_64
Branch: stable
Version: 1.5.3
License: LicenseRef-proprietary=https://obsidian.md/eula
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 604.3 MB
Runtime: org.freedesktop.Platform/x86_64/23.08
Sdk: org.freedesktop.Sdk/x86_64/23.08
Commit: 8701844fd89d910215d99921219380de4f8bd5c88debb77a836303ef8efd1ead
Parent: 1c13b24618b78278de7af0d4a4a832d793ddb9613588f4b400ae3ad3d2985bca
Subject: Suppress segfault output if obsidian crashes (#290) (65907367)
Date: 2024-02-17 22:27:20 +0000
```
### Sandbox Permissions
```bash session
[Context]
shared=network;ipc;
sockets=x11;pulseaudio;ssh-auth;
devices=dri;
filesystems=home;/media;xdg-run/gnupg:ro;/mnt;/run/media;~/.local/share/fonts:ro;xdg-run/app/com.discordapp.Discord:create;
persistent=~/.ssh;
[Environment]
SSH_ASKPASS=/app/libexec/openssh/ssh-askpass
OBSIDIAN_CLEAN_CACHE=1
OBSIDIAN_ENABLE_AUTOSCROLL=0
PATH=/usr/bin:/app/bin:/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux
XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons:~/.icons
OBSIDIAN_DISABLE_GPU=0
GH_PATH=gh
```
### Hardware Information
```bash session
00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07)
----------------------
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) HD Graphics 520 (SKL GT2) (0x1916)
Version: 23.3.5
Accelerated: yes
Video memory: 7696MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 520 (SKL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.3.5
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.3.5
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
```
### System Information
```bash session
Fedora 39, Gnome,Flatpak 1.15.6, Wayland
```
### Logs
```bash session
Deleting cache directory: /home/vetri/.var/app/md.obsidian.Obsidian/config/obsidian/GPUCache
Debug: Will run Obsidian with the following arguments:
Debug: Additionally, user gave:
[14:0218/145552.527205:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
Uncaught Exception Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:930:11)
at Socket._write (node:net:942:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at fn (/app/resources/app.asar/main.js:57:10)
at Object.<anonymous> (/app/resources/app.asar/main.js:445:2)
at Module._compile (node:internal/modules/cjs/loader:1269:14) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
Uncaught Exception Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:930:11)
at Socket._write (node:net:942:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at fn (/app/resources/app.asar/main.js:57:10)
at Object.<anonymous> (/app/resources/app.asar/main.js:445:2)
at Module._compile (node:internal/modules/cjs/loader:1269:14) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
A JavaScript error occurred in the main process
Uncaught Exception:
Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:930:11)
at Socket._write (node:net:942:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at fn (/app/resources/app.asar/main.js:57:10)
at Object.<anonymous> (/app/resources/app.asar/main.js:445:2)
at Module._compile (node:internal/modules/cjs/loader:1269:14)
Gtk-Message: 14:55:52.776: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:55:52.777: Failed to load module "pk-gtk-module"
Gtk-Message: 14:55:52.780: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:55:52.780: Failed to load module "pk-gtk-module"
[14:0218/145552.815732:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[14:0218/145552.815932:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Uncaught Exception Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:930:11)
at Socket._write (node:net:942:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at fn (/app/resources/app.asar/main.js:57:10)
at runUpdate (/app/resources/app.asar/main.js:151:3)
at update (/app/resources/app.asar/main.js:139:9) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
Uncaught Exception Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:930:11)
at Socket._write (node:net:942:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at fn (/app/resources/app.asar/main.js:57:10)
at runUpdate (/app/resources/app.asar/main.js:151:3)
at update (/app/resources/app.asar/main.js:139:9) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
[14:0218/145611.367659:ERROR:network_service_instance_impl.cc(558)] Network service crashed, restarting service.
Error: net::ERR_FAILED
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49935)
at SimpleURLLoaderWrapper.emit (node:events:513:28)
Uncaught Exception Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:930:11)
at Socket._write (node:net:942:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at fn (/app/resources/app.asar/main.js:57:10)
at runUpdate (/app/resources/app.asar/main.js:155:3)
at async update (/app/resources/app.asar/main.js:139:3) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
Uncaught Exception Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:930:11)
at Socket._write (node:net:942:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at fn (/app/resources/app.asar/main.js:57:10)
at runUpdate (/app/resources/app.asar/main.js:155:3)
at async update (/app/resources/app.asar/main.js:139:3) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
Error: net::ERR_FAILED
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49935)
at SimpleURLLoaderWrapper.emit (node:events:513:28)
Uncaught Exception Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:930:11)
at Socket._write (node:net:942:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at fn (/app/resources/app.asar/main.js:57:10)
at runUpdate (/app/resources/app.asar/main.js:176:3)
at async update (/app/resources/app.asar/main.js:139:3) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
Uncaught Exception Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:930:11)
at Socket._write (node:net:942:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at fn (/app/resources/app.asar/main.js:57:10)
at runUpdate (/app/resources/app.asar/main.js:176:3)
at async update (/app/resources/app.asar/main.js:139:3) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
```