Updates hang for Japanese users

Asked by George Nachman

This problem probably sounds crazy, but I'm lost so I hope someone else has seen it before :)

I have a lot of Japanese users of my software and they frequently complain that Sparkle hangs for them. Here is an example screenshot: http://twitpic.com/3bwbsl

Thousands of non-Japanese users update all the time and I have never heard a complaint from them.

Any ideas what could possibly cause this? The app in question is iTerm2: http://code.google.com/p/iterm2/

Thanks for your help!
-George

Question information

Language:
English Edit question
Status:
Answered
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

Wow, uh, I have no idea. 1.5b6, or something more recent from source? Is the app actually hanging (as in, beachballing), or does it just hang out at that dialog and never load a web page? Do the buttons work?

I don't suppose you could persuade one of your more savvy Japanese users to sample the app via Activity Monitor?

Revision history for this message
George Nachman (4-launchpad-xyz-georgester-com) said :
#2

Yes, 1.5b6. Waiting to hear aback about the beachball and buttons, but here's the output from activity monitor:
http://dl.dropbox.com/u/71789/iTerm_sample.txt

Revision history for this message
Andy Matuschak (andymatuschak) said :
#3

Looks like it's in particular a problem with loading a particular web plugin: maybe a plugin that has Sparkle embedded? Version conflicts? What a nasty issue. Hrmmmm.

Revision history for this message
George Nachman (4-launchpad-xyz-georgester-com) said :
#4

I'll try to find out what plugins people have from now on. I'll update this issue if I find anything.

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Akinori MUSHA (akinori+launchpad) said :
#6

FWIW, here's what I got from Activity Monitor:

http://pastie.org/1445678

It is hogging CPU (~100%) and no buttons work.

Revision history for this message
George Nachman (gnachman) said :
#7

Do you have any browser Plugins installed?

On Jan 10, 2011, at 9:19 AM, Akinori MUSHA <email address hidden> wrote:

> Your question #136286 on Sparkle changed:
> https://answers.launchpad.net/sparkle/+question/136286
>
> Akinori MUSHA posted a new comment:
> FWIW, here's what I got from Activity Monitor:
>
> http://pastie.org/1445678
>
> It is hogging CPU (~100%) and no buttons work.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.

Revision history for this message
Akinori MUSHA (akinori+launchpad) said :
#8

% ls -1F /Library/Internet\ Plug-Ins
AdobePDFViewer.plugin/
Disabled Plug-Ins/
EPPEX Plugin.plugin/
Flash Player.plugin/
Flip4Mac WMV Plugin.plugin/
Flip4Mac WMV Plugin.webplugin/
JavaPlugin2_NPAPI.plugin@
JavaPluginCocoa.bundle@
LogMeIn.plugin/
LogMeInSafari32.plugin/
LogMeInSafari64.plugin/
NP-PPC-Dir-Shockwave*
Quartz Composer.webplugin/
QuickTime Plugin.plugin/
RealPlayer Plugin.plugin@
Silverlight.plugin/
SpeedDownload Browser Plugin.plugin/
flashplayer.xpt
iPhotoPhotocast.plugin/
nsIQTScriptablePlugin.xpt

I have another MacBook Pro which does not have AdobePDFViewer.plugin, EPPEX Plugin.plugin, and nsIQTScriptablePlugin.xpt installed reproduces this problem, so maybe you can exclude them from the suspect list.

Revision history for this message
Akinori MUSHA (akinori+launchpad) said :
#9

..and RealPlayer Plugin.plugin too. Here's another sample.

% ls -1F /Library/Internet\ Plug-Ins
DivXBrowserPlugin.plugin/
Flash Player.plugin/
Flip4Mac WMV Plugin.plugin/
Flip4Mac WMV Plugin.webplugin/
JavaPlugin2_NPAPI.plugin@
JavaPluginCocoa.bundle@
LogMeIn.plugin/
LogMeInSafari32.plugin/
LogMeInSafari64.plugin/
NP-PPC-Dir-Shockwave*
Quartz Composer.webplugin/
QuickTime Plugin.plugin/
Silverlight.plugin/
flashplayer.xpt
iPhotoPhotocast.plugin/
npdivx.xpt*
nsIQTScriptablePlugin.xpt

Revision history for this message
Akinori MUSHA (akinori+launchpad) said :
#10

FWIW, I have SafariKit (a SIMBL plugin) installed as well as some extensions like AutoPagerize, LiveReload, BetterSource and BuiltWith.

Revision history for this message
Andy Matuschak (andymatuschak) said :
#11

!!! Good lord. Would you mind, uh, doing a binary search on that massive collection to see if you can isolate what's going on?

Revision history for this message
George Nachman (4-launchpad-xyz-georgester-com) said :
#12

I had another user experience the same problem. He uninstalled all his extensions in Safari but the problem persists. Please see our exchange here: http://code.google.com/p/iterm2/issues/detail?id=475

The function that's hanging is actually open source and can be seen here: http://www.opensource.apple.com/source/WebKit/WebKit-7533.18.1/mac/Plugins/Hosted/NetscapePluginHostManager.mm

It is trying to execute WebKitPluginHost.app but it never finishes. This apparently a very common problem - whenever I release a build there are 5-10 tweets about it (out of ~3k users).

Revision history for this message
Launchpad Janitor (janitor) said :
#13

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
George Nachman (4-launchpad-xyz-georgester-com) said :
#14

A possible cause of the problem is that I'm calling waitpid(-1,...) and I'm sometimes winning a race against the the plugin host manager. The most convenient solution would be for me to temporarily remove my signal handler while Sparkle's window is open, but I couldn't tell if the delegate methods SUUpdater provides would let me do that reliably. Is this possible?

Revision history for this message
Andy Matuschak (andymatuschak) said :
#15

I think the safest thing for you to do would be to build your own custom update driver with hooks added as you need.

Can you help with this problem?

Provide an answer of your own, or ask George Nachman for more information if necessary.

To post a message you must log in.