mirror of
https://github.com/Comfy-Org/comfy-aimdo.git
synced 2026-11-04 23:37:21 +00:00
[GH-ISSUE #57] aimdo.dll crashes with ACCESS_VIOLATION on CUDA 13.x #16
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-aimdo#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hahajaja on GitHub (May 31, 2026).
Original GitHub issue: https://github.com/Comfy-Org/comfy-aimdo/issues/57
## Description
imdo.dll crashes with OSError: exception: access violation writing 0x0000000000000000 when lib.init() is called on a system with CUDA 13.x driver.
Error
`
Windows fatal exception: access violation
Current thread 0x0000e430 (most recent call first):
File "...\comfy_aimdo\control.py", line 98 in init_devices
if lib.init(device_array, len(requested)):
OSError: exception: access violation writing 0x0000000000000000
`
Environment
Steps to Reproduce
Root Cause
Access violation writing to address x0 (NULL dereference) inside imdo.dll's init function. The DLL was likely compiled against CUDA 12.x. A CUDA API call returns NULL on CUDA 13.x and the return value is dereferenced without checking.
README states Cuda 12.8+ support, but it is incompatible with CUDA 13.x.
Workaround
Use --disable-dynamic-vram flag to bypass comfy_aimdo entirely.
@rattus128 commented on GitHub (Jun 11, 2026):
bad facts from AI