≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #388

Bug #388: CRASH: NSPortDelegateTickler

Kind bug
Product Synergy Advance
When Created 2006-03-29T11:25:46Z, updated 2007-12-15T09:37:09Z
Status closed
Reporter Greg Hurrell
Tags no tags

Description

Mysterious crash while Synergy Advance was running in the background (no user interaction, iTunes was in the middle of playing a track). Will attach crash log.

Comments

  1. Greg Hurrell 2006-03-29T11:26:50Z

    Created an attachment (id=52) Crash log

    Attaching the log. The crash occurred after Synergy Advance had been running normally for about 3 or 4 hours.

  2. Greg Hurrell 2006-03-30T01:55:25Z

    Same crash again after several hours of running:

    Thread 0 Crashed: 0 <> 0xfffeff20 objc_msgSend_rtp + 32 1 com.apple.Foundation 0x928df7dc __NSPortDelegateTickler + 88 2 com.apple.CoreFoundation 0x9075ccd8 __CFRunLoopDoObservers + 352 3 com.apple.CoreFoundation 0x9075cf78 __CFRunLoopRun + 420 4 com.apple.CoreFoundation 0x9075ca18 CFRunLoopRunSpecific + 268 5 com.apple.HIToolbox 0x9318f1e0 RunCurrentEventLoopInMode + 264 6 com.apple.HIToolbox 0x9318e874 ReceiveNextEventCommon + 380 7 com.apple.HIToolbox 0x9318e6e0 BlockUntilNextEventMatchingListInMode + 96 8 com.apple.AppKit 0x9368d104 _DPSNextEvent + 384 9 com.apple.AppKit 0x9368cdc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116 10 com.apple.AppKit 0x9368930c -[NSApplication run] + 472 11 com.apple.AppKit 0x93779e68 NSApplicationMain + 452 12 com.wincent.SynergyAdvance 0x00007ad0 start + 456 13 dyld 0x8fe01048 _dyld_start + 60

    Thread 0 crashed with PPC Thread State 64:

     srr0: 0x00000000fffeff20 srr1: 0x100000000000f930                        vrsave: 0x0000000000000000
       cr: 0x44028484          xer: 0x0000000000000000   lr: 0x00000000928df7dc  ctr: 0x0000000090008b80
       r0: 0x00000000928df7b4   r1: 0x00000000bfffe4d0   r2: 0x00000000ffffffff   r3: 0x0000000016f28e30
       r4: 0x0000000090a2a8d0   r5: 0x0000000090a1f3f8   r6: 0x0000000016f28e30   r7: 0x0000000016dfa300
       r8: 0x000000000002785f   r9: 0x0000000000000000  r10: 0x00000000170004a2  r11: 0x000000006f5ca8d0
      r12: 0x000000000006e06b  r13: 0x0000000000000000  r14: 0x0000000000000001  r15: 0x0000000000000001
      r16: 0x0000000000000000  r17: 0x0000000000000000  r18: 0x0000000000009877  r19: 0x0000000000000000
      r20: 0x000000001d1df9af  r21: 0x00000000005119c0  r22: 0x0000000000000002  r23: 0x0000000000511ad8
      r24: 0x0000000000511ad0  r25: 0x0000000000000000  r26: 0x0000000016f25100  r27: 0x0000000000000002
      r28: 0x0000000016f45968  r29: 0x0000000000000001  r30: 0x00000000a28e1de8  r31: 0x00000000928df794

    Again Synergy Advance was not the active application. The only common thing I can think of is that in both cases I had run the "leaks" command line tool on the process at some point before the crash.

  3. Greg Hurrell 2006-03-30T10:40:47Z

    Another, slightly different crash; again after hours of running:

    Thread 0 Crashed: 0 libobjc.A.dylib 0x909bffac _cache_getImp + 12 1 libobjc.A.dylib 0x909c2fc4 class_respondsToMethod + 44 2 com.apple.Foundation 0x928cedec -[NSObject respondsToSelector:] + 72 3 com.apple.Foundation 0x928df7dc __NSPortDelegateTickler + 88 4 com.apple.CoreFoundation 0x9075ccd8 __CFRunLoopDoObservers + 352 5 com.apple.CoreFoundation 0x9075cf78 __CFRunLoopRun + 420 6 com.apple.CoreFoundation 0x9075ca18 CFRunLoopRunSpecific + 268 7 com.apple.HIToolbox 0x9318f1e0 RunCurrentEventLoopInMode + 264 8 com.apple.HIToolbox 0x9318e874 ReceiveNextEventCommon + 380 9 com.apple.HIToolbox 0x9318e6e0 BlockUntilNextEventMatchingListInMode + 96 10 com.apple.AppKit 0x9368d104 _DPSNextEvent + 384 11 com.apple.AppKit 0x9368cdc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116 12 com.apple.AppKit 0x9368930c -[NSApplication run] + 472 13 com.apple.AppKit 0x93779e68 NSApplicationMain + 452 14 com.wincent.SynergyAdvance 0x00007ad0 start + 456 15 dyld 0x8fe01048 _dyld_start + 60

    Thread 0 crashed with PPC Thread State 64:

     srr0: 0x00000000909bffac srr1: 0x100000000000d930                        vrsave: 0x0000000000000000
       cr: 0x84028484          xer: 0x0000000000000000   lr: 0x00000000909c2fc4  ctr: 0x00000000909c2f98
       r0: 0x00000000928cedec   r1: 0x00000000bfffe420   r2: 0x0000000000000000   r3: 0x000000000063740b
       r4: 0x0000000090a1f3f8   r5: 0x0000000090a1f3f8   r6: 0x0000000016f0b5d0   r7: 0x0000000016f19e30
       r8: 0x00000000ffadeb8f   r9: 0x0000000000000000  r10: 0x00000000909bd648  r11: 0x00000000a28c28c4
      r12: 0x000000000063740b  r13: 0x0000000000000000  r14: 0x0000000000000001  r15: 0x0000000000000001
      r16: 0x0000000000000000  r17: 0x0000000000000000  r18: 0x0000000000007577  r19: 0x0000000000000000
      r20: 0x000000001d1df9af  r21: 0x00000000005119c0  r22: 0x0000000000000002  r23: 0x0000000000511ad8
      r24: 0x0000000000511ad0  r25: 0x0000000000000000  r26: 0x0000000016df5390  r27: 0x000000000063740b
      r28: 0x0000000090a1f3f8  r29: 0x0000000090a2a8d0  r30: 0x0000000090a1f3f8  r31: 0x00000000909c2fa8
  4. Greg Hurrell 2006-04-01T08:12:36Z

    Created an attachment (id=53) Crash log (minor variation)

  5. Greg Hurrell 2006-04-10T09:43:05Z

    Have just received a crash report from a user for this same crash (PowerPC). Won't bother to attach it as it looks substantially identical to my own logs.

  6. Greg Hurrell 2006-04-13T12:16:30Z

    Another variation:

    Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

    Thread 0 Crashed: 0 libobjc.A.dylib 0x909bf120 objc_msgSend + 32 1 libobjc.A.dylib 0x909bf670 class_initialize + 300 2 libobjc.A.dylib 0x909bf31c _class_lookupMethodAndLoadCache + 132 3 libobjc.A.dylib 0x909bf1f4 objc_msgSend + 244 4 com.apple.Foundation 0x928df7dc __NSPortDelegateTickler + 88 5 com.apple.CoreFoundation 0x9075ccd8 __CFRunLoopDoObservers + 352 6 com.apple.CoreFoundation 0x9075cf78 __CFRunLoopRun + 420 7 com.apple.CoreFoundation 0x9075ca18 CFRunLoopRunSpecific + 268 8 com.apple.HIToolbox 0x9318f1e0 RunCurrentEventLoopInMode + 264 9 com.apple.HIToolbox 0x9318e874 ReceiveNextEventCommon + 380 10 com.apple.HIToolbox 0x9318e6e0 BlockUntilNextEventMatchingListInMode + 96 11 com.apple.AppKit 0x9368d104 _DPSNextEvent + 384 12 com.apple.AppKit 0x9368cdc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116 13 com.apple.AppKit 0x9368930c -[NSApplication run] + 472 14 com.apple.AppKit 0x93779e68 NSApplicationMain + 452 15 com.wincent.SynergyAdvance 0x000080a0 __darwin_gcc3_preregister_frame_info + 408 16 com.wincent.SynergyAdvance 0x00007ad0 start + 456 17 dyld 0x8fe01048 _dyld_start + 60

    Thread 0 crashed with PPC Thread State 64:

     srr0: 0x00000000909bf120 srr1: 0x100000000000f030                        vrsave: 0x0000000000000000
       cr: 0x44028482          xer: 0x0000000000000000   lr: 0x00000000909bf670  ctr: 0x0000000090008b80
       r0: 0x00000000909bf660   r1: 0x00000000bfffe680   r2: 0x0000000000000000   r3: 0x000000000003c20b
       r4: 0x00000000909cf040   r5: 0x0000000000000050   r6: 0xffffffffffffffff   r7: 0x0000000015e36f70
       r8: 0x00000000000245bf   r9: 0x0000000000000004  r10: 0x000000000000050c  r11: 0x000000006f62f040
      r12: 0x0000000002003016  r13: 0x0000000000000000  r14: 0x0000000000000001  r15: 0x0000000000000001
      r16: 0x0000000000000000  r17: 0x0000000000000000  r18: 0x00000000000077af  r19: 0x0000000000000000
      r20: 0x000000001d1dee65  r21: 0x0000000000311aa0  r22: 0x0000000000000002  r23: 0x0000000000311bb8
      r24: 0x0000000000311bb0  r25: 0x0000000000000000  r26: 0x0000000090a2a8d0  r27: 0x000000000003c20b
      r28: 0x0000000000000001  r29: 0x0000000002003016  r30: 0x000000000003c20b  r31: 0x00000000909bf554
  7. Greg Hurrell 2006-04-13T12:17:37Z

    And another:

    Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

    Thread 0 Crashed: 0 <> 0xfffeff20 objc_msgSend_rtp + 32 1 com.apple.Foundation 0x928df7dc __NSPortDelegateTickler + 88 2 com.apple.CoreFoundation 0x9075ccd8 __CFRunLoopDoObservers + 352 3 com.apple.CoreFoundation 0x9075cf78 __CFRunLoopRun + 420 4 com.apple.CoreFoundation 0x9075ca18 CFRunLoopRunSpecific + 268 5 com.apple.HIToolbox 0x9318f1e0 RunCurrentEventLoopInMode + 264 6 com.apple.HIToolbox 0x9318e874 ReceiveNextEventCommon + 380 7 com.apple.HIToolbox 0x9318e6e0 BlockUntilNextEventMatchingListInMode + 96 8 com.apple.AppKit 0x9368d104 _DPSNextEvent + 384 9 com.apple.AppKit 0x9368cdc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116 10 com.apple.AppKit 0x9368930c -[NSApplication run] + 472 11 com.apple.AppKit 0x93779e68 NSApplicationMain + 452 12 com.wincent.SynergyAdvance 0x000080a0 __darwin_gcc3_preregister_frame_info + 408 13 com.wincent.SynergyAdvance 0x00007ad0 start + 456 14 dyld 0x8fe01048 _dyld_start + 60

    Thread 0 crashed with PPC Thread State 64:

     srr0: 0x00000000fffeff20 srr1: 0x100000000000d030                        vrsave: 0x0000000000000000
       cr: 0x44028484          xer: 0x0000000000000000   lr: 0x00000000928df7dc  ctr: 0x0000000090008b80
       r0: 0x00000000928df7b4   r1: 0x00000000bfffe7e0   r2: 0x0000000000000000   r3: 0x0000000015eabea0
       r4: 0x0000000090a2a8d0   r5: 0x0000000090a1f3f8   r6: 0x0000000015eabea0   r7: 0x0000000015e984a0
       r8: 0x00000000e8edf3df   r9: 0x0000000000000000  r10: 0x00000000909bd648  r11: 0x000000006f5ca8d0
      r12: 0x00000000000a55db  r13: 0x0000000000000000  r14: 0x0000000000000001  r15: 0x0000000000000001
      r16: 0x0000000000000000  r17: 0x0000000000000000  r18: 0x0000000000008a47  r19: 0x0000000000000000
      r20: 0x000000001d1dee65  r21: 0x0000000000311ac0  r22: 0x0000000000000002  r23: 0x0000000000311bd8
      r24: 0x0000000000311bd0  r25: 0x0000000000000000  r26: 0x0000000017121040  r27: 0x0000000000000002
      r28: 0x0000000015e984a8  r29: 0x0000000000000001  r30: 0x00000000a28e1de8  r31: 0x00000000928df794
  8. Greg Hurrell 2006-04-14T21:13:03Z
    • ** Bug 404 has been marked as a duplicate of this bug. ***
  9. Greg Hurrell 2006-04-16T19:52:59Z

    I believe I've now fixed this. Took me several days to track it down. (For the curious, I'll write a short article about it and post it to my weblog soon.) Adding the "fixed-in-prerelease" keyword. Once the new version out and people have tested it and confirm that this crash is indeed gone will mark this as FIXED/CLOSED. Will do the same for bug #397 as I suspect that the underlying cause of the two issues is the same and has now been fixed; it's just that the problem manifested itself with slightly different crash logs on Intel and PowerPC platforms.

    To be notified of the next release you can subscribe to the announcements mailing list.

  10. Greg Hurrell 2006-04-16T20:01:23Z

    Potentially also related to bug #396.

  11. Greg Hurrell 2006-05-05T12:20:47Z

    0.4 is now out. Full announcement here:

    https://wincent.dev/a/news/archives/2006/05/synergy_advance_8.php

    Marking as FIXED/CLOSED.

  12. Greg Hurrell 2006-05-30T18:34:37Z

    Just received a new report from a user running 0.4 on PowerPC which involves a crash with NSPortDelegateTickler in the stack trace.

    Thread 0 Crashed: 0 libobjc.A.dylib 0x909bffac _cache_getImp + 12 1 libobjc.A.dylib 0x909c2fc4 class_respondsToMethod + 44 2 com.apple.Foundation 0x928cedec -[NSObject respondsToSelector:] + 72 3 com.apple.Foundation 0x928df7dc __NSPortDelegateTickler + 88 4 com.apple.CoreFoundation 0x9075ccd8 __CFRunLoopDoObservers + 352 5 com.apple.CoreFoundation 0x9075cf78 __CFRunLoopRun + 420 6 com.apple.CoreFoundation 0x9075ca18 CFRunLoopRunSpecific + 268 7 com.apple.HIToolbox 0x9318f1e0 RunCurrentEventLoopInMode + 264 8 com.apple.HIToolbox 0x9318e874 ReceiveNextEventCommon + 380 9 com.apple.HIToolbox 0x9318e6e0 BlockUntilNextEventMatchingListInMode + 96 10 com.apple.AppKit 0x9368d104 _DPSNextEvent + 384 11 com.apple.AppKit 0x9368cdc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116 12 com.apple.AppKit 0x9368930c -[NSApplication run] + 472 13 com.apple.AppKit 0x93779e68 NSApplicationMain + 452 14 com.wincent.SynergyAdvance 0x000080a0 __darwin_gcc3_preregister_frame_info + 408 15 com.wincent.SynergyAdvance 0x00007ad0 start + 456 16 dyld 0x8fe01048 _dyld_start + 60

  13. Greg Hurrell 2006-05-30T18:35:03Z

    Created an attachment (id=70) crash log for 0.4

  14. Greg Hurrell 2006-07-05T02:07:35Z

    Changing assignment to reflect my new email address.

    https://wincent.dev/a/news/archives/2006/05/change_of_email.php

  15. Greg Hurrell 2006-09-03T10:58:00Z

    Created an attachment (id=77) ppc crash log

    Very similar to attachment #70.

  16. Greg Hurrell 2007-12-15T09:37:09Z

    This is now fixed definitively for the next release of Synergy Advance. Thanks to new API in Leopard I was able to replace the problematic section with something much more simple and robust.

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets