-
-
Notifications
You must be signed in to change notification settings - Fork 693
Closed
Description
Preliminary checklist
- I am using the latest stable version of DDEV (see upgrade guide)
- I have searched existing issues
- I have checked the troubleshooting guide
- I have run
ddev debug testto include output below
Output of ddev debug test
Expand `ddev debug test` diagnostic information
admin1@erazer:/tmp$ ddev debug test
Please make sure you have already looked at troubleshooting guide:
https://ddev.readthedocs.io/en/stable/users/usage/troubleshooting/
Simple things to check:
* Use latest stable DDEV version
* ddev poweroff
* Restart Docker Provider
* Reboot computer
* Temporarily disable VPN and firewall
* Remove customizations like 'docker-compose.*.yaml' and PHP/Apache/Nginx config while debugging.
Resulting output will be written to:
/tmp/ddev-debug-test.txt
file:///tmp/ddev-debug-test.txt
Please provide the file for support in Discord or the issue queue.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xa67cf8]
goroutine 1 [running]:
github.com/ddev/ddev/pkg/ddevapp.GetActiveProjects()
/home/runner/work/ddev/ddev/pkg/ddevapp/utils.go:51 +0x238
github.com/ddev/ddev/cmd/ddev/cmd.init.func28(0x1338380?, {0x1367f20?, 0x0?, 0x0?})
/home/runner/work/ddev/ddev/cmd/ddev/cmd/debug-test.go:51 +0x4b6
github.com/spf13/cobra.(*Command).execute(0x1338380, {0x1367f20, 0x0, 0x0})
/home/runner/work/ddev/ddev/vendor/github.com/spf13/cobra/command.go:989 +0xa91
github.com/spf13/cobra.(*Command).ExecuteC(0x133cb60)
/home/runner/work/ddev/ddev/vendor/github.com/spf13/cobra/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/work/ddev/ddev/vendor/github.com/spf13/cobra/command.go:1041
github.com/ddev/ddev/cmd/ddev/cmd.Execute()
/home/runner/work/ddev/ddev/cmd/ddev/cmd/root.go:122 +0x1a
main.main()
/home/runner/work/ddev/ddev/cmd/ddev/main.go:27 +0xd3
Expected Behavior
the expected behaviour is that the ddev commands run as they did before on v1.24.1
Actual Behavior
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xa67cf8]
Steps To Reproduce
any command like these (tested)
ddev poweroff
ddev list
ddev start
ddev restart
ddev debug test
results in
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xa67cf8]
and this is since this ddev was updated from former v1.24.1 => to => v1.24.2 this morning on my kubuntu linux desktop
version
admin1@erazer:/tmp$ ddev version
ITEM VALUE
DDEV version v1.24.2
architecture amd64
cgo_enabled 0
db ddev/ddev-dbserver-mariadb-10.11:v1.24.2
ddev-ssh-agent ddev/ddev-ssh-agent:v1.24.2
docker 26.1.3
docker-api 1.45
docker-compose v2.32.4
docker-platform linux-docker
global-ddev-dir /home/admin1/.ddev
mutagen 0.18.0
os linux
router ddev/ddev-traefik-router:v1.24.2
web ddev/ddev-webserver:v1.24.2
Anything else?
(K)Ubuntu 24.04.1 LTS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels