[PD] help! my patch breaks pd!

Greg Rippin gmr222 at nyu.edu
Tue Aug 21 08:35:58 CEST 2001

Hello all,

I have been working for some time on a patch that does a realtime
harmonic analysis of an incoming MIDI stream and constructs probability
tables for creating second-order markov chains based on the input.  The
patch is fairly large and complex; the probability calculating
abstraction (fairly small in itself) is called 13x13x13 times.

Recently, pd has occasionally died when I try to open this patch, but I
could get it to open after a few failed attempts.  Now, quite suddenly,
it won't open at all; pd generates an invalid page fault whenever I try
to load this patch.  It opens all other patches without trouble.  Most
puzzling to me is that I haven't actually made any changes to the patch;
I added some comments to the abstractions that are called by the parent
patch, but made no functional changes immediately before this started to
happen.   I thought that perhaps the file was corrupt; I rebuilt the
patch from it's constituent parts, it worked perfectly.  I saved it
under a different filename, closed it, tried to reopen it, and got the
same error message.  I even checked my resource meters, and nothing
(memory, etc.) seems to dip when trying to open this patch.  I'm

What could I have done wrong to cause behavior like this?  I'm running
pd .33 patch 1 with the iemlib extensions on win 98.  The error message
I get is:

PD caused an invalid page fault in
module PD.DLL at 015f:10046e98.
EAX=00960008 CS=015f EIP=10046e98 EFLGS=00210293
EBX=00000150 SS=0167 ESP=0063da90 EBP=0063dab0
ECX=00962838 DS=0167 ESI=00000013 FS=0fbf
EDX=0309f00c ES=0167 EDI=00000014 GS=0000
Bytes at CS:EIP:
8b 49 04 89 4a 04 8b 4d f0 8d 0c f9 89 4a 08 89
Stack dump:
03100df0 00000200 0309f050 00000000 00962798 00000150 0309f00c 00000040
00960138 10042d20 00960138 00000003 03100df0 0309f050 00000110 00000200

Any help is greatly appreciated,

Greg Rippin, Graduate Assistant
Music Technology Program
New York University
35 West 4th Street, Suite 777
New York, NY 10012

phone 212-998-5422
fax 212-995-4043
musictechgrad.info at nyu.edu

More information about the Pd-list mailing list