Skip to content

Stack Overflow on OSX #21

@mfisher31

Description

@mfisher31

Not really familiar with Golang, but heres a stack trace of the tool not working on mac os 10.13.6

Wpress Extracter.
kushview.local-20190304-162814-885.wpress
runtime: newstack sp=0xc820032f40 stack=[0xb3a24ca69de, 0xc820032fe0]
	morebuf={pc:0x18271 sp:0xc820032f50 lr:0x0}
	sched={pc:0x1b910 sp:0xc820032f48 lr:0x0 ctxt:0x0}
runtime: gp=0xc820001b00, gp->status=0x4
 runtime: split stack overflow: 0xc820032f40 < 0xb3a24ca69de
fatal error: runtime: split stack overflow

runtime stack:
runtime.throw(0x135be0, 0x1d)
	/usr/local/go/src/runtime/panic.go:527 +0x90
runtime.newstack()
	/usr/local/go/src/runtime/stack1.go:752 +0x89f
runtime.morestack()
	/usr/local/go/src/runtime/asm_amd64.s:330 +0x7f

goroutine 7 [stack growth]:
runtime.gcDrain(0xc82001e720, 0x7d0)
	/usr/local/go/src/runtime/mgcmark.go:718 fp=0xc820032f50 sp=0xc820032f48
runtime.gcBgMarkWorker(0xc82001d500)
	/usr/local/go/src/runtime/mgc.go:1320 +0x281 fp=0xc820032fb8 sp=0xc820032f50
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1721 +0x1 fp=0xc820032fc0 sp=0xc820032fb8
created by runtime.gcBgMarkStartWorkers
	/usr/local/go/src/runtime/mgc.go:1239 +0x93

goroutine 1 [runnable]:
syscall.Syscall(0x4, 0x4, 0xc8204cc000, 0x200, 0x200, 0x0, 0x0)
	/usr/local/go/src/syscall/asm_darwin_amd64.s:16 +0x5
syscall.write(0x4, 0xc8204cc000, 0x200, 0x200, 0x3, 0x0, 0x0)
	/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:1360 +0x5f
syscall.Write(0x4, 0xc8204cc000, 0x200, 0x200, 0xc8204cc000, 0x0, 0x0)
	/usr/local/go/src/syscall/syscall_unix.go:176 +0x4d
os.(*File).write(0xc8200341f8, 0xc8204cc000, 0x200, 0x200, 0x0, 0x0, 0x0)
	/usr/local/go/src/os/file_unix.go:232 +0xd0
os.(*File).Write(0xc8200341f8, 0xc8204cc000, 0x200, 0x200, 0x200, 0x0, 0x0)
	/usr/local/go/src/os/file.go:139 +0x8a
github.com/yani-/wpress.Reader.Extract(0x7ffeefbffb41, 0x29, 0xc820034028, 0x39, 0x0, 0x0, 0x0)
	/Users/abdullahirfan/go/src/github.com/yani-/wpress/reader.go:136 +0x8d3
main.main()
	/Users/abdullahirfan/godev/wpress_extractor.go:16 +0x193

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