Re: [tipc-discussion] tipc-config is broken

2016-02-24 Thread Jon Maloy
Anybody who has time to look into this?

///jon


On 02/19/2016 06:41 PM, Jon Maloy wrote:
> The compatibility functionality has been broken, and causes a crash as
> shown below:
>
> Bisecting seems to indicate that the culprit is:
>
> commit 263ea09084d172cac6e40459a690babe8de8e448
> ("Revert "genl: Add genlmsg_new_unicast() for unicast message allocation")
>
> ///jon
>
> 
>
> Ubuntu 14.04.1 LTS tipc2 ttyS0
>
> tipc2 login: [   64.412751] tipc: Activated (version 2.0.0)
> [   64.413921] NET: Registered protocol family 30
> [   64.415318] tipc: Started in single node mode
> [   64.418909] BUG: unable to handle kernel NULL pointer dereference at
> 0030
> [   64.419909] IP: [] tipc_nl_net_set+0x17/0xe0 [tipc]
> [   64.420019] PGD 3e1a8067 PUD 3e298067 PMD 0
> [   64.420019] Oops:  [#1] SMP
> [   64.420019] Modules linked in: tipc ip6_udp_tunnel udp_tunnel
> [   64.420019] CPU: 1 PID: 1833 Comm: tipc-config Not tainted 4.5.0-rc2+ #21
> [   64.420019] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),
> BIOS Bochs 01/01/2011
> [   64.420019] task: 88003d550a40 ti: 88003d9b4000 task.ti:
> 88003d9b4000
> [   64.420019] RIP: 0010:[] []
> tipc_nl_net_set+0x17/0xe0 [tipc]
> [   64.420019] RSP: 0018:88003d9b7af8  EFLAGS: 00010292
> [   64.420019] RAX:  RBX: 0008 RCX:
> 
> [   64.420019] RDX: 88003e169ec0 RSI: 88003d9b7b38 RDI:
> 880037d92500
> [   64.420019] RBP: 88003d9b7b28 R08: 0ec0 R09:
> 1100
> [   64.420019] R10: 880037f8bc10 R11: 0008 R12:
> 88003d9b7bd8
> [   64.420019] R13: 88003d9b7bb0 R14: 88003d87d240 R15:
> 880037d92500
> [   64.420019] FS:  7ffb5e045740() GS:88003fc8()
> knlGS:
> [   64.420019] CS:  0010 DS:  ES:  CR0: 80050033
> [   64.420019] CR2: 0030 CR3: 3d9c2000 CR4:
> 06a0
> [   64.420019] Stack:
> [   64.420019]  00ff88003d87d240 880037d92c00 88003d9b7bd8
> 880037d92c00
> [   64.420019]  88003d9b7bd8 88003d9b7bb0 88003d9b7ba0
> a0019924
> [   64.420019]    
> 
> [   64.420019] Call Trace:
> [   64.420019]  [] tipc_nl_compat_doit+0x134/0x1a0 [tipc]
> [   64.420019]  [] tipc_nl_compat_recv+0x26b/0x4e0 [tipc]
> [   64.420019]  [] ? tipc_nl_net_dump+0x190/0x190 [tipc]
> [   64.420019]  [] ? tipc_nl_compat_recv+0x4e0/0x4e0
> [tipc]
> [   64.420019]  [] genl_family_rcv_msg+0x1b7/0x370
> [   64.420019]  [] ? genl_family_rcv_msg+0x370/0x370
> [   64.420019]  [] genl_rcv_msg+0x7b/0xc0
> [   64.420019]  [] netlink_rcv_skb+0x99/0xb0
> [   64.420019]  [] genl_rcv+0x23/0x40
> [   64.420019]  [] netlink_unicast+0x14e/0x220
> [   64.420019]  [] netlink_sendmsg+0x319/0x350
> [   64.420019]  [] sock_write_iter+0x79/0xe0
> [   64.420019]  [] __vfs_write+0xa5/0xe0
> [   64.420019]  [] vfs_write+0x99/0x180
> [   64.420019]  [] SyS_write+0x41/0xa0
> [   64.420019]  [] entry_SYSCALL_64_fastpath+0x12/0x71
> [   64.420019] Code: 8b 83 c8 00 00 00 eb 85 66 66 66 2e 0f 1f 84 00 00
> 00 00 00 55 48 89 e5 41 55 41 54 53 48 83 ec 18 48 8b 47 18 8b 1d 8d de
> 00 00 <4c> 8b 68 30 8d 53 ff 48 63 d2 49 8b 85 80 06 00 00 4c 8b 64 d0
> [   64.420019] RIP  [] tipc_nl_net_set+0x17/0xe0 [tipc]
> [   64.420019]  RSP 
> [   64.420019] CR2: 0030
> [   64.464333] ---[ end trace bb2702e8370958ec ]---
> [  125.288791] random: nonblocking pool is initialized
>
>
> 
>
>
> (gdb) list *(tipc_nl_net_set+0x17)
> 0xa747 is in tipc_nl_net_set (include/net/net_namespace.h:259).
> 254 }
> 255
> 256 static inline struct net *read_pnet(const possible_net_t *pnet)
> 257 {
> 258 #ifdef CONFIG_NET_NS
> 259 return pnet->net;
> 260 #else
> 261 return _net;
> 262 #endif
> 263 }
> (gdb)
>
>
>
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> ___
> tipc-discussion mailing list
> tipc-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tipc-discussion


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!

[tipc-discussion] tipc-config is broken

2016-02-19 Thread Jon Maloy
The compatibility functionality has been broken, and causes a crash as 
shown below:

Bisecting seems to indicate that the culprit is:

commit 263ea09084d172cac6e40459a690babe8de8e448
("Revert "genl: Add genlmsg_new_unicast() for unicast message allocation")

///jon



Ubuntu 14.04.1 LTS tipc2 ttyS0

tipc2 login: [   64.412751] tipc: Activated (version 2.0.0)
[   64.413921] NET: Registered protocol family 30
[   64.415318] tipc: Started in single node mode
[   64.418909] BUG: unable to handle kernel NULL pointer dereference at 
0030
[   64.419909] IP: [] tipc_nl_net_set+0x17/0xe0 [tipc]
[   64.420019] PGD 3e1a8067 PUD 3e298067 PMD 0
[   64.420019] Oops:  [#1] SMP
[   64.420019] Modules linked in: tipc ip6_udp_tunnel udp_tunnel
[   64.420019] CPU: 1 PID: 1833 Comm: tipc-config Not tainted 4.5.0-rc2+ #21
[   64.420019] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), 
BIOS Bochs 01/01/2011
[   64.420019] task: 88003d550a40 ti: 88003d9b4000 task.ti: 
88003d9b4000
[   64.420019] RIP: 0010:[] [] 
tipc_nl_net_set+0x17/0xe0 [tipc]
[   64.420019] RSP: 0018:88003d9b7af8  EFLAGS: 00010292
[   64.420019] RAX:  RBX: 0008 RCX: 

[   64.420019] RDX: 88003e169ec0 RSI: 88003d9b7b38 RDI: 
880037d92500
[   64.420019] RBP: 88003d9b7b28 R08: 0ec0 R09: 
1100
[   64.420019] R10: 880037f8bc10 R11: 0008 R12: 
88003d9b7bd8
[   64.420019] R13: 88003d9b7bb0 R14: 88003d87d240 R15: 
880037d92500
[   64.420019] FS:  7ffb5e045740() GS:88003fc8() 
knlGS:
[   64.420019] CS:  0010 DS:  ES:  CR0: 80050033
[   64.420019] CR2: 0030 CR3: 3d9c2000 CR4: 
06a0
[   64.420019] Stack:
[   64.420019]  00ff88003d87d240 880037d92c00 88003d9b7bd8 
880037d92c00
[   64.420019]  88003d9b7bd8 88003d9b7bb0 88003d9b7ba0 
a0019924
[   64.420019]     

[   64.420019] Call Trace:
[   64.420019]  [] tipc_nl_compat_doit+0x134/0x1a0 [tipc]
[   64.420019]  [] tipc_nl_compat_recv+0x26b/0x4e0 [tipc]
[   64.420019]  [] ? tipc_nl_net_dump+0x190/0x190 [tipc]
[   64.420019]  [] ? tipc_nl_compat_recv+0x4e0/0x4e0 
[tipc]
[   64.420019]  [] genl_family_rcv_msg+0x1b7/0x370
[   64.420019]  [] ? genl_family_rcv_msg+0x370/0x370
[   64.420019]  [] genl_rcv_msg+0x7b/0xc0
[   64.420019]  [] netlink_rcv_skb+0x99/0xb0
[   64.420019]  [] genl_rcv+0x23/0x40
[   64.420019]  [] netlink_unicast+0x14e/0x220
[   64.420019]  [] netlink_sendmsg+0x319/0x350
[   64.420019]  [] sock_write_iter+0x79/0xe0
[   64.420019]  [] __vfs_write+0xa5/0xe0
[   64.420019]  [] vfs_write+0x99/0x180
[   64.420019]  [] SyS_write+0x41/0xa0
[   64.420019]  [] entry_SYSCALL_64_fastpath+0x12/0x71
[   64.420019] Code: 8b 83 c8 00 00 00 eb 85 66 66 66 2e 0f 1f 84 00 00 
00 00 00 55 48 89 e5 41 55 41 54 53 48 83 ec 18 48 8b 47 18 8b 1d 8d de 
00 00 <4c> 8b 68 30 8d 53 ff 48 63 d2 49 8b 85 80 06 00 00 4c 8b 64 d0
[   64.420019] RIP  [] tipc_nl_net_set+0x17/0xe0 [tipc]
[   64.420019]  RSP 
[   64.420019] CR2: 0030
[   64.464333] ---[ end trace bb2702e8370958ec ]---
[  125.288791] random: nonblocking pool is initialized





(gdb) list *(tipc_nl_net_set+0x17)
0xa747 is in tipc_nl_net_set (include/net/net_namespace.h:259).
254 }
255
256 static inline struct net *read_pnet(const possible_net_t *pnet)
257 {
258 #ifdef CONFIG_NET_NS
259 return pnet->net;
260 #else
261 return _net;
262 #endif
263 }
(gdb)





--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
tipc-discussion mailing list
tipc-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tipc-discussion