[Bug 1577460] [NEW] mkinitramfs --help > Core dumped

Launchpad Bug Tracker 1577460 at bugs.launchpad.net
Mon May 2 16:54:34 UTC 2016


You have been subscribed to a public bug:

Problem Description
==============================
root at zlin060:~# mkinitramfs --help
Segmentation fault (core dumped)
W: non-GNU getopt
root at zlin060:~#

== Comment: #9 - Heinz-Werner Seeck <heinz-werner_seeck at de.ibm.com> - 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 at entry=0x2e6575634a500a6a <error: Cannot access memory at address 0x2e6575634a500a6a>, 
    s2=0x3fff7fff7ae "p", s2 at entry=0x3fff7fff7ab "gelp", n=n at 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 ()

** Affects: util-linux (Ubuntu)
     Importance: Undecided
     Assignee: Skipper Bug Screeners (skipper-screen-team)
         Status: New


** Tags: architecture-s39064 bot-comment bugnameltc-140845 severity-medium targetmilestone-inin---
-- 
mkinitramfs --help > Core dumped
https://bugs.launchpad.net/bugs/1577460
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to util-linux in Ubuntu.



More information about the foundations-bugs mailing list