;;; ;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'. ;;; Jumping to the outermost toplevel prompt ;;;
--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To post to this group, send email to sage-s...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Looks like a stack overflow in to_poly_solve -- I didn't go farther. CanOn 25 February 2013 01:06, Robert Dodier <robert...@gmail.com> wrote:
someone please submit a bug report. http://sourceforge.net/p/maxima/bugs
;;; ;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'. ;;; Jumping to the outermost toplevel prompt ;;;
--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To post to this group, send email to sage-s...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Using 5.8 in Ubuntu 12.10, I get the same segmentation fault message in a looping code without involving any solve() command. I am just using a series of equations to calculate different values of variables saved in a dictionary ("vdict") and substitute those in the next equations, e.g.: vdict[var1] = eq_var1.rhs().subs(vdict).
If I run the code for a long series of loops, eventually I get:;;; ;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'. ;;; Jumping to the outermost toplevel prompt ;;;
Does the .subs(vdict) command use maxima? How can I help debugging this?
Thanks for offering to look into it, kcrisman.
I wasn't able to isolate the error yet, but I uploaded a slightly trimmed worksheet here:
https://sagenb.kaist.ac.kr:8066/home/pub/59
Contrary to my previous impression, this error is now reproducible, as in it happens at the same point every time now. Maybe it is an error in my code after all...
Only 2 years later, and I found a way around segmentation faults due to memory problems. It seems that my looping functions fill up memory over time and lead to segmentation faults at random stages. I now define such functions using the @fork decorator and then they don't seem to cause crashes any more (memory gets freed after each run). Just in case someone with a similar problem stumbles over this.
>> Only 2 years later, and I found a way around segmentation faults due to
>> memory problems. It seems that my looping functions fill up memory over time
>> and lead to segmentation faults at random stages. I now define such
>> functions using the @fork decorator and then they don't seem to cause
>> crashes any more (memory gets freed after each run). Just in case someone
>> with a similar problem stumbles over this.
>
>
> Huh. Maybe this would be worth adding to the documentation... somewhere, I
> have no idea where.
This would go well in the FAQ.