Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <06e501c1a2c1$3167ab30$0200a8c0@lifelesswks> From: "Robert Collins" To: "Corinna Vinschen" , References: <022e01c1a1b6$da6c6060$0200a8c0 AT lifelesswks> <20020121221854 DOT A23034 AT cygbert DOT vinschen DOT de> Subject: Re: setup crashing (attn Corinna) Date: Tue, 22 Jan 2002 08:18:37 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 21 Jan 2002 21:20:31.0421 (UTC) FILETIME=[74BFF6D0:01C1A2C1] Try setting MC_DEFS=-DDEBUG in Makefile.in and do a make clean; make That should get an earlier warning. Rob === ----- Original Message ----- From: "Corinna Vinschen" To: Sent: Tuesday, January 22, 2002 8:18 AM Subject: Re: setup crashing (attn Corinna) > On Mon, Jan 21, 2002 at 12:32:05AM +1100, Robert Collins wrote: > > Corinna, > > > > Something seriously funny was going on in the C++/C runtime interaction. > > Rather than try and explain it, I've linked in a recent version of Doug > > Lea's malloc, which also had a couple of quirks, that I've (apparently) > > fixed. > > > > If you could see if the problematic site still affects you that would be > > great. (It doesn't affect me anymore). > > > > I did find some oddities, but fixing them didn't resolve the issue, > > which is why the new malloc... > > > > Even once a malloc strace showed no double-frees, not delete of new[] or > > malloc'd data etc etc, it would still have that HEAP error. *shrug*. > > Unfortunately I have still the SEGV. It doesn't happen anymore > when accessing gd.tuwien.ac.at. > > But it happens when I'm accessing the private mirror site I'm using > usually. I've attached the gdb session. > > Corinna > > (gdb) r > Starting program: /home/corinna/./setup.exe > warning: LOG: 2 2002/01/21 22:13:12 Starting cygwin install, version 2.177 > warning: LOG: 0 Current Directory: D:\home\corinna > warning: LOG: 2 2002/01/21 22:13:12 Command line parameters > > warning: LOG: 2 2002/01/21 22:13:12 0 - 'D:\home\corinna\setup.exe' > > warning: LOG: 2 2002/01/21 22:13:12 1 parameters passed > > warning: LOG: 0 source: network install > warning: LOG: 0 root: C:/cygwin binary system > warning: LOG: 0 Selected local directory: C:\cygwin\install > warning: LOG: 0 net: Direct > warning: LOG: 1 get_url_to_membuf http://sources.redhat.com/cygwin/mirrors.lst > warning: LOG: 0 site: ftp://gateway/cygwin > warning: LOG: 1 get_url_to_membuf ftp://gateway/cygwin/setup.ini > warning: LOG: 1 ftp > 220-Hello compaq.vinschen.de, there are 0 (max 3) users logged in at the moment. > warning: LOG: 1 ftp > 220-Local time is: Mon Jan 21 22:13:24 2002 > warning: LOG: 1 ftp > 220- > warning: LOG: 1 ftp > 220-Please use your email address as password and NOT silly words > warning: LOG: 1 ftp > 220-like "mozilla@" or "WWWuser@", as some Web browsers do! > warning: LOG: 1 ftp > 220- > warning: LOG: 1 ftp > 220-If you have any questions concerning this ftp archive or would > warning: LOG: 1 ftp > 220-like to announce your uploads, please send a mail to the ftp-admin > warning: LOG: 1 ftp > 220-of this server: mh AT mike DOT franken DOT de > warning: LOG: 1 ftp > 220- > warning: LOG: 1 ftp > 220-All transfers are logged. If you don't like this, disconnect now. > warning: LOG: 1 ftp > 220- > warning: LOG: 1 ftp > 220 aqua.hirmke.de FTP server (Version wu-2.6.0(1) Wed Nov28 18:00:59 GMT 2001) ready. > warning: LOG: 1 ftp > 331 Guest login ok, send your complete e-mail address as password. > warning: LOG: 1 ftp > 230 Guest login ok, access restrictions apply. > warning: LOG: 1 ftp > 200 Type set to I. > warning: LOG: 1 ftp > 227 Entering Passive Mode (192,168,129,5,131,71) > warning: LOG: 1 ftp > 150 Opening BINARY mode data connection for /cygwin/setup. ini (52399 bytes). > > Program received signal SIGSEGV, Segmentation fault. > [Switching to thread 3224.0x65c] > 0x00425b55 in malloc (bytes=40) > at /home/corinna/src/cygwin/src/winsup/cinstall/dlmalloc.c:3394 > 3394 fwd->bk = victim; > (gdb) p fwd > $1 = 0x0 > (gdb) >