This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Binutils objcopy bug (was Re: rebase segfault)


On Jan 24 11:16, marco atzeri wrote:
> On 1/24/2013 11:00 AM, Corinna Vinschen wrote:
> >On Jan 24 10:49, marco atzeri wrote:
> >>Please note that rebase segfaults on dict_snowball.dll the first time
> >>but any subsequent rebasing, also with different start address,
> >>works without any problem, so it is possible that we had other
> >>dll with the same problem but we never noticed
> >
> >I already explained why:  The SEGV happens during relocation.
> >The file header has been changed already.  If you call the
> >same rebase, it will try to rebase the file to the same new
> >address.  If current file base address == requested file base
> >address, rebase will return without performing any action.
> 
> I was not clear.
> Also rebasing with a different address make no difference

It does for me:

  $ rebase -b 0x40000000 dict_snowball.dll
  Segmentation fault
  $ rebase -b 0x50000000 dict_snowball.dll
  Segmentation fault
  $ rebase -b 0x40000000 dict_snowball.dll
  Segmentation fault
  $


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]