- Problem solved again

From: [at]} <Alexander>
Date: Wed, 6 Sep 2006 12:55:41 +0700

----boundary-LibPST-iamunique-1840579929_-_-
Content-type: text/plain

Hello, Marc!

MM> Oh, I spoke too soon... this new fix causes a crash where
MM> the standard distribution and the original fix did not.
MM> If my trajectory code opens a window which is sized larger
MM> than the Blackbox application window, the original BB 1.5
MM> added scrollbars to the Blackbar application window.
MM> With the new fix, I instead get a trap:

MM> -------------------------------------------------------------

MM> NIL dereference (read)

MM> Ports.Frame.Input [00000859H]
MM> .f Ports.Frame [011138D0H]
MM> .isDown BOOLEAN FALSE
MM> .modifiers SET {3, 5, 6, 10, 12..15, 17, 21}
MM> .u INTEGER 1642418874
MM> .x INTEGER 17530272
MM> .y INTEGER 1652315891

MM> -------------------------------------------------------------

MM> So, again, back to the original fix, which was efficient
MM> and didn't crash!

  What's interesting about this trap is that it doesn't point to a
  modified code. It points to Ports module instead of HostPorts.
  What is the exact position of NIL dereference? As I can see from
  above, "f" is assigned. "f.unit", "f.gx" and "f.gy" are all
  INTEGERs, so nothing to dereference here. The only thing that may be
  NIL is "f.rider" which is not shown in this trap. But I can't see
  how my patch could cause that.

  The only thing I can imagine is that "SetDC" that I removed from
  HostWindows. To check whether it is the trouble, please, combine
  HostWindows from the old patch with HostPorts and Services from the
  new patch.

  PS: I wish someone competent from OM would join us in this
  discussion...

---=====---
 Alexander

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-1840579929_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V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YXINCiAgaG93IG15IHBhdGNoIGNvdWxkIGNhdXNlIHRoYXQuXHBh
cg0KXHBhcg0KICBUaGUgb25seSB0aGluZyBJIGNhbiBpbWFnaW5lIGlzIHRoYXQgIlNldERDIiB0
aGF0IEkgcmVtb3ZlZCBmcm9tXHBhcg0KICBIb3N0V2luZG93cy4gVG8gY2hlY2sgd2hldGhlciBp
dCBpcyB0aGUgdHJvdWJsZSwgcGxlYXNlLCBjb21iaW5lXHBhcg0KICBIb3N0V2luZG93cyBmcm9t
IHRoZSBvbGQgcGF0Y2ggd2l0aCBIb3N0UG9ydHMgYW5kIFNlcnZpY2VzIGZyb20gdGhlXHBhcg0K
ICBuZXcgcGF0Y2guXHBhcg0KXHBhcg0KICBQUzogSSB3aXNoIHNvbWVvbmUgY29tcGV0ZW50IGZy
b20gT00gd291bGQgam9pbiB1cyBpbiB0aGlzXHBhcg0KICBkaXNjdXNzaW9uLi4uXHBhcg0KXHBh
cg0KLS0tPT09PT0tLS1ccGFyDQogQWxleGFuZGVyXHBhcg0KXHBhcg0KLS0tIEJsYWNrQm94XHBh
cg0KLS0tIHNlbmQgc3ViamVjdCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9iZXJv
bi5jaH19AB2+LTbfN+84/2M=


----boundary-LibPST-iamunique-1840579929_-_---
Received on Wed Sep 06 2006 - 07:55:41 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:48 UTC