[Group.of.nepali.translators] [Bug 1580385] Re: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures
** Changed in: lua-lpeg (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1580385 Title: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures Status in lua-lpeg package in Ubuntu: Fix Released Status in lua-lpeg source package in Xenial: Fix Released Status in lua-lpeg source package in Bionic: Fix Released Status in lua-lpeg source package in Disco: Fix Released Status in lua-lpeg source package in Eoan: Fix Released Status in lua-lpeg package in Debian: Fix Released Bug description: [Impact] Under certain conditions, lpeg will crash while walking the pattern tree looking for TCapture nodes. [Test Case] The reproducer, taken from an upstream discussion (link in "Other info"), is: $ cat repro.lua #!/usr/bin/env lua lpeg = require "lpeg" p = lpeg.C(-lpeg.P{lpeg.P'x' * lpeg.V(1) + lpeg.P'y'}) p:match("xx") The program crashes due to a hascaptures() infinite recursion: $ ./repro.lua Segmentation fault (core dumped) (gdb) bt -25 #523984 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523985 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523986 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523987 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523988 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523989 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523990 0x77a3815c in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523991 0x77a388e3 in compile () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523992 0x77a36fab in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523993 0xfd1e in ?? () #523994 0x5556a5fc in ?? () #523995 0x555600c8 in ?? () #523996 0xf63f in ?? () #523997 0x5556030f in ?? () #523998 0xdc91 in lua_pcallk () #523999 0xb896 in ?? () #524000 0xc54b in ?? () #524001 0xfd1e in ?? () #524002 0x55560092 in ?? () #524003 0xf63f in ?? () #524004 0x5556030f in ?? () #524005 0xdc91 in lua_pcallk () #524006 0xb64b in ?? () #524007 0x77c94bbb in __libc_start_main (main=0xb5f0, argc=2, argv=0x7fffe6d8, init=, fini=, rtld_fini=, stack_end=0x7fffe6c8) at ../csu/libc-start.c:308 #524008 0xb70a in ?? () The expected behavior is to have the program finish normally [Regression potential] Low, this is a backport from upstream and only limits the infinite recursion in a scenario where it shouldn't happen to begin with (TCapture node search). [Other info] This was fixed upstream in 1.0.1 by stopping the recursion in TCall nodes and controlling that TRule nodes do not follow siblings (sib2) The upstream discussion can be found here: http://lua.2524044.n2.nabble.com/LPeg-intermittent-stack-exhaustion- td7674831.html My analysis can be found here: http://pastebin.ubuntu.com/p/n4824ftZt9/plain/ [Original description] The Ubuntu Error Tracker has been receiving reports about a problem regarding nmap. This problem was most recently seen with version 7.01-2ubuntu2, the problem page at https://errors.ubuntu.com/problem/5e852236a443bab0279d47c8a9b7e55802bfb46f contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lua-lpeg/+bug/1580385/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1580385] Re: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures
This bug was fixed in the package lua-lpeg - 1.0.0-2ubuntu0.18.04.1 --- lua-lpeg (1.0.0-2ubuntu0.18.04.1) bionic; urgency=medium * d/p/stop-hascaptures-recursion.patch: Fix infinite recursion in hascaptures() (LP: #1580385) -- Victor Tapia Wed, 02 Oct 2019 17:49:19 +0200 ** Changed in: lua-lpeg (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1580385 Title: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures Status in lua-lpeg package in Ubuntu: Fix Released Status in lua-lpeg source package in Xenial: Fix Released Status in lua-lpeg source package in Bionic: Fix Released Status in lua-lpeg source package in Disco: Fix Released Status in lua-lpeg source package in Eoan: Fix Released Status in lua-lpeg package in Debian: New Bug description: [Impact] Under certain conditions, lpeg will crash while walking the pattern tree looking for TCapture nodes. [Test Case] The reproducer, taken from an upstream discussion (link in "Other info"), is: $ cat repro.lua #!/usr/bin/env lua lpeg = require "lpeg" p = lpeg.C(-lpeg.P{lpeg.P'x' * lpeg.V(1) + lpeg.P'y'}) p:match("xx") The program crashes due to a hascaptures() infinite recursion: $ ./repro.lua Segmentation fault (core dumped) (gdb) bt -25 #523984 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523985 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523986 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523987 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523988 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523989 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523990 0x77a3815c in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523991 0x77a388e3 in compile () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523992 0x77a36fab in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523993 0xfd1e in ?? () #523994 0x5556a5fc in ?? () #523995 0x555600c8 in ?? () #523996 0xf63f in ?? () #523997 0x5556030f in ?? () #523998 0xdc91 in lua_pcallk () #523999 0xb896 in ?? () #524000 0xc54b in ?? () #524001 0xfd1e in ?? () #524002 0x55560092 in ?? () #524003 0xf63f in ?? () #524004 0x5556030f in ?? () #524005 0xdc91 in lua_pcallk () #524006 0xb64b in ?? () #524007 0x77c94bbb in __libc_start_main (main=0xb5f0, argc=2, argv=0x7fffe6d8, init=, fini=, rtld_fini=, stack_end=0x7fffe6c8) at ../csu/libc-start.c:308 #524008 0xb70a in ?? () The expected behavior is to have the program finish normally [Regression potential] Low, this is a backport from upstream and only limits the infinite recursion in a scenario where it shouldn't happen to begin with (TCapture node search). [Other info] This was fixed upstream in 1.0.1 by stopping the recursion in TCall nodes and controlling that TRule nodes do not follow siblings (sib2) The upstream discussion can be found here: http://lua.2524044.n2.nabble.com/LPeg-intermittent-stack-exhaustion- td7674831.html My analysis can be found here: http://pastebin.ubuntu.com/p/n4824ftZt9/plain/ [Original description] The Ubuntu Error Tracker has been receiving reports about a problem regarding nmap. This problem was most recently seen with version 7.01-2ubuntu2, the problem page at https://errors.ubuntu.com/problem/5e852236a443bab0279d47c8a9b7e55802bfb46f contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lua-lpeg/+bug/1580385/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1580385] Re: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures
This bug was fixed in the package lua-lpeg - 1.0.0-2ubuntu0.19.04.1 --- lua-lpeg (1.0.0-2ubuntu0.19.04.1) disco; urgency=medium * d/p/stop-hascaptures-recursion.patch: Fix infinite recursion in hascaptures() (LP: #1580385) -- Victor Tapia Wed, 02 Oct 2019 17:49:19 +0200 ** Changed in: lua-lpeg (Ubuntu Disco) Status: Fix Committed => Fix Released ** Changed in: lua-lpeg (Ubuntu Bionic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1580385 Title: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures Status in lua-lpeg package in Ubuntu: Fix Released Status in lua-lpeg source package in Xenial: Fix Released Status in lua-lpeg source package in Bionic: Fix Released Status in lua-lpeg source package in Disco: Fix Released Status in lua-lpeg source package in Eoan: Fix Released Status in lua-lpeg package in Debian: New Bug description: [Impact] Under certain conditions, lpeg will crash while walking the pattern tree looking for TCapture nodes. [Test Case] The reproducer, taken from an upstream discussion (link in "Other info"), is: $ cat repro.lua #!/usr/bin/env lua lpeg = require "lpeg" p = lpeg.C(-lpeg.P{lpeg.P'x' * lpeg.V(1) + lpeg.P'y'}) p:match("xx") The program crashes due to a hascaptures() infinite recursion: $ ./repro.lua Segmentation fault (core dumped) (gdb) bt -25 #523984 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523985 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523986 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523987 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523988 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523989 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523990 0x77a3815c in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523991 0x77a388e3 in compile () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523992 0x77a36fab in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523993 0xfd1e in ?? () #523994 0x5556a5fc in ?? () #523995 0x555600c8 in ?? () #523996 0xf63f in ?? () #523997 0x5556030f in ?? () #523998 0xdc91 in lua_pcallk () #523999 0xb896 in ?? () #524000 0xc54b in ?? () #524001 0xfd1e in ?? () #524002 0x55560092 in ?? () #524003 0xf63f in ?? () #524004 0x5556030f in ?? () #524005 0xdc91 in lua_pcallk () #524006 0xb64b in ?? () #524007 0x77c94bbb in __libc_start_main (main=0xb5f0, argc=2, argv=0x7fffe6d8, init=, fini=, rtld_fini=, stack_end=0x7fffe6c8) at ../csu/libc-start.c:308 #524008 0xb70a in ?? () The expected behavior is to have the program finish normally [Regression potential] Low, this is a backport from upstream and only limits the infinite recursion in a scenario where it shouldn't happen to begin with (TCapture node search). [Other info] This was fixed upstream in 1.0.1 by stopping the recursion in TCall nodes and controlling that TRule nodes do not follow siblings (sib2) The upstream discussion can be found here: http://lua.2524044.n2.nabble.com/LPeg-intermittent-stack-exhaustion- td7674831.html My analysis can be found here: http://pastebin.ubuntu.com/p/n4824ftZt9/plain/ [Original description] The Ubuntu Error Tracker has been receiving reports about a problem regarding nmap. This problem was most recently seen with version 7.01-2ubuntu2, the problem page at https://errors.ubuntu.com/problem/5e852236a443bab0279d47c8a9b7e55802bfb46f contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lua-lpeg/+bug/1580385/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1580385] Re: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures
This bug was fixed in the package lua-lpeg - 1.0.0-2ubuntu0.19.10.1 --- lua-lpeg (1.0.0-2ubuntu0.19.10.1) eoan; urgency=medium * d/p/stop-hascaptures-recursion.patch: Fix infinite recursion in hascaptures() (LP: #1580385) -- Victor Tapia Wed, 02 Oct 2019 17:49:19 +0200 ** Changed in: lua-lpeg (Ubuntu Eoan) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1580385 Title: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures Status in lua-lpeg package in Ubuntu: Fix Released Status in lua-lpeg source package in Xenial: Fix Committed Status in lua-lpeg source package in Bionic: Fix Committed Status in lua-lpeg source package in Disco: Fix Committed Status in lua-lpeg source package in Eoan: Fix Released Status in lua-lpeg package in Debian: New Bug description: [Impact] Under certain conditions, lpeg will crash while walking the pattern tree looking for TCapture nodes. [Test Case] The reproducer, taken from an upstream discussion (link in "Other info"), is: $ cat repro.lua #!/usr/bin/env lua lpeg = require "lpeg" p = lpeg.C(-lpeg.P{lpeg.P'x' * lpeg.V(1) + lpeg.P'y'}) p:match("xx") The program crashes due to a hascaptures() infinite recursion: $ ./repro.lua Segmentation fault (core dumped) (gdb) bt -25 #523984 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523985 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523986 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523987 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523988 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523989 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523990 0x77a3815c in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523991 0x77a388e3 in compile () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523992 0x77a36fab in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523993 0xfd1e in ?? () #523994 0x5556a5fc in ?? () #523995 0x555600c8 in ?? () #523996 0xf63f in ?? () #523997 0x5556030f in ?? () #523998 0xdc91 in lua_pcallk () #523999 0xb896 in ?? () #524000 0xc54b in ?? () #524001 0xfd1e in ?? () #524002 0x55560092 in ?? () #524003 0xf63f in ?? () #524004 0x5556030f in ?? () #524005 0xdc91 in lua_pcallk () #524006 0xb64b in ?? () #524007 0x77c94bbb in __libc_start_main (main=0xb5f0, argc=2, argv=0x7fffe6d8, init=, fini=, rtld_fini=, stack_end=0x7fffe6c8) at ../csu/libc-start.c:308 #524008 0xb70a in ?? () The expected behavior is to have the program finish normally [Regression potential] Low, this is a backport from upstream and only limits the infinite recursion in a scenario where it shouldn't happen to begin with (TCapture node search). [Other info] This was fixed upstream in 1.0.1 by stopping the recursion in TCall nodes and controlling that TRule nodes do not follow siblings (sib2) The upstream discussion can be found here: http://lua.2524044.n2.nabble.com/LPeg-intermittent-stack-exhaustion- td7674831.html My analysis can be found here: http://pastebin.ubuntu.com/p/n4824ftZt9/plain/ [Original description] The Ubuntu Error Tracker has been receiving reports about a problem regarding nmap. This problem was most recently seen with version 7.01-2ubuntu2, the problem page at https://errors.ubuntu.com/problem/5e852236a443bab0279d47c8a9b7e55802bfb46f contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lua-lpeg/+bug/1580385/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1580385] Re: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures
This bug was fixed in the package lua-lpeg - 1.0.0-2ubuntu1 --- lua-lpeg (1.0.0-2ubuntu1) focal; urgency=medium * d/p/stop-hascaptures-recursion.patch: Fix infinite recursion in hascaptures(). (LP: #1580385) -- Victor Tapia Wed, 02 Oct 2019 17:49:19 +0200 ** Changed in: lua-lpeg (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1580385 Title: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures Status in lua-lpeg package in Ubuntu: Fix Released Status in lua-lpeg source package in Xenial: New Status in lua-lpeg source package in Bionic: New Status in lua-lpeg source package in Disco: New Status in lua-lpeg source package in Eoan: New Status in lua-lpeg package in Debian: New Bug description: [Impact] Under certain conditions, lpeg will crash while walking the pattern tree looking for TCapture nodes. [Test Case] The reproducer, taken from an upstream discussion (link in "Other info"), is: $ cat repro.lua #!/usr/bin/env lua lpeg = require "lpeg" p = lpeg.C(-lpeg.P{lpeg.P'x' * lpeg.V(1) + lpeg.P'y'}) p:match("xx") The program crashes due to a hascaptures() infinite recursion: $ ./repro.lua Segmentation fault (core dumped) (gdb) bt -25 #523984 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523985 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523986 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523987 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523988 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523989 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523990 0x77a3815c in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523991 0x77a388e3 in compile () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523992 0x77a36fab in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523993 0xfd1e in ?? () #523994 0x5556a5fc in ?? () #523995 0x555600c8 in ?? () #523996 0xf63f in ?? () #523997 0x5556030f in ?? () #523998 0xdc91 in lua_pcallk () #523999 0xb896 in ?? () #524000 0xc54b in ?? () #524001 0xfd1e in ?? () #524002 0x55560092 in ?? () #524003 0xf63f in ?? () #524004 0x5556030f in ?? () #524005 0xdc91 in lua_pcallk () #524006 0xb64b in ?? () #524007 0x77c94bbb in __libc_start_main (main=0xb5f0, argc=2, argv=0x7fffe6d8, init=, fini=, rtld_fini=, stack_end=0x7fffe6c8) at ../csu/libc-start.c:308 #524008 0xb70a in ?? () The expected behavior is to have the program finish normally [Regression potential] Low, this is a backport from upstream and only limits the infinite recursion in a scenario where it shouldn't happen to begin with (TCapture node search). [Other info] This was fixed upstream in 1.0.1 by stopping the recursion in TCall nodes and controlling that TRule nodes do not follow siblings (sib2) The upstream discussion can be found here: http://lua.2524044.n2.nabble.com/LPeg-intermittent-stack-exhaustion- td7674831.html My analysis can be found here: http://pastebin.ubuntu.com/p/n4824ftZt9/plain/ [Original description] The Ubuntu Error Tracker has been receiving reports about a problem regarding nmap. This problem was most recently seen with version 7.01-2ubuntu2, the problem page at https://errors.ubuntu.com/problem/5e852236a443bab0279d47c8a9b7e55802bfb46f contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lua-lpeg/+bug/1580385/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1580385] Re: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures
** Bug watch added: Debian Bug tracker #942031 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942031 ** Also affects: lua-lpeg (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942031 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1580385 Title: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures Status in lua-lpeg package in Ubuntu: In Progress Status in lua-lpeg source package in Xenial: New Status in lua-lpeg source package in Bionic: New Status in lua-lpeg source package in Disco: New Status in lua-lpeg source package in Eoan: New Status in lua-lpeg package in Debian: Unknown Bug description: [Impact] Under certain conditions, lpeg will crash while walking the pattern tree looking for TCapture nodes. [Test Case] The reproducer, taken from an upstream discussion (link in "Other info"), is: $ cat repro.lua #!/usr/bin/env lua lpeg = require "lpeg" p = lpeg.C(-lpeg.P{lpeg.P'x' * lpeg.V(1) + lpeg.P'y'}) p:match("xx") The program crashes due to a hascaptures() infinite recursion: $ ./repro.lua Segmentation fault (core dumped) (gdb) bt -25 #523984 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523985 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523986 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523987 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523988 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523989 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523990 0x77a3815c in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523991 0x77a388e3 in compile () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523992 0x77a36fab in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523993 0xfd1e in ?? () #523994 0x5556a5fc in ?? () #523995 0x555600c8 in ?? () #523996 0xf63f in ?? () #523997 0x5556030f in ?? () #523998 0xdc91 in lua_pcallk () #523999 0xb896 in ?? () #524000 0xc54b in ?? () #524001 0xfd1e in ?? () #524002 0x55560092 in ?? () #524003 0xf63f in ?? () #524004 0x5556030f in ?? () #524005 0xdc91 in lua_pcallk () #524006 0xb64b in ?? () #524007 0x77c94bbb in __libc_start_main (main=0xb5f0, argc=2, argv=0x7fffe6d8, init=, fini=, rtld_fini=, stack_end=0x7fffe6c8) at ../csu/libc-start.c:308 #524008 0xb70a in ?? () The expected behavior is to have the program finish normally [Regression potential] Low, this is a backport from upstream and only limits the infinite recursion in a scenario where it shouldn't happen to begin with (TCapture node search). [Other info] This was fixed upstream in 1.0.1 by stopping the recursion in TCall nodes and controlling that TRule nodes do not follow siblings (sib2) The upstream discussion can be found here: http://lua.2524044.n2.nabble.com/LPeg-intermittent-stack-exhaustion- td7674831.html My analysis can be found here: http://pastebin.ubuntu.com/p/n4824ftZt9/plain/ [Original description] The Ubuntu Error Tracker has been receiving reports about a problem regarding nmap. This problem was most recently seen with version 7.01-2ubuntu2, the problem page at https://errors.ubuntu.com/problem/5e852236a443bab0279d47c8a9b7e55802bfb46f contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lua-lpeg/+bug/1580385/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1580385] Re: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures
** No longer affects: nmap (Ubuntu) ** No longer affects: nmap (Ubuntu Xenial) ** Also affects: lua-lpeg (Ubuntu Eoan) Importance: Undecided Status: New ** Also affects: lua-lpeg (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: lua-lpeg (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: lua-lpeg (Ubuntu Disco) Importance: Undecided Status: New ** No longer affects: lua-lpeg (Ubuntu Focal) -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1580385 Title: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures Status in lua-lpeg package in Ubuntu: New Status in lua-lpeg source package in Xenial: New Status in lua-lpeg source package in Bionic: New Status in lua-lpeg source package in Disco: New Status in lua-lpeg source package in Eoan: New Bug description: [Impact] Under certain conditions, lpeg will crash while walking the pattern tree looking for TCapture nodes. [Test Case] The reproducer, taken from an upstream discussion (link in "Other info"), is: $ cat repro.lua #!/usr/bin/env lua lpeg = require "lpeg" p = lpeg.C(-lpeg.P{lpeg.P'x' * lpeg.V(1) + lpeg.P'y'}) p:match("xx") The program crashes due to a hascaptures() infinite recursion: $ ./repro.lua Segmentation fault (core dumped) (gdb) bt -25 #523984 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523985 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523986 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523987 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523988 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523989 0x77a3743c in hascaptures () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523990 0x77a3815c in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523991 0x77a388e3 in compile () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523992 0x77a36fab in ?? () from /usr/lib/x86_64-linux-gnu/lua/5.2/lpeg.so #523993 0xfd1e in ?? () #523994 0x5556a5fc in ?? () #523995 0x555600c8 in ?? () #523996 0xf63f in ?? () #523997 0x5556030f in ?? () #523998 0xdc91 in lua_pcallk () #523999 0xb896 in ?? () #524000 0xc54b in ?? () #524001 0xfd1e in ?? () #524002 0x55560092 in ?? () #524003 0xf63f in ?? () #524004 0x5556030f in ?? () #524005 0xdc91 in lua_pcallk () #524006 0xb64b in ?? () #524007 0x77c94bbb in __libc_start_main (main=0xb5f0, argc=2, argv=0x7fffe6d8, init=, fini=, rtld_fini=, stack_end=0x7fffe6c8) at ../csu/libc-start.c:308 #524008 0xb70a in ?? () The expected behavior is to have the program finish normally [Regression potential] Low, this is a backport from upstream and only limits the infinite recursion in a scenario where it shouldn't happen to begin with (TCapture node search). [Other info] This was fixed upstream in 1.0.1 by stopping the recursion in TCall nodes and controlling that TRule nodes do not follow siblings (sib2) The upstream discussion can be found here: http://lua.2524044.n2.nabble.com/LPeg-intermittent-stack-exhaustion- td7674831.html My analysis can be found here: http://pastebin.ubuntu.com/p/n4824ftZt9/plain/ [Original description] The Ubuntu Error Tracker has been receiving reports about a problem regarding nmap. This problem was most recently seen with version 7.01-2ubuntu2, the problem page at https://errors.ubuntu.com/problem/5e852236a443bab0279d47c8a9b7e55802bfb46f contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lua-lpeg/+bug/1580385/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1580385] Re: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures
** Also affects: lua-lpeg (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1580385 Title: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures Status in lua-lpeg package in Ubuntu: New Status in nmap package in Ubuntu: Confirmed Status in lua-lpeg source package in Xenial: New Status in nmap source package in Xenial: In Progress Bug description: The Ubuntu Error Tracker has been receiving reports about a problem regarding nmap. This problem was most recently seen with version 7.01-2ubuntu2, the problem page at https://errors.ubuntu.com/problem/5e852236a443bab0279d47c8a9b7e55802bfb46f contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lua-lpeg/+bug/1580385/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1580385] Re: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures
** No longer affects: nmap (Ubuntu Eoan) -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1580385 Title: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures Status in nmap package in Ubuntu: Confirmed Status in nmap source package in Xenial: In Progress Bug description: The Ubuntu Error Tracker has been receiving reports about a problem regarding nmap. This problem was most recently seen with version 7.01-2ubuntu2, the problem page at https://errors.ubuntu.com/problem/5e852236a443bab0279d47c8a9b7e55802bfb46f contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nmap/+bug/1580385/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1580385] Re: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures
** Also affects: nmap (Ubuntu Eoan) Importance: High Status: Confirmed ** Changed in: nmap (Ubuntu Eoan) Assignee: (unassigned) => Victor Tapia (vtapia) -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1580385 Title: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures Status in nmap package in Ubuntu: Confirmed Status in nmap source package in Xenial: In Progress Status in nmap source package in Eoan: Confirmed Bug description: The Ubuntu Error Tracker has been receiving reports about a problem regarding nmap. This problem was most recently seen with version 7.01-2ubuntu2, the problem page at https://errors.ubuntu.com/problem/5e852236a443bab0279d47c8a9b7e55802bfb46f contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nmap/+bug/1580385/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1580385] Re: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures
While the lua-lpeg code's careless use of recursion is certainly not good, I'm not sure if it is causing the current problem; I suspect it may be nmap introducting a problem in the tree that causes the infinite recursion. I've applied almost all the patches to bring lua_lpeg up to the bionic version, and it's still reproducable; I'll try with the full bionic lua_lpeg version to make sure the issue is in nmap (or at least, being triggered by xenial version of nmap). ** Also affects: nmap (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: nmap (Ubuntu Xenial) Assignee: (unassigned) => Dan Streetman (ddstreet) ** Changed in: nmap (Ubuntu Xenial) Importance: Undecided => Low ** Changed in: nmap (Ubuntu Xenial) Status: New => In Progress -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1580385 Title: /usr/bin/nmap:11:hascaptures:hascaptures:hascaptures:hascaptures:hascaptures Status in nmap package in Ubuntu: Confirmed Status in nmap source package in Xenial: In Progress Bug description: The Ubuntu Error Tracker has been receiving reports about a problem regarding nmap. This problem was most recently seen with version 7.01-2ubuntu2, the problem page at https://errors.ubuntu.com/problem/5e852236a443bab0279d47c8a9b7e55802bfb46f contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nmap/+bug/1580385/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp