Re: [Crash] [win98] Opening many windows causes crash


Subject: Re: [Crash] [win98] Opening many windows causes crash
From: Thomas Fletcher (thomasf@qnx.com)
Date: Tue Mar 27 2001 - 07:37:24 CST


On Tue, 27 Mar 2001, Martin Sevior wrote:
> On Mon, 26 Mar 2001, Michael D. Pritchett wrote:
>
> > ----- Original Message -----
> > From: Ron Ross <ronross@colba.net>
> > Sent: Monday, March 26, 2001 2:32 PM
> >
> >
> > > Alan Horkan <horkana@tcd.ie> writes:
> > >
> > > > [Windows 98]
> > > > I opened lots of new windows and abi crashed. I repeated this a few
> > > > times and noticed i was unable to get past 20 windows.
> > > > (using fridays ngihtly build)
> > >
> > > Confirmed (and then some) on Windows 98 SE, AbiWord 0.7.13.
> > >
> > > On the 18th window, not just AbiWord, but Windows froze (only mouse
> > > movement, nothing accepted any input from mouse or keyboard), requiring
> > > a reboot.
> > >
> > > Ron
> > >
> >
> > I investigaged this issue and I too see this happening. For me it was at 12
> > windows. It seems that each AbiWord frame takes a fair hunk of the Win32
> > limited GDI. At a certain point GDI runs out of available memory and
> > AbiWord crashes when attempting a new instance.
> >
> > As far as I know, outside of upgrading operating system or optimizing the
> > nuts and bolts of the graphic data for the Win32 system, there is not much
> > to be done.
> >
>
> Hi everyone,
> Abi is meant to stop openning new windows at 9. ie After Nine
> new windows you're meant to get the dialog xap_Dlg_WindowMore.cpp. This is
> an xp bug. I can get more than 9 windows on linux though I didn't try to
> see how I could open before a segault. This would be a neat test of the
> Linux kernal and Xfree if someone wants to try before someone fixes the
> bug.
>
> Hint: Look at the newWindow function in ap_Editmethods. If the frame count
> gets above 9 call the windowMore dialog instead.

Martin,

  I think that you are confused, there is no limitation on
the actual number of windows that are created which means
that you can open as many new windows until your system
runs out of resources ... regardless of what the menu
item says or does.

  The same thing happens on QNX if I open up 50+ windows on
my home machine, but at that point the fact that we don't
actually check the return value on a number of created objects
when they fail is due to give you a segfault.

Such is life.

Thomas
-------------------------------------------------------------
Thomas (toe-mah) Fletcher QNX Software Systems
thomasf@qnx.com Neutrino Development Group
(613)-591-0931 http://www.qnx.com/~thomasf



This archive was generated by hypermail 2b25 : Tue Mar 27 2001 - 07:45:41 CST