objdump -CS objfile.o : Segmentation fault (core dumped)

Alex Vinokur alexvn@connect.to
Mon Sep 29 16:48:00 GMT 2003


Hi,

I have got "Segmentation fault (core dumped)" working with the objdump utility.

========================================
Windows 2000 Professional
CYGWIN_NT-5.0 1.5.4(0.94/3/2)
GNU gcc version 3.3.1 (cygming special)
GNU objdump 2.14.90 20030901
========================================

Source C++ file : see attachment (t.cpp)

$ g++ -c t.cpp

$ objdump -CS t.o > tmp
Segmentation fault (core dumped)

$ tail tmp
 20f: 89 41 04              mov    %eax,0x4(%ecx)
 212: 8b 45 08              mov    0x8(%ebp),%eax
 215: 83 c4 54              add    $0x54,%esp
 218: 5b                    pop    %ebx
 219: 5d                    pop    %ebp
 21a: c3                    ret
 21b: 90                    nop
Disassembly of section .text$_ZSt13copy_backwardIN9__gnu_cxx17__normal_iteratorIPSt6vectorImSaImEES2_IS4_SaIS4_EEEES8_ET0_T_SA_S9_:

00000000 <__gnu_cxx::__normal_iterator<std::vector<unsigned long, std::allocator<unsigned long> >*, std::vector<std::vector<unsigned
long, std::allocator<unsigned long> >, std::allocator<std::vector<unsigned long, std::allocator<unsigned long> > > > >
std::copy_backward<__gnu_cxx::__normal_iterator<std::vector<unsigned long, std::allocator<unsigned long> >*,
std::vector<std::vector<unsigned long, std::allocator<unsigned long> >, std::allocator<std::vector<unsigned long,
std::allocator<unsigned long> > > > >, __gnu_cxx::__normal_iterator<std::vector<unsigned long, std::allocator<unsigned long> >*,
std::vector<std::vector<unsigned long, std::allocator<unsigned long> >, std::allocator<std::vector<unsigned long,
std::allocator<unsigned long> > > > > >(__gnu_cxx::__normal_iterator<std::vector<unsigned long, std::allocator<unsigned long> >*,
std::vector<std::vector<unsigned long, std::allocator<unsigned long> >, std::allocator<std::vector<unsigned long,
std::allocator<unsigned long> > > > >, __gnu_cxx::__normal_iterator<std::vector<unsigned long, std::allocator<unsigned long> >*,
std::vector<std::vector<unsigned long, std::allocator<unsigned long> >, std::allocator<std::vector<unsigned long,
std::allocator<unsigned long> > > > >, __gnu_cxx::__normal_iterat



--
   =====================================
   Alex Vinokur
     mailto:alexvn@connect.to
     http://mathforum.org/library/view/10978.html
   =====================================



begin 666 t.cpp
M(VEN8VQU9&4@/'-T9&QI8BYH/@T*(VEN8VQU9&4@/'1I;64N:#X-"B-I;F-L
M=61E(#QA<W-E<G0N:#X-"B-I;F-L=61E(#QI;W-T<F5A;3X-"B-I;F-L=61E
M(#QI;VUA;FEP/@T*(VEN8VQU9&4@/'9E8W1O<CX-"G5S:6YG(&YA;65S<&%C
M92!S=&0[#0H-"G-T871I8R!I;G0@=F%L=64@/2!R86YD*"D[#0IS=&%T:6,@
M:6YT('-I;FL@(#T@,#L-"@T*=F5C=&]R/'-T<FEN9SX)"0EF;V]?;F%M97,[
M#0IV96-T;W(\<W1R:6YG/CHZ:71E<F%T;W():71E<E]N86UE<SL-"G9E8W1O
M<CQV96-T;W(\8VQO8VM?=#X@/@EU<V5D7W1I;64[#0H-"FEN="!T97-T7VYO
M(#T@,#L-"@T*+R\@+2TM+2TM('=I=&@@9'5M;7D@+2TM+2TM#0IV;VED(&9O
M;U]?9'5M;7E?<W1A<G0@(" @(" @(" @(" @(" H*2 @(" @(" @(" @(" @
M(" @>R!S:6YK("L]('9A;'5E.R!]#0IV;VED(&9O;U]?9'5M;7E?96YD(" @
M(" @(" @(" @(" @(" H*2 @(" @(" @(" @(" @(" @>R!S:6YK("L]('9A
M;'5E.R!]#0H-"@T*+R\@+2TM+2TM('=I=&@@8F]D>2 M+2TM+2T-"G9O:60@
M9F]O7U]B;V1Y7U]N;U]A<F=S(" @(" @(" @(" @("@I(" @(" @(" @(" @
M(" @("![('-I;FL@*ST@=F%L=64[('T-"@T*=F]I9"!F;V]?7V)O9'E?7V-H
M87)?87)G7W5N=7-E9" @(" @*&-H87(I(" @(" @(" @(" @('L@<VEN:R K
M/2!V86QU93L@?0T*=F]I9"!F;V]?7V)O9'E?7V-H87)?87)G7W5S960@(" @
M(" @*&-H87(@87)G*2 @(" @(" @('L@<VEN:R K/2!A<F<[('T-"G9O:60@
M9F]O7U]B;V1Y7U]C:&%R7W)E9E]U;G5S960@(" @("AC;VYS="!C:&%R)BD@
M(" @("![('-I;FL@*ST@=F%L=64[('T-"G9O:60@9F]O7U]B;V1Y7U]C:&%R
M7W)E9E]U<V5D(" @(" @("AC;VYS="!C:&%R)B!A<F<I("![('-I;FL@*ST@
M87)G.R!]#0H-"@T*=F]I9"!F;V]?7V)O9'E?7W-H;W)T7V%R9U]U;G5S960@
M(" @*'-H;W)T*2 @(" @(" @(" @('L@<VEN:R K/2!V86QU93L@?0T*=F]I
M9"!F;V]?7V)O9'E?7W-H;W)T7V%R9U]U<V5D(" @(" @*'-H;W)T(&%R9RD@
M(" @(" @('L@<VEN:R K/2!A<F<[('T-"G9O:60@9F]O7U]B;V1Y7U]S:&]R
M=%]R969?=6YU<V5D(" @("AC;VYS="!S:&]R="8I(" @("![('-I;FL@*ST@
M=F%L=64[('T-"G9O:60@9F]O7U]B;V1Y7U]S:&]R=%]R969?=7-E9" @(" @
M("AC;VYS="!S:&]R="8@87)G*2![('-I;FL@*ST@87)G.R!]#0H-"@T*=F]I
M9"!F;V]?7V)O9'E?7VEN=%]A<F=?=6YU<V5D(" @(" @*&EN="D@(" @(" @
M(" @(" @('L@<VEN:R K/2!V86QU93L@?0T*=F]I9"!F;V]?7V)O9'E?7VEN
M=%]A<F=?=7-E9" @(" @(" @*&EN="!A<F<I(" @(" @(" @('L@<VEN:R K
M/2!A<F<[('T-"G9O:60@9F]O7U]B;V1Y7U]I;G1?<F5F7W5N=7-E9" @(" @
M("AC;VYS="!I;G0F*2 @(" @("![('-I;FL@*ST@=F%L=64[('T-"G9O:60@
M9F]O7U]B;V1Y7U]I;G1?<F5F7W5S960@(" @(" @("AC;VYS="!I;G0F(&%R
M9RD@("![('-I;FL@*ST@87)G.R!]#0H-"@T*+R\@+2TM+2TM('=I=&@@;F\@
M8F]D>2 M+2TM+2T-"G9O:60@9F]O7U]N;U]B;V1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P-"B @87-S97)T("AF
M;V]?;F%M97,N<VEZ92@I(#T]('5S961?=&EM92YS:7IE*"DI.R!<#0H@(&ET
M97)?;F%M97,@/2!F:6YD("AF;V]?;F%M97,N8F5G:6XH*2P@9F]O7VYA;65S
M+F5N9"@I+" C>2D[(%P-"B @87-S97)T("AI=&5R7VYA;65S("$](&9O;U]N
M86UE<RYE;F0H*2D[(%P-"B @=7-E9%]T:6UE6V1I<W1A;F-E("AF;V]?;F%M
M97,N8F5G:6XH*2P@:71E<E]N86UE<RE=+G!U<VA?8F%C:R H*&5N9%]T:6UE
M("T@<W1A<G1?=&EM92DI#0H-"@T*(V1E9FEN92!-14%355)%7U=)5$A?05)'
M*&9O;RP@87)G=6UE;G0I($U%05-54D5?250@*&9O;RAA<F=U;65N="DL(&9O
M;RD-"B-D969I;F4@345!4U5215]7251(7TY/7T%21RAF;V\I($U%05-54D5?
M250@*&9O;R@I+"!F;V\I#0H-"B\O("TM+2TM+2TM+2TM+0T*=F]I9"!M96%S
M=7)E("AI;G0@;F]?;V9?<F5P971I=&EO;G,I#0I[#0IC;VYS="!C:&%R("!C
M:%]V86P@(#T@)V$G.PT*8V]N<W0@<VAO<G0@<VA?=F%L(" ]("=A)SL-"F-O
M;G-T(&EN=" @(&EN=%]V86P@/2 G82<[#0H-"@T*8VQO8VM?="!S=&%R=%]T
M:6UE.PT*8VQO8VM?="!E;F1?=&EM93L-"G9E8W1O<CQC;&]C:U]T/B!E;&%P
M<V5D7W1I;65?=F5C=#L-"@T*("!C97)R(#P\(")<="TM+3X@5&5S="TB(#P\
M("LK=&5S=%]N;R \/" B('-T87)T960B(#P\(&5N9&P[#0H@("\O("TM+2TM
M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2T-"B @345!4U5215]7251(7TY/
M7T%21R H9F]O7U]D=6UM>5]S=&%R="D[#0H-"B @+R\@+2TM+2TM+2TM+2TM
M+2TM+2TM+2TM+2TM+2TM+2TM+0T*("!-14%355)%7U=)5$A?3D]?05)'("AF
M;V]?7V)O9'E?7VYO7V%R9W,I.PT*#0H@($U%05-54D5?5TE42%]!4D<@*&9O
M;U]?8F]D>5]?8VAA<E]A<F=?=6YU<V5D+" @8VA?=F%L*3L-"B @345!4U52
M15]7251(7T%21R H9F]O7U]B;V1Y7U]C:&%R7V%R9U]U<V5D+" @("!C:%]V
M86PI.PT*("!-14%355)%7U=)5$A?05)'("AF;V]?7V)O9'E?7V-H87)?<F5F
M7W5N=7-E9"P@(&-H7W9A;"D[#0H@($U%05-54D5?5TE42%]!4D<@*&9O;U]?
M8F]D>5]?8VAA<E]R969?=7-E9"P@(" @8VA?=F%L*3L-"@T*("!-14%355)%
M7U=)5$A?05)'("AF;V]?7V)O9'E?7W-H;W)T7V%R9U]U;G5S960L('-H7W9A
M;"D[#0H@($U%05-54D5?5TE42%]!4D<@*&9O;U]?8F]D>5]?<VAO<G1?87)G
M7W5S960L(" @<VA?=F%L*3L-"B @345!4U5215]7251(7T%21R H9F]O7U]B
M;V1Y7U]S:&]R=%]R969?=6YU<V5D+"!S:%]V86PI.PT*("!-14%355)%7U=)
M5$A?05)'("AF;V]?7V)O9'E?7W-H;W)T7W)E9E]U<V5D+" @('-H7W9A;"D[
M#0H-"B @345!4U5215]7251(7T%21R H9F]O7U]B;V1Y7U]I;G1?87)G7W5N
M=7-E9"P@("!I;G1?=F%L*3L-"B @345!4U5215]7251(7T%21R H9F]O7U]B
M;V1Y7U]I;G1?87)G7W5S960L(" @("!I;G1?=F%L*3L-"B @345!4U5215]7
M251(7T%21R H9F]O7U]B;V1Y7U]I;G1?<F5F7W5N=7-E9"P@("!I;G1?=F%L
M*3L-"B @345!4U5215]7251(7T%21R H9F]O7U]B;V1Y7U]I;G1?<F5F7W5S
M960L(" @("!I;G1?=F%L*3L-"@T*(" O+R M+2TM+2TM+2TM+2TM+2TM+2TM
M+2TM+2TM+2TM+2TM#0H@($U%05-54D5?5TE42%].3U]!4D<@*&9O;U]?;F]?
M8F]D>5]?;F]?87)G<RD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B('-E8W,[(" B#0H@(" @(" @(" \/"!S971W
M*#0I#0H@(" @(" @(" \/"!S=&0Z.G)I9VAT#0H@(" @(" @(" \/" H*'1I
M8VMS("H@1D%#5$]2*2]N;W)M86QI>F%T;W)?=F%L=64I#0H@(" @(" @(" \
M/" B(&YO<FUA;&EZ960@=6YI=',I(@T*(" @(" @(" @/#P@96YD;#L-"B @
M?0T*#0I]#0H-"@T*+R\@+2TM+2TM+2TM+2TM#0II;G0@;6%I;BAI;G0@87)G
M8RP@8VAA<BHJ(&%R9W8I#0I[#0H-"B @8V5R<B \/"!E;F1L.PT*("!C97)R
M(#P\(")<=%E/55(@0T]-34%.1"!,24Y%(#H@(CL-"B @9F]R("AI;G0@:2 ]
M(# [(&D@/"!A<F=C.R!I*RLI(&-E<G(@/#P@87)G=EMI72 \/" B("([#0H@
M(&-E<G(@/#P@96YD;#L-"B @8V5R<B \/"!E;F1L.PT*#0H@(&EF("@A*&%R
M9V,@/CT@,RDI#0H@('L-"B @("!C97)R(#P\(")<=%5304=%(#H@(B \/"!A
M<F=V6S!=(#P\("(@(B \/" B/$YO+B!O9B!T97-T<SX@/$YO+B!O9B!R97!E
M=&ET:6]N<SXB(#P\(&5N9&P[#0H@(" @<F5T=7)N(#$[#0H@('T-"B @87-S
M97)T("AA<F=C(#X](#,I.PT*#0IC;VYS="!I;G0@;F]?;V9?=&5S=',@(" @
M(" @/2!A=&]I("AA<F=V6S%=*3L-"B @87-S97)T("AN;U]O9E]T97-T<R ^
M(# I.PT*#0IC;VYS="!I;G0@;F]?;V9?<F5P971I=&EO;G,@/2!A=&]I("AA
M<F=V6S)=*3L-"B @87-S97)T("AN;U]O9E]R97!E=&ET:6]N<R ^(# I.PT*
M#0H-"B @8V5R<B \/" B7'0C(R,@3G5M8F5R(&]F('1E<W1S(" @(" @(#H@
M(B \/"!N;U]O9E]T97-T<R \/"!E;F1L.PT*("!C97)R(#P\(")<=",C(R!.
M=6UB97(@;V8@<F5P971I=&EO;G,@.B B(#P\(&YO7V]F7W)E<&5T:71I;VYS
M(#P\(&5N9&P[#0H@(&-E<G(@/#P@(EQT(R,C($-,3T-+4U]015)?4T5#(" @
M(" @(" Z("(@/#P@0TQ/0TM37U!%4E]314,@/#P@96YD;#L-"B @8V5R<B \
M/"!E;F1L.PT*#0H-"B @+R\@+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM
M+2T-"B @9F]R("AI;G0@:2 ](# [(&D@/"!N;U]O9E]T97-T<SL@:2LK*2!M
M96%S=7)E("AN;U]O9E]R97!E=&ET:6]N<RD[#0H@('-H;W<@*&YO7V]F7W1E
@<W1S*3L-"@T*("!R971U<FX@*'-I;FLE,BD[#0I]#0H`
`
end



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



More information about the Cygwin mailing list