Mon 04 Nov 2013 10:04:20 PM UTC, comment #8:
About getting involved, this is a FAQ:
http://wiki.octave.org/FAQ#How_can_I_get_involved_in_Octave_development.3F
I just added a note about how running Octave in a debugger is a very good way to learn how it works.
|
Sat 02 Nov 2013 07:48:43 AM UTC, comment #7:
I think the best way to get involved is to read the code, maybe try to fix a bug, join the maintainers mailing list and ask questions, or ask questions on the IRC channel. There's no short cut and there's no formal guide.
|
Fri 01 Nov 2013 04:29:15 PM UTC, comment #6:
Thanks John,
Given an OOM with a stack trace, I can recognize that and change my code to say
assert(nnz(mutex != mutex') == 0);
|
Fri 01 Nov 2013 04:24:52 PM UTC, comment #5:
Thanks Rik,
I'd like to get involved in Octave development more, but I've never actually looked at the source code. I just post bugs I happen to encounter while working on my project (Preprocessing SAT/ASP grounded problem instances to generate binary nogood clauses).
What's the best way to get started understanding the Octave code?
|
Fri 01 Nov 2013 04:24:43 PM UTC, comment #4:
I checked in the following change:
http://hg.savannah.gnu.org/hgweb/octave/rev/eaf5c3ef3e8d
With this change you'll get an out of memory error instead of a crash. I think that's the best you can expect in this case since you are generating a matrix full of ones that is too large for 32-bit Octave to represent.
|
Fri 01 Nov 2013 03:34:09 PM UTC, comment #3:
Andreas has done a good job diagnosing where the problem code is. I'm adding David to the e-mail list in the hopes that he has a quick idea about how to fix the constructor.
|
Thu 31 Oct 2013 07:59:52 PM UTC, comment #2:
I want to clarify that my backtrace was the result from David Spies's test case. In his code there is an
The same segfault can be reproduced with
This is because in the constructor in Sparse.h:88
nz overflows for int32 when called in
|
Thu 31 Oct 2013 06:40:38 PM UTC, comment #1:
A short example which triggers this bug is
bt
|
Thu 24 Oct 2013 06:40:55 PM UTC, original submission:
I've attached the functions I use and the data that causes the segfault. Run totalClosure(constraints,mutex)
|