Yes, this crash is due to timeout 0.

To get a snapshot of subscriptions in this kernel,
- create a subscription with a larger timeout say 100 / 1000
- cancel it when you receive the required publications or ignore the timeout.

On 03/23/2016 03:25 PM, Rune Torgersen wrote:
> Could this be caused by us using the TIPC topology server with a timeout of 0 
> to get a list of current listeners in a portrange?
> If so, is there a better way of getting that info?
>
> -----Original Message-----
> From: Rune Torgersen [mailto:[email protected]] 
> Sent: Tuesday, March 22, 2016 9:33 AM
> To: [email protected]
> Subject: [tipc-discussion] TIPC nametable NULL ptr kernel crash
>
> Hi, I've experienced a few reboots lately, and filally got a crash kernel 
> going to catch the cause.
> Not sure how this happens, but I got a NULL ptr derefenrece in the tipc 
> nametable.
>
> [72369.896602] BUG: unable to handle kernel NULL pointer dereference at 
> 00000000000000b7
> [72369.896742] IP: [<ffffffffc044ef62>] tipc_nametbl_unsubscribe+0x72/0x100 
> [tipc]
> [72369.896851] PGD 0 
> [72369.896928] Oops: 0002 [#1] SMP 
> [72369.897043] Modules linked in: tipc ip6_udp_tunnel udp_tunnel ip_vs 
> nf_conntrack cls_fw sch_sfq sch_htb xt_CLASSIFY xt_multiport iptable_mangle 
> ip_tables x_tables ipmi_devintf ipmi_ssif x86_pkg_temp_thermal 
> intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul 
> crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper 
> cryptd sb_edac serio_raw edac_core input_leds joydev lpc_ich mei_me mei 
> ioatdma dca ipmi_si shpchp 8250_fintek ipmi_msghandler mac_hid quota_v2 
> quota_tree lp parport autofs4 raid10 raid456 async_raid6_recov async_memcpy 
> async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath 
> linear hid_generic usbhid hid psmouse isci ahci libsas e1000e libahci 
> scsi_transport_sas ptp pps_core wmi fjes
> [72369.900205] CPU: 0 PID: 4129 Comm: kworker/u24:2 Not tainted 
> 4.4.0-14-generic #30-Ubuntu
> [72369.900271] Hardware name: Supermicro X9SRL-F/X9SRL-F, BIOS 3.2 01/16/2015
> [72369.900325] Workqueue: tipc_rcv tipc_recv_work [tipc]
> [72369.900407] task: ffff880c43720dc0 ti: ffff8801ee78c000 task.ti: 
> ffff8801ee78c000
> [72369.900471] RIP: 0010:[<ffffffffc044ef62>]  [<ffffffffc044ef62>] 
> tipc_nametbl_unsubscribe+0x72/0x100 [tipc]
> [72369.900603] RSP: 0018:ffff880c4f203e10  EFLAGS: 00010246
> [72369.900675] RAX: ffff8804648c2080 RBX: ffff8804648c2000 RCX: 
> 00000000000000af
> [72369.900737] RDX: 0000000000000000 RSI: 00000000000000ce RDI: 
> ffff880c34ab7998
> [72369.900800] RBP: ffff880c4f203e30 R08: ffff880c4f216d40 R09: 
> 0000000000000001
> [72369.900883] R10: 0000000000000005 R11: 0000000000000000 R12: 
> ffff880c34ab7960
> [72369.900946] R13: ffff880c459df120 R14: ffff880c34ab7998 R15: 
> ffff8804648c2000
> [72369.901010] FS:  0000000000000000(0000) GS:ffff880c4f200000(0000) 
> knlGS:0000000000000000
> [72369.901089] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [72369.901159] CR2: 00000000000000b7 CR3: 0000000001e0a000 CR4: 
> 00000000001406f0
> [72369.901222] Stack:
> [72369.901276]  ffff8804648c2000 ffff880c459de000 ffff880101613348 
> ffffffffc044dd90
> [72369.901510]  ffff880c4f203e50 ffffffffc044d77f ffff8804648c2000 
> ffff880101613340
> [72369.901731]  ffff880c4f203e78 ffffffffc044ddd5 ffff880c4f20dd00 
> ffff8804648c2030
> [72369.901963] Call Trace:
> [72369.902019]  <IRQ> 
> [72369.902079]  [<ffffffffc044dd90>] ? tipc_subscrb_shutdown_cb+0xc0/0xc0 
> [tipc]
> [72369.902195]  [<ffffffffc044d77f>] tipc_subscrp_delete+0x2f/0x80 [tipc]
> [72369.902261]  [<ffffffffc044ddd5>] tipc_subscrp_timeout+0x45/0x70 [tipc]
> [72369.902334]  [<ffffffff810eb215>] call_timer_fn+0x35/0x120
> [72369.902410]  [<ffffffffc044dd90>] ? tipc_subscrb_shutdown_cb+0xc0/0xc0 
> [tipc]
> [72369.902475]  [<ffffffff810ebbca>] run_timer_softirq+0x23a/0x2f0
> [72369.902544]  [<ffffffff81084851>] __do_softirq+0x101/0x290
> [72369.902606]  [<ffffffff81084b53>] irq_exit+0xa3/0xb0
> [72369.902682]  [<ffffffff8181f822>] smp_apic_timer_interrupt+0x42/0x50
> [72369.902749]  [<ffffffff8181dae2>] apic_timer_interrupt+0x82/0x90
> [72369.902811]  <EOI> 
> [72369.902854]  [<ffffffff8181c7a5>] ? _raw_spin_unlock_irqrestore+0x15/0x20
> [72369.902982]  [<ffffffff810ed23f>] mod_timer+0x10f/0x240
> [72369.903046]  [<ffffffffc044daa0>] tipc_subscrb_rcv_cb+0x1c0/0x390 [tipc]
> [72369.903112]  [<ffffffffc045a262>] tipc_receive_from_sock+0xc2/0x120 [tipc]
> [72369.903192]  [<ffffffffc0459f0b>] tipc_recv_work+0x2b/0x60 [tipc]
> [72369.903260]  [<ffffffff81098eb2>] process_one_work+0x162/0x480
> [72369.903322]  [<ffffffff8109921b>] worker_thread+0x4b/0x4c0
> [72369.903388]  [<ffffffff810991d0>] ? process_one_work+0x480/0x480
> [72369.903450]  [<ffffffff810991d0>] ? process_one_work+0x480/0x480
> [72369.903514]  [<ffffffff8109f3e8>] kthread+0xd8/0xf0
> [72369.903575]  [<ffffffff8109f310>] ? kthread_create_on_node+0x1e0/0x1e0
> [72369.903639]  [<ffffffff8181d10f>] ret_from_fork+0x3f/0x70
> [72369.903700]  [<ffffffff8109f310>] ? kthread_create_on_node+0x1e0/0x1e0
> [72369.903762] Code: ff ff 48 85 c0 74 56 4c 8d 70 38 49 89 c4 4c 89 f7 e8 03 
> d9 3c c1 48 8b 8b 80 00 00 00 48 8b 93 88 00 00 00 48 8d 83 80 00 00 00 <48> 
> 89 51 08 48 89 0a 48 89 83 80 00 00 00 48 89 83 88 00 00 00 
> [72369.906299] RIP  [<ffffffffc044ef62>] tipc_nametbl_unsubscribe+0x72/0x100 
> [tipc]
> [72369.906430]  RSP <ffff880c4f203e10>
> [72369.906486] CR2: 00000000000000b7
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
> _______________________________________________
> tipc-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tipc-discussion
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
> _______________________________________________
> tipc-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tipc-discussion


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

Reply via email to