- From: ak.miller at auckland.ac.nz (Andrew Miller)
- Subject: [cellml-dev] Alan Garny's branch
- Date: Thu, 18 Jun 2009 10:45:55 +1200
Alan Garny wrote:
>
>
Hi Andrew,
>
>
Indeed, if you have time, it would be nice if you could have a look at
>
the problem I am currently facing. Basically, I start OpenCell and go
>
straight into the COR view. From there, I try to open one or several
>
CellML files at once. Sometimes, by opening those files, OpenCell will
>
just crash. No warning, no nothing. gdb seems to think that the
>
problem is with:
>
Hi Alan,
I haven't been able to reproduce this; it could be that your build has
an out-of-date object file (dependencies between headers and objects are
not automatically generated in OpenCell, so we could be missing some).
Does a clean build experience the same problems?
Best wishes,
Andrew
>
nsCOMPtr<mathml_domIMathMLApplyElement> mma(do_QueryInterface(aMathML));
>
>
i.e.
>
http://cellml-opencell.hg.sourceforge.net/hgweb/cellml-opencell/file/3f243642ff8a/DataCollector/MathMLInputServices.cpp#l760.
>
>
At some point, with Justin, we put a static counter to try to
>
determine whether the problem was related to a particular equation for
>
which we were trying to generate COR-like code, but that didn?t yield
>
any useful information: the crash would occur at random places. What
>
puzzles me, though, is that there are cases where OpenCell works
>
without any problem, so I am really puzzled. I would think that the
>
problem is memory-related. Who knows, it might, in fact, related to
>
the memory issues reported by Valgrind?...
>
>
Alan
>
>
*From:* Randall Britten [mailto:r.britten at auckland.ac.nz]
>
*Sent:* 17 June 2009 02:21
>
*To:* 'Andrew Miller'
>
*Cc:* 'Alan Garny'
>
*Subject:* Alan Garny's branch
>
>
Hi Andrew
>
>
Alan is battling a bug that causes crashes sometimes when working with
>
the COR text view. He asked if you could have a look, if you have the
>
time. Probably best if Alan mails you more detail, but here is a bit
>
from his mail to me:
>
>
From: Alan Garny [mailto:alan.garny at dpag.ox.ac.uk]
>
>
Sent: Tuesday, 16 June 2009 11:25 p.m.
>
>
?
>
>
Now, regarding my work on the COR-like view. Apart from the metadata,
>
OpenCell can now generate the corresponding COR-like code for a CellML
>
file. For the mathematics, I make use of the MathML Input Services,
>
but there seems to be a problem with it (at that line according to
>
gdb:
>
http://cellml-opencell.hg.sourceforge.net/hgweb/cellml-opencell/file/3f243642ff8a/DataCollector/MathMLInputServices.cpp#l760).
>
>
Indeed, OpenCell sometimes crashes as a result of opening a CellML
>
file within the COR view. Unfortunately, it?s not something that I can
>
reproduce every time. Otherwise, Valgrind reports some memory leaks,
>
but that?s something I am still investigating.
>
>
?
>
- [cellml-dev] Alan Garny's branch, Andrew Miller, 06/18/2009
Archive powered by MHonArc 2.6.18.