FS#57049 - [networkmanager] Segfaults after tc filter add dev: error 4 in libc-2.26.so
Attached to Project:
Arch Linux
Opened by i magnific0 (magnific0) - Thursday, 11 January 2018, 09:34 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 12 January 2018, 04:02 GMT
Opened by i magnific0 (magnific0) - Thursday, 11 January 2018, 09:34 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 12 January 2018, 04:02 GMT
|
Details
Description:
When trying to use tc to add filters to any network device that is managed by NetworkManager the interface goes down. Dmesg shows: [ 1684.445228] NetworkManager[2868]: segfault at 0 ip 00007f7bac9b8eb1 sp 00007ffc63b78068 error 4 in libc-2.26.so[7f7bac862000+1ae000] The bug has been confirmed by others here: https://github.com/magnific0/wondershaper/issues/16 Another user has provided the following stacktrace: Thread 1 "NetworkManager" received signal SIGSEGV, Segmentation fault. 0x00007ffff5277496 in __strlen_sse2 () from /usr/lib/libc.so.6 heres the stacktrace of the failure : #0 0x00007ffff5277496 in __strlen_sse2 () at /usr/lib/libc.so.6 #1 0x000055555563480a in () #2 0x0000555555642126 in () #3 0x00005555555bc577 in () #4 0x00007ffff675bcf4 in g_hash_table_lookup () at /usr/lib/libglib-2.0.so.0 #5 0x00005555555bcf4a in () #6 0x00005555555bd0d4 in () #7 0x00005555555bd497 in () #8 0x00005555556423f2 in () #9 0x00005555556447c9 in () #10 0x0000555555622c03 in () #11 0x000055555562419d in () #12 0x0000555555625131 in () #13 0x0000555555625381 in () #14 0x00007ffff677c0be in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #15 0x00007ffff677df69 in () at /usr/lib/libglib-2.0.so.0 #16 0x00007ffff677ef42 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0 #17 0x000055555558036e in () #18 0x00007ffff5201f4a in __libc_start_main () at /usr/lib/libc.so.6 #19 0x00005555555809da in () Additional info: * extra/networkmanager 1.10.2-1 * core/iproute2 4.14.1-2 * core/linux 4.14.12-1 Steps to reproduce: 1. Make sure interface is managed by NetworkManager. eth0 in example taken from: https://wiki.archlinux.org/index.php/advanced_traffic_control 2. Add qdisc tc qdisc add dev eth0 root handle 1: htb default 30 3. Add filter tc filter add dev eth0 protocol ip parent 1: prio 1 u32 match ip dport 22 0xffff flowid 1:10 4. Observe that NetworkManager has segfaulted: dmesg |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Friday, 12 January 2018, 04:02 GMT
Reason for closing: Fixed
Friday, 12 January 2018, 04:02 GMT
Reason for closing: Fixed
thanks a lot for the quick reply.