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: Bug: setup.exe crashes on Windows Server 2000


Yes, exactly the same crash:

"The exception Integer division by zero"

The debugger output follows:

004A74A2  mov         dword ptr [esp+4],edx
004A74A6  mov         dword ptr [esp],1
004A74AD  call        eax
004A74AF  leave
004A74B0  ret
004A74B1  jmp         004A74C0
004A74B3  nop
004A74B4  nop
004A74B5  nop
004A74B6  nop
004A74B7  nop
004A74B8  nop
004A74B9  nop
004A74BA  nop
004A74BB  nop
004A74BC  nop
004A74BD  nop
004A74BE  nop
004A74BF  nop
004A74C0  push        ebp
004A74C1  mov         ebp,esp
004A74C3  push        edi
004A74C4  lea         edi,[ebp-10h]
004A74C7  push        esi
004A74C8  push        ebx
004A74C9  sub         esp,1Ch
004A74CC  mov         eax,dword ptr ds:[0051A4D0h]
004A74D1  mov         esi,dword ptr [ebp+0Ch]
004A74D4  test        eax,eax
004A74D6  je          004A7539
004A74D8  mov         ecx,dword ptr [eax+30h]
004A74DB  test        ecx,ecx
004A74DD  js          004A754A
004A74DF  mov         edx,dword ptr [eax+30h]
004A74E2  test        edx,edx
004A74E4  jne         004A755B
004A74E6  mov         eax,dword ptr [eax+28h]
004A74E9  mov         dword ptr [edi],eax
004A74EB  mov         eax,dword ptr [ebp-10h]
004A74EE  jmp         004A750B
004A74F0  mov         dword ptr [esp+4],esi
004A74F4  mov         dword ptr [esp],edi
004A74F7  call        dword ptr [ebp+8]
004A74FA  test        eax,eax
004A74FC  jne         004A7522
004A74FE  cmp         ebx,5
004A7501  je          004A752F
004A7503  mov         eax,dword ptr [ebp-10h]
004A7506  mov         eax,dword ptr [eax]
004A7508  mov         dword ptr [ebp-10h],eax
004A750B  cmp         eax,1
004A750E  sbb         ebx,ebx
004A7510  and         ebx,5
004A7513  setne       al
004A7516  xor         edx,edx
004A7518  cmp         ebx,5
004A751B  setne       dl
004A751E  test        eax,edx
004A7520  je          004A74F0
004A7522  lea         esp,[ebp-0Ch]
004A7525  mov         eax,3
004A752A  pop         ebx
004A752B  pop         esi
004A752C  pop         edi
004A752D  pop         ebp
004A752E  ret
004A752F  lea         esp,[ebp-0Ch]
004A7532  mov         eax,ebx
004A7534  pop         ebx
004A7535  pop         esi
004A7536  pop         edi
004A7537  pop         ebp
004A7538  ret
004A7539  call        004A77A0
004A753E  mov         eax,dword ptr ds:[0051A4D0h]
004A7543  mov         ecx,dword ptr [eax+30h]
004A7546  test        ecx,ecx
004A7548  jns         004A74DF
004A754A  call        004A6A90
004A754F  mov         eax,dword ptr ds:[0051A4D0h]
004A7554  mov         edx,dword ptr [eax+30h]
004A7557  test        edx,edx
004A7559  je          004A74E6
004A755B  mov         ebx,dword ptr [eax+2Ch]
004A755E  call        dword ptr ds:[51B808h]
004A7564  mov         dword ptr [ebp-14h],eax
004A7567  mov         dword ptr [esp],ebx
004A756A  call        dword ptr ds:[51B89Ch]
004A7570  mov         ebx,eax
004A7572  mov         eax,dword ptr [ebp-14h]
004A7575  sub         esp,4
004A7578  mov         dword ptr [esp],eax
004A757B  call        dword ptr ds:[51B884h]
004A7581  mov         eax,ebx
004A7583  sub         esp,4
004A7586  jmp         004A74E9
004A758B  nop
004A758C  nop
004A758D  nop
004A758E  nop
004A758F  nop
004A7590  push        ecx
004A7591  mov         ecx,esp
004A7593  add         ecx,8
004A7596  cmp         eax,1000h
004A759B  jb          004A75AD
004A759D  sub         ecx,1000h
004A75A3  or          dword ptr [ecx],0
004A75A6  sub         eax,1000h
004A75AB  jmp         004A7596
004A75AD  sub         ecx,eax
004A75AF  or          dword ptr [ecx],0
004A75B2  mov         eax,esp
004A75B4  mov         esp,ecx
004A75B6  mov         ecx,dword ptr [eax]
004A75B8  mov         eax,dword ptr [eax+4]
004A75BB  jmp         eax
004A75BD  nop
004A75BE  nop
004A75BF  nop
004A75C0  push        ebp
004A75C1  mov         ebp,esp
004A75C3  sub         esp,1Ch
004A75C6  mov         dword ptr [ebp-0Ch],ebx
004A75C9  mov         edx,dword ptr [ebp+14h]
004A75CC  mov         ecx,dword ptr [ebp+8]
004A75CF  mov         dword ptr [ebp-8],esi
004A75D2  mov         eax,dword ptr [ebp+10h]
004A75D5  test        edx,edx
004A75D7  mov         dword ptr [ebp-4],edi
004A75DA  mov         ebx,dword ptr [ebp+0Ch]
004A75DD  mov         esi,eax
004A75DF  mov         dword ptr [ebp-10h],ecx
004A75E2  jne         004A7610
004A75E4  cmp         eax,ebx
004A75E6  jbe         004A7642
004A75E8  mov         eax,ecx
004A75EA  mov         edx,ebx
004A75EC  div         eax,esi
004A75EE  mov         ecx,eax
004A75F0  mov         dword ptr [ebp-14h],0
004A75F7  mov         edx,dword ptr [ebp-14h]
004A75FA  mov         eax,ecx
004A75FC  mov         ebx,dword ptr [ebp-0Ch]
004A75FF  mov         esi,dword ptr [ebp-8]
004A7602  mov         edi,dword ptr [ebp-4]
004A7605  mov         esp,ebp
004A7607  pop         ebp
004A7608  ret
004A7609  lea         esi,[esi]
004A7610  mov         dword ptr [ebp-14h],0
004A7617  xor         ecx,ecx
004A7619  cmp         edx,ebx
004A761B  ja          004A75F7
004A761D  bsr         eax,edx
004A7620  xor         eax,1Fh
004A7623  mov         dword ptr [ebp-18h],eax
004A7626  jne         004A7675
004A7628  cmp         ebx,edx
004A762A  mov         ecx,1
004A762F  seta        al
004A7632  cmp         dword ptr [ebp-10h],esi
004A7635  setae       dl
004A7638  or          eax,edx
004A763A  test        al,1
004A763C  jne         004A75F0
004A763E  xor         ecx,ecx
004A7640  jmp         004A75F0
004A7642  test        eax,eax
004A7644  jne         004A7653
004A7646  mov         eax,1
004A764B  xor         ecx,ecx
004A764D  xor         edx,edx
004A764F  div         eax,ecx
<<-------------- This is where the breakpoint occurred.

On 3/26/07, Igor Peshansky <pechtcha@cs.nyu.edu> wrote:
On Mon, 26 Mar 2007, Charles Hyder wrote:

> Hi, fellows,
>
> I'm trying to install Cygwin on Windows Server 2000. I've downloaded the
> latest version of Cygwin's setup.exe, started it, got all the way to the
> point where downloading of packages begins, but there i get "Integer
> division by zero" crash. No packages are created in the downloads dir.
> Tried setup.exe with "Install from local dir" (I have another
> installation under XP): same crash. I know, 2000 Server is not on
> everybody's mind anymore, but I do need to install Cygwin there, so help
> with fixing the bug would be appreciated.

Does the latest snapshot from <http://cygwin.com/setup/snapshots/> also
crash?
        Igor
--
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_            pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_            Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'           old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"... -- Janis Joplin


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


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