group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #09776
[Bug 1577460] Re: mkinitramfs --help > Core dumped
glibc (2.24-3ubuntu1) yakkety; urgency=medium
* Merge with 2.24 from Debian sid, bringing in minor packaging changes and
upstream updates, including the security fix for CVE-2016-6323 on ARMv7.
* debian/patches/ubuntu/local-altlocaledir.diff: Updated to latest version
from Martin that limits scope to LC_MESSAGES, fixing segv (LP: #1577460)
* debian/testsuite-xfail-debian.mk: Allow nptl/tst-signal6 to fail on ARM.
-- Adam Conrad <adconrad@xxxxxxxxxx> Wed, 05 Oct 2016 14:25:57 -0600
** Description changed:
+ [Testcase]
+ * $ LC_ALL=fo_FOO.UTF-8 getopt -o c:d:ko:r:v -n /usr/sbin/mkinitramfs -- --help
+ Expected result:
+ /usr/sbin/mkinitramfs: unrecognized option '--help'
+ --
+ Exit code 1
+ Current result:
+ Segmentation fault
+ Exit code 139.
+
+ There are two bugs in play here. glibc bug was fixed, and util-linux bug
+ needs an upload still.
+
Problem Description
==============================
root@zlin060:~# mkinitramfs --help
Segmentation fault (core dumped)
W: non-GNU getopt
root@zlin060:~#
== Comment: #9 - Heinz-Werner Seeck <heinz-werner_seeck@xxxxxxxxxx> - 2016-05-02 10:09:34 ==
With Ubuntu 14.40 login via ssh:
Following cmd :
'getopt -o c:d:ko:r:v -n /usr/sbin/mkinitramfs -- --help'
Following call-stack occured (creates coredump):
- #0 __strncmp_c (s1=0x2e6575634a500a6d <error: Cannot access memory at address 0x2e6575634a500a6d>,
- s1@entry=0x2e6575634a500a6a <error: Cannot access memory at address 0x2e6575634a500a6a>,
- s2=0x3fff7fff7ae "p", s2@entry=0x3fff7fff7ab "gelp", n=n@entry=4) at ../string/strncmp.c:44
- #1 0x000003ff7e9d4252 in _getopt_internal_r (argc=<optimized out>, argv=0x40,
- optstring=0x200000030 <error: Cannot access memory at address 0x200000030>, longopts=<optimized out>,
- longind=<optimized out>, long_only=0, d=0x3ff7ea8c330 <getopt_data>, posixly_correct=0) at getopt.c:546
- #2 0x000003ff7e9d51f2 in _getopt_internal (argc=<optimized out>, argv=<optimized out>,
- optstring=<optimized out>, longopts=<optimized out>, longind=0x3fff7ffe674, long_only=0, posixly_correct=0)
- at getopt.c:1175
- #3 0x000003ff7e9d52b6 in getopt_long (argc=<optimized out>, argv=<optimized out>, options=<optimized out>,
- long_options=<optimized out>, opt_index=0x3fff7ffe674) at getopt1.c:65
+ #0 __strncmp_c (s1=0x2e6575634a500a6d <error: Cannot access memory at address 0x2e6575634a500a6d>,
+ s1@entry=0x2e6575634a500a6a <error: Cannot access memory at address 0x2e6575634a500a6a>,
+ s2=0x3fff7fff7ae "p", s2@entry=0x3fff7fff7ab "gelp", n=n@entry=4) at ../string/strncmp.c:44
+ #1 0x000003ff7e9d4252 in _getopt_internal_r (argc=<optimized out>, argv=0x40,
+ optstring=0x200000030 <error: Cannot access memory at address 0x200000030>, longopts=<optimized out>,
+ longind=<optimized out>, long_only=0, d=0x3ff7ea8c330 <getopt_data>, posixly_correct=0) at getopt.c:546
+ #2 0x000003ff7e9d51f2 in _getopt_internal (argc=<optimized out>, argv=<optimized out>,
+ optstring=<optimized out>, longopts=<optimized out>, longind=0x3fff7ffe674, long_only=0, posixly_correct=0)
+ at getopt.c:1175
+ #3 0x000003ff7e9d52b6 in getopt_long (argc=<optimized out>, argv=<optimized out>, options=<optimized out>,
+ long_options=<optimized out>, opt_index=0x3fff7ffe674) at getopt1.c:65
#4 0x000002aa236821d8 in ?? ()
#5 0x000002aa23681c22 in main ()
** Changed in: util-linux (Ubuntu)
Status: New => Triaged
** Changed in: util-linux (Ubuntu)
Importance: Undecided => High
** Changed in: util-linux (Ubuntu)
Assignee: (unassigned) => Dimitri John Ledkov (xnox)
** Changed in: util-linux (Ubuntu)
Milestone: None => ubuntu-17.01
** Changed in: util-linux (Ubuntu Xenial)
Status: New => Triaged
** Changed in: util-linux (Ubuntu Xenial)
Importance: Undecided => High
** Changed in: util-linux (Ubuntu Xenial)
Assignee: (unassigned) => Dimitri John Ledkov (xnox)
** Changed in: util-linux (Ubuntu Xenial)
Milestone: None => ubuntu-16.04.2
** Also affects: util-linux (Ubuntu Yakkety)
Importance: Undecided
Status: New
** Also affects: glibc (Ubuntu Yakkety)
Importance: Undecided
Status: New
** Changed in: glibc (Ubuntu Yakkety)
Status: New => Fix Released
** Changed in: util-linux (Ubuntu Yakkety)
Status: New => Triaged
** Changed in: util-linux (Ubuntu Yakkety)
Importance: Undecided => High
** Changed in: util-linux (Ubuntu Yakkety)
Assignee: (unassigned) => Dimitri John Ledkov (xnox)
** Changed in: util-linux (Ubuntu Yakkety)
Milestone: None => yakkety-updates
--
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/1577460
Title:
mkinitramfs --help > Core dumped
Status in Ubuntu on IBM z Systems:
In Progress
Status in glibc package in Ubuntu:
Fix Released
Status in util-linux package in Ubuntu:
Triaged
Status in glibc source package in Xenial:
Fix Released
Status in util-linux source package in Xenial:
Triaged
Status in glibc source package in Yakkety:
Fix Released
Status in util-linux source package in Yakkety:
Triaged
Bug description:
[Testcase]
* $ LC_ALL=fo_FOO.UTF-8 getopt -o c:d:ko:r:v -n /usr/sbin/mkinitramfs -- --help
Expected result:
/usr/sbin/mkinitramfs: unrecognized option '--help'
--
Exit code 1
Current result:
Segmentation fault
Exit code 139.
There are two bugs in play here. glibc bug was fixed, and util-linux
bug needs an upload still.
Problem Description
==============================
root@zlin060:~# mkinitramfs --help
Segmentation fault (core dumped)
W: non-GNU getopt
root@zlin060:~#
== Comment: #9 - Heinz-Werner Seeck <heinz-werner_seeck@xxxxxxxxxx> - 2016-05-02 10:09:34 ==
With Ubuntu 14.40 login via ssh:
Following cmd :
'getopt -o c:d:ko:r:v -n /usr/sbin/mkinitramfs -- --help'
Following call-stack occured (creates coredump):
#0 __strncmp_c (s1=0x2e6575634a500a6d <error: Cannot access memory at address 0x2e6575634a500a6d>,
s1@entry=0x2e6575634a500a6a <error: Cannot access memory at address 0x2e6575634a500a6a>,
s2=0x3fff7fff7ae "p", s2@entry=0x3fff7fff7ab "gelp", n=n@entry=4) at ../string/strncmp.c:44
#1 0x000003ff7e9d4252 in _getopt_internal_r (argc=<optimized out>, argv=0x40,
optstring=0x200000030 <error: Cannot access memory at address 0x200000030>, longopts=<optimized out>,
longind=<optimized out>, long_only=0, d=0x3ff7ea8c330 <getopt_data>, posixly_correct=0) at getopt.c:546
#2 0x000003ff7e9d51f2 in _getopt_internal (argc=<optimized out>, argv=<optimized out>,
optstring=<optimized out>, longopts=<optimized out>, longind=0x3fff7ffe674, long_only=0, posixly_correct=0)
at getopt.c:1175
#3 0x000003ff7e9d52b6 in getopt_long (argc=<optimized out>, argv=<optimized out>, options=<optimized out>,
long_options=<optimized out>, opt_index=0x3fff7ffe674) at getopt1.c:65
#4 0x000002aa236821d8 in ?? ()
#5 0x000002aa23681c22 in main ()
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1577460/+subscriptions