Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Conversion to dgCMatrix Causes Segmentation Fault

Open
#129 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
r
Domain
data

Research direction

No source file or test is named. Start by reproducing the conversion from a DelayedMatrix to dgCMatrix using the reported dimensions, then trace the conversion entry point and capture the relevant R and package versions. Done means the conversion no longer segfaults for this case and a regression test covers it.

Written by the indexing model from the issue text.

Description

dim(database)
    109578 2389155
class(counts(database))
    "DelayedMatrix"

After about four hours.

assay(database, "counts") <- as(assay(database, "counts"), "dgCMatrix")
     *** caught segfault ***
    address 0x7fc394337000, cause 'invalid permissions'
Dominant language
R
Stars
29
Forks
12
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Bioconductor/DelayedArray

All issues in Bioconductor/DelayedArray

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.