the attached patch show how it crashes if both #store has a #for with same dimensions it doesn't crash, but when dimensions are different, here come the bug
----- "Mathieu Bouchard" <ma...@artengine.ca> a écrit : > On Thu, 17 Feb 2011, patko wrote: > > > the crash seems to come from this object: > > #X obj 80 277 #store > > here is the gdb message > > Program received signal SIGSEGV, Segmentation fault. > > 0x68738763 in probe () at > c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_tree.h:462 > > 462 { return > static_cast<_Link_type>(this->_M_impl._M_header._M_parent > > gdb doesn't talk a lot, I hope it could be some help. > > STL crashes are usually caused by a bug somewhere else, that corrupts > > STL's private data, most often trees. I've seen that before, and if > you > don't have Valgrind, you're quite doomed. > > Do you know any software that could help you debug ? > > Another approach is to cut elements of the patch while making sure > that it > still crashes. Then we will know the bug to be in a smaller subset of > > GridFlow's code. > > > _______________________________________________________________________ > | Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, > QC -- Patrice Colet
#N canvas 295 261 450 300 10; #X obj 106 198 #store; #X obj 106 179 #store; #X obj 106 71 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1; #X obj 153 101 #for (0 0) (8 3) (1 1); #X obj 154 83 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 164 196 #for (0 0) (8 3) (1 1); #X obj 311 107 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1; #X obj 311 126 #for (0 0) (512 512); #X text 181 80 <--no crash; #X text 334 102 <-- crash; #X obj 194 172 loadbang; #X connect 1 0 0 0; #X connect 2 0 1 0; #X connect 3 0 1 1; #X connect 4 0 3 0; #X connect 5 0 0 1; #X connect 6 0 7 0; #X connect 7 0 1 1; #X connect 10 0 5 0;
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list