Subject: Re: setup.exe crashes upgrading (uninstalling) bash
From: Mario Frasca <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Mon, 17 Sep 2007 10:17:47 +0200
List-Id: <cygwin.cygwin.com>

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_construct<char const*> ()
    at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_vector.h:375
#4  0x004d4216 in std::basic_string<char, std::char_traits<char>, 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, pkg=@0x3e9d88)
    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 0xffffffff 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 0x00000000 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/