Skip to content

Conversation

ritvikrao
Copy link
Collaborator

There's a bug in the node reduction logic that appears to be fixed by setting the reduction id correctly. But I am not sure about the bug mentioned in issue #135. I don't know how that can be a bug, CpvAccess only accesses thread-private variables. Also, this logic is based off the old Converse implementation. @JiakunYan Did you mean that the bug has to do with node reductions (which I have seen fail in the CI before)? I haven't seen issues with regular reductions.

@ritvikrao ritvikrao requested a review from JiakunYan October 9, 2025 18:40
@JiakunYan
Copy link
Collaborator

Yeah, I am not sure what the root cause of that bug is now. All I know is that the reduction test can deadlock, and it just uses a normal reduction. We need to find the root cause.

@ritvikrao
Copy link
Collaborator Author

I think this should fix it, I tried running the reductions on my computer 100 times and the hangs/segfaults seem to go away. This just clears the CmiReduction structs properly in CmiClearReduction.

@JiakunYan
Copy link
Collaborator

I got a segmentation fault with this branch.

@JiakunYan
Copy link
Collaborator

Also this error

reconverse_reduction: ../src/concurrentqueue.h:3408: moodycamel::ConcurrentQueue<T, Traits>::ImplicitProducer* moodycamel::ConcurrentQueue<T, Traits>::get_or_add_implicit_producer() [with T = void*; Traits = moodycamel::ConcurrentQueueDefaultTraits]: Assertion `mainHash != nullptr' failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants