From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mimir.eigenstate.org ([206.124.132.107]) by ewsd; Thu Jul 9 20:28:04 EDT 2020 Received: from abbatoir.fios-router.home (pool-74-101-2-6.nycmny.fios.verizon.net [74.101.2.6]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 736300e1 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO); Thu, 9 Jul 2020 17:27:56 -0700 (PDT) Message-ID: To: kokamoto@hera.eonet.ne.jp, 9front@9front.org Subject: Re: [9front] x509.c for ape in libsec.a Date: Thu, 9 Jul 2020 17:27:55 -0700 From: ori@eigenstate.org In-Reply-To: <6395C3F2B95C8613FF96D424940F4713@hera.eonet.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: webscale table out-scaling locator > This seems to be so from very old, the timestamp of Feb 1, 2018 > does fail, too. > > Kenji > >>> More precisely, >>> for stringobject.c: >>> static PyObject * >>> SubString_new_object_or_empty(SubString *str) >>> { >>> if (str->ptr ==((void *)0)) { >>> return PyString_FromStringAndSize(((void *)0), 0); >>> } >>> return PyString_FromStringAndSize(str->ptr, str->end - str->cpp 612: suicide: sys: trap: fault write addr=0xdeffeff4 pc=0x00008705 >>> >>> The last line shows PyString_FromStringAndSize() function in cpython/Objects/stringobject.c, >>> and to do return (PyObject *) op; >>> Probably, this 'op' is not on the memory... >>> >>> I replaced /386/bin/cpp by that from 9legacy'e one, and recompiled. >>> Yes, it's Ok with no problem. >>> >>> Therefore 9front's /386/bin/cpp has some problem, I think. >>> >>> Kenji >> >> Yes. I'll look into it. That's surprising, honestly -- I did a lot of surgery on cpp recently to make it much more standard compliant, and I wouldn't be surprised if I missed a subtle case. What's happening right now is that we're recursing infinitely when we expand *something*. I'm not sure what yet, but I can reproduce it, so I should be able to get a fix from the information I have. I'm guessing that the fix will be shuffling around the way that we build up our hide-sets.