On Nov 1, 2011, at 2:52 PM, m.e.grimm wrote:
ok thanks for that! yeah I also independently verified this too....
so.... here is the crazy report:
and i noticed i noticed:
0x7fff8de93000 - 0x7fff8e1b7fff com.apple.HIToolbox 1.8
(???) <A3BE7C59-52E6-3A7F-9B30-24B7DD3E95F2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
Carbon? isnt this supposed to be using Cocoa?
I think there is a portion of Carbon that is maintained and ported to 64-bit. I think it was the Carbon UI stuff that was dropped. http://www.carbondev.com/site/?page=64-bit+Carbon
- 10 -[NSWindow(NSWindowResizing)
_hitTestWithHysteresisCheck:forEvent:allowWindowDragging:] + 346 (in AppKit) [0x7fff89d9ecf9] 10 +[NSWindow(NSWindowResizing) _mouseHysteresisCheck:withExpiration:andDistance:finalMouseLocation:]
- 483 (in AppKit) [0x7fff89dea25f]
crash is related all to the window resizing....
That code is Obj-C, so probably Cocoa...
.hc
cheers m
2011/10/27 András Murányi muranyia@gmail.com:
Since CGSRegisterCursorWithImages is a private function and it is not called directly form Pd, one could say it's a bug in CG per se - because the function that calls it from inside CG shall not pass on any illegal calls.
Andras
On Thu, Oct 27, 2011 at 21:19, m.e.grimm megrimm@gmail.com wrote:
yeah had a few min today to take some more look at this.
been reading up on the whole tk-cocoa thing too...
as far as I can tell, there are not multiple issues but one larger one narrowed down to:
Oct 27 15:01:49 megrimm-mbp.local Pd-0.43.1-extended-20111027[15460] <Error>: kCGErrorIllegalArgument: CGSRegisterCursorWithImages: Invalid hot spot (outside of size)
which occurs specifically when switching with the mouse between the PD console window and the canvas/patch window.
also I was totally wrong here:
You can resize on the left, right, and bottom left now? I guess that's a Lion thing.
No I actually CAN NOT with the autobuild ONLY with my special tk/cocoa build....
windows CAN be resized on lion from any corner (Any Corner Resizing) although again, on my tk-cocoa build PD will crash when trying to resize from the bottom right or left. This is NOT true of the PD console window though which can be resized without a problem from any corner.
my question is: whats the difference between the code for the PD console window that allows for resizing at any corner and the PD canvas windows that do not? I think this may be the heart of the prob with the crashes and weird error (CGSRegisterCursorWithImages) .... maybe.
other thing i am noticing is the mouse pointer keeping weird states (double pointer, etc) without reverting back to a pointer. I also get no "hand2" in edit mode. not sure if this is related to the windowing problem though...
I know that feeling all to well, it's nice to have some company in it.
i think im just starting to get old
m
On Wed, Oct 26, 2011 at 10:51 PM, Hans-Christoph Steiner hans@at.or.at wrote:
On Oct 25, 2011, at 6:37 PM, m.e.grimm wrote:
from that. Can you run Pd-extended 0.43 and trigger that crash, and post the crash log to a pastebin.com?
you mean with the autobuilds? I can not trigger that crash with those. those are fine...
but maybe more importantly:
Duh, sorry, the point was to test Pd without the included Tcl/Tk and to use Mac OS X's Tk/Cocoa.
You can resize on the left, right, and bottom left now? I guess that's a Lion thing.
No I actually CAN NOT with the autobuild ONLY with my special tk/cocoa build....
my eyes are bleeding so more from me will have to wait until tomorrow.
I know that feeling all to well, it's nice to have some company in it.
.hc
On Tue, Oct 25, 2011 at 4:02 PM, Hans-Christoph Steiner hans@at.or.at wrote:
On Oct 25, 2011, at 3:51 PM, m.e.grimm wrote:
> well commenting out lines 84 -> 86 in pdwindow.tcl stops the message: > > ----------- > UNHANDLED ERROR: can't find package tkdnd > while executing > "package require tkdnd" > ("uplevel" body line 1) > invoked from within > "uplevel #0 $tclcode" > FAILED TO LOAD /Library/Pd/tkdnd-plugin.tcl > ----------- > > > from appearing in the pd window. > > maybe thats something. IDK.
That's a red herring, you really want those lines in pdwindow.tcl since they show you Tcl errors. The UNHANDLED ERROR that you are seeing is caused by the file /Library/Pd/tkdnd-plugin.tcl. Remove that file and it will go away.
> i will have to mess with i more when i get time. I also wanted to > mention that I get spinning beachball and prog crash when I try to > resize a new doc only starting from the bottom right. all other > window > resizing (upper left and right, bottom left) work fine. does that > mean > anything to you?
You can resize on the left, right, and bottom left now? I guess that's a Lion thing.
> anyway here is the crash report:
That seems to show stuff deep in Tcl, so its hard to know what's going on from that. Can you run Pd-extended 0.43 and trigger that crash, and post the crash log to a pastebin.com? It should have more info since its built with debug symbols.
.hc
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com | 315.378.2136 _________________________________
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. - Benjamin Franklin