Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

EDV panic - json-ld fatal error: concurrent map writes #203

Open
rolsonquadras opened this issue Mar 8, 2021 · 0 comments
Open

EDV panic - json-ld fatal error: concurrent map writes #203

rolsonquadras opened this issue Mar 8, 2021 · 0 comments

Comments

@rolsonquadras
Copy link
Member

"urn:uuid:328b2f61-2ad2-41fa-bb74-c50df7080205","type":"AesKeyWrappingKey2019"},"hmac":{"id":"urn:uuid:02a6eb28-7bfa-44e6-bc57-57442702a1f5","type":"Sha256HmacKey2019"}}
 [restapi] 2021/03/08 00:56:44 UTC - operation.writeReadDocumentFailure -> INFO Failed to read document 999Vk4Zc1M7HziyHnsWdv in vault JSuuUn2iwmd3qx8dTLFREU: specified document does not exist.
 [restapi] 2021/03/08 00:56:44 UTC - operation.writeReadDocumentFailure -> INFO Failed to read document 999Vk4Zc1M7HziyHnsWdv in vault JSuuUn2iwmd3qx8dTLFREU: specified document does not exist.
 [restapi] 2021/03/08 00:56:44 UTC - operation.writeReadDocumentFailure -> INFO Failed to read document 999Vk4Xb8ZPSYfs7qWMHt in vault JSuuUn2iwmd3qx8dTLFREU: specified document does not exist.
 [restapi] 2021/03/08 00:56:44 UTC - operation.writeReadDocumentFailure -> INFO Failed to read document 999Vk4Xb8ZPSYfs7qWMHt in vault JSuuUn2iwmd3qx8dTLFREU: specified document does not exist.
 [restapi] 2021/03/08 00:56:48 UTC - operation.writeReadDocumentFailure -> INFO Failed to read document ChUc691yK9ZVftAYvosiM in vault 2eDdamdyQ3EeevNGdQg8fb: specified document does not exist.
 [restapi] 2021/03/08 00:56:49 UTC - operation.writeReadDocumentFailure -> INFO Failed to read document ChUc691yK9ZVftAYvosiM in vault 2eDdamdyQ3EeevNGdQg8fb: specified document does not exist.
 [restapi] 2021/03/08 00:56:49 UTC - operation.writeReadDocumentFailure -> INFO Failed to read document 999Vk492Pa6pv2jSn8hKU in vault JSuuUn2iwmd3qx8dTLFREU: specified document does not exist.
 [restapi] 2021/03/08 00:56:49 UTC - operation.writeReadDocumentFailure -> INFO Failed to read document 999Vk4XZuZQHi2ik3T6HK in vault JSuuUn2iwmd3qx8dTLFREU: specified document does not exist.
 [restapi] 2021/03/08 00:56:49 UTC - operation.writeReadDocumentFailure -> INFO Failed to read document 999Vk492Pa6pv2jSn8hKU in vault JSuuUn2iwmd3qx8dTLFREU: specified document does not exist.
 [restapi] 2021/03/08 00:56:49 UTC - operation.writeReadDocumentFailure -> INFO Failed to read document 999Vk4XZuZQHi2ik3T6HK in vault JSuuUn2iwmd3qx8dTLFREU: specified document does not exist.
fatal error: concurrent map writes
fatal error: concurrent map writes

goroutine 1506 [running]:
runtime.throw(0xcbb85d, 0x15)
	/usr/local/go/src/runtime/panic.go:1116 +0x72 fp=0xc0004b5180 sp=0xc0004b5150 pc=0x437832
runtime.mapassign_faststr(0xbdce60, 0xc000352420, 0xcda9d4, 0x3c, 0xc0001bce10)
	/usr/local/go/src/runtime/map_faststr.go:291 +0x3d8 fp=0xc0004b51e8 sp=0xc0004b5180 pc=0x415f58
github.com/piprate/json-gold/ld.(*CachingDocumentLoader).AddDocument(...)
	/go/pkg/mod/github.com/trustbloc/[email protected]/ld/document_loader.go:243
github.com/hyperledger/aries-framework-go/pkg/doc/signature/jsonld.getCachingDocumentLoader(0xecd000, 0xc000107180, 0xc0004dc870, 0xc000076100)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/jsonld/processor.go:521 +0x16e fp=0xc0004b52b0 sp=0xc0004b51e8 pc=0xa2254e
github.com/hyperledger/aries-framework-go/pkg/doc/signature/jsonld.useDocumentLoader(...)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/jsonld/processor.go:514
github.com/hyperledger/aries-framework-go/pkg/doc/signature/jsonld.(*Processor).GetCanonicalDocument(0xc000262390, 0xc0004dc840, 0xc00017b030, 0x2, 0x2, 0x8, 0xc0004b5420, 0xa1ee4d, 0xc00017b030, 0xc00017b020)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/jsonld/processor.go:130 +0x1dc fp=0xc0004b53d0 sp=0xc0004b52b0 pc=0xa1f09c
github.com/hyperledger/aries-framework-go/pkg/doc/signature/suite/ed25519signature2018.(*Suite).GetCanonicalDocument(0xc0005f5650, 0xc0004dc840, 0xc00017b030, 0x2, 0x2, 0xc00017b030, 0x1, 0x2, 0xc000393d40, 0xa200000000000056)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/suite/ed25519signature2018/suite.go:45 +0x5e fp=0xc0004b5430 sp=0xc0004b53d0 pc=0xaedd9e
github.com/hyperledger/aries-framework-go/pkg/doc/signature/proof.prepareJWSProof(0x7f91c4694d78, 0xc0005f5650, 0xc0004dc810, 0xc000011758, 0x1, 0x1, 0xc0000df280, 0x1, 0xc0004d8150, 0xc0004b55c8, ...)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/proof/jws.go:123 +0x2ec fp=0xc0004b5518 sp=0xc0004b5430 pc=0xa57f2c
github.com/hyperledger/aries-framework-go/pkg/doc/signature/proof.createVerifyJWS(0x7f91c4694d78, 0xc0005f5650, 0xc0004dc540, 0xc000091c70, 0xc000011758, 0x1, 0x1, 0xede8e0, 0xc0004b5660, 0x40cfe5, ...)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/proof/jws.go:86 +0x94 fp=0xc0004b55f0 sp=0xc0004b5518 pc=0xa57854
github.com/hyperledger/aries-framework-go/pkg/doc/signature/proof.CreateVerifyData(0x7f91c4694d78, 0xc0005f5650, 0xc0004dc540, 0xc000091c70, 0xc000011758, 0x1, 0x1, 0xb91f80, 0xc000386e68, 0xb91f80, ...)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/proof/data.go:51 +0xa5 fp=0xc0004b5670 sp=0xc0004b55f0 pc=0xa56605
github.com/hyperledger/aries-framework-go/pkg/doc/signature/verifier.(*DocumentVerifier).verifyObject(0xc0005f5ad0, 0xc0004dc540, 0xc000011758, 0x1, 0x1, 0x0, 0x0)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/verifier/verifier.go:104 +0x1ec fp=0xc0004b5730 sp=0xc0004b5670 pc=0xa5c10c
github.com/hyperledger/aries-framework-go/pkg/doc/signature/verifier.(*DocumentVerifier).Verify(0xc0005f5ad0, 0xc00040f800, 0x3cc, 0x400, 0xc000011758, 0x1, 0x1, 0x2d, 0xc000091380)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/verifier/verifier.go:78 +0x130 fp=0xc0004b5790 sp=0xc0004b5730 pc=0xa5bef0
github.com/trustbloc/edge-core/pkg/zcapld.(*Verifier).verifyProof(0xc00038a100, 0xc000091380, 0x2d, 0xc000091380)
	/go/pkg/mod/github.com/trustbloc/[email protected]/pkg/zcapld/verify.go:260 +0x105 fp=0xc0004b57f8 sp=0xc0004b5790 pc=0xb1d125
github.com/trustbloc/edge-core/pkg/zcapld.(*Verifier).verifyCapabilityChainAttenuation(0xc00038a100, 0xc000090ea0, 0xc000395a00, 0xc000129450, 0x1, 0x1, 0x0, 0x0)
	/go/pkg/mod/github.com/trustbloc/[email protected]/pkg/zcapld/verify.go:282 +0x136 fp=0xc0004b58e8 sp=0xc0004b57f8 pc=0xb1d316
github.com/trustbloc/edge-core/pkg/zcapld.(*Verifier).verifyCapabilityChain(0xc00038a100, 0xc000395a00, 0xc0008b6fb7, 0x5, 0xc0004b5ae0, 0x20, 0xc1e000)
	/go/pkg/mod/github.com/trustbloc/[email protected]/pkg/zcapld/verify.go:224 +0x5c5 fp=0xc0004b59c0 sp=0xc0004b58e8 pc=0xb1c685
github.com/trustbloc/edge-core/pkg/zcapld.(*Verifier).Verify(0xc00038a100, 0xc0004b5ab8, 0xc0004b5ae0, 0xc000262310, 0xc000262530)
	/go/pkg/mod/github.com/trustbloc/[email protected]/pkg/zcapld/verify.go:92 +0x65 fp=0xc0004b5a18 sp=0xc0004b59c0 pc=0xb1be45
github.com/trustbloc/edge-core/pkg/zcapld.authZHandleFunc(0xeda420, 0xc0005930a0, 0xc000560e00, 0xc0000e8600, 0xc0005f5680, 0xc0005f52f0)
	/go/pkg/mod/github.com/trustbloc/[email protected]/pkg/zcapld/middleware.go:174 +0x5c5 fp=0xc0004b5b28 sp=0xc0004b5a18 pc=0xb194a5
github.com/trustbloc/edge-core/pkg/zcapld.NewHTTPSigAuthHandler.func1(0xeda420, 0xc0005930a0, 0xc000560e00)
	/go/pkg/mod/github.com/trustbloc/[email protected]/pkg/zcapld/middleware.go:141 +0x5a fp=0xc0004b5b68 sp=0xc0004b5b28 pc=0xb1effa
net/http.HandlerFunc.ServeHTTP(...)
	/usr/local/go/src/net/http/server.go:2042
github.com/trustbloc/edv/cmd/edv-rest/startcmd.(*httpHandler).ServeHTTP(0xc000112ae0, 0xeda420, 0xc0005930a0, 0xc000560e00)
	/go/src/github.com/trustbloc/edv/cmd/edv-rest/startcmd/start.go:900 +0x322 fp=0xc0004b5bf0 sp=0xc0004b5b68 pc=0xb3eba2
net/http.serverHandler.ServeHTTP(0xc00012c0e0, 0xeda420, 0xc0005930a0, 0xc000560e00)
	/usr/local/go/src/net/http/server.go:2843 +0xa3 fp=0xc0004b5c20 sp=0xc0004b5bf0 pc=0x785843
net/http.(*conn).serve(0xc0002285a0, 0xedc720, 0xc000356400)
	/usr/local/go/src/net/http/server.go:1925 +0x8ad fp=0xc0004b5fc8 sp=0xc0004b5c20 pc=0x78104d
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc0004b5fd0 sp=0xc0004b5fc8 pc=0x46bf41
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2969 +0x36c

goroutine 1 [IO wait]:
internal/poll.runtime_pollWait(0x7f91c49e5118, 0x72, 0x0)
	/usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0003be198, 0x72, 0x0, 0x0, 0xcb3986)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc0003be180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:394 +0x1fc
net.(*netFD).accept(0xc0003be180, 0xe744f214e6fc22f3, 0x0, 0x0)
	/usr/local/go/src/net/fd_unix.go:172 +0x45
net.(*TCPListener).accept(0xc000112b00, 0x60457651, 0xc000505810, 0x4c31c6)
	/usr/local/go/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc000112b00, 0xc000505860, 0x18, 0xc000000180, 0x785d0c)
	/usr/local/go/src/net/tcpsock.go:261 +0x65
net/http.(*Server).Serve(0xc00012c0e0, 0xeda160, 0xc000112b00, 0x0, 0x0)
	/usr/local/go/src/net/http/server.go:2937 +0x266
net/http.(*Server).ListenAndServe(0xc00012c0e0, 0xc00012c0e0, 0x128)
	/usr/local/go/src/net/http/server.go:2866 +0xb7
net/http.ListenAndServe(...)
	/usr/local/go/src/net/http/server.go:3120
github.com/trustbloc/edv/cmd/edv-rest/startcmd.(*HTTPServer).ListenAndServe(0x1346c78, 0xc00003802d, 0xc, 0x0, 0x0, 0x0, 0x0, 0xecd2c0, 0xc000112ae0, 0xc000206c30, ...)
	/go/src/github.com/trustbloc/edv/cmd/edv-rest/startcmd/start.go:287 +0x94
github.com/trustbloc/edv/cmd/edv-rest/startcmd.startEDV(0xc000507cc8, 0xc0001b9703, 0x0)
	/go/src/github.com/trustbloc/edv/cmd/edv-rest/startcmd/start.go:660 +0x812
github.com/trustbloc/edv/cmd/edv-rest/startcmd.createStartCmd.func1(0xc0002cf080, 0x1346c78, 0x0, 0x0, 0x0, 0x0)
	/go/src/github.com/trustbloc/edv/cmd/edv-rest/startcmd/start.go:392 +0x595
github.com/spf13/cobra.(*Command).execute(0xc0002cf080, 0x1346c78, 0x0, 0x0, 0xc0002cf080, 0x1346c78)
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:840 +0x47c
github.com/spf13/cobra.(*Command).ExecuteC(0xc0002cedc0, 0xc00021ff70, 0x1, 0x1)
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:945 +0x336
github.com/spf13/cobra.(*Command).Execute(...)
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:885
main.main()
	/go/src/github.com/trustbloc/edv/cmd/edv-rest/main.go:41 +0xc5

goroutine 1582 [running]:
	goroutine running on other thread; stack unavailable
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2969 +0x36c

goroutine 1104 [chan receive, 5 minutes]:
github.com/go-kivik/kivik/v3.(*iter).awaitDone(0xc0004635c0, 0xedc720, 0xc000357000)
	/go/pkg/mod/github.com/go-kivik/kivik/[email protected]/iterator.go:63 +0x48
created by github.com/go-kivik/kivik/v3.newIterator
	/go/pkg/mod/github.com/go-kivik/kivik/[email protected]/iterator.go:57 +0xd8

goroutine 900 [chan receive, 6 minutes]:
github.com/go-kivik/kivik/v3.(*iter).awaitDone(0xc000582720, 0xedc720, 0xc00038bd40)
	/go/pkg/mod/github.com/go-kivik/kivik/[email protected]/iterator.go:63 +0x48
created by github.com/go-kivik/kivik/v3.newIterator
	/go/pkg/mod/github.com/go-kivik/kivik/[email protected]/iterator.go:57 +0xd8

goroutine 1576 [IO wait]:
internal/poll.runtime_pollWait(0x7f91c49e5030, 0x72, 0xece880)
	/usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0003be298, 0x72, 0xece800, 0x12b56c0, 0x0)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0003be280, 0xc0004ba000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:159 +0x1a5
net.(*netFD).Read(0xc0003be280, 0xc0004ba000, 0x1000, 0x1000, 0x43a4dc, 0xc000305b58, 0x464740)
	/usr/local/go/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000386d98, 0xc0004ba000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/net.go:182 +0x8e
net/http.(*persistConn).Read(0xc0003f6a20, 0xc0004ba000, 0x1000, 0x1000, 0xc0003935c0, 0xc000305c58, 0x4073d5)
	/usr/local/go/src/net/http/transport.go:1887 +0x77
bufio.(*Reader).fill(0xc000533b00)
	/usr/local/go/src/bufio/bufio.go:101 +0x105
bufio.(*Reader).Peek(0xc000533b00, 0x1, 0x0, 0x0, 0x1, 0x0, 0xc000393920)
	/usr/local/go/src/bufio/bufio.go:139 +0x4f
net/http.(*persistConn).readLoop(0xc0003f6a20)
	/usr/local/go/src/net/http/transport.go:2040 +0x1a8
created by net/http.(*Transport).dialConn
	/usr/local/go/src/net/http/transport.go:1708 +0xcb7

goroutine 1596 [select]:
net/http.(*persistConn).writeLoop(0xc000402c60)
	/usr/local/go/src/net/http/transport.go:2340 +0x11c
created by net/http.(*Transport).dialConn
	/usr/local/go/src/net/http/transport.go:1709 +0xcdc

goroutine 1591 [chan receive]:
github.com/go-kivik/kivik/v3.(*iter).awaitDone(0xc00061a420, 0xedc720, 0xc000356840)
	/go/pkg/mod/github.com/go-kivik/kivik/[email protected]/iterator.go:63 +0x48
created by github.com/go-kivik/kivik/v3.newIterator
	/go/pkg/mod/github.com/go-kivik/kivik/[email protected]/iterator.go:57 +0xd8

goroutine 813 [chan receive, 6 minutes]:
github.com/go-kivik/kivik/v3.(*iter).awaitDone(0xc000364360, 0xedc720, 0xc000416440)
	/go/pkg/mod/github.com/go-kivik/kivik/[email protected]/iterator.go:63 +0x48
created by github.com/go-kivik/kivik/v3.newIterator
	/go/pkg/mod/github.com/go-kivik/kivik/[email protected]/iterator.go:57 +0xd8

goroutine 1595 [IO wait]:
internal/poll.runtime_pollWait(0x7f91c49e4808, 0x72, 0xece880)
	/usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0003be898, 0x72, 0xece800, 0x12b56c0, 0x0)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0003be880, 0xc0002cb000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:159 +0x1a5
net.(*netFD).Read(0xc0003be880, 0xc0002cb000, 0x1000, 0x1000, 0x43a4dc, 0xc00005fb58, 0x464740)
	/usr/local/go/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc0003861a8, 0xc0002cb000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/net.go:182 +0x8e
net/http.(*persistConn).Read(0xc000402c60, 0xc0002cb000, 0x1000, 0x1000, 0xc0004880c0, 0xc00005fc58, 0x4073d5)
	/usr/local/go/src/net/http/transport.go:1887 +0x77
bufio.(*Reader).fill(0xc000532420)
	/usr/local/go/src/bufio/bufio.go:101 +0x105
bufio.(*Reader).Peek(0xc000532420, 0x1, 0x0, 0x0, 0x1, 0x0, 0xc000489b00)
	/usr/local/go/src/bufio/bufio.go:139 +0x4f
net/http.(*persistConn).readLoop(0xc000402c60)
	/usr/local/go/src/net/http/transport.go:2040 +0x1a8
created by net/http.(*Transport).dialConn
	/usr/local/go/src/net/http/transport.go:1708 +0xcb7

goroutine 1577 [select]:
net/http.(*persistConn).writeLoop(0xc0003f6a20)
	/usr/local/go/src/net/http/transport.go:2340 +0x11c
created by net/http.(*Transport).dialConn
	/usr/local/go/src/net/http/transport.go:1709 +0xcdc

goroutine 1570 [chan receive]:
github.com/go-kivik/kivik/v3.(*iter).awaitDone(0xc000364480, 0xedc720, 0xc000356540)
	/go/pkg/mod/github.com/go-kivik/kivik/[email protected]/iterator.go:63 +0x48
created by github.com/go-kivik/kivik/v3.newIterator
	/go/pkg/mod/github.com/go-kivik/kivik/[email protected]/iterator.go:57 +0xd8

goroutine 1582 [running]:
runtime.throw(0xcbb85d, 0x15)
	/usr/local/go/src/runtime/panic.go:1116 +0x72 fp=0xc0004b9180 sp=0xc0004b9150 pc=0x437832
runtime.mapassign_faststr(0xbdce60, 0xc000352420, 0xcc1808, 0x1c, 0xc0001bce10)
	/usr/local/go/src/runtime/map_faststr.go:291 +0x3d8 fp=0xc0004b91e8 sp=0xc0004b9180 pc=0x415f58
github.com/piprate/json-gold/ld.(*CachingDocumentLoader).AddDocument(...)
	/go/pkg/mod/github.com/trustbloc/[email protected]/ld/document_loader.go:243
github.com/hyperledger/aries-framework-go/pkg/doc/signature/jsonld.getCachingDocumentLoader(0xecd000, 0xc000107180, 0xc000542360, 0xc00038a600)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/jsonld/processor.go:521 +0x16e fp=0xc0004b92b0 sp=0xc0004b91e8 pc=0xa2254e
github.com/hyperledger/aries-framework-go/pkg/doc/signature/jsonld.useDocumentLoader(...)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/jsonld/processor.go:514
github.com/hyperledger/aries-framework-go/pkg/doc/signature/jsonld.(*Processor).GetCanonicalDocument(0xc000271db0, 0xc000542330, 0xc00010a330, 0x2, 0x2, 0x8, 0xc0004b9420, 0xa1ee4d, 0xc00010a330, 0xc00010a310)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/jsonld/processor.go:130 +0x1dc fp=0xc0004b93d0 sp=0xc0004b92b0 pc=0xa1f09c
github.com/hyperledger/aries-framework-go/pkg/doc/signature/suite/ed25519signature2018.(*Suite).GetCanonicalDocument(0xc00069bb90, 0xc000542330, 0xc00010a330, 0x2, 0x2, 0xc00010a330, 0x1, 0x2, 0xc000489ec0, 0xde00000000000056)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/suite/ed25519signature2018/suite.go:45 +0x5e fp=0xc0004b9430 sp=0xc0004b93d0 pc=0xaedd9e
github.com/hyperledger/aries-framework-go/pkg/doc/signature/proof.prepareJWSProof(0x7f91c4694d78, 0xc00069bb90, 0xc000542300, 0xc000386e00, 0x1, 0x1, 0xc000129dc0, 0x1, 0xc0005c1490, 0xc0004b95c8, ...)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/proof/jws.go:123 +0x2ec fp=0xc0004b9518 sp=0xc0004b9430 pc=0xa57f2c
github.com/hyperledger/aries-framework-go/pkg/doc/signature/proof.createVerifyJWS(0x7f91c4694d78, 0xc00069bb90, 0xc000542030, 0xc0002b6000, 0xc000386e00, 0x1, 0x1, 0xede8e0, 0xc0004b9660, 0x40cfe5, ...)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/proof/jws.go:86 +0x94 fp=0xc0004b95f0 sp=0xc0004b9518 pc=0xa57854
github.com/hyperledger/aries-framework-go/pkg/doc/signature/proof.CreateVerifyData(0x7f91c4694d78, 0xc00069bb90, 0xc000542030, 0xc0002b6000, 0xc000386e00, 0x1, 0x1, 0xb91f80, 0xc0000117f0, 0xb91f80, ...)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/proof/data.go:51 +0xa5 fp=0xc0004b9670 sp=0xc0004b95f0 pc=0xa56605
github.com/hyperledger/aries-framework-go/pkg/doc/signature/verifier.(*DocumentVerifier).verifyObject(0xc0004dc030, 0xc000542030, 0xc000386e00, 0x1, 0x1, 0x0, 0x0)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/verifier/verifier.go:104 +0x1ec fp=0xc0004b9730 sp=0xc0004b9670 pc=0xa5c10c
github.com/hyperledger/aries-framework-go/pkg/doc/signature/verifier.(*DocumentVerifier).Verify(0xc0004dc030, 0xc0004c3c00, 0x3cc, 0x400, 0xc000386e00, 0x1, 0x1, 0x2d, 0xc000395c70)
	/go/pkg/mod/github.com/hyperledger/[email protected]/pkg/doc/signature/verifier/verifier.go:78 +0x130 fp=0xc0004b9790 sp=0xc0004b9730 pc=0xa5bef0
github.com/trustbloc/edge-core/pkg/zcapld.(*Verifier).verifyProof(0xc000357cc0, 0xc000395c70, 0x2d, 0xc000395c70)
	/go/pkg/mod/github.com/trustbloc/[email protected]/pkg/zcapld/verify.go:260 +0x105 fp=0xc0004b97f8 sp=0xc0004b9790 pc=0xb1d125
github.com/trustbloc/edge-core/pkg/zcapld.(*Verifier).verifyCapabilityChainAttenuation(0xc000357cc0, 0xc000395ad0, 0xc000090dd0, 0xc0000de950, 0x1, 0x1, 0x0, 0x0)
	/go/pkg/mod/github.com/trustbloc/[email protected]/pkg/zcapld/verify.go:282 +0x136 fp=0xc0004b98e8 sp=0xc0004b97f8 pc=0xb1d316
github.com/trustbloc/edge-core/pkg/zcapld.(*Verifier).verifyCapabilityChain(0xc000357cc0, 0xc000090dd0, 0xc0008b73b7, 0x5, 0xc0004b9ae0, 0x20, 0xc1e000)
	/go/pkg/mod/github.com/trustbloc/[email protected]/pkg/zcapld/verify.go:224 +0x5c5 fp=0xc0004b99c0 sp=0xc0004b98e8 pc=0xb1c685
github.com/trustbloc/edge-core/pkg/zcapld.(*Verifier).Verify(0xc000357cc0, 0xc0004b9ab8, 0xc0004b9ae0, 0xc000271d90, 0xc000271dd0)
	/go/pkg/mod/github.com/trustbloc/[email protected]/pkg/zcapld/verify.go:92 +0x65 fp=0xc0004b9a18 sp=0xc0004b99c0 pc=0xb1be45
github.com/trustbloc/edge-core/pkg/zcapld.authZHandleFunc(0xeda420, 0xc000465880, 0xc0002df300, 0xc0003be780, 0xc00069bbc0, 0xc00069b860)
	/go/pkg/mod/github.com/trustbloc/[email protected]/pkg/zcapld/middleware.go:174 +0x5c5 fp=0xc0004b9b28 sp=0xc0004b9a18 pc=0xb194a5
github.com/trustbloc/edge-core/pkg/zcapld.NewHTTPSigAuthHandler.func1(0xeda420, 0xc000465880, 0xc0002df300)
	/go/pkg/mod/github.com/trustbloc/[email protected]/pkg/zcapld/middleware.go:141 +0x5a fp=0xc0004b9b68 sp=0xc0004b9b28 pc=0xb1effa
net/http.HandlerFunc.ServeHTTP(...)
	/usr/local/go/src/net/http/server.go:2042
github.com/trustbloc/edv/cmd/edv-rest/startcmd.(*httpHandler).ServeHTTP(0xc000112ae0, 0xeda420, 0xc000465880, 0xc0002df300)
	/go/src/github.com/trustbloc/edv/cmd/edv-rest/startcmd/start.go:900 +0x322 fp=0xc0004b9bf0 sp=0xc0004b9b68 pc=0xb3eba2
net/http.serverHandler.ServeHTTP(0xc00012c0e0, 0xeda420, 0xc000465880, 0xc0002df300)
	/usr/local/go/src/net/http/server.go:2843 +0xa3 fp=0xc0004b9c20 sp=0xc0004b9bf0 pc=0x785843
net/http.(*conn).serve(0xc0003f8500, 0xedc720, 0xc00038a040)
	/usr/local/go/src/net/http/server.go:1925 +0x8ad fp=0xc0004b9fc8 sp=0xc0004b9c20 pc=0x78104d
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc0004b9fd0 sp=0xc0004b9fc8 pc=0x46bf41
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2969 +0x36c
@rolsonquadras rolsonquadras changed the title EDV panic - fatal error: concurrent map writes EDV panic - json-ld fatal error: concurrent map writes Mar 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant