Alexandr Shadchin <[email protected]> wrote:

> On Mon, Oct 11, 2010 at 11:19 AM, Predrag Punosevac
> <[email protected]> wrote:
> > Here are some preliminary results of testing FreeMat-4.0 on OpenBSD
> > snapshot of 6th of October (i386 kernel bsd.sp).
> >
> > Running the run_tests multi-platform regression test suite which is
> > shipped with the FreeMat hangs after completing test bbtest_lower.
> > Application itself doesn't hang and I can start editor but the test is
> > never fully completed. It would be good if somebody can run this test on
> > the faster machine with multi cores as FreeMat requires LLVM compiler
> > and gfortran.
> >
> > I also run the test on the snapshot of 22 of August which should be
> > epsilon close to 4.8 release. I tested FreeMat version 3.6 which will be
> > shipped with the release on i386, bsd.mp. FreeMat dumps the core during
> > the test. This is the output from gdb
> >
>
> I used to test this script http://koba.devio.us/distfiles/run-test
>
> amd64(Core i5)
> script - OK
> GUI - first run OK, second - hangs after completing test bbtest_lower
>
> i386(PIII)
> script and GUI - hangs after completing test bbtest_lower
>

Ok, 

I have an idea where might be the problem. I checked the list of tests
and the test bbtest_ls is the one which is executed after the
bbtest_lower. This is the list of all tests

http://freemat.sourcearchive.com/documentation/3.6plus-pdfsg-6/dir_30c3fe9066a850dcd28222cc06f369c0.html


Now look at the code for that test

bbtest_ls.m

% Regression test function (black blox) for FreeMat v3.6
% This function is autogenerated by helpgen.
function bbtest_success = bbtest_ls
  bbtest_success = 1;
NumErrors = 0;
try
  ls m*.m

catch
  NumErrors = NumErrors + 1;
end
if (NumErrors ~= 0) bbtest_success = 0; return; end
NumErrors = 0;
try
  ls('m*.m')

catch
  NumErrors = NumErrors + 1;
end
if (NumErrors ~= 0) bbtest_success = 0; return; end
NumErrors = 0;
try
  ls 'm*.m'

catch
  NumErrors = NumErrors + 1;
end
if (NumErrors ~= 0) bbtest_success = 0; return; end


So that is the regression test for Freemat 3.6. Is it possible that the
test hangs because Freemat 3.6 crashes on OpenBSD? This is the culprit 
of the 3.6 crash

#0  0x1c14f1f8 in QList<QByteArray>::~QList ()

I think that has to do with Qt libraries. Can anybody with the
knowledge of Qt libraries confirm that?

Cheers,
Predrag



> -- 
> Alexandr Shadchin

Reply via email to