[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave-3.0.0+ segmentation fault
From: |
Michael Goffioul |
Subject: |
Re: octave-3.0.0+ segmentation fault |
Date: |
Mon, 7 Jan 2008 15:01:25 +0100 |
On 1/5/08, Michael Goffioul <address@hidden> wrote:
> So, in summary, I think that another possible solution would be to avoid
> to create the octave_dld_function in the oct-file, such that the corresponding
> virtual destructor code will not be executed in the oct-file address space.
> This used to be the case before the object-branch merge, but I don't know
> whether this is still feasible...
After some experiments, the attached patch should solve the problem.
Note that I didn't check it yet, I'll try to check it this evening. However, I
could check the concept on some test code and it seems to work
(you can see the test code at
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2641079&SiteID=1).
If it compiles and run OK under Linux, it should be OK under MSVC.
Note also that I still have a patch pending related to the same code,
see
http://www.cae.wisc.edu/pipermail/octave-maintainers/2007-December/005457.html
Michael.
dld.diff
Description: Text document
- octave-3.0.0+ segmentation fault, John W. Eaton, 2008/01/04
- Re: octave-3.0.0+ segmentation fault, Michael Goffioul, 2008/01/04
- Re: octave-3.0.0+ segmentation fault, John W. Eaton, 2008/01/04
- Re: octave-3.0.0+ segmentation fault, Michael Goffioul, 2008/01/05
- Re: octave-3.0.0+ segmentation fault, Michael Goffioul, 2008/01/05
- Re: octave-3.0.0+ segmentation fault, John W. Eaton, 2008/01/05
- Re: octave-3.0.0+ segmentation fault, Michael Goffioul, 2008/01/05
- Re: octave-3.0.0+ segmentation fault,
Michael Goffioul <=
- Re: octave-3.0.0+ segmentation fault, John W. Eaton, 2008/01/07
- Re: octave-3.0.0+ segmentation fault, Michael Goffioul, 2008/01/08