fifthsegment / Wpress-Extractor

A simple windows app that allows you to extract .wpress files created by the awesome All-in-one-Wp-Migration plugin
454 stars 121 forks source link

Stack Overflow on OSX #21

Open mfisher31 opened 5 years ago

mfisher31 commented 5 years ago

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 commented 5 years ago

same for me, no solution yet

crypto-titan commented 5 years ago

+1

fugazidave commented 5 years ago

I'm experiencing exactly the same problem.

asha23 commented 5 years ago

Broken for me also.

OffCorner commented 5 years ago

broken here for me too

TheITJuggler commented 4 years ago

+1 MacOS 10.14.6

OffCorner commented 4 years ago

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

porg commented 3 years ago

@fifthsegment

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 ```