[Bug 605562] Re: ld.bfd crashed with SIGSEGV in mempcpy() while compiling ruby-1.9.2-head rev 28645

Matthias Klose doko at ubuntu.com
Fri Sep 7 14:05:43 UTC 2012

is this still an issue with binutils from precise or quantal?

** Changed in: binutils (Ubuntu)
       Status: New => Incomplete

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.

  ld.bfd crashed with SIGSEGV in mempcpy() while compiling
  ruby-1.9.2-head rev 28645

Status in “binutils” package in Ubuntu:

Bug description:
  Binary package hint: binutils

  Steps to reproduce:

   * install rvm
   * try to compile ruby (rvm install ruby-1.9.2-head) with rev 28645 -- may happen also with other revs
   * crashes during linking

  However, rvm ends the execution correctly, and installs ruby ok.
  Apport isn't happy, though, so I'm reporting this.

  Applies to amd64.

  ProblemType: Crash
  DistroRelease: Ubuntu 10.10
  Package: binutils
  ProcVersionSignature: Ubuntu 2.6.35-7.12-generic 2.6.35-rc4
  Uname: Linux 2.6.35-7-generic x86_64
  Architecture: amd64
  Date: Wed Jul 14 21:06:54 2010
  ExecutablePath: /usr/bin/ld.bfd
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406.1)
  ProcCmdline: /usr/bin/ld --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=both -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o conftest -z relro /usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.4.4/crtbegin.o -L. -L../.. -L. -L/home/username/.rvm/rubies/ruby-1.9.2-head/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.4 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.4 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib -L//lib/../lib -L//usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../.. -L//lib -L//usr/lib -L/usr/lib/x86_64-linux-gnu /tmp/cckblQxd.o -export-dynamic -lncurses -ltermcap -R /home/username/.rvm/rubies/ruby-1.9.2-head/lib -lruby-static -lncurses -ltermcap -lpthread -lrt -ldl -lcrypt -lm -lc -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.4.4/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib/crtn.o
   PATH=(custom, user)
   Segfault happened at: 0x2b32538a5692 <mempcpy+194>:	mov    (%rsi),%rax
   PC (0x2b32538a5692) ok
   source "(%rsi)" (0x00000000) not located in a known VMA region (needed readable region)!
   destination "%rax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: binutils
   mempcpy () at ../sysdeps/x86_64/memcpy.S:191
   _IO_new_file_xsputn (f=0x112b910, data=0x0, n=65)
   _IO_fwrite (buf=0x0, size=1, count=65, fp=0x112b910)
   ?? ()
   bfd_bwrite ()
  Title: ld.bfd crashed with SIGSEGV in mempcpy()
  UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list