Red Hat Bugzilla – Bug 504924
Segfaults when applying the patch
Last modified: 2009-06-10 05:12:26 EDT
Description of problem:
Occasionally, it segfaults when applying the patch:
$ gdb patch
GNU gdb (GDB) Fedora (22.214.171.12490302-23.fc11)
Copyright (C) 2009 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 "i586-redhat-linux-gnu".
For bug reporting instructions, please see:
Missing separate debuginfos, use: debuginfo-install patch-2.5.4-38.fc11.i586
(gdb) set args -p0 < ../../patches/apu-dbm-libs.patch
Starting program: /usr/bin/patch -p0 < ../../patches/apu-dbm-libs.patch
warning: .dynamic section for "/lib/libc.so.6" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
patching file apu-config.in
Program received signal SIGSEGV, Segmentation fault.
0x00188ac8 in strcmp () from /lib/libc.so.6
#0 0x00188ac8 in strcmp () from /lib/libc.so.6
#1 0x080501ce in ?? ()
#2 0x00126a66 in __libc_start_main () from /lib/libc.so.6
#3 0x08049511 in geteuid ()
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Patch some source (in my case APU SVN working copy).
Yes, I loaded debuginfos after the crash. But, I was unable to reproduce this since.
Duplicate of bug #498102?
Yes, looks like it.
*** This bug has been marked as a duplicate of bug 498102 ***