Menu

#211 xxdiff errors under Mac Snow Leopard

open
nobody
None
5
2010-04-22
2010-04-22
Eric Nadler
No

I realize that Mac is not supported and that xxdiff might no longer be maintained based on other issues reported. I just figured I would report my issue anyway in case anyone out there has a fix.

I'm seeing errors spew out on the console after upgrading to Snow Leopard. xxdiff will also hang at startup sometimes. Perhaps it needs to be recompiled against a newer Qt?

Thanks,
Eric

cordelia:wgv-1.0.0 eric$ svnxxdiff
Index: mpApps/PlaybackMgr/PlaybackMgr.cc
===================================================================

*** Executing xxdiff mpApps/PlaybackMgr/.svn/text-base/PlaybackMgr.cc.svn-base mpApps/PlaybackMgr/PlaybackMgr.cc

*** Press Ctrl-C in this window to break all following diffs.

*** Note, you can edit the file you are diffing and then rediff
*** it with the original by pressing Ctrl-R on xxdiff window.

Thu Apr 22 13:51:46 cordelia.local xxdiff[23983] <Warning>: CGSResolveShmemReference : window.RO.shapeRegion : Reference offset (33088) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:51:46 cordelia.local xxdiff[23983] <Warning>: CGSResolveShmemReference : window.RO : Reference offset (32864) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:51:46 cordelia.local xxdiff[23983] <Error>: kCGErrorFailure: CGSNewWindowWithOpaqueShape: Cannot map window information shmem
Thu Apr 22 13:51:46 cordelia.local xxdiff[23983] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Qt: internal: kernel/qwidget_mac.cpp:1074 If you reach this error please contact Trolltech and include the
WidgetFlags used in creating the widget (1000)
Qt: internal: kernel/qwidget_mac.cpp:1077 This should not happen!
That cannot happen! 1162 [-50]
Thu Apr 22 13:51:47 cordelia.local xxdiff[23983] <Error>: kCGErrorIllegalArgument: CGSSetWindowAlpha: Invalid window 0x0
Index: mpApps/PlaybackMgr/PlaybackMgr.h
===================================================================

*** Executing xxdiff mpApps/PlaybackMgr/.svn/text-base/PlaybackMgr.h.svn-base mpApps/PlaybackMgr/PlaybackMgr.h

*** Press Ctrl-C in this window to break all following diffs.

*** Note, you can edit the file you are diffing and then rediff
*** it with the original by pressing Ctrl-R on xxdiff window.

Thu Apr 22 13:54:31 cordelia.local xxdiff[24013] <Warning>: CGSResolveShmemReference : window.RO.shapeRegion : Reference offset (33088) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:54:31 cordelia.local xxdiff[24013] <Warning>: CGSResolveShmemReference : window.RO.shapeRegion : Reference offset (32928) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:54:31 cordelia.local xxdiff[24013] <Warning>: CGSResolveShmemReference : window.RO.visRegion : Reference offset (33024) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:54:31 cordelia.local xxdiff[24013] <Warning>: CGSResolveShmemReference : window.RO.dirtyRegion : Reference offset (32864) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:54:31 cordelia.local xxdiff[24013] <Warning>: CGSResolveShmemReference : window.backing.RO : Reference offset (32928) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:54:31 cordelia.local xxdiff[24013] <Error>: kCGErrorFailure: _CGSBindWindowBacking: cannot map backing information shmem
Thu Apr 22 13:54:31 cordelia.local xxdiff[24013] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Thu Apr 22 13:54:31 cordelia.local xxdiff[24013] <Error>: kCGErrorFailure: _CGSLockWindow: Unable to lock window
Thu Apr 22 13:54:31 cordelia.local xxdiff[24013] <Error>: kCGErrorFailure: CGSLockWindowVisibleRegion
Thu Apr 22 13:54:31 cordelia.local xxdiff[24013] <Error>: kCGErrorInvalidOperation: CGSClearWindowDirtyRegion: not locked
Thu Apr 22 13:54:31 cordelia.local xxdiff[24013] <Error>: kCGErrorFailure: _CGSUnlockWindow: Unable to unlock window
Thu Apr 22 13:54:31 cordelia.local xxdiff[24013] <Error>: kCGErrorFailure: CGSUnlockWindowVisibleRegion
Index: mpApps/PlaybackMgr/PlaybackMgrCli.cc
===================================================================

*** Executing xxdiff mpApps/PlaybackMgr/.svn/text-base/PlaybackMgrCli.cc.svn-base mpApps/PlaybackMgr/PlaybackMgrCli.cc

*** Press Ctrl-C in this window to break all following diffs.

*** Note, you can edit the file you are diffing and then rediff
*** it with the original by pressing Ctrl-R on xxdiff window.

Thu Apr 22 13:54:34 cordelia.local xxdiff[24017] <Warning>: CGSResolveShmemReference : window.RO.shapeRegion : Reference offset (33088) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:54:34 cordelia.local xxdiff[24017] <Warning>: CGSResolveShmemReference : window.RO : Reference offset (32864) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:54:34 cordelia.local xxdiff[24017] <Error>: kCGErrorFailure: CGSNewWindowWithOpaqueShape: Cannot map window information shmem
Thu Apr 22 13:54:34 cordelia.local xxdiff[24017] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Qt: internal: kernel/qwidget_mac.cpp:1074 If you reach this error please contact Trolltech and include the
WidgetFlags used in creating the widget (1000)
Qt: internal: kernel/qwidget_mac.cpp:1077 This should not happen!
That cannot happen! 1162 [-50]
Thu Apr 22 13:54:34 cordelia.local xxdiff[24017] <Error>: kCGErrorIllegalArgument: CGSSetWindowAlpha: Invalid window 0x0
Index: mpApps/PlaybackMgr/PlaybackMgrApi.cc
===================================================================

*** Executing xxdiff mpApps/PlaybackMgr/.svn/text-base/PlaybackMgrApi.cc.svn-base mpApps/PlaybackMgr/PlaybackMgrApi.cc

*** Press Ctrl-C in this window to break all following diffs.

*** Note, you can edit the file you are diffing and then rediff
*** it with the original by pressing Ctrl-R on xxdiff window.

Thu Apr 22 13:54:36 cordelia.local xxdiff[24019] <Warning>: CGSResolveShmemReference : window.RO.shapeRegion : Reference offset (33088) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:54:36 cordelia.local xxdiff[24019] <Warning>: CGSResolveShmemReference : window.RO : Reference offset (32864) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:54:36 cordelia.local xxdiff[24019] <Error>: kCGErrorFailure: CGSNewWindowWithOpaqueShape: Cannot map window information shmem
Thu Apr 22 13:54:36 cordelia.local xxdiff[24019] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Qt: internal: kernel/qwidget_mac.cpp:1074 If you reach this error please contact Trolltech and include the
WidgetFlags used in creating the widget (1000)
Qt: internal: kernel/qwidget_mac.cpp:1077 This should not happen!
That cannot happen! 1162 [-50]
Thu Apr 22 13:54:36 cordelia.local xxdiff[24019] <Error>: kCGErrorIllegalArgument: CGSSetWindowAlpha: Invalid window 0x0
Index: mpApps/PlaybackMgr/PlaybackMgrApi.h
===================================================================

*** Executing xxdiff mpApps/PlaybackMgr/.svn/text-base/PlaybackMgrApi.h.svn-base mpApps/PlaybackMgr/PlaybackMgrApi.h

*** Press Ctrl-C in this window to break all following diffs.

*** Note, you can edit the file you are diffing and then rediff
*** it with the original by pressing Ctrl-R on xxdiff window.

Thu Apr 22 13:54:37 cordelia.local xxdiff[24021] <Warning>: CGSResolveShmemReference : window.RO : Reference offset (32864) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:54:37 cordelia.local xxdiff[24021] <Error>: kCGErrorFailure: CGSNewWindowWithOpaqueShape: Cannot map window information shmem
Thu Apr 22 13:54:37 cordelia.local xxdiff[24021] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Qt: internal: kernel/qwidget_mac.cpp:1074 If you reach this error please contact Trolltech and include the
WidgetFlags used in creating the widget (1000)
Qt: internal: kernel/qwidget_mac.cpp:1077 This should not happen!
That cannot happen! 1162 [-50]
Thu Apr 22 13:54:37 cordelia.local xxdiff[24021] <Warning>: CGSResolveShmemReference : window.RO.shapeRegion : Reference offset (33088) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:54:37 cordelia.local xxdiff[24021] <Warning>: CGSResolveShmemReference : window.RO : Reference offset (32864) exceeds bounds (32768) on shmem obj 0x3c19
Thu Apr 22 13:54:37 cordelia.local xxdiff[24021] <Error>: kCGErrorFailure: CGSNewWindowWithOpaqueShape: Cannot map window information shmem
Qt: internal: kernel/qwidget_mac.cpp:1074 If you reach this error please contact Trolltech and include the
WidgetFlags used in creating the widget (1000)
Qt: internal: kernel/qwidget_mac.cpp:1077 This should not happen!
That cannot happen! 1162 [-50]
Thu Apr 22 13:54:37 cordelia.local xxdiff[24021] <Error>: kCGErrorIllegalArgument: CGSSetWindowAlpha: Invalid window 0x0

Discussion

  • globs110

    globs110 - 2010-11-01

    Hi,
    I experienced these "hanging at startup" too with all xxdiff I compiled on 10.6. I'm currently porting xxdiff to Qt4, and this issue has been solved (at least, i've not experienced it anymore) when I removed the fork+pipe method used to spawn gnu diff, and replaced it by using Qt classes (QProcess).

     
  • globs110

    globs110 - 2010-11-20

    Solved with xxdiff 4.0b1 using QProcess.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.