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

Stack Overflow on OSX #21

Open
mfisher31 opened this issue Mar 4, 2019 · 8 comments
Open

Stack Overflow on OSX #21

mfisher31 opened this issue Mar 4, 2019 · 8 comments

Comments

@mfisher31
Copy link

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
@JFconcept
Copy link

same for me, no solution yet

@crypto-titan
Copy link

+1

@fugazidave
Copy link

I'm experiencing exactly the same problem.

@asha23
Copy link

asha23 commented Sep 4, 2019

Broken for me also.

@OffCorner
Copy link

broken here for me too

@TheITJuggler
Copy link

TheITJuggler commented Dec 3, 2019

+1
MacOS 10.14.6

@OffCorner
Copy link

ended up using https://traktor.wp-migration.com/
seems to work fine

@porg
Copy link

porg commented Oct 8, 2021

  • Same for me on macOS 11.6.
  • It decompresses a few folders and files (ca. 3 MB of the 90 MB archive) but then fails.
  • Note: My stacktrace also contains the absolute user path:
    /Users/abdullahirfan/go/src/github.com/yani-/wpress/reader.go
  • And I'm definitely not Abdulla Firfan.
  • This seems to be the full name of the maintainer alias fifthsegment .

@fifthsegment

  • Maybe your app contains some hardcoded filepaths so that this app only works on your computer?
  • My stacktrace is a bit different in nature. I post it here, maybe it helps:
Full Stacktrace

wpress_extractor mysite.com-20211008-152231-chpp8e.wpress 
Wpress Extracter.
mysite.com-20211008-152231-chpp8e.wpress
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x333ca6de444 pc=0x1e15a]

runtime stack:
runtime.throw(0x13e800, 0x2a)
	/usr/local/go/src/runtime/panic.go:527 +0x90
runtime.sigpanic()
	/usr/local/go/src/runtime/sigpanic_unix.go:12 +0x5a
runtime.(*gcWork).dispose(0xc82001e720)
	/usr/local/go/src/runtime/mgcwork.go:164 +0x2a
runtime.gc.func2.1(0xc82001d500)
	/usr/local/go/src/runtime/mgc.go:1032 +0x30
runtime.handoffp(0xc82001d500)
	/usr/local/go/src/runtime/proc1.go:1229 +0x1bc
runtime.forEachP(0x14c5f8)
	/usr/local/go/src/runtime/proc1.go:786 +0x2fb
runtime.gc.func2()
	/usr/local/go/src/runtime/mgc.go:1033 +0x54
runtime.systemstack(0x1b8c80)
	/usr/local/go/src/runtime/asm_amd64.s:262 +0x79
runtime.mstart()
	/usr/local/go/src/runtime/proc1.go:668

goroutine 5 [running]:
runtime.systemstack_switch()
	/usr/local/go/src/runtime/asm_amd64.s:216 fp=0xc82002dc98 sp=0xc82002dc90
runtime.gc(0x0)
	/usr/local/go/src/runtime/mgc.go:1034 +0x234 fp=0xc82002df90 sp=0xc82002dc98
runtime.backgroundgc()
	/usr/local/go/src/runtime/mgc.go:897 +0x3d fp=0xc82002dfc0 sp=0xc82002df90
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1721 +0x1 fp=0xc82002dfc8 sp=0xc82002dfc0
created by runtime.startGC
	/usr/local/go/src/runtime/mgc.go:870 +0x186

goroutine 1 [syscall]:
syscall.Syscall(0x4, 0x4, 0xc8204c6a00, 0x200, 0x200, 0x0, 0x0)
	/usr/local/go/src/syscall/asm_darwin_amd64.s:16 +0x5
syscall.write(0x4, 0xc8204c6a00, 0x200, 0x200, 0x3, 0x0, 0x0)
	/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:1360 +0x5f
syscall.Write(0x4, 0xc8204c6a00, 0x200, 0x200, 0xc8204c6a00, 0x0, 0x0)
	/usr/local/go/src/syscall/syscall_unix.go:176 +0x4d
os.(*File).write(0xc820030640, 0xc8204c6a00, 0x200, 0x200, 0x0, 0x0, 0x0)
	/usr/local/go/src/os/file_unix.go:232 +0xd0
os.(*File).Write(0xc820030640, 0xc8204c6a00, 0x200, 0x200, 0x200, 0x0, 0x0)
	/usr/local/go/src/os/file.go:139 +0x8a
github.com/yani-/wpress.Reader.Extract(0x7ffeefbffab1, 0x3b, 0xc820030028, 0xc2, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants