Unfortunately I haven't been able to reproduce this on 10.6.5. It's been reported twice now on 10.6.4 though, so I know it's a real bug. Thanks for the crash log; I think the problem might be a size zero window or texture that's causing the crash. I'll try to get out a fix as soon as I can.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hopefully this was fixed in 0.5.4. OSX 10.6.4 crashes when you try to create a GL context with size = 0. I move some of the GUI elements around to avoid this (temporary) so that the GL pane always has a minimum size > 0.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jul 15 09:27:00 akka [0x0-0x1f99f98].org.wxwidgets.samples.Knitter[68981]: Bundle: /Applications/Knitter.app
Jul 15 09:27:00 akka [0x0-0x1f99f98].org.wxwidgets.samples.Knitter[68981]: Resources: /Applications/Knitter.app/Contents/Resources
Jul 15 09:27:00 akka [0x0-0x1f99f98].org.wxwidgets.samples.Knitter[68981]: Library path is now /Applications/Knitter.app/Contents/Resources/lib
Jul 15 09:27:06 akka Finder[247]: HIToolbox: received notification of WindowServer event port death.
Jul 15 09:27:06 akka Finder[247]: port matched the WindowServer port created in BindCGSToRunLoop
Jul 15 09:27:06 akka Keychain Access[462]: HIToolbox: received notification of WindowServer event port death.
Jul 15 09:27:06 akka Keychain Access[462]: port matched the WindowServer port created in BindCGSToRunLoop
Jul 15 09:27:06 akka DashboardClient[343]: kCGErrorFailure: _CGSLockWindow: Cannot synchronize window backing store
Jul 15 09:27:06 akka com.apple.launchd[1] (com.apple.WindowServer[88]): Job appears to have crashed: Floating point exception
Jul 15 09:27:06 akka DashboardClient[343]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Jul 15 09:27:06 akka DashboardClient[343]: kCGErrorFailure: _CGSLockWindow: Cannot synchronize window backing store
Jul 15 09:27:06: --- last message repeated 1 time ---
Jul 15 09:27:06 akka DashboardClient[343]: HIToolbox: received notification of WindowServer event port death.
Jul 15 09:27:06 akka DashboardClient[343]: port matched the WindowServer port created in BindCGSToRunLoop
Jul 15 09:27:06 akka DashboardClient[343]: kCGErrorFailure: _CGSLockWindow: Cannot synchronize window backing store
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you post your knitter.log inside the Knitter.app folder? I'd like to see whether this is happening during window initialization or during a canvas paint.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So the program runs fine and displays the rendering window, but then when a pattern is loaded it crashes? Is that right? Can you drag the rendering window to reposition the camera and see the axes move around, or does that also cause a crash? I'm glad you're able to build from source. Does the pre-built version exhibit the same behavior?
Unfortunately the log doesn't give me a lot of info. It does tell me that the program is loading OK and seems to be creating the GL context, but doesn't give me much more info on when exactly it crashes. I may build a version with a ton more debug info to try to find exactly where the crash happens.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ah, now I understand. Can you file a separate bug for the pattern never rendering and post your knitter.log from a semi-working session there? Sounds like there might be a couple of bugs at work here. Is your MacBook 32 or 64 bit? Did you install ODE through MacPorts?
I'll hopefully have a debug build for you sometime this week.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
crash log
Unfortunately I haven't been able to reproduce this on 10.6.5. It's been reported twice now on 10.6.4 though, so I know it's a real bug. Thanks for the crash log; I think the problem might be a size zero window or texture that's causing the crash. I'll try to get out a fix as soon as I can.
Hopefully this was fixed in 0.5.4. OSX 10.6.4 crashes when you try to create a GL context with size = 0. I move some of the GUI elements around to avoid this (temporary) so that the GL pane always has a minimum size > 0.
Still Fails on Knitter 0.5.4
Jul 15 09:27:00 akka [0x0-0x1f99f98].org.wxwidgets.samples.Knitter[68981]: Bundle: /Applications/Knitter.app
Jul 15 09:27:00 akka [0x0-0x1f99f98].org.wxwidgets.samples.Knitter[68981]: Resources: /Applications/Knitter.app/Contents/Resources
Jul 15 09:27:00 akka [0x0-0x1f99f98].org.wxwidgets.samples.Knitter[68981]: Library path is now /Applications/Knitter.app/Contents/Resources/lib
Jul 15 09:27:06 akka Finder[247]: HIToolbox: received notification of WindowServer event port death.
Jul 15 09:27:06 akka Finder[247]: port matched the WindowServer port created in BindCGSToRunLoop
Jul 15 09:27:06 akka Keychain Access[462]: HIToolbox: received notification of WindowServer event port death.
Jul 15 09:27:06 akka Keychain Access[462]: port matched the WindowServer port created in BindCGSToRunLoop
Jul 15 09:27:06 akka DashboardClient[343]: kCGErrorFailure: _CGSLockWindow: Cannot synchronize window backing store
Jul 15 09:27:06 akka com.apple.launchd[1] (com.apple.WindowServer[88]): Job appears to have crashed: Floating point exception
Jul 15 09:27:06 akka DashboardClient[343]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Jul 15 09:27:06 akka DashboardClient[343]: kCGErrorFailure: _CGSLockWindow: Cannot synchronize window backing store
Jul 15 09:27:06: --- last message repeated 1 time ---
Jul 15 09:27:06 akka DashboardClient[343]: HIToolbox: received notification of WindowServer event port death.
Jul 15 09:27:06 akka DashboardClient[343]: port matched the WindowServer port created in BindCGSToRunLoop
Jul 15 09:27:06 akka DashboardClient[343]: kCGErrorFailure: _CGSLockWindow: Cannot synchronize window backing store
New Windowserver Crash
I renamed/numbered the bug to 0.5.4 instead of 0.5.3. Next I'll get set up to build from source
Can you post your knitter.log inside the Knitter.app folder? I'd like to see whether this is happening during window initialization or during a canvas paint.
knitter.log from the crash
(Knitter.log is from 0.5.4 download.
Side note: Built fro CVS, crazy wild ride… comes up OK but crash on file load , paste rules OK but no visual output)
So the program runs fine and displays the rendering window, but then when a pattern is loaded it crashes? Is that right? Can you drag the rendering window to reposition the camera and see the axes move around, or does that also cause a crash? I'm glad you're able to build from source. Does the pre-built version exhibit the same behavior?
Unfortunately the log doesn't give me a lot of info. It does tell me that the program is loading OK and seems to be creating the GL context, but doesn't give me much more info on when exactly it crashes. I may build a version with a ton more debug info to try to find exactly where the crash happens.
Just to be clear:
prebuilt 0.5.4: WindowManager Crash on startup, knitter.log was attached.
build-from-source: I can drag the axes around fine, seems to parse patterns, but no fabric ever shows up (just axes).
I'd be happy to run a version with debug. - thanks for getting back to me on this.
Ah, now I understand. Can you file a separate bug for the pattern never rendering and post your knitter.log from a semi-working session there? Sounds like there might be a couple of bugs at work here. Is your MacBook 32 or 64 bit? Did you install ODE through MacPorts?
I'll hopefully have a debug build for you sometime this week.
Sure, I'll file a separate bug. My MacBook is 64 bit and I installed ODE and wxWidgets through MacPorts