≡

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 #78

Bug #78: Synergy is not (slow) responding

Kind bug
Product Synergy
When Created 2004-12-18T01:05:05Z, updated 2005-03-08T03:08:26Z
Status closed
Reporter bugzilla user 54
Tags no tags

Description

As with the release of the new version (1.5) synergy is completely unusable because of a spinning ball all the time.

itunes is responding/behaving normal and does its job like everyday before. only synergy hangs and needs several seconds to recognize actions like hotkeys or opening the menu.

my activity monitor tells me synergy is causing a "system failure" also the application load is nearly zero.

i want to amend that itunes is NOT hanging as mentioned in other bugs and i am not using iChatSetStatus or any other tool polling itunes regularly.

Comments

  1. Greg Hurrell 2004-12-18T03:16:54Z

    Thanks for the report. Can you provide some information on how to reproduce this issue? Seeing as nobody else has reported this issue we'll need some specific information on how to reproduce it. Can you also clarify some of your language? For example, what do you mean by "all the time"? Do you actually mean 100% of the time? On boot? On launch? On click? etc. Can you also clarify what you mean by this "system failure" message? (I have never heard of such a message.) What is the actual text of the message? Where does it appear? If you'd like to see the issue fixed, I recommend that you check out this article. It provides some tips on how to file a usable bug report. As it currently stands, your report provides me with no information that I could actually use to even begin investigating the problem. A sample would be useful, for example.

    https://wincent.dev/a/knowledge-base/archives/2004/11/how_to_file_a_g.php

  2. bugzilla user 54 2004-12-18T04:08:32Z

    Sorry for my incomplete bug report!

    The spinning ball appeared every time i moved my mouse over the menubar. Also i recognized slow responding for the hotkey-feature as i mentioned before sometimes it took several seconds to fulfill the commands.

    I brought iTunes to the front paused it and the menu showed on clicking. But after a few seconds the spinning ball appeared again and the program continued to respond very slow. Even if the ball was spinning i could click the button but i had to wait for nearly 10 seconds to get the menu.

    The message "system failure" appeared after the process name >> "Synergy (system failure)" and the text color changed to red but the load was around zero (i never seen this state before too!).

    I did uninstall/install cycles but nothing helped. The only thing i really forgot is trying to delete the preference list. For now it seems to work. Synergy is responding like hell, really!

    I updated from version 1.5b maybe there could be the problem? With 1.5b i never experienced this slow responding behaviour.

    Sorry again, specially for my broken english.

  3. Greg Hurrell 2004-12-18T04:54:56Z

    Try to get a sample of what Synergy is doing the next time you see the beachball.

    Open Activity Monitor, find Synergy in the list, and double-click it. This will open a window with more information. In that window is a "Sample" button. Next time you see the beachball, click that button to take a sample. That will tell us what Synergy is doing at the time of the beachball. Most like this will turn out to be a duplicate of bug #39 or potentially bug #7.

  4. bugzilla user 54 2004-12-22T02:57:58Z

    Created an attachment (id=7) Here is the sample result for my problem with the spinning ball

  5. bugzilla user 54 2004-12-22T02:59:35Z

    Created an attachment (id=8) A screenshot of my activity monitor

  6. Greg Hurrell 2004-12-22T04:00:14Z

    Thanks, Björn. I am very puzzled by the sample report because of some of the methods look totally unfamiliar to me. For example, these things which resemble C++ method calls (Synergy is written in Objective-C with no C++):

       270 Thread_1403
         270 _pthread_body
           270 CAPThread::Entry(CAPThread*)
             270 HALRunLoop::OwnThread(void*)
               270 CFRunLoopRunSpecific
                 270 __CFRunLoopRun
                   270 mach_msg
                     270 mach_msg_trap
                       270 mach_msg_trap
       270 Thread_1503
         270 _pthread_body
           270 AVS::DestroyAVCDeviceController(AVS::AVCDeviceController*)
             270 CFRunLoopRun
               270 CFRunLoopRunSpecific
                 270 __CFRunLoopRun
                   270 mach_msg
                     270 mach_msg_trap
                       270 mach_msg_trap

    Are you running any third-party hacks, plugins, extras, patches etc? I see you are using APE, but where these threads are coming from I don't know. There is no Synergy-specific methods anywhere in the stacks for those threads.

    This part is also interesting:

                                               270 getaddrinfo
                                                 270 gai_lookupd
                                                   270 _lookup_all
                                                     270 _lookup_all_secure

    It looks like a lot of time is being tied up looking up network addresses. Synergy will only ever try to look up two network addresses: xml.amazon.com, to download covers, and another, to ask what the latest version is. Regardless, neither of these lookups should cause the program to lock up, even if they take a long time, because they occur in a separate thread.

    I've tried to convert some of the numeric addresses in that particular thread to find out where these calls are coming from.

       270 Thread_110b
         270 _dyld_start
           270 __start (in Synergy) (crt.c:267)
             270 _NSApplicationMain (in AppKit)
               270 -[NSApplication run] (in AppKit)
                 270 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
                   270 __DPSNextEvent (in AppKit)
                     270 _BlockUntilNextEventMatchingListInMode (in HIToolbox)
                       270 _ReceiveNextEventCommon (in HIToolbox)
                         270 _RunCurrentEventLoopInMode (in HIToolbox)
                           270 CFRunLoopRunSpecific
                             270 __CFRunLoopRun
                               270 __CFRunLoopDoTimer
                                 270 ___NSFireTimer (in Foundation)
                                   270 -[SynergyController tellITunesResume] (in Synergy) (SynergyController.m:

    5175)

                                     270 -[SynergyController tellITunesResume] (in Synergy) (SynergyController.m:

    5183)

                                       270 -[SynergyController nextHotKeyPressed] (in Synergy) (SynergyController.m:

    5193)

                                         270 0x90d02d98
                                           270 0x90d02fa4
                                             270 0x90d013cc
                                               270 getaddrinfo
                                                 270 gai_lookupd
                                                   270 _lookup_all
                                                     270 _lookup_all_secure
                                                       270 mach_msg
                                                         270 mach_msg_trap
                                                           270 mach_msg_trap

    Not sure how accurate these conversions will be, seeing as I don't have a build of 1.5 with debug symbols. I had to do the conversion using 1.6 (not released yet). Presuming the conversion is at least reasonably accurate, it suggests that you were using the hot keys at the time, or just prior to the sample. Is that right? Perhaps even multiple times, given the number of times hot-key-related methods appear in the sample. Just why there would be a network lookup at that point is somewhat of a mystery to me. Notably, the last three numeric address didn't have any symbols associated with them, so I have no idea where they come from.

  7. bugzilla user 54 2004-12-22T08:11:01Z

    That sounds not good :(

    After i deleted the Synergy.plist the app is working well again ... for some time.

    What do you mean exactly with third-party hacks, plugins? Synergy is naked without any modification. APE is the only real "hack" i am using beside Synergy for system-wide purposes.

    I always put my laptop to sleep for transport, maybe this could cause a freeze? I will continue to monitor this behaviour to get as much details as possible.

  8. Greg Hurrell 2004-12-22T08:21:19Z

    As far as "third-party hacks", "plugins", "patches" etc go, I was hoping that you could tell me! I basically meant non-Apple stuff. I just have no idea what some of those symbols are in your sample, and have never seen them before. They don't look to me like Apple stuff, and they are certainly not my stuff either.

    I did a quick search, for example, for "DestroyAVCDeviceController" on Google and came up with 12 hits. 351 hits for "HALRunLoop". And 560 for "CAPThread". All of these numbers a relatively small, by Google standards. I am going to have a bit of a browse and see if I can find out what they are.

  9. bugzilla user 54 2004-12-22T20:31:21Z

    Hey,

    this morning i woke up my laptop from sleep and everything was fine UNTIL i wanted to start itunes with a hotkey and the spinning ball appeared again.

    I tried many scenarios in quitting/starting cycles but the spinning ball is now appearing very often. Its getting difficult to reproduce this behaviour exactly and to exclude other applications.

    I bet if i delete the .plist again it will continue to work as the last time i deleted it. So i will comment this later...

  10. Greg Hurrell 2004-12-22T21:19:34Z

    Rather than deleting the plist file, you should stop Synergy, drag the plist out to the Desktop, and then restart Synergy. We can then compare the old plist file to the new one and see what's different. We'll be able to see if the file is actually being corrupted, and if so, the question will be, why?

    Note that you shouldn't post your plist file here publicly, because if you do then you'll be sharing your license code.

    I would also disable all the APE stuff while you're doing this testing, just to make sure you're conducting the test in as controlled an environment as possible.

  11. bugzilla user 54 2004-12-22T23:22:43Z

    Okay ....

    I've uninstalled APE completely from my system, installed version 1.6 and the problem is still present. For testing purposes i also deleted the .plist again and attached a backup version (i made backups rather than just deleting them ;) of the plist WITHOUT registration informations.

    I also attached the analysis result from Synergy without APE installed, hope you will find anything more detailed.

    ( I cant live anymore without Synergy :((( )

  12. bugzilla user 54 2004-12-22T23:24:31Z

    Created an attachment (id=9) The analysis sample without installed ape-framework

  13. bugzilla user 54 2004-12-22T23:27:01Z

    Created an attachment (id=10) The .plist without registration entries

    I did not modificate this file. I just did not enter the registration so this file is an original Synergy property list.

  14. Chris Silich 2005-02-05T09:21:48Z
    • ** Bug 114 has been marked as a duplicate of this bug. ***
  15. bugzilla user 54 2005-02-05T09:36:10Z

    After a long period of testing/monitoring i have to amend that the spinning ball isnt appearing anymore. For me it seems like the last update to version 1.5 corrupted something related to Synergy. I did a major sweeping of all Synergy stuff, completely removing all the files followed by a clean install.

  16. Greg Hurrell 2005-03-08T03:08:26Z

    Marking as CLOSED.

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets