New: Kernel bug: Thread aborts unexpectedly when sending UDP message
Subsystems (2)
Begin forwarded message:
Date: Tue, 20 Oct 2015 15:20:24 +0000
From: "[email protected]" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [Bug 106361] New: Kernel bug: Thread aborts unexpectedly when sending UDP message
https://bugzilla.kernel.org/show_bug.cgi?id=106361
Bug ID: 106361
Summary: Kernel bug: Thread aborts unexpectedly when sending
UDP message
Product: Networking
Version: 2.5
Kernel Version: 3.3.0
Hardware: ARM
OS: Linux
Tree: PREEMPT_RT
Status: NEW
Severity: high
Priority: P1
Component: IPV4
Assignee: [email protected]
Reporter: [email protected]
Regression: NoI run into a kernel bug at ARM Linux, during UDP usage with our application (ENB03_BPU_APP_1) with Multithreading.
In my application, One Thread aborts unexpectedly when sending UDP message. And I am repeatedly getting this, and it will happen within 3-12 hours of running on a system doing primarily only UDP send/receive activity.
1> And Environment :
1.1> root@tci6614-evm:~# uname -a
Linux tci6614-evm 3.3.0-dirty #20 PREEMPT Mon May 19 14:50:04 CST 2014
armv7l unknown
1.2> root@tci6614-evm:~# cat /proc/version
Linux version 3.3.0-dirty (root@cpit-desktop) (gcc version 4.3.3 (Sourcery
G++ Lite 2009q1-203) ) #20 PREEMPT Mon May 19 14:50:04 CST 2014
2> This is the stack trace:
.................................................................................................................skb_under_panic: text:c0269e24 len:392 put:14 head:d3cea000 data:d3ce9ff4 tail:0xd3cea17c end:0xd3cea340 dev:eth0
------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:147! Internal error: Oops - BUG: 0 [#1] PREEMPT Modules linked in: drv_fpga_module(O) CPU: 0 Tainted: G O (3.3.0-dirty #20) PC is at skb_push+0x7c/0x84 LR is at skb_push+0x7c/0x84 pc : [<c02496f0>] lr : [<c02496f0>] psr: 60000013
sp : d4afbc28 ip : c04c7770 fp : d62f2a54
r10: 00000000 r9 : d62f2a50 r8 : d6008800
r7 : d3cea000 r6 : d3ce9ff4 r5 : d3cea340 r4 : d6008800 r3 : 20000093 r2 : 60000013 r1 : 60000013 r0 : 00000078
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 94960019 DAC: 00000015 Process ENB03_BPU_APP_1 (pid: 1117, stack limit = 0xd4afa2e8)
Stack: (0xd4afbc28 to 0xd4afc000)
bc20: d3cea000 d3ce9ff4 d3cea17c d3cea340 d6008800 d3cea002
bc40: d604c908 00000800 d6325a80 00000000 d62f2a54 c0269e24 d62f2a00 d6325a80
bc60: 0000156c 0000017a d6008800 c0260160 00000000 0000017a c02884bc 0000016c
bc80: d6325a80 d62f2a00 d62be900 d6325a80 00000000 d4901e40 0000000e c028b2c0
bca0: d6008800 d6325a80 d6325a80 d4afbd8c d62be900 00000000 d6325a80 00000158
bcc0: d4afbd8c c028a678 d3cea024 c028a684 d3cea024 c02aaef4 00000000 00000158
bce0: d4afbf5c d62be900 00000150 00000000 d6325a80 00000000 d4afbd8c c02ad378
bd00: 00000158 00000008 d4afbdac d4afbdbc 00000000 c01e07d0 00000001 d4afbdac
bd20: 00000000 00000000 00000000 3232a8c0 3232a8c0 d2e6a8c0 00003930 00000000
bd40: c0289af0 d62beaa8 00000000 00000000 00000000 00000000 00000000 d4afbdc0
bd60: 00000001 d5c9e108 d4afbf74 00000001 00000001 c018c0ac 00000000 d63e6a40
bd80: 00000000 d63e6a40 00000001 00000000 00000000 00000000 04110000 00000000
bda0: d2e6a8c0 3232a8c0 44e03930 3232a8c0 00000000 00000000 00000000 00000000
bdc0: 00000003 d62be900 d4afbe00 d4afbf5c 00000150 d4afbe00 d4afa000 00000010
bde0: 7b26cc44 c02b40a0 00000000 00000000 d64f1480 00000150 d4afbe00 c02416a4
be00: 00000000 fffffffe 00000000 00000001 ffffffff 00000000 00000000 00000000
be20: 00000000 00000000 d78a7500 c0053244 00000000 00000000 d78a7500 d78a7500
be40: d4afbe80 d5d5c000 d5d5c000 d5d5c000 d4afbeec c035f314 d5d6bf38 d4afbf30
be60: c04c9b94 00000000 c04dd658 c04c5144 c04be38c c036a8fc c04be0ec c04ca508
be80: d4afbf30 c0049d34 00000000 00000150 d64f1480 c004a2d8 00000000 d4afbf5c
bea0: d4afbf80 00000000 008364f4 d64f1480 d4afbedc 00000000 008364f4 d4afbedc
bec0: 00000150 d64f1480 d4afbedc 00000000 008364f4 c0241dec 004c4b40 39300002
bee0: 3232a8c0 00000000 00000000 c035eac8 00000000 00000001 004c4b40 00000000
bf00: 00000000 00000000 00000000 00000000 00000001 c004a47c 00000000 00000000
bf20: c04f1fb8 00000000 004c4b40 00000000 d4afbf31 00000000 00000000 00000000
bf40: 9a4359e0 000007db 9a4359e0 000007db c00499ac c04c9b88 00000000 d4afbedc
bf60: 00000010 d4afbf78 00000001 00000000 00000000 00000000 9a252ae8 00000150
bf80: 00000001 00000000 7b26dc8c 008364f4 00000010 00397a08 00000122 c0013bc8
bfa0: 00000000 c0013a20 008364f4 00000010 0000000a 9a252ae8 00000150 00000000
bfc0: 008364f4 00000010 00397a08 00000122 003d0f00 beb76bd8 00000000 7b26cc44
bfe0: 00000000 7b26cc10 00399f58 0039acf4 80000010 0000000a 00000000 00000000 [<c02496f0>] (skb_push+0x7c/0x84) from [<c0269e24>] (eth_header+0x1c/0xb8) [<c0269e24>] (eth_header+0x1c/0xb8) from [<c0260160>] (neigh_resolve_output+0x13c/0x1ac)
[<c0260160>] (neigh_resolve_output+0x13c/0x1ac) from [<c028b2c0>] (ip_finish_output+0x238/0x30c)
[<c028b2c0>] (ip_finish_output+0x238/0x30c) from [<c028a678>] (ip_local_out+0x28/0x2c)
[<c028a678>] (ip_local_out+0x28/0x2c) from [<c028a684>] (ip_send_skb+0x8/0x58) [<c028a684>] (ip_send_skb+0x8/0x58) from [<c02aaef4>] (udp_send_skb+0xe4/0x34c) [<c02aaef4>] (udp_send_skb+0xe4/0x34c) from [<c02ad378>] (udp_sendmsg+0x634/0x750)
[<c02ad378>] (udp_sendmsg+0x634/0x750) from [<c02b40a0>] (inet_sendmsg+0x4c/0x6c)
[<c02b40a0>] (inet_sendmsg+0x4c/0x6c) from [<c02416a4>] (sock_sendmsg+0x98/0xb8)
[<c02416a4>] (sock_sendmsg+0x98/0xb8) from [<c0241dec>] (sys_sendto+0xb4/0xd8) [<c0241dec>] (sys_sendto+0xb4/0xd8) from [<c0013a20>] (ret_fast_syscall+0x0/0x30)
Code: e98d4040 e58d500c e58d4010 eb045164 (e7f001f2) ---[ end trace cfb1d2ec7e84e37e ]---
..............................................................................................................
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
Quoted 115 lines · Stephen Hemminger
Begin forwarded message:
Date: Tue, 20 Oct 2015 15:20:24 +0000
From: "[email protected]" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [Bug 106361] New: Kernel bug: Thread aborts unexpectedly when sending UDP messagehttps://bugzilla.kernel.org/show_bug.cgi?id=106361
Bug ID: 106361 Summary: Kernel bug: Thread aborts unexpectedly when sending UDP message Product: Networking Version: 2.5 Kernel Version: 3.3.0 Hardware: ARM OS: Linux Tree: PREEMPT_RT Status: NEW Severity: high Priority: P1 Component: IPV4 Assignee: [email protected] Reporter: [email protected] Regression: NoI run into a kernel bug at ARM Linux, during UDP usage with our application (
ENB03_BPU_APP_1) with Multithreading.
In my application, One Thread aborts unexpectedly when sending UDP message. And I am repeatedly getting this, and it will happen within 3-12 hours of running on a system doing primarily only UDP send/receive activity.1> And Environment :
1.1> root@tci6614-evm:~# uname -a Linux tci6614-evm 3.3.0-dirty #20 PREEMPT Mon May 19 14:50:04 CST 2014armv7l unknown
1.2> root@tci6614-evm:~# cat
/proc/version
Linux version 3.3.0-dirty (root@cpit-desktop) (gcc version 4.3.3 (Sourcery
G++ Lite 2009q1-203) ) #20 PREEMPT Mon May 19 14:50:04 CST 20142> This is the stack trace:
.................................................................................................................skb_under_panic: text:c0269e24 len:392 put:14 head:d3cea000 data:d3ce9ff4 tail:0xd3cea17c end:0xd3cea340 dev:eth0------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:147! Internal error: Oops - BUG: 0 [#1] PREEMPT Modules linked in: drv_fpga_module(O) CPU: 0 Tainted: G O (3.3.0-dirty #20) PC is at skb_push+0x7c/0x84 LR is at skb_push+0x7c/0x84 pc : [<c02496f0>] lr : [<c02496f0>] psr: 60000013sp :
d4afbc28ip :c04c7770fp :d62f2a54
r10: 00000000 r9 :d62f2a50r8 :d6008800
r7 :d3cea000r6 :d3ce9ff4r5 :d3cea340r4 :d6008800r3 : 20000093 r2 : 60000013 r1 : 60000013 r0 : 00000078
Flags: nZCv IRQs on FIQs on ModeSVC_32ISA ARM Segment user
Control:10c5387dTable: 94960019 DAC: 00000015 ProcessENB03_BPU_APP_1(pid: 1117, stack limit =0xd4afa2e8)Stack: (0xd4afbc28 to 0xd4afc000)bc20:
d3cea000d3ce9ff4d3cea17cd3cea340d6008800d3cea002
bc40:d604c90800000800d6325a8000000000d62f2a54c0269e24d62f2a00d6325a80
bc60:0000156c0000017ad6008800c0260160000000000000017ac02884bc0000016c
bc80:d6325a80d62f2a00d62be900d6325a8000000000d4901e400000000ec028b2c0
bca0:d6008800d6325a80d6325a80d4afbd8cd62be90000000000d6325a8000000158
bcc0:d4afbd8cc028a678d3cea024c028a684d3cea024c02aaef400000000 00000158
bce0:d4afbf5cd62be90000000150 00000000d6325a8000000000d4afbd8cc02ad378
bd00: 00000158 00000008d4afbdacd4afbdbc00000000c01e07d000000001d4afbdac
bd20: 00000000 00000000 000000003232a8c03232a8c0d2e6a8c000003930 00000000
bd40:c0289af0d62beaa800000000 00000000 00000000 00000000 00000000d4afbdc0
bd60: 00000001d5c9e108d4afbf7400000001 00000001c018c0ac00000000d63e6a40
bd80: 00000000d63e6a4000000001 00000000 00000000 00000000 04110000 00000000
bda0:d2e6a8c03232a8c044e039303232a8c000000000 00000000 00000000 00000000
bdc0: 00000003d62be900d4afbe00d4afbf5c00000150d4afbe00d4afa00000000010
bde0:7b26cc44c02b40a000000000 00000000d64f148000000150d4afbe00c02416a4
be00: 00000000 fffffffe 00000000 00000001 ffffffff 00000000 00000000 00000000
be20: 00000000 00000000d78a7500c005324400000000 00000000d78a7500d78a7500
be40:d4afbe80d5d5c000d5d5c000d5d5c000d4afbeecc035f314d5d6bf38d4afbf30
be60:c04c9b9400000000c04dd658c04c5144c04be38cc036a8fcc04be0ecc04ca508
be80:d4afbf30c0049d3400000000 00000150d64f1480c004a2d800000000d4afbf5c
bea0:d4afbf8000000000008364f4d64f1480d4afbedc00000000008364f4d4afbedc
bec0: 00000150d64f1480d4afbedc00000000008364f4c0241dec004c4b4039300002
bee0:3232a8c000000000 00000000c035eac800000000 00000001004c4b4000000000
bf00: 00000000 00000000 00000000 00000000 00000001c004a47c00000000 00000000
bf20:c04f1fb800000000004c4b4000000000d4afbf3100000000 00000000 00000000
bf40:9a4359e0000007db9a4359e0000007dbc00499acc04c9b8800000000d4afbedc
bf60: 00000010d4afbf7800000001 00000000 00000000 000000009a252ae800000150
bf80: 00000001 000000007b26dc8c008364f40000001000397a0800000122c0013bc8
bfa0: 00000000c0013a20008364f4000000100000000a9a252ae800000150 00000000
bfc0:008364f40000001000397a0800000122003d0f00beb76bd8000000007b26cc44
bfe0: 000000007b26cc1000399f580039acf4800000100000000a00000000 00000000 [<c02496f0>] (skb_push+0x7c/0x84) from [<c0269e24>] (eth_header+0x1c/0xb8) [<c0269e24>] (eth_header+0x1c/0xb8) from [<c0260160>] (neigh_resolve_output+0x13c/0x1ac)
[<c0260160>] (neigh_resolve_output+0x13c/0x1ac) from [<c028b2c0>] (ip_finish_output+0x238/0x30c)
[<c028b2c0>] (ip_finish_output+0x238/0x30c) from [<c028a678>] (ip_local_out+0x28/0x2c)
[<c028a678>] (ip_local_out+0x28/0x2c) from [<c028a684>] (ip_send_skb+0x8/0x58) [<c028a684>] (ip_send_skb+0x8/0x58) from [<c02aaef4>] (udp_send_skb+0xe4/0x34c) [<c02aaef4>] (udp_send_skb+0xe4/0x34c) from [<c02ad378>] (udp_sendmsg+0x634/0x750)
[<c02ad378>] (udp_sendmsg+0x634/0x750) from [<c02b40a0>] (inet_sendmsg+0x4c/0x6c)
[<c02b40a0>] (inet_sendmsg+0x4c/0x6c) from [<c02416a4>] (sock_sendmsg+0x98/0xb8)
[<c02416a4>] (sock_sendmsg+0x98/0xb8) from [<c0241dec>] (sys_sendto+0xb4/0xd8) [<c0241dec>] (sys_sendto+0xb4/0xd8) from [<c0013a20>] (ret_fast_syscall+0x0/0x30)
Quoted 4 lines
Code: e98d4040 e58d500c e58d4010 eb045164 (e7f001f2) ---[ end trace cfb1d2ec7e84e37e ]---..............................................................................................................
Very probably a driver bug.
dev->hard_header_len not properly setup.