public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* rebase segfaults on ocaml-base
@ 2016-03-11  8:59 Marco Atzeri
  2016-03-11  9:45 ` Achim Gratz
  2016-03-11 14:39 ` Corinna Vinschen
  0 siblings, 2 replies; 4+ messages in thread
From: Marco Atzeri @ 2016-03-11  8:59 UTC (permalink / raw)
  To: cygwin

On x86_64

rebase segfault on
/usr/lib/ocaml/stublibs/dllunix.so

As this cripple the full rebaseall setup, it should be worth
to check if it is a rebase weakness (*) or if dllunix.so is an incorrect 
binary.


Regards
Marco


(*) dllunix.so has an unusual high number of sections

objdump.exe -h /usr/lib/ocaml/stublibs/dllunix.so

/usr/lib/ocaml/stublibs/dllunix.so:     file format pei-x86-64

Sections:
Idx Name          Size      VMA               LMA               File off 
  Algn
   0 .text         00006528  0000000000011000  0000000000011000 
00000c00  2**4
                   CONTENTS, ALLOC, LOAD, READONLY, CODE, DATA
   1 .data         00000708  0000000000018000  0000000000018000 
00007200  2**6
                   CONTENTS, ALLOC, LOAD, DATA
   2 .mreltbl      00000238  0000000000019000  0000000000019000 
00007a00  2**2
                   CONTENTS, ALLOC, LOAD, DATA
   3 .exptbl       0000108e  000000000001a000  000000000001a000 
00007e00  2**2
                   CONTENTS, ALLOC, LOAD, DATA
   4 .reltbl       0000412d  000000000001c000  000000000001c000 
00009000  2**2
                   CONTENTS, ALLOC, LOAD, DATA
   5 .flexrefptrsection306 00000010  0000000000021000  0000000000021000 
  0000d200  2**4
                   CONTENTS, ALLOC, LOAD, DATA
   6 .flexrefptrsection305 00000010  0000000000022000  0000000000022000 
  0000d400  2**4
                   CONTENTS, ALLOC, LOAD, DATA
   7 .flexrefptrsection304 00000010  0000000000023000  0000000000023000 
  0000d600  2**4
                   CONTENTS, ALLOC, LOAD, DATA
   8 .flexrefptrsection303 00000010  0000000000024000  0000000000024000 
  0000d800  2**4
                   CONTENTS, ALLOC, LOAD, DATA
   9 .flexrefptrsection302 00000010  0000000000025000  0000000000025000 
  0000da00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  10 .flexrefptrsection301 00000010  0000000000026000  0000000000026000 
  0000dc00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  11 .flexrefptrsection300 00000010  0000000000027000  0000000000027000 
  0000de00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  12 .flexrefptrsection298 00000010  0000000000028000  0000000000028000 
  0000e000  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  13 .flexrefptrsection299 00000010  0000000000029000  0000000000029000 
  0000e200  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  14 .flexrefptrsection297 00000010  000000000002a000  000000000002a000 
  0000e400  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  15 .flexrefptrsection296 00000010  000000000002b000  000000000002b000 
  0000e600  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  16 .flexrefptrsection294 00000010  000000000002c000  000000000002c000 
  0000e800  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  17 .flexrefptrsection295 00000010  000000000002d000  000000000002d000 
  0000ea00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  18 .flexrefptrsection291 00000010  000000000002e000  000000000002e000 
  0000ec00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  19 .flexrefptrsection292 00000010  000000000002f000  000000000002f000 
  0000ee00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  20 .flexrefptrsection293 00000010  0000000000030000  0000000000030000 
  0000f000  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  21 .flexrefptrsection290 00000010  0000000000031000  0000000000031000 
  0000f200  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  22 .flexrefptrsection288 00000010  0000000000032000  0000000000032000 
  0000f400  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  23 .flexrefptrsection289 00000010  0000000000033000  0000000000033000 
  0000f600  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  24 .flexrefptrsection287 00000010  0000000000034000  0000000000034000 
  0000f800  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  25 .flexrefptrsection286 00000010  0000000000035000  0000000000035000 
  0000fa00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  26 .flexrefptrsection285 00000010  0000000000036000  0000000000036000 
  0000fc00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  27 .flexrefptrsection284 00000010  0000000000037000  0000000000037000 
  0000fe00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  28 .flexrefptrsection283 00000010  0000000000038000  0000000000038000 
  00010000  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  29 .flexrefptrsection282 00000010  0000000000039000  0000000000039000 
  00010200  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  30 .flexrefptrsection281 00000010  000000000003a000  000000000003a000 
  00010400  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  31 .flexrefptrsection280 00000010  000000000003b000  000000000003b000 
  00010600  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  32 .flexrefptrsection279 00000010  000000000003c000  000000000003c000 
  00010800  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  33 .flexrefptrsection278 00000010  000000000003d000  000000000003d000 
  00010a00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  34 .flexrefptrsection277 00000010  000000000003e000  000000000003e000 
  00010c00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  35 .flexrefptrsection276 00000010  000000000003f000  000000000003f000 
  00010e00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  36 .flexrefptrsection275 00000010  0000000000040000  0000000000040000 
  00011000  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  37 .flexrefptrsection274 00000010  0000000000041000  0000000000041000 
  00011200  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  38 .flexrefptrsection273 00000010  0000000000042000  0000000000042000 
  00011400  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  39 .flexrefptrsection272 00000010  0000000000043000  0000000000043000 
  00011600  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  40 .flexrefptrsection271 00000010  0000000000044000  0000000000044000 
  00011800  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  41 .flexrefptrsection270 00000010  0000000000045000  0000000000045000 
  00011a00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  42 .flexrefptrsection268 00000010  0000000000046000  0000000000046000 
  00011c00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  43 .flexrefptrsection269 00000010  0000000000047000  0000000000047000 
  00011e00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  44 .flexrefptrsection267 00000010  0000000000048000  0000000000048000 
  00012000  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  45 .flexrefptrsection266 00000010  0000000000049000  0000000000049000 
  00012200  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  46 .flexrefptrsection265 00000010  000000000004a000  000000000004a000 
  00012400  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  47 .flexrefptrsection264 00000010  000000000004b000  000000000004b000 
  00012600  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  48 .flexrefptrsection263 00000010  000000000004c000  000000000004c000 
  00012800  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  49 .flexrefptrsection262 00000010  000000000004d000  000000000004d000 
  00012a00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  50 .flexrefptrsection261 00000010  000000000004e000  000000000004e000 
  00012c00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  51 .flexrefptrsection260 00000010  000000000004f000  000000000004f000 
  00012e00  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  52 .flexrefptrsection259 00000010  0000000000050000  0000000000050000 
  00013000  2**4
                   CONTENTS, ALLOC, LOAD, DATA
  53 .rdata        00001854  0000000000051000  0000000000051000 
00013200  2**5
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
  54 .buildid      00000035  0000000000053000  0000000000053000 
00014c00  2**2
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
  55 .pdata        000007ec  0000000000054000  0000000000054000 
00014e00  2**2
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
  56 .xdata        000006e4  0000000000055000  0000000000055000 
00015600  2**2
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
  57 .bss          00000270  0000000000056000  0000000000056000 
00000000  2**6
                   ALLOC
  58 .edata        00000057  0000000000057000  0000000000057000 
00015e00  2**2
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
  59 .idata        000011d0  0000000000058000  0000000000058000 
00016000  2**2
                   CONTENTS, ALLOC, LOAD, DATA
  60 .reloc        00000a74  000000000005a000  000000000005a000 
00017200  2**2
                   CONTENTS, ALLOC, LOAD, READONLY, DATA

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: rebase segfaults on ocaml-base
  2016-03-11  8:59 rebase segfaults on ocaml-base Marco Atzeri
@ 2016-03-11  9:45 ` Achim Gratz
  2016-03-11 10:18   ` Marco Atzeri
  2016-03-11 14:39 ` Corinna Vinschen
  1 sibling, 1 reply; 4+ messages in thread
From: Achim Gratz @ 2016-03-11  9:45 UTC (permalink / raw)
  To: cygwin

Marco Atzeri <marco.atzeri <at> gmail.com> writes:
> rebase segfault on
> /usr/lib/ocaml/stublibs/dllunix.so
>
> As this cripple the full rebaseall setup, it should be worth
> to check if it is a rebase weakness (*) or if dllunix.so is an incorrect 
> binary.

Well, rebase shouldn't segfault anyway.  Do you know where it crashes?


Regards,
Achim.


--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: rebase segfaults on ocaml-base
  2016-03-11  9:45 ` Achim Gratz
@ 2016-03-11 10:18   ` Marco Atzeri
  0 siblings, 0 replies; 4+ messages in thread
From: Marco Atzeri @ 2016-03-11 10:18 UTC (permalink / raw)
  To: cygwin



On 11/03/2016 10:45, Achim Gratz wrote:
> Marco Atzeri <marco.atzeri <at> gmail.com> writes:
>> rebase segfault on
>> /usr/lib/ocaml/stublibs/dllunix.so
>>
>> As this cripple the full rebaseall setup, it should be worth
>> to check if it is a rebase weakness (*) or if dllunix.so is an incorrect
>> binary.
>
> Well, rebase shouldn't segfault anyway.  Do you know where it crashes?
>
>
> Regards,
> Achim.
>

as there is no rebase-debuginfo ... no

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: rebase segfaults on ocaml-base
  2016-03-11  8:59 rebase segfaults on ocaml-base Marco Atzeri
  2016-03-11  9:45 ` Achim Gratz
@ 2016-03-11 14:39 ` Corinna Vinschen
  1 sibling, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2016-03-11 14:39 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

On Mar 11 09:59, Marco Atzeri wrote:
> On x86_64
> 
> rebase segfault on
> /usr/lib/ocaml/stublibs/dllunix.so
> 
> As this cripple the full rebaseall setup, it should be worth
> to check if it is a rebase weakness (*) or if dllunix.so is an incorrect
> binary.
> 
> 
> Regards
> Marco
> 
> 
> (*) dllunix.so has an unusual high number of sections

The problem is an arbitrary restriction to a max of 50 sections per
file, see the rebase source at imagehelper/sections.h line 134 and 155.

I applied a patch to allow any number of sections.  I will update
rebase to 4.4.2 today or tomorrow hopefully.


Thanks,
Corinna

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-11 14:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-11  8:59 rebase segfaults on ocaml-base Marco Atzeri
2016-03-11  9:45 ` Achim Gratz
2016-03-11 10:18   ` Marco Atzeri
2016-03-11 14:39 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).