[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] a memory issue; mildly scaring to me
From: |
Peter Bex |
Subject: |
Re: [Chicken-users] a memory issue; mildly scaring to me |
Date: |
Mon, 26 Sep 2011 15:26:59 +0200 |
User-agent: |
Mutt/1.4.2.3i |
On Mon, Sep 26, 2011 at 03:16:07PM +0200, Jörg F. Wittenberger wrote:
> >While it does not fix the problem at hand:
> >
> >There is a suspicious line in regex-core.scm 2222:
> >
> >it reads:
> >
> > (printing or graphic whitespace)
> >
> >IMHO it should read:
> >
> > (printing . (or graphic whitespace))
>
> BTW: I know that those are the same. It's just confusing the reader,
> when the same list is written both styles.
Maybe. This can be fixed, but it's not the issue here.
> Ah: since parameter checking might be off in the chicken core (is it?),
> what would happen, if we use a parameter, which has not been passed?
> Might that be the uninitialized value from a stack allocation, which
> I see from valgrind?
>
> What should be done?
Why don't you try your regex code with upstream irregex itself?
Just (load "irregex.scm") and then run your regex match.
Then it will run with all checks enabled, at slow speed, but at least
it'll fail when something is broken.
All this speculation is kind of pointless without a proper testcase.
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth
- Re: [Chicken-users] a memory issue; mildly scaring to me, (continued)
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/24
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/25
- Re: [Chicken-users] a memory issue; mildly scaring to me, Peter Bex, 2011/09/25
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, John Cowan, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me,
Peter Bex <=
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- [Chicken-users] define-compilter-syntax / define-syntax -- a quastion // posibly a bug, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- [Chicken-users] obsolete code, Jörg F . Wittenberger, 2011/09/26
- [Chicken-users] irregex.scm, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] obsolete code, Alex Shinn, 2011/09/26
- Re: [Chicken-users] obsolete code, Jörg F . Wittenberger, 2011/09/27
- Re: [Chicken-users] obsolete code, Alex Shinn, 2011/09/27