Opened 7 months ago
#69310 assigned defect
lazygit fails to build for x86_64 on 10.8: malloc: *** error for object 0x5000000000000000: pointer being freed was not allocated
Reported by: | barracuda156 | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.1 |
Keywords: | mountainlion, x86_64 | Cc: | catap (Kirill A. Korinsky) |
Port: | lazygit |
Description
---> Building lazygit Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_lazygit/lazygit/work/gopath/src/github.com/jesseduffield/lazygit" && /opt/local/bin/go build -mod=vendor -ldflags " -X main.version=0.40.2 -X main.buildSource=macports " go(19704,0x7fff728d8180) malloc: *** error for object 0x5000000000000000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug SIGABRT: abort PC=0x7fff8708b212 m=0 sigcode=0 goroutine 0 [idle]: syscall.syscall(0x407a9c0, 0x4b07d60, 0x0, 0x0) /opt/local/lib/go/src/runtime/sys_darwin.go:22 +0x3b fp=0xc0001b44e8 sp=0xc0001b44c8 pc=0x4062b7b syscall.syscall(0xc000029080, 0xb7, 0xc0001fa030, 0x0) <autogenerated>:1 +0x26 fp=0xc0001b4530 sp=0xc0001b44e8 pc=0x4068886 syscall.closedir(0xc0000101d8) /opt/local/lib/go/src/syscall/zsyscall_darwin_amd64.go:505 +0x2f fp=0xc0001b4560 sp=0xc0001b4530 pc=0x4077c8f os.(*dirInfo).close(...) /opt/local/lib/go/src/os/dir_darwin.go:23 os.(*file).close(0xc000072660) /opt/local/lib/go/src/os/file_unix.go:249 +0x52 fp=0xc0001b45b8 sp=0xc0001b4560 pc=0x40d34f2 os.(*File).Close(...) /opt/local/lib/go/src/os/file_posix.go:26 io/ioutil.ReadDir({0xc000029080, 0xb7}) /opt/local/lib/go/src/io/ioutil/ioutil.go:64 +0x71 fp=0xc0001b4638 sp=0xc0001b45b8 pc=0x4161c31 cmd/go/internal/fsys.readDir({0xc000029080, 0x0}) /opt/local/lib/go/src/cmd/go/internal/fsys/fsys.go:246 +0x27 fp=0xc0001b4680 sp=0xc0001b4638 pc=0x41a7ec7 cmd/go/internal/fsys.ReadDir({0xc000029080, 0x1}) /opt/local/lib/go/src/cmd/go/internal/fsys/fsys.go:270 +0x28e fp=0xc0001b4a20 sp=0xc0001b4680 pc=0x41a82ae go/build.(*Context).readDir(0xc000029117, {0xc000029080, 0x96}) /opt/local/lib/go/src/go/build/build.go:192 +0x30 fp=0xc0001b4a40 sp=0xc0001b4a20 pc=0x417ddf0 go/build.(*Context).Import(0x49983c0, {0x4598e27, 0x1}, {0xc000028fc0, 0x4323cb2}, 0x0) /opt/local/lib/go/src/go/build/build.go:807 +0x11d8 fp=0xc0001b5138 sp=0xc0001b4a40 pc=0x417ffd8 go/build.(*Context).ImportDir(...) /opt/local/lib/go/src/go/build/build.go:485 cmd/go/internal/modload.resolveLocalPackage({0x4676b00, 0xc000036080}, {0x4598e27, 0x1}, 0x0) /opt/local/lib/go/src/cmd/go/internal/modload/load.go:458 +0x115 fp=0xc0001b5250 sp=0xc0001b5138 pc=0x43cf8f5 cmd/go/internal/modload.LoadPackages.func1(0x49994a0, 0x0) /opt/local/lib/go/src/cmd/go/internal/modload/load.go:269 +0x6ce fp=0xc0001b5388 sp=0xc0001b5250 pc=0x43cf00e cmd/go/internal/modload.LoadPackages.func2(0xc0001428f0) /opt/local/lib/go/src/cmd/go/internal/modload/load.go:336 +0x2c fp=0xc0001b5400 sp=0xc0001b5388 pc=0x43ce7ec cmd/go/internal/modload.loadFromRoots({0x4676b00, 0xc000036080}, {{{0x0, 0x0}, 0xc000175d10, 0x0, {0x0, 0x0}, 0x0, 0x1, ...}, ...}) /opt/local/lib/go/src/cmd/go/internal/modload/load.go:964 +0x5d1 fp=0xc0001b5748 sp=0xc0001b5400 pc=0x43d1851 cmd/go/internal/modload.LoadPackages({0x4676b00, 0xc000036080}, {{0x0, 0x0}, 0xc000175d10, 0x0, {0x0, 0x0}, 0x0, 0x1, ...}, ...) /opt/local/lib/go/src/cmd/go/internal/modload/load.go:329 +0x328 fp=0xc0001b59a8 sp=0xc0001b5748 pc=0x43cdf08 cmd/go/internal/load.PackagesAndErrors({0x4676b00, 0xc000036080}, {0x2d, 0x0, 0x0}, {0xc0000200e0, 0x0, 0x0}) /opt/local/lib/go/src/cmd/go/internal/load/pkg.go:2448 +0x1ce fp=0xc0001b5c78 sp=0xc0001b59a8 pc=0x43fb30e cmd/go/internal/work.runBuild({0x4676b00, 0xc000036080}, 0xc0000244e0, {0xc0000200e0, 0x0, 0x0}) /opt/local/lib/go/src/cmd/go/internal/work/build.go:371 +0xa5 fp=0xc0001b5d98 sp=0xc0001b5c78 pc=0x4442fc5 main.invoke(0x498d580, {0xc0000200b0, 0x4, 0x4}) /opt/local/lib/go/src/cmd/go/main.go:216 +0x2f6 fp=0xc0001b5e60 sp=0xc0001b5d98 pc=0x44c5e96 main.main() /opt/local/lib/go/src/cmd/go/main.go:173 +0x78e fp=0xc0001b5f80 sp=0xc0001b5e60 pc=0x44c586e runtime.main() /opt/local/lib/go/src/runtime/proc.go:255 +0x227 fp=0xc0001b5fe0 sp=0xc0001b5f80 pc=0x4037da7 runtime.goexit() /opt/local/lib/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0001b5fe8 sp=0xc0001b5fe0 pc=0x4066221 goroutine 1 [syscall]: syscall.syscall(0x407a9c0, 0x4b07d60, 0x0, 0x0) /opt/local/lib/go/src/runtime/sys_darwin.go:22 +0x3b fp=0xc0001b44e8 sp=0xc0001b44c8 pc=0x4062b7b syscall.syscall(0xc000029080, 0xb7, 0xc0001fa030, 0x0) <autogenerated>:1 +0x26 fp=0xc0001b4530 sp=0xc0001b44e8 pc=0x4068886 syscall.closedir(0xc0000101d8) /opt/local/lib/go/src/syscall/zsyscall_darwin_amd64.go:505 +0x2f fp=0xc0001b4560 sp=0xc0001b4530 pc=0x4077c8f os.(*dirInfo).close(...) /opt/local/lib/go/src/os/dir_darwin.go:23 os.(*file).close(0xc000072660) /opt/local/lib/go/src/os/file_unix.go:249 +0x52 fp=0xc0001b45b8 sp=0xc0001b4560 pc=0x40d34f2 os.(*File).Close(...) /opt/local/lib/go/src/os/file_posix.go:26 io/ioutil.ReadDir({0xc000029080, 0xb7}) /opt/local/lib/go/src/io/ioutil/ioutil.go:64 +0x71 fp=0xc0001b4638 sp=0xc0001b45b8 pc=0x4161c31 cmd/go/internal/fsys.readDir({0xc000029080, 0x0}) /opt/local/lib/go/src/cmd/go/internal/fsys/fsys.go:246 +0x27 fp=0xc0001b4680 sp=0xc0001b4638 pc=0x41a7ec7 cmd/go/internal/fsys.ReadDir({0xc000029080, 0x1}) /opt/local/lib/go/src/cmd/go/internal/fsys/fsys.go:270 +0x28e fp=0xc0001b4a20 sp=0xc0001b4680 pc=0x41a82ae go/build.(*Context).readDir(0xc000029117, {0xc000029080, 0x96}) /opt/local/lib/go/src/go/build/build.go:192 +0x30 fp=0xc0001b4a40 sp=0xc0001b4a20 pc=0x417ddf0 go/build.(*Context).Import(0x49983c0, {0x4598e27, 0x1}, {0xc000028fc0, 0x4323cb2}, 0x0) /opt/local/lib/go/src/go/build/build.go:807 +0x11d8 fp=0xc0001b5138 sp=0xc0001b4a40 pc=0x417ffd8 go/build.(*Context).ImportDir(...) /opt/local/lib/go/src/go/build/build.go:485 cmd/go/internal/modload.resolveLocalPackage({0x4676b00, 0xc000036080}, {0x4598e27, 0x1}, 0x0) /opt/local/lib/go/src/cmd/go/internal/modload/load.go:458 +0x115 fp=0xc0001b5250 sp=0xc0001b5138 pc=0x43cf8f5 cmd/go/internal/modload.LoadPackages.func1(0x49994a0, 0x0) /opt/local/lib/go/src/cmd/go/internal/modload/load.go:269 +0x6ce fp=0xc0001b5388 sp=0xc0001b5250 pc=0x43cf00e cmd/go/internal/modload.LoadPackages.func2(0xc0001428f0) /opt/local/lib/go/src/cmd/go/internal/modload/load.go:336 +0x2c fp=0xc0001b5400 sp=0xc0001b5388 pc=0x43ce7ec cmd/go/internal/modload.loadFromRoots({0x4676b00, 0xc000036080}, {{{0x0, 0x0}, 0xc000175d10, 0x0, {0x0, 0x0}, 0x0, 0x1, ...}, ...}) /opt/local/lib/go/src/cmd/go/internal/modload/load.go:964 +0x5d1 fp=0xc0001b5748 sp=0xc0001b5400 pc=0x43d1851 cmd/go/internal/modload.LoadPackages({0x4676b00, 0xc000036080}, {{0x0, 0x0}, 0xc000175d10, 0x0, {0x0, 0x0}, 0x0, 0x1, ...}, ...) /opt/local/lib/go/src/cmd/go/internal/modload/load.go:329 +0x328 fp=0xc0001b59a8 sp=0xc0001b5748 pc=0x43cdf08 cmd/go/internal/load.PackagesAndErrors({0x4676b00, 0xc000036080}, {0x2d, 0x0, 0x0}, {0xc0000200e0, 0x0, 0x0}) /opt/local/lib/go/src/cmd/go/internal/load/pkg.go:2448 +0x1ce fp=0xc0001b5c78 sp=0xc0001b59a8 pc=0x43fb30e cmd/go/internal/work.runBuild({0x4676b00, 0xc000036080}, 0xc0000244e0, {0xc0000200e0, 0x0, 0x0}) /opt/local/lib/go/src/cmd/go/internal/work/build.go:371 +0xa5 fp=0xc0001b5d98 sp=0xc0001b5c78 pc=0x4442fc5 main.invoke(0x498d580, {0xc0000200b0, 0x4, 0x4}) /opt/local/lib/go/src/cmd/go/main.go:216 +0x2f6 fp=0xc0001b5e60 sp=0xc0001b5d98 pc=0x44c5e96 main.main() /opt/local/lib/go/src/cmd/go/main.go:173 +0x78e fp=0xc0001b5f80 sp=0xc0001b5e60 pc=0x44c586e runtime.main() /opt/local/lib/go/src/runtime/proc.go:255 +0x227 fp=0xc0001b5fe0 sp=0xc0001b5f80 pc=0x4037da7 runtime.goexit() /opt/local/lib/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0001b5fe8 sp=0xc0001b5fe0 pc=0x4066221 rax 0x0 rbx 0x6 rcx 0x7fff5fbff0c8 rdx 0x0 rdi 0x707 rsi 0x6 rbp 0x7fff5fbff0f0 rsp 0x7fff5fbff0c8 r8 0x7fff728d7278 r9 0x0 r10 0x20000000 r11 0x206 r12 0x4ab1000 r13 0x4ae1000 r14 0x7fff728d8180 r15 0x1 rip 0x7fff8708b212 rflags 0x206 cs 0x7 fs 0x0 gs 0x0 Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_lazygit/lazygit/work/gopath/src/github.com/jesseduffield/lazygit" && /opt/local/bin/go build -mod=vendor -ldflags " -X main.version=0.40.2 -X main.buildSource=macports " Exit code: 2
- S. Yeah, looks like while Go builds for x86_64, it actually fails to work :)
Note: See
TracTickets for help on using
tickets.