[M3devel] formsedit crash
Jay K
jay.krell at cornell.edu
Fri Sep 18 20:07:38 CEST 2009
There was a problem around the RC2 timeframe where garbage collection was turned off entirely.
It wasn't that way for a long time, but indeed it was a very bad thing.
Segfault could be due to out of memory.
I think what I've been seeing is different.
I've built many versions of the source tree now, including current.
And the below is my finding -- SOLgnu formsedit works for very many
timestamps on or prior to Jan 20 2007 and fails for very many timestamps
on or after Feb 1 2007, including current. (dates are US Pacific time,
don't /quite/ match up to the ChangeLog, behind about 9 hours.)
Whether or not PPC_DARWIN is broken on current, not yet determined.
- Jay
> To: jay.krell at cornell.edu
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] formsedit crash
> Date: Fri, 18 Sep 2009 10:59:06 -0700
> From: mika at async.async.caltech.edu
>
>
> I just wanted to add that I was having enormous problems with a Trestle
> application on PPC_DARWIN using sources of about six weeks ago. It was
> going catatonic and leaking memory at an alarming rate (and worked
> perfectly on FreeBSD/i386 using an old PM3, didn't get around to trying
> with new sources). Also the occasional segfault.
>
> Of course I thought it was my fault, but after reviewing my code carefully
> I couldn't find anything wrong, and I updated CM3 today and it looks great---no more crashing or hanging.
>
> Mika
>
> Jay K writes:
> >
> > <CD0D42DC-D3D6-48B1-8A95-78CD2A21B2A8 at cs.purdue.edu>
> >MIME-Version: 1.0
> >
> >--_20828071-d627-4e2e-af04-2e79c7e91e22_
> >Content-Type: text/plain; charset="iso-8859-1"
> >Content-Transfer-Encoding: quoted-printable
> >
> >
> >formsedit on SOLgnu very often fails. With current source.
> >
> >-bash-3.00$ ./formsedit=20
> >
> >
> >***
> >*** runtime error:
> >*** <*ASSERT*> failed.
> >*** file "../src/lego/POSIX/ScrollerVBTClass.m3"=2C line 325
> >**
> >
> >I added the assert. It is that a pointer is not NIL=2C on the line
> >before it is dereferenced.
> >
> >I've also seen this on PPC_something (Darwin?) but haven't tried recently.
> >I might say it fails less often now=2C but it does still fail.
> >
> >The range is now narrowed down to between Jan 20 and Feb 1 2007.
> >
> > - Jay
> >
> >From: hosking at cs.purdue.edu
> >To: jay.krell at cornell.edu
> >Date: Fri=2C 18 Sep 2009 08:45:18 -0400
> >CC: m3devel at elegosoft.com
> >Subject: Re: [M3devel] formsedit crash
> >
> >Jay=2C formsedit now works for me on I386_DARWIN. Not sure what you are tr=
> >ying to track down now.
> > Antony Hosking | Associate Professor | Computer Science | Purdue Universit=
> >y305 N. University Street | West Lafayette | IN 47907 | USAOffice +1 765 49=
> >4 6001 | Mobile +1 765 427 5484=20
> >On 18 Sep 2009=2C at 03:49=2C Jay K wrote:I have it further narrowed down t=
> >o the last two weeks of 1/2007.
> >Which is just a few changes.
> >I fear it is the switch from user threads to pthreads on 1/23/2007.
> >I'll narrow it down further though=2C and then try user threads on Solaris
> >(which will probably require repairing initialization order to make them wo=
> >rk
> >again anyway).
> >
> > - Jay
> >
> >
> >From: jay.krell at cornell.edu
> >To: m3devel at elegosoft.com
> >Subject: formsedit crash
> >Date: Wed=2C 16 Sep 2009 15:18:54 +0000
> >
> >The formsedit crash appears to have started between 12/1/2006 and 3/1/2007.
> >I will confirm and further narrow this down over the next few days.
> >I've been building various dates/versions and seeing how they act.
> >
> > - Jay
> >
> >
> >
> >
> >
> > =
> >
> >--_20828071-d627-4e2e-af04-2e79c7e91e22_
> >Content-Type: text/html; charset="iso-8859-1"
> >Content-Transfer-Encoding: quoted-printable
> >
> ><html>
> ><head>
> ><style><!--
> >.hmmessage P
> >{
> >margin:0px=3B
> >padding:0px
> >}
> >body.hmmessage
> >{
> >font-size: 10pt=3B
> >font-family:Verdana
> >}
> >--></style>
> ></head>
> ><body class=3D'hmmessage'>
> >formsedit on SOLgnu very often fails. With current source.<br><br>-bash-3.0=
> >0$ ./formsedit <br><br><br>***<br>*** runtime error:<br>*** =3B =3B=
> > =3B <=3B*ASSERT*>=3B failed.<br>*** =3B =3B =3B file "=
> >../src/lego/POSIX/ScrollerVBTClass.m3"=2C line 325<br>**<br><br>I added the=
> > assert. It is that a pointer is not NIL=2C on the line<br>before it is der=
> >eferenced.<br><br>I've also seen this on PPC_something (Darwin?) but haven'=
> >t tried recently.<br>I might say it fails less often now=2C but it does sti=
> >ll fail.<br><br>The range is now narrowed down to between Jan 20 and Feb 1 =
> >2007.<br><br> =3B - Jay<br><br><hr id=3D"stopSpelling">From: hosking at cs=
> >.purdue.edu<br>To: jay.krell at cornell.edu<br>Date: Fri=2C 18 Sep 2009 08:45:=
> >18 -0400<br>CC: m3devel at elegosoft.com<br>Subject: Re: [M3devel] formsedit c=
> >rash<br><br>Jay=2C formsedit now works for me on I386_DARWIN.  =3BNot s=
> >ure what you are trying to track down now.<div><br><div> <span class=3D"ecx=
> >Apple-style-span" style=3D"border-collapse: separate=3B color: rgb(0=2C 0=
> >=2C 0)=3B font-family: Helvetica=3B font-size: 12px=3B font-style: normal=
> >=3B font-variant: normal=3B font-weight: normal=3B letter-spacing: normal=
> >=3B line-height: normal=3B text-indent: 0px=3B text-transform: none=3B whit=
> >e-space: normal=3B word-spacing: 0px=3B"><div style=3D"word-wrap: break-wor=
> >d=3B"><span class=3D"ecxApple-style-span" style=3D"border-collapse: separat=
> >e=3B color: rgb(0=2C 0=2C 0)=3B font-family: Helvetica=3B font-size: 12px=
> >=3B font-style: normal=3B font-variant: normal=3B font-weight: normal=3B le=
> >tter-spacing: normal=3B line-height: normal=3B text-indent: 0px=3B text-tra=
> >nsform: none=3B white-space: normal=3B word-spacing: 0px=3B"><div style=3D"=
> >word-wrap: break-word=3B"><span class=3D"ecxApple-style-span" style=3D"bord=
> >er-collapse: separate=3B color: rgb(0=2C 0=2C 0)=3B font-family: Helvetica=
> >=3B font-size: 12px=3B font-style: normal=3B font-variant: normal=3B font-w=
> >eight: normal=3B letter-spacing: normal=3B line-height: normal=3B text-inde=
> >nt: 0px=3B text-transform: none=3B white-space: normal=3B word-spacing: 0px=
> >=3B"><span class=3D"ecxApple-style-span" style=3D"border-collapse: separate=
> >=3B color: rgb(0=2C 0=2C 0)=3B font-family: Helvetica=3B font-size: 12px=3B=
> > font-style: normal=3B font-variant: normal=3B font-weight: normal=3B lette=
> >r-spacing: normal=3B line-height: normal=3B text-indent: 0px=3B text-transf=
> >orm: none=3B white-space: normal=3B word-spacing: 0px=3B"><span class=3D"ec=
> >xApple-style-span" style=3D"border-collapse: separate=3B color: rgb(0=2C 0=
> >=2C 0)=3B font-family: Helvetica=3B font-size: 12px=3B font-style: normal=
> >=3B font-variant: normal=3B font-weight: normal=3B letter-spacing: normal=
> >=3B line-height: normal=3B text-indent: 0px=3B text-transform: none=3B whit=
> >e-space: normal=3B word-spacing: 0px=3B"><span class=3D"ecxApple-style-span=
> >" style=3D"border-collapse: separate=3B color: rgb(0=2C 0=2C 0)=3B font-fam=
> >ily: Helvetica=3B font-size: 12px=3B font-style: normal=3B font-variant: no=
> >rmal=3B font-weight: normal=3B letter-spacing: normal=3B line-height: norma=
> >l=3B text-indent: 0px=3B text-transform: none=3B white-space: normal=3B wor=
> >d-spacing: 0px=3B"><span class=3D"ecxApple-style-span" style=3D"border-coll=
> >apse: separate=3B color: rgb(0=2C 0=2C 0)=3B font-family: Helvetica=3B font=
> >-size: 12px=3B font-style: normal=3B font-variant: normal=3B font-weight: n=
> >ormal=3B letter-spacing: normal=3B line-height: normal=3B text-indent: 0px=
> >=3B text-transform: none=3B white-space: normal=3B word-spacing: 0px=3B"><s=
> >pan class=3D"ecxApple-style-span" style=3D"border-collapse: separate=3B col=
> >or: rgb(0=2C 0=2C 0)=3B font-family: Helvetica=3B font-size: 12px=3B font-s=
> >tyle: normal=3B font-variant: normal=3B font-weight: normal=3B letter-spaci=
> >ng: normal=3B line-height: normal=3B text-indent: 0px=3B text-transform: no=
> >ne=3B white-space: normal=3B word-spacing: 0px=3B"><span class=3D"ecxApple-=
> >style-span" style=3D"border-collapse: separate=3B color: rgb(0=2C 0=2C 0)=
> >=3B font-family: Helvetica=3B font-size: 12px=3B font-style: normal=3B font=
> >-variant: normal=3B font-weight: normal=3B letter-spacing: normal=3B line-h=
> >eight: normal=3B text-indent: 0px=3B text-transform: none=3B white-space: n=
> >ormal=3B word-spacing: 0px=3B"><span class=3D"ecxApple-style-span" style=3D=
> >"border-collapse: separate=3B color: rgb(0=2C 0=2C 0)=3B font-family: Helve=
> >tica=3B font-size: 12px=3B font-style: normal=3B font-variant: normal=3B fo=
> >nt-weight: normal=3B letter-spacing: normal=3B line-height: normal=3B text-=
> >indent: 0px=3B text-transform: none=3B white-space: normal=3B word-spacing:=
> > 0px=3B"><div><font class=3D"ecxApple-style-span" color=3D"#0000ff"><font c=
> >lass=3D"ecxApple-style-span" face=3D"Gill Sans"><span class=3D"ecxApple-sty=
> >le-span" style=3D"color: rgb(0=2C 0=2C 255)=3B font-family: 'Gill Sans'=3B"=
> >><span class=3D"ecxApple-style-span" style=3D"color: rgb(0=2C 0=2C 255)=3B =
> >font-family: 'Gill Sans'=3B">Antony Hosking</span></span></font></font><fon=
> >t class=3D"ecxApple-style-span" face=3D"Gill Sans"><span class=3D"ecxApple-=
> >style-span" style=3D"font-family: 'Gill Sans'=3B"><span class=3D"ecxApple-s=
> >tyle-span" style=3D"font-family: 'Gill Sans'=3B"><span class=3D"ecxApple-co=
> >nverted-space"> =3B</span>|<span class=3D"ecxApple-converted-space">&nb=
> >sp=3B</span></span></span><span class=3D"ecxApple-style-span" style=3D"font=
> >-family: 'Gill Sans'=3B"><span class=3D"ecxApple-style-span" style=3D"font-=
> >family: 'Gill Sans'=3B">Associate Professor</span></span><span class=3D"ecx=
> >Apple-style-span" style=3D"font-family: 'Gill Sans'=3B"><span class=3D"ecxA=
> >pple-style-span" style=3D"font-family: 'Gill Sans'=3B"> =3B| Computer S=
> >cience | Purdue University</span></span></font></div><div><font class=3D"ec=
> >xApple-style-span" face=3D"GillSans-Light"><span class=3D"ecxApple-style-sp=
> >an" style=3D"font-family: GillSans-Light=3B">305 N. University Street | Wes=
> >t Lafayette | IN 47907 | USA</span></font></div><div><font class=3D"ecxAppl=
> >e-style-span" color=3D"#0000ff" face=3D"Gill Sans"><span class=3D"ecxApple-=
> >style-span" style=3D"color: rgb(0=2C 0=2C 255)=3B font-family: 'Gill Sans'=
> >=3B"><span class=3D"ecxApple-style-span" style=3D"color: rgb(0=2C 0=2C 255)=
> >=3B font-family: 'Gill Sans'=3B">Office</span></span></font><font class=3D"=
> >ecxApple-style-span" face=3D"GillSans-Light"><span class=3D"ecxApple-style-=
> >span" style=3D"font-family: GillSans-Light=3B"><span class=3D"ecxApple-styl=
> >e-span" style=3D"font-family: GillSans-Light=3B"> =3B+1 765 494 6001 |<=
> >span class=3D"ecxApple-converted-space"> =3B</span></span></span></font=
> >><font class=3D"ecxApple-style-span" color=3D"#0000ff" face=3D"Gill Sans"><=
> >span class=3D"ecxApple-style-span" style=3D"color: rgb(0=2C 0=2C 255)=3B fo=
> >nt-family: 'Gill Sans'=3B"><span class=3D"ecxApple-style-span" style=3D"col=
> >or: rgb(0=2C 0=2C 255)=3B font-family: 'Gill Sans'=3B">Mobile</span></span>=
> ></font><font class=3D"ecxApple-style-span" face=3D"GillSans-Light"><span cl=
> >ass=3D"ecxApple-style-span" style=3D"font-family: GillSans-Light=3B"><span =
> >class=3D"ecxApple-style-span" style=3D"font-family: GillSans-Light=3B"><spa=
> >n class=3D"ecxApple-converted-space"> =3B</span>+1 765 427 5484</span><=
> >/span></font></div><div><font class=3D"ecxApple-style-span" face=3D"GillSan=
> >s-Light"><br class=3D"ecxkhtml-block-placeholder"></font></div></span></spa=
> >n></span></span></span></span></span><br class=3D"ecxApple-interchange-newl=
> >ine"></span></div></span></div></span><br class=3D"ecxApple-interchange-new=
> >line"> </div><br><div><div>On 18 Sep 2009=2C at 03:49=2C Jay K wrote:</div>=
> ><br class=3D"ecxApple-interchange-newline"><blockquote><span class=3D"ecxAp=
> >ple-style-span" style=3D"border-collapse: separate=3B color: rgb(0=2C 0=2C =
> >0)=3B font-family: Helvetica=3B font-size: medium=3B font-style: normal=3B =
> >font-variant: normal=3B font-weight: normal=3B letter-spacing: normal=3B li=
> >ne-height: normal=3B text-indent: 0px=3B text-transform: none=3B white-spac=
> >e: normal=3B word-spacing: 0px=3B"><div class=3D"ecxhmmessage" style=3D"fon=
> >t-size: 10pt=3B font-family: Verdana=3B">I have it further narrowed down to=
> > the last two weeks of 1/2007.<br>Which is just a few changes.<br>I fear it=
> > is the switch from user threads to pthreads on 1/23/2007.<br>I'll narrow i=
> >t down further though=2C and then try user threads on Solaris<br>(which wil=
> >l probably require repairing initialization order to make them work<br>agai=
> >n anyway).<br><br> =3B- Jay<br><br><br><hr id=3D"ecxstopSpelling">From:=
> ><span class=3D"ecxApple-converted-space"> =3B</span><a href=3D"mailto:j=
> >ay.krell at cornell.edu">jay.krell at cornell.edu</a><br>To:<span class=3D"ecxApp=
> >le-converted-space"> =3B</span><a href=3D"mailto:m3devel at elegosoft.com"=
> >>m3devel at elegosoft.com</a><br>Subject: formsedit crash<br>Date: Wed=2C 16 S=
> >ep 2009 15:18:54 +0000<br><br>The formsedit crash appears to have started b=
> >etween 12/1/2006 and 3/1/2007.<br>I will confirm and further narrow this do=
> >wn over the next few days.<br>I've been building various dates/versions and=
> > seeing how they act.<br><br> =3B- Jay<br><br><br><br><br></div></span>=
> ></blockquote></div><br></div> </body>
> ></html>=
> >
> >--_20828071-d627-4e2e-af04-2e79c7e91e22_--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090918/5a88b9c9/attachment-0002.html>
More information about the M3devel
mailing list