<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
</head>
<body>
Hello all,
<div><br/>
</div>
<div>I am having difficulty in debugging my RSPlugin code for
Poly>>#initiazeCield:coefficients:, one of 4 new primitives
I have written {#initializeField:coefficients:,
#runEuclideanAlgorithm, #dividePolyA:polyB: & #decode:twoS:}.
One of my new functions is segfaulting.</div>
<div><br/>
</div>
<div>I make install the build.debug squeak and run kdbg. In kdbg I
set the executable, the argument to my image and set a breakpoint
inside #primitiveFECInitializePolyFieldSizeCoefficientsOop [1].
When I run the code:
RSFECGenericGFPoly>>#newField:coefficients: the kdbg breaks
in sqUnixX11 x2sqKeyInput instead of in my primitive. I click run
again and it breaks again in sqUnixMain at a function call to
sigsegv. I click run once more and squeak exits. I can't catch a
break!<br/>
</div>
<div><br/>
</div>
<div>Is anyone familiar with this behavior and know a fix?<caret></caret></div>
<div><br/>
</div>
<div>[1] #primitiveFECInitializePolyFieldSizeCoefficientsOop -
<a class="moz-txt-link-freetext" href="https://pastebin.com/QkkBxFjR">https://pastebin.com/QkkBxFjR</a>
<div><br/>
</div>
<div id="protonmail_signature_block" class="protonmail_signature_block">
<div>
<div>Kindly,<br/>
Robert<br/>
. .. ... ‘...^,^ </div>
</div>
</div>
</div>
</body></html>