Skip to content

Conversation

@jorenretel
Copy link
Collaborator

@jorenretel jorenretel commented Dec 16, 2025

The combination of long sequences and bigwig files with relatively sparse intervals data let completely empty (no chunks to decompress) for certain tracks in certain genomic regions. This in turn lead to a bug triggered by undefined behavior in our version of searchsorted that operates on multiple sorted arrays simultaneously, but could not handle some of the sorted arrays to be completely empty. This result of this was an int uint underflow followed by a overflow after a erroneous cast from uint32 to int32 in the intervals_to_values cuda kernel. This just did not show up yet before.

@jorenretel jorenretel requested a review from ap-- as a code owner December 16, 2025 21:19
@jorenretel jorenretel merged commit 4034752 into main Dec 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants