Crashes are often caused by standard C issues, like accessing uninitialized variables or stale pointers.  Other than that, you should provide a lot more detail.  Plus pd-dev is probably more appropriate so we can spare the newbies the down and dirty C talk. :-)

.hc

On Jun 25, 2007, at 11:06 PM, Ed Kelly wrote:

Hi list,

I'm trying to rewrite some of my externals to be a bit more efficient, clear up after themselves and generally work more smoothly. I started with maskxor, because I really need this to work for the ICMC, and it's not working properly in certain situations.

So I borrowed some code from zexy/src/drip.c and rewrote it. It compiled OK, but crashes PD. Can anyone tell me what is wrong with my code, and how to fix it?

Best,
Ed

Lone Shark "Aviation" out now on http://www.pyramidtransmissions.com
http://www.myspace.com/sharktracks


What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship.
<maskxor.tgz>
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



----------------------------------------------------------------------------

If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of everyone, and the receiver cannot dispossess himself of it.            - Thomas Jefferson