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

gossipd: STATUS_FAIL_INTERNAL_ERROR: FATAL SIGNAL #5387

Closed
grubles opened this issue Jul 8, 2022 · 0 comments · Fixed by #5400
Closed

gossipd: STATUS_FAIL_INTERNAL_ERROR: FATAL SIGNAL #5387

grubles opened this issue Jul 8, 2022 · 0 comments · Fixed by #5400
Assignees
Milestone

Comments

@grubles
Copy link
Contributor

grubles commented Jul 8, 2022

Issue and Steps to Reproduce

Running CLN at 0a4cd91
OS: Ubuntu 22.04
Arch: powerpc64le

Logs:

2022-07-08T16:53:26.606Z DEBUG   036ff8f2a910f531295d695211a0600ee6d527ea58359f81ceadf44b658c7c476e-gossipd: Received node_announcement for node 03464119063dc712f1629d3f62035f438ddde2c77828afb0647948ac8
2022-07-08T16:53:26.619Z **BROKEN** gossipd: FATAL SIGNAL 6 (version v0.11.0.1-190-g2927c8c)                
2022-07-08T16:53:26.619Z **BROKEN** gossipd: backtrace: common/daemon.c:38 (send_backtrace) 0xb8fe1f2f38b   
2022-07-08T16:53:26.619Z **BROKEN** gossipd: backtrace: common/daemon.c:46 (crashdump) 0xb8fe1f2f413        
2022-07-08T16:53:26.619Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf386db0443                    
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf3869c867c                                                                                                                           
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf386961e3b            
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf38693d25f
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf386954f13
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf386954fb3
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: gossipd/gossip_store.c:644 (delete_by_index) 0xb8fe1f1d813
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: gossipd/gossip_store.c:665 (gossip_store_delete) 0xb8fe1f1e69b
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: gossipd/routing.c:1730 (routing_add_node_announcement) 0xb8fe1f26787
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: gossipd/routing.c:1851 (handle_node_announcement) 0xb8fe1f26bbb
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: gossipd/gossipd.c:281 (handle_node_announce) 0xb8fe1f1a43b
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: gossipd/gossipd.c:507 (handle_recv_gossip) 0xb8fe1f1c6df
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: gossipd/gossipd.c:583 (connectd_req) 0xb8fe1f1c827                                                                                                         
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: common/daemon_conn.c:31 (handle_read) 0xb8fe1f2f5a3                                                                                                        
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: ccan/ccan/io/io.c:59 (next_plan) 0xb8fe1f7422f
2022-07-08T16:53:26.620Z **BROKEN** gossipd: backtrace: ccan/ccan/io/io.c:407 (do_plan) 0xb8fe1f74b1b
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: ccan/ccan/io/io.c:417 (io_ready) 0xb8fe1f74c23
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: ccan/ccan/io/poll.c:453 (io_loop) 0xb8fe1f7774f
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: gossipd/gossipd.c:1130 (main) 0xb8fe1f1caf3
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf38693d6a3
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf38693d887
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0xffffffffffffffff
2022-07-08T16:53:26.621Z **BROKEN** gossipd: FATAL SIGNAL (version v0.11.0.1-190-g2927c8c) 
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: common/daemon.c:38 (send_backtrace) 0xb8fe1f2f38b                                                                                                          
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: common/status.c:221 (status_failed) 0xb8fe1f37e9b                                                                                                          
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: common/subdaemon.c:18 (status_backtrace_exit) 0xb8fe1f380cb
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: common/daemon.c:49 (crashdump) 0xb8fe1f2f423
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf386db0443
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf3869c867c
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf386961e3b
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf38693d25f
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf386954f13
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf386954fb3
2022-07-08T16:53:26.621Z **BROKEN** gossipd: backtrace: gossipd/gossip_store.c:644 (delete_by_index) 0xb8fe1f1d813
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: gossipd/gossip_store.c:665 (gossip_store_delete) 0xb8fe1f1e69b
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: gossipd/routing.c:1730 (routing_add_node_announcement) 0xb8fe1f26787
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: gossipd/routing.c:1851 (handle_node_announcement) 0xb8fe1f26bbb
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: gossipd/gossipd.c:281 (handle_node_announce) 0xb8fe1f1a43b
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: gossipd/gossipd.c:507 (handle_recv_gossip) 0xb8fe1f1c6df
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: gossipd/gossipd.c:583 (connectd_req) 0xb8fe1f1c827                                                                                                         
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: common/daemon_conn.c:31 (handle_read) 0xb8fe1f2f5a3                                                                                                        
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: ccan/ccan/io/io.c:59 (next_plan) 0xb8fe1f7422f
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: ccan/ccan/io/io.c:407 (do_plan) 0xb8fe1f74b1b
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: ccan/ccan/io/io.c:417 (io_ready) 0xb8fe1f74c23
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: ccan/ccan/io/poll.c:453 (io_loop) 0xb8fe1f7774f
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: gossipd/gossipd.c:1130 (main) 0xb8fe1f1caf3
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf38693d6a3
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0x7bf38693d887
2022-07-08T16:53:26.622Z **BROKEN** gossipd: backtrace: (null):0 ((null)) 0xffffffffffffffff
2022-07-08T16:53:26.622Z **BROKEN** gossipd: STATUS_FAIL_INTERNAL_ERROR: FATAL SIGNAL

Backtrace from console output:

$ lightning_gossipd: gossipd/gossip_store.c:644: delete_by_index: Assertion `(be32_to_cpu(belen) & GOSSIP_STORE_LEN_DELETED_BIT) == 0' failed.                              
lightning_gossipd: FATAL SIGNAL 6 (version v0.11.0.1-190-g2927c8c)
0xb8fe1f2f32b send_backtrace   
        common/daemon.c:33        
0xb8fe1f2f413 crashdump                                                                                  
        common/daemon.c:46        
0x7bf386db0443 ???                         
        ???:0                 
0x7bf3869c867c ???                    
        ???:0                      
0x7bf386961e3b ???                
        ???:0                   
0x7bf38693d25f ???
        ???:0
0x7bf386954f13 ???
        ???:0
0x7bf386954fb3 ???
        ???:0
0xb8fe1f1d813 delete_by_index
        gossipd/gossip_store.c:644
0xb8fe1f1e69b gossip_store_delete
        gossipd/gossip_store.c:665
0xb8fe1f26787 routing_add_node_announcement
        gossipd/routing.c:1730
0xb8fe1f26bbb handle_node_announcement
        gossipd/routing.c:1851                                                                                                                                                                            
0xb8fe1f1a43b handle_node_announce
        gossipd/gossipd.c:281
0xb8fe1f1c6df handle_recv_gossip
        gossipd/gossipd.c:507
0xb8fe1f1c827 connectd_req
        gossipd/gossipd.c:583
0xb8fe1f2f5a3 handle_read
        common/daemon_conn.c:31
0xb8fe1f7422f next_plan
        ccan/ccan/io/io.c:59
0xb8fe1f74b1b do_plan
        ccan/ccan/io/io.c:407
0xb8fe1f74c23 io_ready
        ccan/ccan/io/io.c:417
0xb8fe1f7774f io_loop
        ccan/ccan/io/poll.c:453
0xb8fe1f1caf3 main
        gossipd/gossipd.c:1130
0x7bf38693d6a3 ???
        ???:0
0x7bf38693d887 ???
        ???:0
0xffffffffffffffff ???
        ???:0
lightning_gossipd: FATAL SIGNAL (version v0.11.0.1-190-g2927c8c)                                                                                                                                          [29/1891]
0xb8fe1f2f32b send_backtrace
        common/daemon.c:33
0xb8fe1f37e9b status_failed
        common/status.c:221
0xb8fe1f380cb status_backtrace_exit
        common/subdaemon.c:18
0xb8fe1f2f423 crashdump
        common/daemon.c:49
0x7bf386db0443 ???
        ???:0
0x7bf3869c867c ???
        ???:0
0x7bf386961e3b ???
        ???:0
0x7bf38693d25f ???
        ???:0
0x7bf386954f13 ???
        ???:0
0x7bf386954fb3 ???
        ???:0
0xb8fe1f1d813 delete_by_index
        gossipd/gossip_store.c:644
0xb8fe1f1e69b gossip_store_delete
        gossipd/gossip_store.c:665
0xb8fe1f26787 routing_add_node_announcement                                                                                                                                                                
        gossipd/routing.c:1730
0xb8fe1f26bbb handle_node_announcement
        gossipd/routing.c:1851
0xb8fe1f1a43b handle_node_announce
        gossipd/gossipd.c:281
0xb8fe1f1c6df handle_recv_gossip
        gossipd/gossipd.c:507
0xb8fe1f1c827 connectd_req
        gossipd/gossipd.c:583
0xb8fe1f2f5a3 handle_read
        common/daemon_conn.c:31
0xb8fe1f7422f next_plan
        ccan/ccan/io/io.c:59
0xb8fe1f74b1b do_plan
        ccan/ccan/io/io.c:407
0xb8fe1f74c23 io_ready
        ccan/ccan/io/io.c:417
0xb8fe1f7774f io_loop
        ccan/ccan/io/poll.c:453
0xb8fe1f1caf3 main
        gossipd/gossipd.c:1130
0x7bf38693d6a3 ???
        ???:0
0x7bf38693d887 ???
        ???:0
0xffffffffffffffff ???
        ???:0
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

Successfully merging a pull request may close this issue.

3 participants