Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Crashes on launching transcription since 2.6.5 #395

Open
oleole39 opened this issue Nov 15, 2024 · 1 comment
Open

Bug: Crashes on launching transcription since 2.6.5 #395

oleole39 opened this issue Nov 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@oleole39
Copy link
Contributor

oleole39 commented Nov 15, 2024

What happened?

Vibe crashes when launching transcription

Steps to reproduce

  • Open vibe on Linux Mint 21
  • Drag'n'drop an audio file (I tried several ones)
  • Leave default options values
  • Press "transcribe"
  • It crashes without leaving a crash log. Sometimes it displays the transcription screen for a few seconds where you can read the title and notice that .PDF is the selected output format but then it crashes very soon.

What OS are you seeing the problem on?

Linux

Relevant log output

user@computer:~$ RUST_LOG=vibe=debug,whisper_rs=debug RUST_BACKTRACE=1 /usr/bin/vibe
2024-11-16T14:39:52.397089Z DEBUG vibe::setup: Vibe App Running
2024-11-16T14:39:52.397125Z DEBUG vibe::setup: webview version: 2.46.1
2024-11-16T14:39:52.397132Z DEBUG vibe::setup: Cargo features: vulkan
2024-11-16T14:39:52.397135Z DEBUG vibe::setup: CPU feature detection is not supported on this architecture.
2024-11-16T14:39:52.397139Z DEBUG vibe::setup: Executable Architecture: x86_64
2024-11-16T14:39:52.397144Z DEBUG vibe::setup: APP VERSION: 2.6.5
2024-11-16T14:39:52.397147Z DEBUG vibe::setup: COMMIT HASH: 446648d
2024-11-16T14:39:52.397154Z DEBUG vibe::setup: Non CLI mode
2024-11-16T14:39:52.869101Z DEBUG vibe::cmd: Vulkan check skipped on this platform
2024-11-16T14:39:52.879051Z DEBUG vibe::cmd::audio: Default Input Device:
Ok("default")
2024-11-16T14:39:52.879070Z DEBUG vibe::cmd::audio: Default Output Device:
Ok("default")
2024-11-16T14:39:52.898466Z DEBUG vibe::cmd::audio: Devices: 
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
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_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:1005:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1005:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1005:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1005:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1005:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1005:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1005:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1005:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1005:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1005:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1005:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1005:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dsnoop.c:575:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream

** (WebKitWebProcess:133023): WARNING **: 15:40:05.560: The GStreamer FDK AAC plugin is missing, AAC playback is unlikely to work.
2024-11-16T14:40:16.757666Z DEBUG vibe::cmd: loading model first time
2024-11-16T14:40:16.757765Z DEBUG vibe_core::transcribe: open model...
2024-11-16T14:40:16.757819Z DEBUG vibe_core::transcribe: gpu device: 0
2024-11-16T14:40:16.757835Z DEBUG vibe_core::transcribe: use gpu: true
2024-11-16T14:40:16.757867Z DEBUG vibe_core::transcribe: creating whisper context with model path /home/user/.local/share/github.com.thewh1teagle.vibe/ggml-medium.en.bin
2024-11-16T14:40:16.757901Z  INFO whisper_rs::whisper_sys_tracing: whisper_init_from_file_with_params_no_state: loading model from '/home/user/.local/share/github.com.thewh1teagle.vibe/ggml-medium.en.bin'
2024-11-16T14:40:16.758059Z  INFO whisper_rs::whisper_sys_tracing: whisper_init_with_params_no_state: use gpu    = 1
2024-11-16T14:40:16.758081Z  INFO whisper_rs::whisper_sys_tracing: whisper_init_with_params_no_state: flash attn = 0
2024-11-16T14:40:16.758093Z  INFO whisper_rs::whisper_sys_tracing: whisper_init_with_params_no_state: gpu_device = 0
2024-11-16T14:40:16.758105Z  INFO whisper_rs::whisper_sys_tracing: whisper_init_with_params_no_state: dtw        = 0
2024-11-16T14:40:16.900715Z DEBUG whisper_rs::whisper_sys_tracing: ggml_vulkan: Found 1 Vulkan devices:
Segmentation fault (core dumped)
@oleole39 oleole39 added the bug Something isn't working label Nov 15, 2024
@oleole39 oleole39 changed the title 2.6.7 crashes on launching transcription Bug: Crashes on launching transcription in 2.6.7 Nov 15, 2024
@oleole39 oleole39 changed the title Bug: Crashes on launching transcription in 2.6.7 Bug: Crashes on launching transcription since 2.6.5 Nov 16, 2024
@oleole39
Copy link
Contributor Author

oleole39 commented Nov 16, 2024

This issue actually appeared in 2.6.5. Using same file, with same parameters and same model works fine in 2.6.4.
As opposed to above log when it fires a seg fault error, 2.6.4 log shows the following (text between curly braces are comments):

Vulkan0: {Intel graphics} (Intel open-source Mesa driver) | uma: 1 | fp16: 1 | warp size: 32
2024-11-16T14:52:44.213334Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: {Intel graphics} total size =  1533,14 MB
2024-11-16T14:52:58.752395Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: model size    = 1533,14 MB
2024-11-16T14:52:58.760029Z DEBUG vibe_core::transcribe: created context successfuly
{etc.}

FWIW, note that:

  • in 2.6.5 it crashes and displays "Text" as default output mode.
  • in 2.6.6 and 2.6.7 it crashes and displays "PDF" as default output mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant