Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warden debug return Segmentation fault error for all different commands #843

Open
iranimij opened this issue Feb 17, 2025 · 5 comments
Open
Labels
bug Something isn't working

Comments

@iranimij
Copy link

iranimij commented Feb 17, 2025

Version of Warden

0.15.0

Operating System and Installation Method

Mac os 15.3, Apple M3 pro

Describe the Bug

When I run a command like bin/magento inside warden shell, it works fine, but when I run it inside warden debug, it returns the below error

Segmentation fault

Do you have any idea what might be the issue?

Magento version: 2.4.7-p2
all commands in warden debug return the error
I am using docker desktop

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected Behavior

No response

Additional context

No response

@iranimij iranimij added the bug Something isn't working label Feb 17, 2025
@bap14
Copy link
Member

bap14 commented Feb 17, 2025

@iranimij Can you please add more details? The details you provided in the Warden Version is actually a Magento version, as Warden only goes up to 0.15.0 as of time of writing.

What specific version of Magento are you using (2.4.7, 2.4.7-p1, 2.4.7-p2, etc.)?
What is the specific command you're running?
What version of Warden are you running?
What MacOS version are you using?
What is your processor (Intel, M1/2/3/4)?
Are you using Docker Desktop, OrbStack, Colima, or some other containerization service?
When was the last time you pulled your PHP image(s) from the repository: warden env pull?

A segmentation fault in the container is rather odd, and I have no issues running the Magento CLI in the debug containers on my system.

@iranimij
Copy link
Author

@bap14 I updated the info. Sorry for the missed info
I have different projects on my loca, all projects work fine except this one.

@RenzeD98
Copy link

Im experiencing the same issue.

Magento version: 2.4.7-p4
Command: bin/magento (any bin/magento command)
Warden version: 0.15.0
MacOs: Sequoia 15.1.1
Processor: Apple M4
Im using docker desktop

Im experiencing this with all my project.

@hardyjohnson
Copy link
Contributor

I don't see this issue pulling the latest images and doing a fresh install of community edition.

Magento version: 2.4.7-p4
Command: bin/magento module:status (as an example)
Warden version: 0.15.0
MacOs: Sequoia 15.3.1
Processor: Apple M2 Max

Following PHP debug image info:

php -v
PHP 8.3.16 (cli) (built: Jan 14 2025 18:25:29) (NTS gcc aarch64)
Copyright (c) The PHP Group
Zend Engine v4.3.16, Copyright (c) Zend Technologies
    with the ionCube PHP Loader v14.4.0, Copyright (c) 2002-2025, by ionCube Ltd.
    with Zend OPcache v8.3.16, Copyright (c), by Zend Technologies
    with Xdebug v3.4.1, Copyright (c) 2002-2025, by Derick Rethans

@hardyjohnson
Copy link
Contributor

Other possibly relevant questions:

  1. What Virtual Machine Manager are you using? (Docker VMM, Apple Virtualization Framework, QEMU)
  2. Is Use Rosetta for x86_64/amd64 emulation on Apple Silicon enabled?
  3. What does your project .env look like? i.e. what service versions are declared there?
  4. Do you have any warden-env.yml overrides or customizations?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

4 participants