Giter VIP home page Giter VIP logo

Comments (3)

lidel avatar lidel commented on September 26, 2024

@marten-seemann @sukunrt does the panic in go-libp2p/core/peer.AddrInfo.MarshalJSON look familiar?

from kubo.

cachalots avatar cachalots commented on September 26, 2024

https://github.com/libp2p/go-libp2p/blob/master/core/peer/addrinfo_serde.go#L18
In general, panic can be recovered, and there are also many recover logs in the code. The recover failure seems to be due to quic using the unsafe to create a wild pointer. I'm not sure if this is related to the reuse listener section.

from kubo.

cachalots avatar cachalots commented on September 26, 2024

rare crash with v0.24.0

runtime: g 462458665: unexpected return pc for github.com/ipfs/kubo/routing.httpRoutingFromConfig called from 0xc04faa1e88
stack: frame={sp:0xc04faa1c30, fp:0xc04faa1e50} stack=[0xc04faa0000,0xc04faa4000)
0x000000c04faa1b30:  0x0000000000f50305   0x000000c04faa1c10 
0x000000c04faa1b40:  0x000000c00416bd40  0x0000000000000000 
0x000000c04faa1b50:  0x000000c04faa1c00  0x0000000000f7f1ca  
0x000000c04faa1b60:  0x0000000003fdab90  0x0000000000000001 
0x000000c04faa1b70:  0x000000c04faa1bd8  0x0000000000f52985  
0x000000c04faa1b80:  0x000000c1610c97a0  0x0000000000000030 
0x000000c04faa1b90:  0x00000000027396c0  0x00000000028cea60 
0x000000c04faa1ba0:  0x000000c000014278  0x00007fe76c05e738 
0x000000c04faa1bb0:  0x00007fe853bbd878  0x000000c00416bd40 
0x000000c04faa1bc0:  0x000000c1610c97a0  0x0000000000000000 
0x000000c04faa1bd0:  0x00000000027396c0  0x000000c1610c97a0 
0x000000c04faa1be0:  0x0000000000000000  0x0000000000000000 
0x000000c04faa1bf0:  0x0000000000000000  0x0000000000000000 
0x000000c04faa1c00:  0x000000c04faa1c20  0x0000000000f50305  
0x000000c04faa1c10:  0x00000000027396c0  0x000000c1610c97a0 
0x000000c04faa1c20:  0x000000c04faa1cc0  0x00000000018cba8a  
0x000000c04faa1c30: <0x0000000000dd41ff  0x000000c1610c9140 
0x000000c04faa1c40:  0x00000000018cba80   0x0000000002fe3cc0 
0x000000c04faa1c50:  0x010000c0359cc380  0x0000000000000003 
0x000000c04faa1c60:  0x0000000000000006  0x0000000000000006 
0x000000c04faa1c70:  0x000000c1610c9140  0x000000c167bd8600 
0x000000c04faa1c80:  0x0000000000000000  0x0000000000000000 
0x000000c04faa1c90:  0x00000000013e3e00   0x000000c04faa1c80 
0x000000c04faa1ca0:  0x0000000000000000  0x0000000000000000 
0x000000c04faa1cb0:  0x0000000000000000  0x000000c04faa1c90 
0x000000c04faa1cc0:  0x000000c04faa1d20  0x00000000013e6814  
0x000000c04faa1cd0:  0x000000c0d7d4bc80  0x0000000000000026 
0x000000c04faa1ce0:  0x000000c1610c9110  0x0000000000000006 
0x000000c04faa1cf0:  0x0000000000000003  0x000000c0d7d4bc80 
0x000000c04faa1d00:  0x0000000000000026  0x000000c1610c9110 
0x000000c04faa1d10:  0x0000000000000006  0x0000000000000003 
0x000000c04faa1d20:  0x000000c04faa1dd0  0x00000000010f4352  
0x000000c04faa1d30:  0x00000000027dae00  0x00000000027dae00 
0x000000c04faa1d40:  0x000000c1610c90e0  0x000000c04fa766c0 
0x000000c04faa1d50:  0x0000000000000086  0x0000000000000090 
0x000000c04faa1d60:  0x000000c000255301  0x0100000000000005 
0x000000c04faa1d70:  0x0000000000000000  0x0000000000000086 
0x000000c04faa1d80:  0x0000000000000000  0x0000000000000090 
0x000000c04faa1d90:  0x0000000000000196  0x000000000209a2ab  
0x000000c04faa1da0:  0x0000000000000000  0x000000c04fa766c0 
0x000000c04faa1db0:  0x00000000027dae00  0x000000c06d5a5b40 
0x000000c04faa1dc0:  0x0000000000f5c0b3   0x0000000000002000 
0x000000c04faa1dd0:  0x000000c04faa1e48  0x00000000010f7d16  
0x000000c04faa1de0:  0x000000c1060c5dc0  0x00000000027dae00 
0x000000c04faa1df0:  0x000000c06d5a5b40  0x00000000043543a0 
0x000000c04faa1e00:  0x00007fe7a8539a70  0x0100000000000000 
0x000000c04faa1e10:  0x0000000000000015  0x000000000000000e 
0x000000c04faa1e20:  0x0000000000000017  0x0000000000000097 
0x000000c04faa1e30:  0x00000000025d5f80  0x0000000002d7e940 
0x000000c04faa1e40:  0x000000c019aab788  0x000000c04faa1e88 
0x000000c04faa1e50: >0x000000000110435f   0x0000000000f521cd  
0x000000c04faa1e60:  0x000000c1060c5dc0  0x00000000025d5f80 
0x000000c04faa1e70:  0x000000c019aab788  0x0000000000000080 
0x000000c04faa1e80:  0x0000000001101c67   0x000000c04faa1fa8 
0x000000c04faa1e90:  0x00000000010f784f   0x000000c04faa1f00 
0x000000c04faa1ea0:  0x00000000025d5f80  0x000000c019aab788 
0x000000c04faa1eb0:  0x0000000000000030  0x000000c04faa1ef0 
0x000000c04faa1ec0:  0x0000000000f48348   0x000000c04faa1ef0 
0x000000c04faa1ed0:  0x0000000000f488cd   0x0000000000000017 
0x000000c04faa1ee0:  0x0000000000000033  0x000000c04faa1f30 
0x000000c04faa1ef0:  0x000000c04faa1f30  0x0000000000f5418c  
0x000000c04faa1f00:  0x0000000000000035  0x00000000010f7007  
0x000000c04faa1f10:  0x540000c092620011  0x0000000000000004 
0x000000c04faa1f20:  0x000000c0065feb60  0x000000c04faa1f88 
0x000000c04faa1f30:  0x000000c04faa1f70  0x0000000000fc4cf0  
0x000000c04faa1f40:  0x00000000026ec180  0x000000c03fa692f0 
fatal error: unknown caller pc

runtime stack:
runtime.throw({0x2b0e3e8?, 0x0?})
	runtime/panic.go:1077 +0x5c fp=0x7fe76effcc08 sp=0x7fe76effcbd8 pc=0xf7f85c
runtime.(*unwinder).next(0x7fe76effccb0)
	runtime/traceback.go:475 +0x249 fp=0x7fe76effcc80 sp=0x7fe76effcc08 pc=0xfa79c9
runtime.addOneOpenDeferFrame.func1()
	runtime/panic.go:648 +0x85 fp=0x7fe76effce50 sp=0x7fe76effcc80 pc=0xf7ea05
traceback: unexpected SPWRITE function runtime.systemstack
runtime.systemstack()
	runtime/asm_amd64.s:509 +0x4a fp=0x7fe76effce60 sp=0x7fe76effce50 pc=0xfb624a

goroutine 462458665 [running]:
runtime.systemstack_switch()
	runtime/asm_amd64.s:474 +0x8 fp=0xc04faa1b20 sp=0xc04faa1b10 pc=0xfb61e8
runtime.addOneOpenDeferFrame(0x3fdab90?, 0x1?, 0xc04faa1bd8?)
	runtime/panic.go:645 +0x65 fp=0xc04faa1b60 sp=0xc04faa1b20 pc=0xf7e925
panic({0x27396c0?, 0xc1610c97a0?})
	runtime/panic.go:874 +0x14a fp=0xc04faa1c10 sp=0xc04faa1b60 pc=0xf7f1ca
runtime.panicdottypeE(0xdd41ff, 0xc1610c9140, 0x18cba80)
	runtime/iface.go:263 +0x65 fp=0xc04faa1c30 sp=0xc04faa1c10 pc=0xf50305
github.com/ipfs/kubo/routing.httpRoutingFromConfig({{0x110435f?, 0xf521cd?}, {0xc1060c5dc0?, 0x25d5f80?}}, 0xc019aab788?)
	github.com/ipfs/kubo/routing/delegated.go:174 +0x8ca fp=0xc04faa1e50 sp=0xc04faa1c30 pc=0x18cba8a
runtime: g 462458665: unexpected return pc for github.com/ipfs/kubo/routing.httpRoutingFromConfig called from 0xc04faa1e88
stack: frame={sp:0xc04faa1c30, fp:0xc04faa1e50} stack=[0xc04faa0000,0xc04faa4000)
0x000000c04faa1b30:  0x0000000000f50305   0x000000c04faa1c10 
0x000000c04faa1b40:  0x000000c00416bd40  0x0000000000000000 
0x000000c04faa1b50:  0x000000c04faa1c00  0x0000000000f7f1ca  
0x000000c04faa1b60:  0x0000000003fdab90  0x0000000000000001 
0x000000c04faa1b70:  0x000000c04faa1bd8  0x0000000000f52985  
0x000000c04faa1b80:  0x000000c1610c97a0  0x0000000000000030 
0x000000c04faa1b90:  0x00000000027396c0  0x00000000028cea60 
0x000000c04faa1ba0:  0x000000c000014278  0x00007fe76c05e738 
0x000000c04faa1bb0:  0x00007fe853bbd878  0x000000c00416bd40 
0x000000c04faa1bc0:  0x000000c1610c97a0  0x0000000000000000 
0x000000c04faa1bd0:  0x00000000027396c0  0x000000c1610c97a0 
0x000000c04faa1be0:  0x0000000000000000  0x0000000000000000 
0x000000c04faa1bf0:  0x0000000000000000  0x0000000000000000 
0x000000c04faa1c00:  0x000000c04faa1c20  0x0000000000f50305  
0x000000c04faa1c10:  0x00000000027396c0  0x000000c1610c97a0 
0x000000c04faa1c20:  0x000000c04faa1cc0  0x00000000018cba8a  
0x000000c04faa1c30: <0x0000000000dd41ff  0x000000c1610c9140 
0x000000c04faa1c40:  0x00000000018cba80   0x0000000002fe3cc0 
0x000000c04faa1c50:  0x010000c0359cc380  0x0000000000000003 
0x000000c04faa1c60:  0x0000000000000006  0x0000000000000006 
0x000000c04faa1c70:  0x000000c1610c9140  0x000000c167bd8600 
0x000000c04faa1c80:  0x0000000000000000  0x0000000000000000 
0x000000c04faa1c90:  0x00000000013e3e00   0x000000c04faa1c80 
0x000000c04faa1ca0:  0x0000000000000000  0x0000000000000000 
0x000000c04faa1cb0:  0x0000000000000000  0x000000c04faa1c90 
0x000000c04faa1cc0:  0x000000c04faa1d20  0x00000000013e6814  
0x000000c04faa1cd0:  0x000000c0d7d4bc80  0x0000000000000026 
0x000000c04faa1ce0:  0x000000c1610c9110  0x0000000000000006 
0x000000c04faa1cf0:  0x0000000000000003  0x000000c0d7d4bc80 
0x000000c04faa1d00:  0x0000000000000026  0x000000c1610c9110 
0x000000c04faa1d10:  0x0000000000000006  0x0000000000000003 
0x000000c04faa1d20:  0x000000c04faa1dd0  0x00000000010f4352  
0x000000c04faa1d30:  0x00000000027dae00  0x00000000027dae00 
0x000000c04faa1d40:  0x000000c1610c90e0  0x000000c04fa766c0 
0x000000c04faa1d50:  0x0000000000000086  0x0000000000000090 
0x000000c04faa1d60:  0x000000c000255301  0x0100000000000005 
0x000000c04faa1d70:  0x0000000000000000  0x0000000000000086 
0x000000c04faa1d80:  0x0000000000000000  0x0000000000000090 
0x000000c04faa1d90:  0x0000000000000196  0x000000000209a2ab  
0x000000c04faa1da0:  0x0000000000000000  0x000000c04fa766c0 
0x000000c04faa1db0:  0x00000000027dae00  0x000000c06d5a5b40 
0x000000c04faa1dc0:  0x0000000000f5c0b3   0x0000000000002000 
0x000000c04faa1dd0:  0x000000c04faa1e48  0x00000000010f7d16  
0x000000c04faa1de0:  0x000000c1060c5dc0  0x00000000027dae00 
0x000000c04faa1df0:  0x000000c06d5a5b40  0x00000000043543a0 
0x000000c04faa1e00:  0x00007fe7a8539a70  0x0100000000000000 
0x000000c04faa1e10:  0x0000000000000015  0x000000000000000e 
0x000000c04faa1e20:  0x0000000000000017  0x0000000000000097 
0x000000c04faa1e30:  0x00000000025d5f80  0x0000000002d7e940 
0x000000c04faa1e40:  0x000000c019aab788  0x000000c04faa1e88 
0x000000c04faa1e50: >0x000000000110435f   0x0000000000f521cd  
0x000000c04faa1e60:  0x000000c1060c5dc0  0x00000000025d5f80 
0x000000c04faa1e70:  0x000000c019aab788  0x0000000000000080 
0x000000c04faa1e80:  0x0000000001101c67   0x000000c04faa1fa8 
0x000000c04faa1e90:  0x00000000010f784f   0x000000c04faa1f00 
0x000000c04faa1ea0:  0x00000000025d5f80  0x000000c019aab788 
0x000000c04faa1eb0:  0x0000000000000030  0x000000c04faa1ef0 
0x000000c04faa1ec0:  0x0000000000f48348   0x000000c04faa1ef0 
0x000000c04faa1ed0:  0x0000000000f488cd   0x0000000000000017 
0x000000c04faa1ee0:  0x0000000000000033  0x000000c04faa1f30 
0x000000c04faa1ef0:  0x000000c04faa1f30  0x0000000000f5418c  
0x000000c04faa1f00:  0x0000000000000035  0x00000000010f7007  
0x000000c04faa1f10:  0x540000c092620011  0x0000000000000004 
0x000000c04faa1f20:  0x000000c0065feb60  0x000000c04faa1f88 
0x000000c04faa1f30:  0x000000c04faa1f70  0x0000000000fc4cf0  
0x000000c04faa1f40:  0x00000000026ec180  0x000000c03fa692f0 
created by net/http.(*Server).Serve in goroutine 1423
	net/http/server.go:3086 +0x5cb

from kubo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.