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

The software crashes immediately upon opening. #445

Open
taamu opened this issue Dec 16, 2024 · 26 comments
Open

The software crashes immediately upon opening. #445

taamu opened this issue Dec 16, 2024 · 26 comments
Labels
bug Something isn't working

Comments

@taamu
Copy link

taamu commented Dec 16, 2024

What happened?

A bug happened!
I finished installing the software, and immediately upon launching it - the window pops up for a second, and the software crashes.
What can I do?
Thanks

Steps to reproduce

  1. step one...
  2. step two...

What OS are you seeing the problem on?

Window

Relevant log output

No response

@taamu taamu added the bug Something isn't working label Dec 16, 2024
@thewh1teagle
Copy link
Owner

  1. Try install vc_redist.x64.exe and open
  2. Try reboot
  3. Try open from cmd.exe
    See DEBUG.md

@thewh1teagle thewh1teagle changed the title [Title here. keep it short] The software crashes immediately upon opening. The software crashes immediately upon opening. Dec 16, 2024
@taamu
Copy link
Author

taamu commented Dec 16, 2024

Thanks for the quick response.
I tried installing the file you gave me, and the software still crashes immediately.
I tried running it with CMD, I've attached the output I got below.
Can you identify the problem from here?

Microsoft Windows [Version 10.0.19045.5131]
(c) Microsoft Corporation. All rights reserved.

C:\Users>taskkill /IM vibe.exe /F
ERROR: The process "vibe.exe" not found.

C:\Users>set RUST_BACKTRACE=1

C:\Users>set RUST_LOG=vibe=debug,whisper_rs=debug

C:\Users>%localappdata%\vibe\vibe.exe

C:\Users>2024-12-16T01:03:28.939217Z DEBUG vibe::setup: Vibe App Running
2024-12-16T01:03:28.939648Z DEBUG vibe::setup: webview version: 131.0.2903.99
2024-12-16T01:03:28.939803Z DEBUG vibe::custom_protocol: Protocol handler registered successfully.
2024-12-16T01:03:28.939864Z DEBUG vibe::setup: Cargo features: vulkan
2024-12-16T01:03:28.939914Z DEBUG vibe::setup: CPU Features
{"avx":{"enabled":true,"support":true},"avx2":{"enabled":true,"support":true},"f16c":{"enabled":true,"support":true},"fma":{"enabled":true,"support":true}}
2024-12-16T01:03:28.939963Z DEBUG vibe::setup: Executable Architecture: x86_64
2024-12-16T01:03:28.940005Z DEBUG vibe::setup: APP VERSION: 2.6.6
2024-12-16T01:03:28.940042Z DEBUG vibe::setup: COMMIT HASH: 8244a16
2024-12-16T01:03:28.940089Z DEBUG vibe::setup: Non CLI mode

@thewh1teagle
Copy link
Owner

Looks like you're running too old version of vibe

@thewh1teagle
Copy link
Owner

https://thewh1teagle.github.io/vibe/

Download the latest version from here

@taamu
Copy link
Author

taamu commented Dec 16, 2024

Thanks.
I installed it, the problem repeats itself. The software immediately crashes.

@thewh1teagle
Copy link
Owner

thewh1teagle commented Dec 16, 2024

Sorry I don't see any informative error
If you have patience I can continue troubleshoot on Disocrd or here

@taamu
Copy link
Author

taamu commented Dec 16, 2024

For me, it's comfortable to continue talking here.
Is there any way I can record a log so we can see what's causing the crash?

@thewh1teagle
Copy link
Owner

Try again to open from cmd and paste here
But now with the latest version

@taamu
Copy link
Author

taamu commented Dec 16, 2024

C:\Users>%localappdata%\vibe\vibe.exe

C:\Users>2024-12-16T02:35:09.871331Z DEBUG vibe::logging: desktop\src-tauri\src\logging.rs:65: LEVEL vibe=debug,whisper_rs=debug
2024-12-16T02:35:09.871978Z DEBUG vibe::logging: desktop\src-tauri\src\logging.rs:66: Setup logging to file at C:\Users\AppData\Roaming\github.com.thewh1teagle.vibe\log_2024-12-16.txt
2024-12-16T02:35:09.872273Z DEBUG vibe::cleaner: desktop\src-tauri\src\cleaner.rs:7: clean old logs
2024-12-16T02:35:09.872613Z DEBUG vibe::cleaner: desktop\src-tauri\src\cleaner.rs:23: searching old logs in C:\Users\AppData\Roaming\github.com.thewh1teagle.vibe/log*.txt
2024-12-16T02:35:09.873692Z DEBUG vibe::cleaner: desktop\src-tauri\src\cleaner.rs:27: Skip clean of current log path C:\Users\AppData\Roaming\github.com.thewh1teagle.vibe\log_2024-12-16.txt
2024-12-16T02:35:09.873951Z DEBUG vibe::cleaner: desktop\src-tauri\src\cleaner.rs:44: searching old files in C:\Users\AppData\Local\Temp/vibe_temp*
2024-12-16T02:35:09.875726Z DEBUG vibe::cleaner: desktop\src-tauri\src\cleaner.rs:48: Skip deletion of C:\Users\boaz\AppData\Local\Temp\vibe_temp_2024-12-16
2024-12-16T02:35:09.875857Z DEBUG vibe::setup: desktop\src-tauri\src\setup.rs:50: Vibe App Running
2024-12-16T02:35:09.876762Z DEBUG vibe::setup: desktop\src-tauri\src\setup.rs:88: webview version: 131.0.2903.99
2024-12-16T02:35:09.877237Z DEBUG vibe::custom_protocol: desktop\src-tauri\src\custom_protocol.rs:24: Protocol handler registered successfully.
2024-12-16T02:35:09.877389Z DEBUG vibe::setup: desktop\src-tauri\src\setup.rs:98: Cargo features: vulkan
2024-12-16T02:35:09.877834Z DEBUG vibe::setup: desktop\src-tauri\src\setup.rs:101: CPU Features
{"avx":{"enabled":true,"support":true},"avx2":{"enabled":true,"support":true},"f16c":{"enabled":true,"support":true},"fma":{"enabled":true,"support":true}}
2024-12-16T02:35:09.878085Z DEBUG vibe::setup: desktop\src-tauri\src\setup.rs:110: Executable Architecture: x86_64
2024-12-16T02:35:09.878414Z DEBUG vibe::setup: desktop\src-tauri\src\setup.rs:112: APP VERSION: 2.6.9
2024-12-16T02:35:09.878744Z DEBUG vibe::setup: desktop\src-tauri\src\setup.rs:113: COMMIT HASH: 7ae85a2
2024-12-16T02:35:09.879168Z DEBUG vibe::setup: desktop\src-tauri\src\setup.rs:122: Non CLI mode

@thewh1teagle
Copy link
Owner

Same error
I think that the webview refuse to open

@thewh1teagle
Copy link
Owner

Download https://go.microsoft.com/fwlink/p/?LinkId=2124703

Install it wait for it to finish (or few minutes if no prompt)
Then reboot and try again

@taamu
Copy link
Author

taamu commented Dec 16, 2024

Thanks.
It tells me that the installation failed because the program is already installed on the system.

@altunenes
Copy link

Could it be related to windows defender? Have you tried running it in admin mode or have you checked the firewall?

@taamu
Copy link
Author

taamu commented Dec 16, 2024

Thanks.
Windows Defender is disabled.
I tried downloading in administrator mode, now it has downloaded and installed. But the software still loads and immediately crashes.

@thewh1teagle
Copy link
Owner

I tried downloading in administrator mode, now it has downloaded and installed. But the software still loads and immediately crashes.

Many people say that it crashes instantly but actually they means it crash AFTER they start to transcribe. do you start to transcribe first OR the program doesn't even open any window at all?

@thewh1teagle
Copy link
Owner

Can you try another program I created that is also based on Tauri to see if at least it opens a window?
You don't need to install it - you can unzip it with 7-zip and open the exe just to see window.

https://github.com/thewh1teagle/RustDuck

@thewh1teagle
Copy link
Owner

You can also send me email to [email protected] or join discord https://discord.gg/EcxWSstQN8
It's easier in Discord in this situation but of course we can continue here if you wish.

@taamu
Copy link
Author

taamu commented Dec 17, 2024

Thanks for wanting to help!
I downloaded the software you mentioned, it installed and opened, but it requires logging in via DUCK [I'm not sure what that is]

@taamu
Copy link
Author

taamu commented Dec 17, 2024

By the way, when I said the software crashes - that means it loads for one second and then shuts down.

@thewh1teagle
Copy link
Owner

I downloaded the software you mentioned, it installed and opened, but it requires logging in via DUCK [I'm not sure what that is]

Ok I only wanted to ensure that the window opens. you can delete it.

By the way, when I said the software crashes - that means it loads for one second and then shuts down.

I didn't saw any informative error. but I see that you use Windows 10 (not 11) maybe related. I'll need to find another Windows 10 machine and check on it

@taamu
Copy link
Author

taamu commented Dec 17, 2024

Okay, thank you.

@Longolong
Copy link

I have almost the same problem here with a Windows 11 computer. I have installed version 3.0.0, after clicking on Vibe there is only a brief flash, but no interface opens, nothing. When I try to open vibe.exe on the command line, nothing happens either, no error message - nothing at all.

@altunenes
Copy link

altunenes commented Dec 19, 2024

I have almost the same problem here with a Windows 11 computer. I have installed version 3.0.0, after clicking on Vibe there is only a brief flash, but no interface opens, nothing. When I try to open vibe.exe on the command line, nothing happens either, no error message - nothing at all.

Works fine on my win11 system. Sounds like a upstream problem releated with Tauri, or even gtk or webkit...
But if you have a time, or love the debugging (or both :-P )
could you please download this
https://github.com/lucasg/Dependencies
and then try to run the vibe and see what happens actually, what the system tries to "open" and fails. :-) this could give an extra insight to solve the problem maybe?

@Longolong
Copy link

Longolong commented Dec 19, 2024 via email

@altunenes
Copy link

Okay, then it's not related to Tauri or Vibe. Probably Visual C++ redist installation pipelines. But I don't know which one is required .... (I assume you already installed or have vc_redist )

@altunenes
Copy link

you can also try process monitor by the way which provides real-time monitoring
https://learn.microsoft.com/en-us/sysinternals/downloads/procmon

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

4 participants