- window minimizing bug in blackbox 1.5?

From: Martin, Marc <"Martin,>
Date: Thu, 14 Dec 2006 10:39:39 -0800

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

Hi all,

I've been trying to track down a recently discovered bug in
one of my Blackbox programs. So far, it appears to be a bug
introduced into the Blackbox framework at v1.5. When I
minimize ne of my windows in a particular application, I get
a trap.


In my search for where this bug came from, I took source
code that I was using in version 1.4, and verified that it
worked fine. Then I installed a pristine version of 1.5,
copied over the source files, recompiled, and ran this.
It crashed.

Now, this certainly could be something about my View Restore
procedures that happened to work in 1.4 but not 1.5. Although
I'm not sure why the framework should be calling my View restore
procedures when the window is minimized?

Anyone familiar with this?

Marc

P.S. Here is an example of the trap I get when I minimize
one of my view windows (my module is called "StatDisplay")


TRAP 20 (precondition violated)

 Ports.Frame.DrawRect [0000033CH]
.b INTEGER -2147475710
.col INTEGER 16777215
.f Ports.Frame [0109A500H]
.l INTEGER 537289218
.r INTEGER 538365543
.s INTEGER -1
.t INTEGER 2147358236
.u INTEGER 2292276
 StatDisplay.FillRect [00000307H]
.bottom INTEGER -2147475710
.left INTEGER 537289218
.r StatDisplay.Rectangle fields
.right INTEGER 538365543
.top INTEGER 2147358236
 StatDisplay.PlotPtr.RestoreGrid [00002754H]
.c StatDisplay.Coordinate fields
.c0 StatDisplay.Coordinate fields
.c1 StatDisplay.Coordinate fields
.p StatDisplay.PlotPtr [01030320H]
.prevWidth INTEGER 171450
.prevXc INTEGER 806067177
.prevYc INTEGER 536908218
.r StatDisplay.Rectangle fields
.str SpotLib.Str32 "1000" ...
.xc INTEGER 1074311736
.yc INTEGER 536993943
 StatDisplay.PlotRestore [00003B9BH]
.n INTEGER 2
.r StatDisplay.Rectangle fields
 StatDisplay.View.Restore [00003D83H]
.b INTEGER 2147347123
.h INTEGER 2147347123
.l INTEGER 0
.r INTEGER 2147347123
.t INTEGER 0
.thisFrame Views.Frame [0109A500H]
.v StatDisplay.View [010FA410H]
.w INTEGER 2147347123
 Views.RestoreFrame [00002998H]
.a Views.View [01107ED0H]
.b INTEGER 2147347123
.cb INTEGER 225449
.cl INTEGER 6
.col INTEGER -16777216
.cr INTEGER 225449
.ct INTEGER 6
.dx INTEGER 2292564
.dy INTEGER 98
.f Views.Frame [0109A500H]
.g Views.Frame NIL
.h INTEGER 63500
.l INTEGER 0
.op INTEGER 2
.r INTEGER 2147347123
.rd Ports.Rider [0109A560H]
.t INTEGER 0
.u INTEGER 9525
.v Views.View [010FA410H]
.w INTEGER 0

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

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


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

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhpIGFsbCxccGFyDQpccGFyDQpJJ3ZlIGJlZW4g
dHJ5aW5nIHRvIHRyYWNrIGRvd24gYSByZWNlbnRseSBkaXNjb3ZlcmVkIGJ1ZyBpblxwYXINCm9u
ZSBvZiBteSBCbGFja2JveCBwcm9ncmFtcy4gIFNvIGZhciwgaXQgYXBwZWFycyB0byBiZSBhIGJ1
Z1xwYXINCmludHJvZHVjZWQgaW50byB0aGUgQmxhY2tib3ggZnJhbWV3b3JrIGF0IHYxLjUuICBX
aGVu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TQ3MzQ3MTIzXHBhcg0KXHRhYiAucmRcdGFiIFBvcnRzLlJpZGVyXHRhYiBb
MDEwOUE1NjBIXSBccGFyDQpcdGFiIC50XHRhYiBJTlRFR0VSXHRhYiAwXHBhcg0KXHRhYiAudVx0
YWIgSU5URUdFUlx0YWIgOTUyNVxwYXINClx0YWIgLnZcdGFiIFZpZXdzLlZpZXdcdGFiIFswMTBG
QTQxMEhdIFxwYXINClx0YWIgLndcdGFiIElOVEVHRVJcdGFiIDBccGFyDQpccGFyDQotLS0gQmxh
Y2tCb3hccGFyDQotLS0gc2VuZCBzdWJqZWN0IEhFTFAgb3IgVU5TVUJTQ1JJQkUgdG8gYmxhY2ti
b3hAb2Jlcm9uLmNoXHBhcg0KXHBhcg0KLS0tIEJsYWNrQm94XHBhcg0KLS0tIHNlbmQgc3ViamVj
dCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9iZXJvbi5jaFxwYXINClxwYXINCn0

----boundary-LibPST-iamunique-976478091_-_---
Received on Thu Dec 14 2006 - 19:39:39 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:32:03 UTC