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

dispatch_data_t <=> NSData toll-free bridging does not work

Open
#406 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
objective-c
Domain
backend

Research direction

Start by reproducing the crash: a small Objective-C program that casts a dispatch_data_t to NSData and sends -description, which the report says segfaults. Then find where the NSData toll-free bridge for dispatch data is handled in the Base library sources. The payload names no files, so locate them yourself. Done means the cast-and-describe case runs without crashing and returns a description.

Written by the indexing model from the issue text.

Description

Type-casting an dispatch_data_t object to NSData and sending -description results in a segmentation fault. I assume bridging doesn't quite work.

Dominant language
Objective-C
Stars
997
Forks
305
Avg merge
1d 20h
Merged PRs (30d)
56

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 gnustep/libs-base

All issues in gnustep/libs-base

Similar issues

More Objective-C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.