php / php/php-src

fatal: morestack on g0

Open
#12,021 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Extension: ffi Status: Needs Triage
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

I'm getting this error when running a test that uses FFI to execute a go lib.
It is probably related to this issue: https://github.com/golang/go/issues/62130
Not sure where the problem lies php or go

Resulted in this output:

fatal: morestack on g0
PHP Version

PHP 8.2.9

Operating System

macOS 13.4

Contributor guide

Open the contributing guide

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.

Research direction

The report names no source file or test; begin by reproducing the FFI test on PHP 8.2.9 and macOS 13.4, then compare the fatal “morestack on g0” output with Go issue 62130. Determine whether the failure belongs to PHP or Go, and document a reproducible diagnosis or fix ownership.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.