Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 585639 Details for
Bug 823270
grubby --default-kernel segfault as user
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
grubby --default-kernel segault when run as user
grubby-default-kernel-segfault_as_user.txt (text/plain), 14.23 KB, created by
Nicolas Chauvet (kwizart)
on 2012-05-20 13:01:12 UTC
(
hide
)
Description:
grubby --default-kernel segault when run as user
Filename:
MIME Type:
Creator:
Nicolas Chauvet (kwizart)
Created:
2012-05-20 13:01:12 UTC
Size:
14.23 KB
patch
obsolete
>$ gdb grubby >GNU gdb (GDB) Fedora (7.4.50.20120120-46.fc17) >Copyright (C) 2012 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. Type "show copying" >and "show warranty" for details. >This GDB was configured as "x86_64-redhat-linux-gnu". >For bug reporting instructions, please see: ><http://www.gnu.org/software/gdb/bugs/>... >Reading symbols from /usr/sbin/grubby...Reading symbols from /usr/lib/debug/sbin/grubby.debug...done. >done. >(gdb) run --default-kernel >Starting program: /usr/sbin/grubby --default-kernel > >Program received signal SIGSEGV, Segmentation fault. >readConfig (inName=0x0, cfi=cfi@entry=0x60ccc0) at grubby.c:933 >933 if (!strcmp(inName, "-")) { >(gdb) thread apply all bt full > >Thread 1 (process 6311): >#0 readConfig (inName=0x0, cfi=cfi@entry=0x60ccc0) at grubby.c:933 > __s1 = 0x0 > __result = <error reading variable __result (Cannot access memory at address 0x0)> > in = <optimized out> > incoming = 0x0 > head = <optimized out> > rc = 0 > sawEntry = 0 > movedLine = 0 > cfg = <optimized out> > last = 0x0 > line = <optimized out> > defaultLine = 0x0 > end = <optimized out> > entry = 0x0 > i = <optimized out> > len = <optimized out> > buf = <optimized out> >#1 0x0000000000404232 in main (argc=<optimized out>, argv=<optimized out>) at grubby.c:3741 > optCon = <optimized out> > grubConfig = 0x0 > outputFile = 0x0 > arg = <optimized out> > flags = 0 > badImageOkay = 0 > configureGrub2 = 0 > configureLilo = 0 > configureELilo = 0 > configureGrub = 0 > configureYaboot = 0 > configureSilo = 0 > configureZipl = 0 > configureExtLinux = 0 > bootloaderProbe = 0 > extraInitrdCount = 0 > updateKernelPath = 0x0 > newKernelPath = 0x0 > removeKernelPath = 0x0 > newKernelArgs = 0x0 > newKernelInitrd = 0x0 > newKernelTitle = 0x0 > newMBKernel = 0x0 > newMBKernelArgs = 0x0 > removeMBKernelArgs = 0x0 > removeMBKernel = 0x0 > bootPrefix = 0x60e3f0 "/boot" > defaultKernel = 0x0 > removeArgs = 0x0 > kernelInfo = 0x0 > extraInitrds = {0x0 <repeats 16 times>} > > chptr = <optimized out> > cfi = 0x60ccc0 > config = <optimized out> > template = 0x0 > copyDefault = 0 > makeDefault = 0 > displayDefault = 1 > displayDefaultIndex = 0 > displayDefaultTitle = 0 > options = {{longName = 0x40999d "add-kernel", shortName = 0 '\000', argInfo = 1, arg = 0x7fffffffd600, val = 0, > descrip = 0x40a1e8 "add an entry for the specified kernel", argDescrip = 0x4099a8 "kernel-path"}, { > longName = 0x4099b4 "add-multiboot", shortName = 0 '\000', argInfo = 1, arg = 0x7fffffffd628, val = 0, > descrip = 0x40a210 "add an entry for the specified multiboot kernel", argDescrip = 0x0}, {longName = 0x409af7 "args", > shortName = 0 '\000', argInfo = 1, arg = 0x7fffffffd610, val = 0, > descrip = 0x40a240 "default arguments for the new kernel or new arguments for kernel being updated", > argDescrip = 0x409af7 "args"}, {longName = 0x409b1b "mbargs", shortName = 0 '\000', argInfo = 1, arg = 0x7fffffffd630, > val = 0, > descrip = 0x40a290 "default arguments for the new multiboot kernel or new arguments for multiboot kernel being updated", > argDescrip = 0x0}, {longName = 0x4099c2 "bad-image-okay", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5ac, val = 0, > descrip = 0x40a2f8 "don't sanity check images in boot entries (for testing only)", argDescrip = 0x0}, { > longName = 0x4099d1 "boot-filesystem", shortName = 0 '\000', argInfo = 1, arg = 0x7fffffffd648, val = 0, > descrip = 0x40a338 "filestystem which contains /boot directory (for testing only)", argDescrip = 0x4099e1 "bootfs"}, { > longName = 0x4099e8 "bootloader-probe", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5d0, val = 0, > descrip = 0x40a378 "check if lilo is installed on lilo.conf boot sector", argDescrip = 0x0}, { > longName = 0x4099f9 "config-file", shortName = 99 'c', argInfo = 1, arg = 0x7fffffffd5e8, val = 0, > descrip = 0x40a3b0 "path to grub config file to update (\"-\" for stdin)", argDescrip = 0x409aab "path"}, { > longName = 0x409a05 "copy-default", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5d4, val = 0, > descrip = 0x40a3e8 "use the default boot entry as a template for the new entry being added; if the default is not a linux image, or if the kernel referenced by the default image does not exist, the first linux entry whos"..., argDescrip = 0x0}, { > longName = 0x409a12 "debug", shortName = 0 '\000', argInfo = 0, arg = 0x60ceac, val = 0, > descrip = 0x40a4e0 "print debugging information for failures", argDescrip = 0x0}, {longName = 0x409a18 "default-kernel", > shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5dc, val = 0, descrip = 0x40a510 "display the path of the default kernel", > argDescrip = 0x0}, {longName = 0x409a27 "default-index", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5e0, val = 0, > descrip = 0x40a538 "display the index of the default kernel", argDescrip = 0x0}, {longName = 0x409a35 "default-title", > shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5e4, val = 0, > descrip = 0x40a560 "display the title of the default kernel", argDescrip = 0x0}, {longName = 0x409a43 "elilo", > shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5b8, val = 0, descrip = 0x409a49 "configure elilo bootloader", > argDescrip = 0x0}, {longName = 0x409c84 "extlinux", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5cc, val = 0, > descrip = 0x40a588 "configure extlinux bootloader (from syslinux)", argDescrip = 0x0}, {longName = 0x4098ea "grub", > shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5bc, val = 0, descrip = 0x409a64 "configure grub bootloader", > argDescrip = 0x0}, {longName = 0x409a7e "grub2", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5b0, val = 0, > descrip = 0x409a84 "configure grub2 bootloader", argDescrip = 0x0}, {longName = 0x409a9f "info", shortName = 0 '\000', > argInfo = 1, arg = 0x7fffffffd660, val = 0, descrip = 0x40a5b8 "display boot information for specified kernel", > argDescrip = 0x4099a8 "kernel-path"}, {longName = 0x409ab6 "initrd", shortName = 0 '\000', argInfo = 1, arg = 0x7fffffffd618, > val = 0, descrip = 0x40a5e8 "initrd image for the new kernel", argDescrip = 0x409aa4 "initrd-path"}, { > longName = 0x409ab0 "extra-initrd", shortName = 105 'i', argInfo = 1, arg = 0x0, val = 105, > descrip = 0x40a608 "auxilliary initrd image for things other than the new kernel", argDescrip = 0x409aa4 "initrd-path"}, { > longName = 0x409a44 "lilo", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5b4, val = 0, > descrip = 0x409abd "configure lilo bootloader", argDescrip = 0x0}, {longName = 0x409ad7 "make-default", shortName = 0 '\000', > argInfo = 0, arg = 0x7fffffffd5d8, val = 0, descrip = 0x40a648 "make the newly added entry the default boot entry", > argDescrip = 0x0}, {longName = 0x409ae4 "output-file", shortName = 111 'o', argInfo = 1, arg = 0x7fffffffd5f0, val = 0, > descrip = 0x40a680 "path to output updated config file (\"-\" for stdout)", argDescrip = 0x409aab "path"}, { > longName = 0x4099e8 "bootloader-probe", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5d0, val = 0, > descrip = 0x40a378 "check if lilo is installed on lilo.conf boot sector", argDescrip = 0x0}, { > longName = 0x4099f9 "config-file", shortName = 99 'c', argInfo = 1, arg = 0x7fffffffd5e8, val = 0, > descrip = 0x40a3b0 "path to grub config file to update (\"-\" for stdin)", argDescrip = 0x409aab "path"}, { > longName = 0x409a05 "copy-default", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5d4, val = 0, > descrip = 0x40a3e8 "use the default boot entry as a template for the new entry being added; if the default is not a linux image, or if the kernel referenced by the default image does not exist, the first linux entry whos"..., argDescrip = 0x0}, { > longName = 0x409a12 "debug", shortName = 0 '\000', argInfo = 0, arg = 0x60ceac, val = 0, > descrip = 0x40a4e0 "print debugging information for failures", argDescrip = 0x0}, {longName = 0x409a18 "default-kernel", > shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5dc, val = 0, descrip = 0x40a510 "display the path of the default kernel", > argDescrip = 0x0}, {longName = 0x409a27 "default-index", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5e0, val = 0, > descrip = 0x40a538 "display the index of the default kernel", argDescrip = 0x0}, {longName = 0x409a35 "default-title", > shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5e4, val = 0, > descrip = 0x40a560 "display the title of the default kernel", argDescrip = 0x0}, {longName = 0x409a43 "elilo", > shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5b8, val = 0, descrip = 0x409a49 "configure elilo bootloader", > argDescrip = 0x0}, {longName = 0x409c84 "extlinux", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5cc, val = 0, > descrip = 0x40a588 "configure extlinux bootloader (from syslinux)", argDescrip = 0x0}, {longName = 0x4098ea "grub", > shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5bc, val = 0, descrip = 0x409a64 "configure grub bootloader", > argDescrip = 0x0}, {longName = 0x409a7e "grub2", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5b0, val = 0, > descrip = 0x409a84 "configure grub2 bootloader", argDescrip = 0x0}, {longName = 0x409a9f "info", shortName = 0 '\000', > argInfo = 1, arg = 0x7fffffffd660, val = 0, descrip = 0x40a5b8 "display boot information for specified kernel", > argDescrip = 0x4099a8 "kernel-path"}, {longName = 0x409ab6 "initrd", shortName = 0 '\000', argInfo = 1, arg = 0x7fffffffd618, > val = 0, descrip = 0x40a5e8 "initrd image for the new kernel", argDescrip = 0x409aa4 "initrd-path"}, { > longName = 0x409ab0 "extra-initrd", shortName = 105 'i', argInfo = 1, arg = 0x0, val = 105, > descrip = 0x40a608 "auxilliary initrd image for things other than the new kernel", argDescrip = 0x409aa4 "initrd-path"}, { > longName = 0x409a44 "lilo", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5b4, val = 0, > descrip = 0x409abd "configure lilo bootloader", argDescrip = 0x0}, {longName = 0x409ad7 "make-default", shortName = 0 '\000', > argInfo = 0, arg = 0x7fffffffd5d8, val = 0, descrip = 0x40a648 "make the newly added entry the default boot entry", > argDescrip = 0x0}, {longName = 0x409ae4 "output-file", shortName = 111 'o', argInfo = 1, arg = 0x7fffffffd5f0, val = 0, > descrip = 0x40a680 "path to output updated config file (\"-\" for stdout)", argDescrip = 0x409aab "path"}, { >---Type <return> to continue, or q <return> to quit--- > longName = 0x409af0 "remove-args", shortName = 0 '\000', argInfo = 1, arg = 0x7fffffffd658, val = 0, > descrip = 0x409afc "remove kernel arguments", argDescrip = 0x0}, {longName = 0x409b14 "remove-mbargs", shortName = 0 '\000', > argInfo = 1, arg = 0x7fffffffd638, val = 0, descrip = 0x40a6b8 "remove multiboot kernel arguments", argDescrip = 0x0}, { > longName = 0x409b22 "remove-kernel", shortName = 0 '\000', argInfo = 1, arg = 0x7fffffffd608, val = 0, > descrip = 0x40a6e0 "remove all entries for the specified kernel", argDescrip = 0x4099a8 "kernel-path"}, { > longName = 0x409b30 "remove-multiboot", shortName = 0 '\000', argInfo = 1, arg = 0x7fffffffd640, val = 0, > descrip = 0x40a710 "remove all entries for the specified multiboot kernel", argDescrip = 0x0}, { > longName = 0x409b41 "set-default", shortName = 0 '\000', argInfo = 1, arg = 0x7fffffffd650, val = 0, > descrip = 0x40a748 "make the first entry referencing the specified kernel the default", argDescrip = 0x4099a8 "kernel-path"}, { > longName = 0x409b4d "silo", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5c4, val = 0, > descrip = 0x409b52 "configure silo bootloader", argDescrip = 0x0}, {longName = 0x409a3d "title", shortName = 0 '\000', > argInfo = 1, arg = 0x7fffffffd620, val = 0, descrip = 0x40a790 "title to use for the new kernel entry", > argDescrip = 0x409b6c "entry-title"}, {longName = 0x409b78 "update-kernel", shortName = 0 '\000', argInfo = 1, > arg = 0x7fffffffd5f8, val = 0, descrip = 0x40a7b8 "updated information for the specified kernel", > argDescrip = 0x4099a8 "kernel-path"}, {longName = 0x409b86 "version", shortName = 118 'v', argInfo = 0, arg = 0x0, val = 118, > descrip = 0x40a7e8 "print the version of this program and exit", argDescrip = 0x0}, {longName = 0x409b8e "yaboot", > shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5c0, val = 0, descrip = 0x409b95 "configure yaboot bootloader", > argDescrip = 0x0}, {longName = 0x409bb1 "zipl", shortName = 0 '\000', argInfo = 0, arg = 0x7fffffffd5c8, val = 0, > descrip = 0x409bb6 "configure zipl bootloader", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, > arg = 0x60cde0, val = 0, descrip = 0x409bd0 "Help options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', > argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}} >(gdb) continue >Continuing. >grubby recieved SIGSEGV! Backtrace (6): >/usr/sbin/grubby[0x40525f] >/lib64/libc.so.6[0x38ffc359e0] >/usr/sbin/grubby[0x401bc9] >/usr/sbin/grubby[0x404232] >/lib64/libc.so.6(__libc_start_main+0xf5)[0x38ffc21735] >/usr/sbin/grubby[0x404691] >[Inferior 1 (process 6311) exited with code 01] >Missing separate debuginfos, use: debuginfo-install libgcc-4.7.0-5.fc17.x86_64 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 823270
: 585639