public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* setup crashing (attn Corinna)
@ 2002-01-20  8:28 Robert Collins
  2002-01-20 15:56 ` Robert Collins
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Robert Collins @ 2002-01-20  8:28 UTC (permalink / raw)
  To: cygwin-apps

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*.

Rob

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-20  8:28 setup crashing (attn Corinna) Robert Collins
@ 2002-01-20 15:56 ` Robert Collins
  2002-01-20 23:42 ` egor duda
  2002-01-21 13:28 ` Corinna Vinschen
  2 siblings, 0 replies; 21+ messages in thread
From: Robert Collins @ 2002-01-20 15:56 UTC (permalink / raw)
  To: cygwin-apps

Oh, nearly forgot, theres' a minor w32api change as well needed to build
this.

Rob
===
----- Original Message -----
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: <cygwin-apps@sources.redhat.com>
Sent: Monday, January 21, 2002 12:32 AM
Subject: setup crashing (attn Corinna)


> 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*.
>
> Rob
>
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-20  8:28 setup crashing (attn Corinna) Robert Collins
  2002-01-20 15:56 ` Robert Collins
@ 2002-01-20 23:42 ` egor duda
  2002-01-20 23:46   ` Robert Collins
  2002-01-21 13:28 ` Corinna Vinschen
  2 siblings, 1 reply; 21+ messages in thread
From: egor duda @ 2002-01-20 23:42 UTC (permalink / raw)
  To: Robert Collins; +Cc: cygwin-apps

Hi!

Sunday, 20 January, 2002 Robert Collins robert.collins@itdomain.com.au wrote:

RC> Something seriously funny was going on in the C++/C runtime interaction.
RC> Rather than try and explain it, I've linked in a recent version of Doug
RC> Lea's malloc, which also had a couple of quirks, that I've (apparently)
RC> fixed.

why not use an instance of dlmalloc.c from winsup/cygwin/ directory? i
understand that you may want to keep cinstall/ self-sufficient, but
having two copies of the file is also, i believe, a bad thing (tm).

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-20 23:42 ` egor duda
@ 2002-01-20 23:46   ` Robert Collins
  2002-01-23  3:35     ` Gary R. Van Sickle
  0 siblings, 1 reply; 21+ messages in thread
From: Robert Collins @ 2002-01-20 23:46 UTC (permalink / raw)
  To: egor duda; +Cc: cygwin-apps


===
----- Original Message -----
From: "egor duda" <deo@logos-m.ru>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <cygwin-apps@sources.redhat.com>
Sent: Monday, January 21, 2002 6:19 PM
Subject: Re: setup crashing (attn Corinna)


> Hi!
>
> Sunday, 20 January, 2002 Robert Collins robert.collins@itdomain.com.au
wrote:
>
> RC> Something seriously funny was going on in the C++/C runtime
interaction.
> RC> Rather than try and explain it, I've linked in a recent version of
Doug
> RC> Lea's malloc, which also had a couple of quirks, that I've
(apparently)
> RC> fixed.
>
> why not use an instance of dlmalloc.c from winsup/cygwin/ directory? i
> understand that you may want to keep cinstall/ self-sufficient, but
> having two copies of the file is also, i believe, a bad thing (tm).

Doh!. Whack! Whack!. Naughty Robert.

Seriously though 2.7.0 has much improved win32 support, including
mmaping() of large areas, and an improved sbrk() emulation - contributed
by http://www.genesys-e.de/jwalter/ I believe.

Also, as cinstall and cygwin are not in lockstep with each other, I
think in this case I prefer having a separate file.

Rob

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-20  8:28 setup crashing (attn Corinna) Robert Collins
  2002-01-20 15:56 ` Robert Collins
  2002-01-20 23:42 ` egor duda
@ 2002-01-21 13:28 ` Corinna Vinschen
  2002-01-21 13:31   ` Robert Collins
  2002-01-21 14:19   ` Robert Collins
  2 siblings, 2 replies; 21+ messages in thread
From: Corinna Vinschen @ 2002-01-21 13:28 UTC (permalink / raw)
  To: cygwin-apps

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@mike.franken.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)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-21 13:28 ` Corinna Vinschen
@ 2002-01-21 13:31   ` Robert Collins
  2002-01-21 13:52     ` Robert Collins
  2002-01-21 14:19   ` Robert Collins
  1 sibling, 1 reply; 21+ messages in thread
From: Robert Collins @ 2002-01-21 13:31 UTC (permalink / raw)
  To: Corinna Vinschen, cygwin-apps

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" <cygwin-apps@cygwin.com>
To: <cygwin-apps@sources.redhat.com>
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@mike.franken.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)
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-21 13:31   ` Robert Collins
@ 2002-01-21 13:52     ` Robert Collins
  0 siblings, 0 replies; 21+ messages in thread
From: Robert Collins @ 2002-01-21 13:52 UTC (permalink / raw)
  To: Corinna Vinschen, cygwin-apps

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" <cygwin-apps@cygwin.com>
To: <cygwin-apps@sources.redhat.com>
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@mike.franken.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)
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-21 13:28 ` Corinna Vinschen
  2002-01-21 13:31   ` Robert Collins
@ 2002-01-21 14:19   ` Robert Collins
  2002-01-21 14:21     ` Robert Collins
  2002-01-21 14:39     ` Corinna Vinschen
  1 sibling, 2 replies; 21+ messages in thread
From: Robert Collins @ 2002-01-21 14:19 UTC (permalink / raw)
  To: Corinna Vinschen, cygwin-apps


===
----- Original Message ----- 
From: "Corinna Vinschen" <cygwin-apps@cygwin.com>
Subject: Re: setup crashing (attn Corinna)

Oh, and in the gdb output plesae include:
bt full,
info threads

Rob

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-21 14:19   ` Robert Collins
@ 2002-01-21 14:21     ` Robert Collins
  2002-01-21 14:39     ` Corinna Vinschen
  1 sibling, 0 replies; 21+ messages in thread
From: Robert Collins @ 2002-01-21 14:21 UTC (permalink / raw)
  To: Corinna Vinschen, cygwin-apps


===
----- Original Message ----- 
From: "Corinna Vinschen" <cygwin-apps@cygwin.com>
Subject: Re: setup crashing (attn Corinna)

Oh, and in the gdb output plesae include:
bt full,
info threads

Rob

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-21 14:19   ` Robert Collins
  2002-01-21 14:21     ` Robert Collins
@ 2002-01-21 14:39     ` Corinna Vinschen
  2002-01-21 14:40       ` Robert Collins
  2002-01-21 15:14       ` Robert Collins
  1 sibling, 2 replies; 21+ messages in thread
From: Corinna Vinschen @ 2002-01-21 14:39 UTC (permalink / raw)
  To: cygapp

On Tue, Jan 22, 2002 at 08:26:35AM +1100, Robert Collins wrote:
> 
> ===
> ----- Original Message ----- 
> From: "Corinna Vinschen" <cygwin-apps@cygwin.com>
> Subject: Re: setup crashing (attn Corinna)
> 
> Oh, and in the gdb output plesae include:
> bt full,
> info threads


Urgh, I'm getting a dialog now (shortened):

  Microsoft Visual C++ Runtime Library
  +-----------------------------------------
  | Assertion failed!
  | File: dlmalloc.c
  | Line: 2879
  |
  | Expression: (old_top == initial_top(av) && old_size == 0) ||
  |             ((unsigned long) (old_size) >= MINSIZE &&
  |             prev_inuse(old_top))
  | [...]
  | +-----+ +-----+ +------+
  | |Abort| |Retry| |Ignore|
  | +-----+ +-----+ +------+
  +------------------------------------------

And then, after "Retry":

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to thread 404.0xefc]
0x77c33d8c in _system_dlls__ ()
(gdb) thread 1
[Switching to thread 1 (thread 404.0x5c0)]#0  0x7ffe0304 in ?? ()
(gdb) bt full
#0  0x7ffe0304 in ?? ()
No symbol table info available.
#1  0x7736a894 in _system_dlls__ ()
No symbol table info available.
#2  0x77359a66 in _system_dlls__ ()
No symbol table info available.
#3  0x00420d0c in PropSheet::Create (this=0x23f9a0, Parent=0x0,
    Style=315555840)
    at /home/corinna/src/cygwin/src/winsup/cinstall/propsheet.cc:192
        this = Cannot access memory at address 0x61540000
(gdb) bt
#0  0x7ffe0304 in ?? ()
#1  0x7736a894 in _system_dlls__ ()
#2  0x77359a66 in _system_dlls__ ()
#3  0x00420d0c in PropSheet::Create (this=0x23f9a0, Parent=0x0,
    Style=315555840)
    at /home/corinna/src/cygwin/src/winsup/cinstall/propsheet.cc:192
#4  0x00419150 in WinMain (h=0x400000, hPrevInstance=0x0,
    command_line=0x252372 "", cmd_show=10)
    at /home/corinna/src/cygwin/src/winsup/cinstall/main.cc:211
#5  0x004493f5 in main (argc=1, argv=0x7e2848, __p__environ=0x7e2d98)
    at ../../../../src/winsup/mingw/main.c:90
(gdb) info threads
  3 thread 404.0xefc  0x77c33d8c in _system_dlls__ ()
* 1 thread 404.0x5c0  0x7ffe0304 in ?? ()
(gdb)


Corinna

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-21 14:39     ` Corinna Vinschen
@ 2002-01-21 14:40       ` Robert Collins
  2002-01-21 15:09         ` Corinna Vinschen
  2002-01-21 15:14       ` Robert Collins
  1 sibling, 1 reply; 21+ messages in thread
From: Robert Collins @ 2002-01-21 14:40 UTC (permalink / raw)
  To: Corinna Vinschen


===
----- Original Message ----- 
From: "Corinna Vinschen" <cygwin-apps@cygwin.com>
> #3  0x00420d0c in PropSheet::Create (this=0x23f9a0, Parent=0x0,
>     Style=315555840)
>     at /home/corinna/src/cygwin/src/winsup/cinstall/propsheet.cc:192
>         this = Cannot access memory at address 0x61540000

Ok, in frame 3, can you do a 
info local
print p

Thanks,
Rob

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-21 14:40       ` Robert Collins
@ 2002-01-21 15:09         ` Corinna Vinschen
  0 siblings, 0 replies; 21+ messages in thread
From: Corinna Vinschen @ 2002-01-21 15:09 UTC (permalink / raw)
  To: cygapp

On Tue, Jan 22, 2002 at 09:19:56AM +1100, Robert Collins wrote:
> 
> ===
> ----- Original Message ----- 
> From: "Corinna Vinschen" <cygwin-apps@cygwin.com>
> > #3  0x00420d0c in PropSheet::Create (this=0x23f9a0, Parent=0x0,
> >     Style=315555840)
> >     at /home/corinna/src/cygwin/src/winsup/cinstall/propsheet.cc:192
> >         this = Cannot access memory at address 0x61540000
> 
> Ok, in frame 3, can you do a 
> info local
> print p

(gdb) info local
this = Cannot access memory at address 0x61540000
(gdb) print p
$1 = {dwSize = 40, dwFlags = 416, hwndParent = 0x0, hInstance = 0x400000, {
    hIcon = 0x40ba84, pszIcon = 0x40ba84 "U\211å\203ì\b\213E\f=\022\004"},
  pszCaption = 0x71 <Address 0x71 out of bounds>, nPages = 9, {nStartPage = 0,
    pStartPage = 0x0}, {ppsp = 0xc60188, phpage = 0xc60188},
  pfnCallback = 0x420b58 <PropSheetProc(HWND__ *, unsigned int, long)>}

Corinna

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-21 14:39     ` Corinna Vinschen
  2002-01-21 14:40       ` Robert Collins
@ 2002-01-21 15:14       ` Robert Collins
  2002-01-21 17:48         ` Corinna Vinschen
  1 sibling, 1 reply; 21+ messages in thread
From: Robert Collins @ 2002-01-21 15:14 UTC (permalink / raw)
  To: Corinna Vinschen

Actually we might be in the wrong thread. Try BT full on the other
thread please.

Rob
===
----- Original Message -----
From: "Corinna Vinschen" <cygwin-apps@cygwin.com>
To: "cygapp" <cygwin-apps@cygwin.com>
Sent: Tuesday, January 22, 2002 9:19 AM
Subject: Re: setup crashing (attn Corinna)


> On Tue, Jan 22, 2002 at 08:26:35AM +1100, Robert Collins wrote:
> >
> > ===
> > ----- Original Message -----
> > From: "Corinna Vinschen" <cygwin-apps@cygwin.com>
> > Subject: Re: setup crashing (attn Corinna)
> >
> > Oh, and in the gdb output plesae include:
> > bt full,
> > info threads
>
>
> Urgh, I'm getting a dialog now (shortened):
>
>   Microsoft Visual C++ Runtime Library
>   +-----------------------------------------
>   | Assertion failed!
>   | File: dlmalloc.c
>   | Line: 2879
>   |
>   | Expression: (old_top == initial_top(av) && old_size == 0) ||
>   |             ((unsigned long) (old_size) >= MINSIZE &&
>   |             prev_inuse(old_top))
>   | [...]
>   | +-----+ +-----+ +------+
>   | |Abort| |Retry| |Ignore|
>   | +-----+ +-----+ +------+
>   +------------------------------------------
>
> And then, after "Retry":
>
> Program received signal SIGTRAP, Trace/breakpoint trap.
> [Switching to thread 404.0xefc]
> 0x77c33d8c in _system_dlls__ ()
> (gdb) thread 1
> [Switching to thread 1 (thread 404.0x5c0)]#0  0x7ffe0304 in ?? ()
> (gdb) bt full
> #0  0x7ffe0304 in ?? ()
> No symbol table info available.
> #1  0x7736a894 in _system_dlls__ ()
> No symbol table info available.
> #2  0x77359a66 in _system_dlls__ ()
> No symbol table info available.
> #3  0x00420d0c in PropSheet::Create (this=0x23f9a0, Parent=0x0,
>     Style=315555840)
>     at /home/corinna/src/cygwin/src/winsup/cinstall/propsheet.cc:192
>         this = Cannot access memory at address 0x61540000
> (gdb) bt
> #0  0x7ffe0304 in ?? ()
> #1  0x7736a894 in _system_dlls__ ()
> #2  0x77359a66 in _system_dlls__ ()
> #3  0x00420d0c in PropSheet::Create (this=0x23f9a0, Parent=0x0,
>     Style=315555840)
>     at /home/corinna/src/cygwin/src/winsup/cinstall/propsheet.cc:192
> #4  0x00419150 in WinMain (h=0x400000, hPrevInstance=0x0,
>     command_line=0x252372 "", cmd_show=10)
>     at /home/corinna/src/cygwin/src/winsup/cinstall/main.cc:211
> #5  0x004493f5 in main (argc=1, argv=0x7e2848, __p__environ=0x7e2d98)
>     at ../../../../src/winsup/mingw/main.c:90
> (gdb) info threads
>   3 thread 404.0xefc  0x77c33d8c in _system_dlls__ ()
> * 1 thread 404.0x5c0  0x7ffe0304 in ?? ()
> (gdb)
>
>
> Corinna
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-21 15:14       ` Robert Collins
@ 2002-01-21 17:48         ` Corinna Vinschen
  2002-01-21 17:51           ` Robert Collins
  0 siblings, 1 reply; 21+ messages in thread
From: Corinna Vinschen @ 2002-01-21 17:48 UTC (permalink / raw)
  To: cygapp

On Tue, Jan 22, 2002 at 09:25:53AM +1100, Robert Collins wrote:
> Actually we might be in the wrong thread. Try BT full on the other
> thread please.

(gdb) thread 3
[Switching to thread 3 (thread 404.0xefc)]#0  0x77c33d8c in _system_dlls__ ()
(gdb) bt full
#0  0x77c33d8c in _system_dlls__ ()
No symbol table info available.
Cannot access memory at address 0x61540000

Corinna

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-21 17:48         ` Corinna Vinschen
@ 2002-01-21 17:51           ` Robert Collins
  2002-01-21 18:57             ` Corinna Vinschen
  0 siblings, 1 reply; 21+ messages in thread
From: Robert Collins @ 2002-01-21 17:51 UTC (permalink / raw)
  To: Corinna Vinschen

Ouchies. I was trying to see where the dlmalloc call that is faulting
was occuring.

What OS is this on?

Rob
===
----- Original Message -----
From: "Corinna Vinschen" <cygwin-apps@cygwin.com>
To: "cygapp" <cygwin-apps@cygwin.com>
Sent: Tuesday, January 22, 2002 9:39 AM
Subject: Re: setup crashing (attn Corinna)


> On Tue, Jan 22, 2002 at 09:25:53AM +1100, Robert Collins wrote:
> > Actually we might be in the wrong thread. Try BT full on the other
> > thread please.
>
> (gdb) thread 3
> [Switching to thread 3 (thread 404.0xefc)]#0  0x77c33d8c in
_system_dlls__ ()
> (gdb) bt full
> #0  0x77c33d8c in _system_dlls__ ()
> No symbol table info available.
> Cannot access memory at address 0x61540000
>
> Corinna
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-21 17:51           ` Robert Collins
@ 2002-01-21 18:57             ` Corinna Vinschen
  2002-01-21 19:22               ` Robert Collins
  0 siblings, 1 reply; 21+ messages in thread
From: Corinna Vinschen @ 2002-01-21 18:57 UTC (permalink / raw)
  To: cygapp

On Tue, Jan 22, 2002 at 09:38:24AM +1100, Robert Collins wrote:
> Ouchies. I was trying to see where the dlmalloc call that is faulting
> was occuring.
> 
> What OS is this on?

Windows XP Professional Ver 5.1 Build 2600

Corinna

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-21 18:57             ` Corinna Vinschen
@ 2002-01-21 19:22               ` Robert Collins
  0 siblings, 0 replies; 21+ messages in thread
From: Robert Collins @ 2002-01-21 19:22 UTC (permalink / raw)
  To: Corinna Vinschen

Ouch, and more ouch. I'm running the same.

Hmmm. I'll think on this some more.

Rob
===
----- Original Message -----
From: "Corinna Vinschen" <cygwin-apps@cygwin.com>
To: "cygapp" <cygwin-apps@cygwin.com>
Sent: Tuesday, January 22, 2002 10:09 AM
Subject: Re: setup crashing (attn Corinna)


> On Tue, Jan 22, 2002 at 09:38:24AM +1100, Robert Collins wrote:
> > Ouchies. I was trying to see where the dlmalloc call that is
faulting
> > was occuring.
> >
> > What OS is this on?
>
> Windows XP Professional Ver 5.1 Build 2600
>
> Corinna
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* RE: setup crashing (attn Corinna)
  2002-01-20 23:46   ` Robert Collins
@ 2002-01-23  3:35     ` Gary R. Van Sickle
  2002-01-23 10:25       ` Robert Collins
  0 siblings, 1 reply; 21+ messages in thread
From: Gary R. Van Sickle @ 2002-01-23  3:35 UTC (permalink / raw)
  To: cygwin-apps

> > Hi!
> >
> > Sunday, 20 January, 2002 Robert Collins robert.collins@itdomain.com.au
> wrote:
> >
> > RC> Something seriously funny was going on in the C++/C runtime
> interaction.
> > RC> Rather than try and explain it, I've linked in a recent version of
> Doug
> > RC> Lea's malloc, which also had a couple of quirks, that I've
> (apparently)
> > RC> fixed.
> >

What'd I miss?  What's wrong with the MS-provided malloc in msvcrt*.dll?  Or is
this just for debug?  It appears to add quite a bit (~10%) to the stripped exe
size.

BTW: Setup built from CVS as of two minutes ago crashes for me as well (WhyXP).
As of earlier today it crashes on Why2K too.

--
Gary R. Van Sickle
Brewer.  Patriot.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-23  3:35     ` Gary R. Van Sickle
@ 2002-01-23 10:25       ` Robert Collins
  2002-01-23 11:09         ` Gary R. Van Sickle
  0 siblings, 1 reply; 21+ messages in thread
From: Robert Collins @ 2002-01-23 10:25 UTC (permalink / raw)
  To: Gary R. Van Sickle, cygwin-apps


===
----- Original Message -----
From: "Gary R. Van Sickle" <g.r.vansickle@worldnet.att.net>
To: <cygwin-apps@sources.redhat.com>
Sent: Wednesday, January 23, 2002 10:22 PM
Subject: RE: setup crashing (attn Corinna)


> > > Hi!
> > >
> > > Sunday, 20 January, 2002 Robert Collins
robert.collins@itdomain.com.au
> > wrote:
> > >
> > > RC> Something seriously funny was going on in the C++/C runtime
> > interaction.
> > > RC> Rather than try and explain it, I've linked in a recent
version of
> > Doug
> > > RC> Lea's malloc, which also had a couple of quirks, that I've
> > (apparently)
> > > RC> fixed.
> > >
>
> What'd I miss?  What's wrong with the MS-provided malloc in
msvcrt*.dll?  Or is
> this just for debug?  It appears to add quite a bit (~10%) to the
stripped exe
> size.

I had 0 luck tracking down the time of the heap corruption. dlmalloc
gives me more insight into the heap behaviour.

> BTW: Setup built from CVS as of two minutes ago crashes for me as well
(WhyXP).
> As of earlier today it crashes on Why2K too.

Yah. Find the cause, and I'll buy you a chocolate bar :}.

Rob

^ permalink raw reply	[flat|nested] 21+ messages in thread

* RE: setup crashing (attn Corinna)
  2002-01-23 10:25       ` Robert Collins
@ 2002-01-23 11:09         ` Gary R. Van Sickle
  2002-01-23 11:44           ` Robert Collins
  0 siblings, 1 reply; 21+ messages in thread
From: Gary R. Van Sickle @ 2002-01-23 11:09 UTC (permalink / raw)
  To: cygwin-apps

[snip]

> > BTW: Setup built from CVS as of two minutes ago crashes for me as well
> (WhyXP).
> > As of earlier today it crashes on Why2K too.
> 
> Yah. Find the cause, and I'll buy you a chocolate bar :}.

*Milk* chocolate? ;-) 

-- 
Gary R. Van Sickle
Brewer.  Patriot. 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: setup crashing (attn Corinna)
  2002-01-23 11:09         ` Gary R. Van Sickle
@ 2002-01-23 11:44           ` Robert Collins
  0 siblings, 0 replies; 21+ messages in thread
From: Robert Collins @ 2002-01-23 11:44 UTC (permalink / raw)
  To: Gary R. Van Sickle, cygwin-apps


===
----- Original Message -----
From: "Gary R. Van Sickle" <g.r.vansickle@worldnet.att.net>
To: <cygwin-apps@sources.redhat.com>
Sent: Wednesday, January 23, 2002 10:34 PM
Subject: RE: setup crashing (attn Corinna)


> [snip]
>
> > > BTW: Setup built from CVS as of two minutes ago crashes for me as
well
> > (WhyXP).
> > > As of earlier today it crashes on Why2K too.
> >
> > Yah. Find the cause, and I'll buy you a chocolate bar :}.
>
> *Milk* chocolate? ;-)

If thats the sort you eat...

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2002-01-23 11:35 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-20  8:28 setup crashing (attn Corinna) Robert Collins
2002-01-20 15:56 ` Robert Collins
2002-01-20 23:42 ` egor duda
2002-01-20 23:46   ` Robert Collins
2002-01-23  3:35     ` Gary R. Van Sickle
2002-01-23 10:25       ` Robert Collins
2002-01-23 11:09         ` Gary R. Van Sickle
2002-01-23 11:44           ` Robert Collins
2002-01-21 13:28 ` Corinna Vinschen
2002-01-21 13:31   ` Robert Collins
2002-01-21 13:52     ` Robert Collins
2002-01-21 14:19   ` Robert Collins
2002-01-21 14:21     ` Robert Collins
2002-01-21 14:39     ` Corinna Vinschen
2002-01-21 14:40       ` Robert Collins
2002-01-21 15:09         ` Corinna Vinschen
2002-01-21 15:14       ` Robert Collins
2002-01-21 17:48         ` Corinna Vinschen
2002-01-21 17:51           ` Robert Collins
2002-01-21 18:57             ` Corinna Vinschen
2002-01-21 19:22               ` Robert Collins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).