octave-3.0.0+ segmentation fault

Michael Goffioul michael.goffioul at gmail.com
Mon Jan 7 08:01:25 CST 2008


On 1/5/08, Michael Goffioul <michael.goffioul at gmail.com> 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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dld.diff
Url: https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080107/463f8fe4/attachment.ksh 


More information about the Octave-maintainers mailing list