bugzilla-daemon at netfilter.org
2017-Apr-25 23:51 UTC
[Bug 1148] New: Getting a segmentation fault for some reason
https://bugzilla.netfilter.org/show_bug.cgi?id=1148
Bug ID: 1148
Summary: Getting a segmentation fault for some reason
Product: nftables
Version: unspecified
Hardware: x86_64
OS: RedHat Linux
Status: NEW
Severity: normal
Priority: P5
Component: nft
Assignee: pablo at netfilter.org
Reporter: chokkoretto at gmail.com
Hi! I've never done this before, but I've checked with my instructor
and other
students and we can't seem to figure this one out.
Running this
nft add rule ip filter input ip protocol ospf accept
nft add rule ip filter input ip protocol 89 accept
gives this output
Segmentation fault (core dumped)
using gdb...
(gdb) run add rule ip filter input ip protocol 89 accept
Starting program: /usr/sbin/nft add rule ip filter input ip protocol 89 accept
Program received signal SIGSEGV, Segmentation fault.
0x0000000000411cb9 in payload_expr_pctx_update ()
(gdb) bt
#0 0x0000000000411cb9 in payload_expr_pctx_update ()
#1 0x000000000040f5d6 in expr_evaluate ()
#2 0x000000000040dd8c in stmt_evaluate ()
#3 0x0000000000410eec in rule_evaluate ()
#4 0x000000000042d332 in nft_parse ()
#5 0x0000000000406b4d in nft_run ()
#6 0x000000000040676d in main ()
Assistance appreciated! Thanks!
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20170425/8fcd6241/attachment.html>
bugzilla-daemon at netfilter.org
2017-Apr-28 09:24 UTC
[Bug 1148] Getting a segmentation fault for some reason
https://bugzilla.netfilter.org/show_bug.cgi?id=1148
Florian Westphal <fw at strlen.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fw at strlen.de
--- Comment #1 from Florian Westphal <fw at strlen.de> ---
I guess its a duplicate of bz #1072, I can reproduce this with nft 0.6 from
epel,
but not with 0.7 or git master.
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20170428/ed117a6a/attachment.html>
bugzilla-daemon at netfilter.org
2017-Jun-16 16:04 UTC
[Bug 1148] Getting a segmentation fault for some reason
https://bugzilla.netfilter.org/show_bug.cgi?id=1148
Pablo Neira Ayuso <pablo at netfilter.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20170616/7edfc3a9/attachment.html>
Reasonably Related Threads
- [Bug 1079] New: nft-0.6: segfault on add rule ip filter INPUT ip protocol igmp counter accept
- [Bug 834] New: nft crash when invalid meta proto is used
- [Bug 946] New: Cannot invert a protocol: ip protocol != tcp
- [Bug 915] New: segfault in error case : expr_evaluate_payload not checking payload->payload.desc being null
- [Bug 947] New: meta protocol doesn't work with sets