bugzilla-daemon at netfilter.org
2013-Nov-28 07:24 UTC
[Bug 877] New: nftables - Set - define core dumps
https://bugzilla.netfilter.org/show_bug.cgi?id=877
Summary: nftables - Set - define core dumps
Product: nftables
Version: unspecified
Platform: x86_64
OS/Version: Ubuntu
Status: NEW
Severity: major
Priority: P5
Component: nft
AssignedTo: pablo at netfilter.org
ReportedBy: anandrm at gmail.com
Estimated Hours: 0.0
I m trying to define a set in file
define ip_set = {192.168.1.2, 192.168.2.3}
add rule filter output ip daddr $ip_set counter
nft -f files/set_anand
Segmentation fault (core dumped)
On looking into the core file , it appears to be a issue with symbol_bind()
where both &sym->list, &scope->symbols to list_add_tail seem to
point
the same ..
Core was generated by `nft -f files/set_anand'.
Program terminated with signal 11, Segmentation fault.
#0 __list_add (next=0x7ffff97efda0, prev=0xfbc440, new=0xfbc440) at
include/list.h:49
49 prev->next = new;
(gdb) bt
#0 __list_add (next=0x7ffff97efda0, prev=0xfbc440, new=0xfbc440) at
include/list.h:49
#1 list_add_tail (head=0x7ffff97efda0, new=0xfbc440) at include/list.h:76
#2 symbol_bind (scope=<optimized out>, identifier=0xfbc3c0
"ip_set",
expr=0xfc0770) at src/rule.c:176
#3 0x000000000041904b in nft_parse (scanner=0xfbc280,
state=0x7ffff97ef800) at src/parser.y:489
#4 0x00000000004055f3 in nft_run (scanner=<optimized out>,
state=0x7ffff97ef800, msgs=0x7ffff97efde0) at src/main.c:205
#5 0x00000000004052b8 in main (argc=<optimized out>, argv=<optimized
out>) at src/main.c:321
I m on the latest git pull on all ... The kernel is nf-next (3.12.0)
--
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
bugzilla-daemon at netfilter.org
2013-Nov-29 20:05 UTC
[Bug 877] nftables - Set - define core dumps
https://bugzilla.netfilter.org/show_bug.cgi?id=877
Phil Oester <netfilter at linuxace.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bjornar.ness at gmail.com
--- Comment #1 from Phil Oester <netfilter at linuxace.com> 2013-11-29
21:04:55 CET ---
*** Bug 878 has been marked as a duplicate of this bug. ***
--
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
bugzilla-daemon at netfilter.org
2013-Nov-30 21:34 UTC
[Bug 877] nftables - Set - define core dumps
https://bugzilla.netfilter.org/show_bug.cgi?id=877
Phil Oester <netfilter at linuxace.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |john at sager.me.uk
--- Comment #2 from Phil Oester <netfilter at linuxace.com> 2013-11-30
22:34:16 CET ---
*** Bug 867 has been marked as a duplicate of this bug. ***
--
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
bugzilla-daemon at netfilter.org
2013-Dec-04 17:51 UTC
[Bug 877] nftables - Set - define core dumps
https://bugzilla.netfilter.org/show_bug.cgi?id=877
Phil Oester <netfilter at linuxace.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |netfilter at linuxace.com
Resolution| |FIXED
--- Comment #3 from Phil Oester <netfilter at linuxace.com> 2013-12-04
18:51:23 CET ---
Fixed in commit ff355ec0f773 (parser: segfault in top scope define). Closing.
--
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Reasonably Related Threads
- [Bug 878] New: segfault running example/sets_and_maps
- SIP client to IAXTel 800/888/877/866 dialing thru Asterisk
- OpenSSH with 'none' cipher (after reading bug #877)
- [877] trunk/wxruby2/Changelog: Update with 0.0.39 changes; correct last version number
- segmentation fault of unknown cause (PR#877)