[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36067] bug in exist() when checking for a fau
From: |
Kris Thielemans |
Subject: |
[Octave-bug-tracker] [bug #36067] bug in exist() when checking for a faulty mex/oct file |
Date: |
Mon, 02 Apr 2012 14:18:11 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0 |
Follow-up Comment #1, bug #36067 (project octave):
This needs more investigation. I found this bug when using a mex file compiled
in octave 3.4.3, which was thus relying on a shared library which no longer
exists. However, I now tried to reproduce this with a simple mex file as
follows:
#include "mex.h"
void mexFunction(int nlhs, mxArray *plhs[],int nrhs, const mxArray *prhs[])
{
int * p = NULL;
*p=2; /* assign data to null-pointer, causing seg fault */
}
but exist has no problems with this file.
I am recompiling octave 3.4.3 now to see if I can reproduce my original
problem.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36067>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/