Re: setup.exe crashes upgrading (uninstalling) bash

2008-01-21 Thread Robert Jason Meerman
 On 2007-0820 06:07:47, Eric Blake wrote:
  According to wei on 8/19/2007 3:09 PM:
   It's a popup box from setup.exe. I also attached the cygcheck.out in the
   email
 
  And what did the popup say?  Nothing in your cygcheck output
  is jumping out at me as unusual, but without knowing what the
  crash said, I don't know the full picture.

 the original thread is a bit aged, this is why I'm starting a new one...

 the same problem was reported on 19th Aug by Xie Wei...

 he didn't solve the problem, he just reinstalled all of cygwin from scratch.
 this isn't really an option for me (or at least I want to be sure that I don't
 loose my users' data and the list of installed packages).
 I can debug here, if I have an executable with debug info.

I also had this problem, but I managed to solve it and wanted to share
my solution with the mailing list.

C:\cygwin\etc\setup\bash.lst.gz   was corrupt, opening it in WinRAR
and trying to view the file inside it resulted in an error about
Unexpected end of file. I deleted this file, ran setup.exe and just
kept hitting Next. Bash upgraded fine and setup exited normally.

HTH,
RobM

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



Re: setup.exe 2.573.2.2 is crashing in Windows XP AND Re: setup.exe crashes upgrading (uninstalling) bash *AND* Re: 1.5.25-7: Update using setup.exe hangs at Uninstalling... bash

2008-01-21 Thread Dave Korn
On 21 January 2008 17:21, Dave Korn wrote:



 tar tjf `find /win/c/cygwin.src/ -name 'bash-3.2.25-17.tar.bz2'` \
   | gzip  /etc/setup/bash.lst.gz
 
   Once you've done that, try zcat on it as before to verify that it's valid,
 then try again with setup.

  BTW, just deleting it and rerunning setup might also do the job, as at
http://cygwin.com/ml/cygwin/2008-01/msg00420.html
but sometimes it doesn't work, as at 
http://cygwin.com/ml/cygwin/2008-01/msg00354.html

  It's also possible that the tarball in the package directory might be
corrupted and this somehow causes the problem, in which case we would expect
to see an error message during the attempt to regenerate the lst.gz file.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: setup.exe crashes upgrading (uninstalling) bash AND Re: setup.exe 2.573.2.2 is crashing in Windows XP *AND* Re: 1.5.25-7: Update using setup.exe hangs at Uninstalling... bash

2008-01-21 Thread Dave Korn
On 21 January 2008 17:49, Robert Jason Meerman wrote:

 I also had this problem, but I managed to solve it and wanted to share
 my solution with the mailing list.
 
 C:\cygwin\etc\setup\bash.lst.gz   was corrupt, opening it in WinRAR
 and trying to view the file inside it resulted in an error about
 Unexpected end of file. I deleted this file, ran setup.exe and just
 kept hitting Next. Bash upgraded fine and setup exited normally.

  Hmm, we should really try and merge this thread with the other ongoing
threads about this exact same problem!  

  BTW, in case just deleting it doesn't work - and when I suggested it to Wei
http://cygwin.com/ml/cygwin/2008-01/msg00354.html
it didn't work, I just posted a recipe to regenerate the list file from the
tarball in your local package storage dir:
http://cygwin.com/ml/cygwin/2008-01/msg00419.html

  It's also possible that the tarball in the package directory might be
corrupted and this somehow causes the problem, in which case we would expect
to see an error message during the attempt to regenerate the lst.gz file.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: setup.exe crashes upgrading (uninstalling) bash

2007-09-17 Thread Mario Frasca
On 2007-0911 07:45:57, Brian Dessent wrote:
 It would help greatly if you could run one of them (ideally
 the latest) in gdb and get a backtrace at the faulting location.

hope this is what you meant...
greetings ang thanks,
Mario

Starting program: /cygdrive/c/Documents and Settings/Mario Frasca/Bureaublad/set
up-debug-2.578.exe 
[...]
warning: LOG: 2 Running preremove script for  bash
warning: LOG: 2 Uninstalling bash

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 4792.0x1490]
0x004ace23 in _Unwind_SjLj_RaiseException ()
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:77
77  /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream: No such file or
 directory.
in /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream
Current language:  auto; currently c++
(gdb) backtrace
#0  0x004ace23 in _Unwind_SjLj_RaiseException ()
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:77
#1  0x004a3635 in __cxa_throw ()
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:77
#2  0x004a57d8 in std::__throw_logic_error ()
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:77
#3  0x004d1c98 in std::string::_S_constructchar const* ()
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_vector.h:375
#4  0x004d4216 in std::basic_stringchar, std::char_traitschar, std::allocator
char ::basic_string ()
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/basic_string.h:198
#5  0x0040c3c6 in cygpackage::getfirstfile (this=0x3e9e78)
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ext/new_allocator.h:62
#6  0x004596fb in packageversion::getfirstfile (this=0x214ff38)
at ../package_version.cc:174
#7  0x00456e8b in packagemeta::uninstall (this=0x3e9d88)
at ../package_meta.cc:153
#8  0x00429b84 in Installer::uninstallOne (this=0x234fbc4, [EMAIL PROTECTED])
at ../install.cc:156
#9  0x004302c5 in do_install_reflector (p=0x214ff38)
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_iterator.h:614
#10 0x7c80b683 in KERNEL32!GetModuleFileNameA ()
   from /cygdrive/c/WINDOWS/system32/kernel32.dll
#11 0x0050a4b0 in std::__ioinit ()
#12 0x00100025 in ?? ()
#13 0x0022efb4 in ?? ()
#14 0x0050a4b0 in std::__ioinit ()
#15 0x7ffdd000 in ?? ()
#16 0x865bc600 in ?? ()
#17 0x0234ffc0 in ?? ()
#18 0x85a8a510 in ?? ()
#19 0x in ?? ()
#20 0x7c839aa8 in ValidateLocale ()
   from /cygdrive/c/WINDOWS/system32/kernel32.dll
#21 0x7c80b690 in KERNEL32!GetModuleFileNameA ()
   from /cygdrive/c/WINDOWS/system32/kernel32.dll
#22 0x in ?? ()

-- 
Le soldat et le prêtre, ce sont les pires ennemis de
 l'humanité, car si le soldat tue, le prêtre ment. 
(Victor Hugo

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



Re: setup.exe crashes upgrading (uninstalling) bash

2007-09-11 Thread Brian Dessent
Mario Frasca wrote:

 what do you suggest?
 I already tried to reboot the system and do the update as first thing,
 but setup.exe crashes all the same...  by the way, I'm using Setup.exe
 version 2.573.2.2
 
 if I say I want to debug the program ([Fouten opsporen]), I get here:
 
  004AC7CD  lea esi,[esi]
  004AC7D0  mov eax,dword ptr [ebp-14h]
  004AC7D3  mov eax,dword ptr [eax]
  004AC7D5  mov dword ptr [ebp-14h],eax
  004AC7D8  xor ecx,ecx
  004AC7DA  testeax,eax
  004AC7DC  mov edx,5
  004AC7E1  je  004AC7E8
 004AC7E3  mov ecx,dword ptr [eax+18h]

There are copies of setup with debug info included at the snapshots
site: http://cygwin.com/setup/snapshots/.  It would help greatly if
you could run one of them (ideally the latest) in gdb and get a
backtrace at the faulting location.  You could also attach gdb after the
fault has happened while the error dialog is on the screen.

I tried running addr2line on the above but it seems to return nonsense,
so I think we'd need more context of the call stack.

Brian

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



setup.exe crashes upgrading (uninstalling) bash

2007-09-10 Thread Mario Frasca
On 2007-0820 06:07:47, Eric Blake wrote:
 According to wei on 8/19/2007 3:09 PM:
  It's a popup box from setup.exe. I also attached the cygcheck.out in the
  email
 
 And what did the popup say?  Nothing in your cygcheck output
 is jumping out at me as unusual, but without knowing what the
 crash said, I don't know the full picture.

the original thread is a bit aged, this is why I'm starting a new one...

the same problem was reported on 19th Aug by Xie Wei...

he didn't solve the problem, he just reinstalled all of cygwin from scratch.
this isn't really an option for me (or at least I want to be sure that I don't
loose my users' data and the list of installed packages).
I can debug here, if I have an executable with debug info.

Eric, you were asking for more literal information, I hope this is what you 
mean:

start cygwin setup,
follow all options until I get at 'select packages',
click on [view] until I get the partial view,
only package to update is bash,
from current 3.2.17-15 to new 3.2.25-16,
click on [volgende] ([next] but in dutch),

next is this mostly dutch popup (I work for a dutch company):

text in window decoration: 
 setup.exe

white upper frame saying:
 In setup.exe is een fout opgetreden en moet worden
 afgesloten. Onze excuses voor dit ongemak.

on the right hand side there is the icon of setup.exe.

then the lower part of the popup says:
 U was bezig met een bewerking. Deze gegevens zijn mogelijk verloren
 gegaan.

 Vertel Microsoft over dit probleem.
 We have created an error report that you can send to us.  We will treat
 this report as confidential and anonymous.

 Als u de inhoud van dit foutenrapport wilt weergeven, _klikt u hier._

 [Fouten opsporen]   [Rapport verzenden] [Niet verzenden]

two files are generated at the same time, put in my Local\ Settings/Temp
directory: 
  -rw-rw-rw-   1 Mario Frasca root   1280643 09-07 09:09 9227207.dmp
  -rw-rw-rw-   1 Mario Frasca root  8742 09-07 09:09 707a_appcompat.txt

they are removed when I click on [Niet verzenden].

what do you suggest?
I already tried to reboot the system and do the update as first thing,
but setup.exe crashes all the same...  by the way, I'm using Setup.exe
version 2.573.2.2

if I say I want to debug the program ([Fouten opsporen]), I get here:

 004AC7CD  lea esi,[esi] 
 004AC7D0  mov eax,dword ptr [ebp-14h] 
 004AC7D3  mov eax,dword ptr [eax] 
 004AC7D5  mov dword ptr [ebp-14h],eax 
 004AC7D8  xor ecx,ecx 
 004AC7DA  testeax,eax 
 004AC7DC  mov edx,5 
 004AC7E1  je  004AC7E8 
004AC7E3  mov ecx,dword ptr [eax+18h] 

thanks,
Mario




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



Re: setup.exe crashes upgrading (uninstalling) bash

2007-09-10 Thread Morgan Gangwere
it seems it vista... if it IS, then right-click setup.exe, run as administrator.

-- 
Morgan gangwere

Space does not reflect society, it expresses it. -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.

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