mediar-ai / screenpipe

24/7 local AI screen & mic recording. Works with Ollama. Llama3.2 control your computer. Alternative to Rewind.ai & Zapier. Open. Secure. You own your data. Rust.
https://screenpi.pe
MIT License
7.9k stars 434 forks source link

[bug] Screenpipe backend does not run, buffer overflow detected: terminated #441

Open twilwa opened 1 week ago

twilwa commented 1 week ago

describe the bug

Desktop application does not detect backend start, cli application terminates on usage.

to reproduce

build application from source via https://docs.screenpi.pe/docs/getting-started , attempt to start the cli application with ./target/release/screenpipe OR Build appimage, run, attempt to start backend via GUI.

expected behavior

Backend startup occurs normally.

screenshots

Terminal output:

 ./target/release/screenpipe
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
2024-10-07T04:25:20.452439Z  INFO screenpipe:   default (input)
2024-10-07T04:25:20.452473Z  INFO screenpipe:   default (output)
2024-10-07T04:25:20.454273Z  INFO screenpipe_server::db: Migrations executed successfully.
2024-10-07T04:25:20.454289Z  INFO screenpipe: database initialized, will store files in /home/anon/.screenpipe

                                            _
   __________________  ___  ____     ____  (_____  ___
  / ___/ ___/ ___/ _ \/ _ \/ __ \   / __ \/ / __ \/ _ \
 (__  / /__/ /  /  __/  __/ / / /  / /_/ / / /_/ /  __/
/____/\___/_/   \___/\___/_/ /_/  / .___/_/ .___/\___/
                                 /_/     /_/

build ai apps that have the full context
open source | runs locally | developer friendly

┌───────────────────┬────────────────────────────────────┐
│ setting             │ value                              │
├─────────────────────┼────────────────────────────────────┤
│ fps                 │ 1                                  │
2024-10-07T04:25:20.455697Z  INFO screenpipe_audio::whisper: device = Cpu
│ audio chunk duration│ 30 seconds                         │
│ video chunk duration│ 60 seconds                         │
│ port                │ 3030                               │
│ audio disabled      │ false                              │
│ vision disabled     │ false                              │
│ save text files     │ false                              │
│ audio engine        │ WhisperDistilLargeV3               │
2024-10-07T04:25:20.455739Z  INFO hf_hub: Token file not found "/home/anon/.cache/huggingface/token"
│ ocr engine          │ Tesseract                          │
│ vad engine          │ Silero                             │
│ vad sensitivity     │ High                               │
│ data directory      │ /home/anon/.screenpipe             │
│ debug mode          │ false                              │
│ telemetry           │ true                               │
│ use pii removal     │ false                              │
│ ignored windows     │ []                                 │
│ included windows    │ []                                 │
│ friend wearable uid │ not set                            │
├─────────────────────┼────────────────────────────────────┤
│ monitors            │                                    │
│                     │ id: 1071                           │
│                     │ id: 1062                           │
├─────────────────────┼────────────────────────────────────┤
│ audio devices       │                                    │
│                     │ default (input)                    │
│                     │ default (output)                   │
├─────────────────────┼────────────────────────────────────┤
│ pipes               │                                    │
│                     │ no pipes available                 │
└─────────────────────┴────────────────────────────────────┘
you are using local processing. all your data stays on your computer.

warning: telemetry is enabled. only error-level data will be sent to highlight.io.
to disable, use the --disable-telemetry flag.
2024-10-07T04:25:20.456106Z  INFO screenpipe_server::server: Server starting on 127.0.0.1:3030
2024-10-07T04:25:23.723475Z  INFO screenpipe_audio::vad_engine: Initializing SileroVad...
2024-10-07T04:25:23.723509Z  INFO screenpipe_audio::vad_engine: SileroVad Model downloaded to: "/home/anon/.cache/screenpipe/vad/silero_vad.onnx"
2024-10-07T04:25:23.754179Z  INFO screenpipe_server::video: Starting new video capture
2024-10-07T04:25:23.754184Z  INFO screenpipe_server::video: Starting new video capture
2024-10-07T04:25:23.754211Z  INFO screenpipe_server::video: Started capture thread
2024-10-07T04:25:23.754223Z  INFO screenpipe_server::video: Started capture thread
*** buffer overflow detected ***: terminated
Aborted (core dumped)

CLI^----GUI below, requires dev mode enabled and 'start':

anon@pop-os:~/repos/screenpipe/screenpipe-app-tauri/src-tauri/target/release/bundle/appimage$ ./screenpipe_0.2.95_amd64.AppImage
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

(AppImageLauncher:123319): GLib-CRITICAL **: 21:27:53.592: g_file_test: assertion 'filename != NULL' failed

2024-10-07T04:28:31.817981Z DEBUG screenpipe_app::sidecar: restart_interval: 0
2024-10-07T04:28:31.817999Z DEBUG screenpipe_app::sidecar: dev_mode: true
audio_chunk_duration: 30
2024-10-07T04:28:31.818509Z  INFO screenpipe_app::sidecar: Spawned sidecar with args: ["--port", "3030"]
2024-10-07T04:28:31.818533Z DEBUG screenpipe_app::sidecar: last_restart: Instant { tv_sec: 8231, tv_nsec: 893947012 }
2024-10-07T04:28:31.818586Z DEBUG screenpipe_app::sidecar: interval: 0
2024-10-07T04:28:31.818595Z DEBUG screenpipe_app::sidecar: interval: 0
2024-10-07T04:28:31.818600Z DEBUG screenpipe_app::sidecar: last_restart: Instant { tv_sec: 8231, tv_nsec: 893947012 }
2024-10-07T04:28:31.818604Z DEBUG screenpipe_app::sidecar: elapsed: 87.87µs
2024-10-07T04:28:31.862754Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp

2024-10-07T04:28:31.862783Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp

2024-10-07T04:28:31.903418Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:31.903578Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:31.908044Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:31.908234Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:31.913025Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:31.913230Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:31.919031Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:31.919250Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:31.924056Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:31.924232Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:31.930043Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:31.930254Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:32.081352Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:32.081558Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:32.106458Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:32.373613Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:32.373767Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:32.374457Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:32.374639Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:32.374929Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:32.375124Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:32.377685Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:32.378042Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:32.379632Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:32.379923Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:32.380326Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:32.381381Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:32.445233Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave

2024-10-07T04:28:32.613480Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:32.795354Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp

2024-10-07T04:28:32.795382Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp

2024-10-07T04:28:32.822124Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:32.827997Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:32.831991Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:32.835992Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:32.842027Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:32.845962Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.009406Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.034483Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:33.073333Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:33.119617Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:33.119750Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:33.120463Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:33.120643Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:33.120911Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:33.121113Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:33.123575Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.125131Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.125590Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:33.126391Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:33.126747Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:33.131062Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:33.132501Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave

2024-10-07T04:28:33.169336Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave

2024-10-07T04:28:33.317704Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:33.328989Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:33.498367Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp

2024-10-07T04:28:33.498389Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp

2024-10-07T04:28:33.516211Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.521076Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.527063Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.531007Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.535015Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.539033Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.681341Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.706427Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:33.789835Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:33.789981Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:33.790631Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:33.790786Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:33.791081Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:33.791285Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map

2024-10-07T04:28:33.793680Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.795268Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

2024-10-07T04:28:33.795737Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:33.796746Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:33.802067Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave

2024-10-07T04:28:33.989568Z ERROR screenpipe_app::sidecar: Sidecar stderr: ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

2024-10-07T04:28:34.149271Z  INFO screenpipe:   default (input)
2024-10-07T04:28:34.149295Z  INFO screenpipe:   default (output)
2024-10-07T04:28:34.151033Z  INFO screenpipe_server::db: Migrations executed successfully.
2024-10-07T04:28:34.151046Z  INFO screenpipe: database initialized, will store files in /home/anon/.screenpipe

                                            _
   __________________  ___  ____     ____  (_____  ___
  / ___/ ___/ ___/ _ \/ _ \/ __ \   / __ \/ / __ \/ _ \
 (__  / /__/ /  /  __/  __/ / / /  / /_/ / / /_/ /  __/
/____/\___/_/   \___/\___/_/ /_/  / .___/_/ .___/\___/
                                 /_/     /_/

build ai apps that have the full context
open source | runs locally | developer friendly

┌───────────────────┬────────────────────────────────────┐
│ setting             │ value                              │
├─────────────────────┼────────────────────────────────────┤
│ fps                 │ 1                                  │
│ audio chunk duration│ 30 seconds                         │
│ video chunk duration│ 60 seconds                         │
│ port                │ 3030                               │
│ audio disabled      │ false                              │
│ vision disabled     │ false                              │
│ save text files     │ false                              │
│ audio engine        │ WhisperDistilLargeV3               │
│ ocr engine          │ Tesseract                          │
│ vad engine          │ Silero                             │
│ vad sensitivity     │ High                               │
│ data directory      │ /home/anon/.screenpipe             │
│ debug mode          │ false                              │
│ telemetry           │ true                               │
│ use pii removal     │ false                              │
│ ignored windows     │ []                                 │
│ included windows    │ []                                 │
│ friend wearable uid │ not set                            │
├─────────────────────┼────────────────────────────────────┤
│ monitors            │                                    │
│                     │ id: 1071                           │
│                     │ id: 1062                           │
├─────────────────────┼────────────────────────────────────┤
│ audio devices       │                                    │
│                     │ default (input)                    │
│                     │ default (output)                   │
├─────────────────────┼────────────────────────────────────┤
│ pipes               │                                    │
2024-10-07T04:28:34.152358Z  INFO screenpipe_audio::whisper: device = Cpu
2024-10-07T04:28:34.152394Z  INFO hf_hub: Token file not found "/home/anon/.cache/huggingface/token"
│                     │ no pipes available                 │
└─────────────────────┴────────────────────────────────────┘
you are using local processing. all your data stays on your computer.

warning: telemetry is enabled. only error-level data will be sent to highlight.io.
to disable, use the --disable-telemetry flag.
2024-10-07T04:28:34.152638Z  INFO screenpipe_server::server: Server starting on 127.0.0.1:3030
2024-10-07T04:28:37.501820Z  INFO screenpipe_audio::vad_engine: Initializing SileroVad...
2024-10-07T04:28:37.501849Z  INFO screenpipe_audio::vad_engine: SileroVad Model downloaded to: "/home/anon/.cache/screenpipe/vad/silero_vad.onnx"
2024-10-07T04:28:37.535116Z  INFO screenpipe_server::video: Starting new video capture
2024-10-07T04:28:37.535116Z  INFO screenpipe_server::video: Starting new video capture
2024-10-07T04:28:37.535141Z  INFO screenpipe_server::video: Started capture thread
2024-10-07T04:28:37.535147Z  INFO screenpipe_server::video: Started capture thread
2024-10-07T04:28:37.535831Z ERROR screenpipe_app::sidecar: Sidecar stderr: *** buffer overflow detected ***: terminated

system information:

additional context

console loops 'connection refused, presumably due to backend bufferflow termination.

I have a few different DE's installed, my first instinct was to experiment with flipping off of Wayland but I figured I'd make the issue first, in case those logs are indicating something specific to test.

linear[bot] commented 1 week ago

MED-162 [bug] Screenpipe backend does not run, buffer overflow detected: terminated

louis030195 commented 1 week ago

@twilwa any chance you can test the wayland impl here? #63

is that the issue?

twilwa commented 1 week ago

I suspect that is one of the issues, possibly the only one. I'll swap off wayland and retest, if that's the only thing wrong i'll hop over there to troubleshoot :)

On Mon, Oct 7, 2024 at 4:56 PM Louis Beaumont @.***> wrote:

@twilwa https://github.com/twilwa any chance you can test the wayland impl here? #63 https://github.com/mediar-ai/screenpipe/issues/63

is that the issue?

— Reply to this email directly, view it on GitHub https://github.com/mediar-ai/screenpipe/issues/441#issuecomment-2398210573, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2PEDCVPYLBW3RFVHR7S42DZ2MNRFAVCNFSM6AAAAABPPBRLCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJYGIYTANJXGM . You are receiving this because you were mentioned.Message ID: @.***>

twilwa commented 1 week ago

Confirmed, works fine in Pop without wayland (X11) as far as I can tell. Couple of errors, but I'll let it run a while and see if it's functioning normally otherwise. Frankly Pop doesn't work very well in Wayland in the first place, but if I can help out over there I will :) I'll close it here since this is covered by #63