Skip to content

Bug: server crash and can't start any medias #1625

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

Open
ArthurdeChaurand opened this issue Apr 30, 2025 · 4 comments
Open

Bug: server crash and can't start any medias #1625

ArthurdeChaurand opened this issue Apr 30, 2025 · 4 comments
Labels

Comments

@ArthurdeChaurand
Copy link

Observed Behavior

Hello,

I'm a new user on CasparCG. I'm discovering the software, which seems really great for broadcasting. However, I'm encountering my first difficulties. Currently, the software is unusable. As soon as I upload a video and try to launch it with F2, the server starts generating errors in a loop until I turn it off. And the media won't launch. I can't find any answers to this problem.

Here's the error:
[2025-04-30 09:46:21.155] [error] 0# 0x00007FF633732D57 in casparcg
[2025-04-30 09:46:21.155] [error] 1# 0x00007FF6337327E5 in casparcg
[2025-04-30 09:46:21.155] [error] 2# 0x00007FF633A000B9 in casparcg
[2025-04-30 09:46:21.155] [error] 3# _CxxFrameHandler4 in VCRUNTIME140_1
[2025-04-30 09:46:21.155] [error] 4# 0x00007FFE8FA02572 in VCRUNTIME140_1
[2025-04-30 09:46:21.155] [error] 5# RtlCaptureContext2 in ntdll
[2025-04-30 09:46:21.155] [error] 6# 0x00007FF6337D11FD in casparcg
[2025-04-30 09:46:21.155] [error] 7# 0x00007FF6337CC203 in casparcg
[2025-04-30 09:46:21.155] [error] 8# wcsrchr in ucrtbase
[2025-04-30 09:46:21.155] [error] 9# BaseThreadInitThunk in KERNEL32
[2025-04-30 09:46:21.155] [error] 10# RtlUserThreadStart in ntdll
[2025-04-30 09:46:21.155] [error]
[2025-04-30 09:46:21.278] [error] Exception: Dynamic exception type: class std::future_error
[2025-04-30 09:46:21.278] [error] std::exception::what: no state
[2025-04-30 09:46:21.278] [error]

Thank you for your help!

Expected behaviour

Normally, when you load a media into the timeline, select it, and then press F2, the media should play in the screen

Steps to reproduce

I add my media to the timeline and press F2 for start, but nothing appenned in the previsualisation.

Environment

Server: casparcg-server-v2.4.3-stable-windows
Operating system: Windows 11

@Julusian
Copy link
Member

Julusian commented May 6, 2025

What gpu are you using? There are reports of issues with some AMD gpus,

Does playing an image work?

@ArthurdeChaurand
Copy link
Author

Hello @Julusian,

I am working with an AMD RX5700XT currently.

Images cause crash too (all medias causing a crash)

@angel-penchev
Copy link

Hey,
I want to chime in, to say that I'm experiencing the exact same problem on a Windows machine with an AMD Ryzen 9 9950X3D and an AMD Radeon RX 9070 XT, using the latest AMD drivers (version 25.6.1). Whenever I try to play any type of media (I've tried with .jpg, .png, and .mp4 files), I get the same repeated error as in @ArthurdeChaurand's case. Let me know if I can test anything on my end to help debugging/replicating this issue!

@angel-penchev
Copy link

angel-penchev commented Jun 8, 2025

I have tried to debug the issue locally, and it seems to originate in src\accelerator\ogl\util\texture.cpp, in the copy_to method, which in my case calls the AMD-specific atio6axx.dll, which returns the following error: Exception thrown at 0x00007FFF043E4827 (atio6axx.dll) in casparcg.exe: 0xC0000005: Access violation writing location 0x0000027BB4EBBFD0.. I don't know how to debug it further, as my experience with OpenGL is little to none, so @Julusian, I would be quite happy if you have any idea on how I can proceed. I know that CasparCG does not officially support AMD GPUs, and thus, I understand that this is not a priority issue, however, I wish to look into it on my behalf and potentially fix it.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants