Wpress-Extractor icon indicating copy to clipboard operation
Wpress-Extractor copied to clipboard

Stack Overflow on OSX

Open mfisher31 opened this issue 5 years ago • 8 comments

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

mfisher31 avatar Mar 04 '19 17:03 mfisher31

same for me, no solution yet

JFconcept avatar Mar 12 '19 16:03 JFconcept

+1

crypto-titan avatar Aug 14 '19 14:08 crypto-titan

I'm experiencing exactly the same problem.

fugazidave avatar Aug 20 '19 08:08 fugazidave

Broken for me also.

asha23 avatar Sep 04 '19 11:09 asha23

broken here for me too

OffCorner avatar Nov 16 '19 13:11 OffCorner

+1 MacOS 10.14.6

TheITJuggler avatar Dec 03 '19 02:12 TheITJuggler

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

OffCorner avatar Dec 03 '19 22:12 OffCorner

  • 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

porg avatar Oct 08 '21 16:10 porg