<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
hi,<br>
<br>
fixed ( and also a strange 'resize' bug, never reported ).<br>
some dangerous play with pointers...<br>
<br>
thanx for the bug report, keep doing that...<br>
<br>
cheers,<br>
sevy<br>
<br>
Bill Sack wrote:<br>
<blockquote type="cite" cite="mid3F9FDB3C.1060506@acsu.buffalo.edu">hello
pdp-ers,
  <br>
i'd been experiencing mysterious segfaults with one of my pdp patches
and have finally narrowed it down to the pdp_text object.
  <br>
  <br>
when a text string of 12 characters is banged into pdp_text, pd will
very likely segfault. other string lengths seem to be OK. i've attached
an example patch and would really like it if others could try it and
see if they have the same result - i only have one machine around that
i can check it on. it may take 5 to 10 bangs of the fatal messages to
kill it ...
  <br>
  <br>
this is with:
  <br>
pdp-0.12.2
  <br>
pidip-0.12.6 and 0.12.9
  <br>
imlib2-1.0.6-1 from .rpm
  <br>
pd-0.36
  <br>
rh9
  <br>
  <br>
oh, on a related subject: has anyone made anything like a strlen
external for pd? i searched pdb and found nothing ...
  <br>
  <br>
thanks,
  <br>
bill
  <br>
  <br>
  <pre wrap="">
<hr width="90%" size="4">
#N canvas 84 12 455 460 10;
#X obj 146 384 pdp_xv;
#X obj 8 82 metro 70;
#X obj 75 113 pdp_v4l;
#X obj 84 81 metro 70;
#X msg 8 245 clear;
#X obj 4 114 pdp_noise;
#X msg 150 84 open /dev/video0;
#X obj 8 55 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1;
#X obj 84 54 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X msg 146 127 text enthusiasm 80 10;
#X msg 146 149 text tenxxxxxxx 90 30;
#X msg 146 171 text fourteenxxxxxx 100 50;
#X msg 146 251 text horizontally 90 70;
#X msg 146 277 text enthusiastic 90 90;
#X msg 146 304 text twelvexxxxxx 90 110;
#X text 158 108 these are OK;
#X text 151 228 these kill it;
#X obj 146 354 pdp_text ------;
#X msg 146 196 text twentyfourxxxxxxxxxxxxxx 160 130;
#X text 10 12 banging strings of 12 characters into pdp_text;
#X text 9 26 cause segfault;
#X connect 1 0 5 0;
#X connect 2 0 17 0;
#X connect 3 0 2 0;
#X connect 4 0 17 0;
#X connect 5 0 17 0;
#X connect 6 0 2 0;
#X connect 7 0 1 0;
#X connect 8 0 3 0;
#X connect 9 0 17 0;
#X connect 10 0 17 0;
#X connect 11 0 17 0;
#X connect 12 0 17 0;
#X connect 13 0 17 0;
#X connect 14 0 17 0;
#X connect 17 0 0 0;
#X connect 18 0 17 0;
  </pre>
</blockquote>
</body>
</html>