Skip to content

docker无法启动服务 #3

@wawmb

Description

@wawmb

root@52c31aa09a9f:/app# ./myapp
版本号: v20250518
设备ID: 597327102921207808
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0xce20d1]

goroutine 1 [running]:
xiawan/wx/auth.RegisterDevice({0x1022f5f, 0x1a}, {0xc0004c6450, 0x12}, {0x100c215, 0x9}, {0x102b56e, 0x20})
/Users/pllx/Web/wechat/855ipad-iwe/auth/register.go:96 +0x651
main.main()
/Users/pllx/Web/wechat/855ipad-iwe/main.go:29 +0x1a5
root@52c31aa09a9f:/app# ps
PID TTY TIME CMD
300 pts/0 00:00:00 bash
320 pts/0 00:00:00 ps
root@52c31aa09a9f:/app# ./myapp
版本号: v20250518
设备ID: 597327102921207808
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0xce20d1]

goroutine 1 [running]:
xiawan/wx/auth.RegisterDevice({0x1022f5f, 0x1a}, {0xc0004cc450, 0x12}, {0x100c215, 0x9}, {0x102b56e, 0x20})
/Users/pllx/Web/wechat/855ipad-iwe/auth/register.go:96 +0x651
main.main()
/Users/pllx/Web/wechat/855ipad-iwe/main.go:29 +0x1a5
root@52c31aa09a9f:/app#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions