Closed fixer1234 closed 8 years ago
@fixer1234 that's really weird. I can't reproduce this at all, and there hasn't really been any change that should cause it to hang in the last few weeks.
If you don't want to disable the reminderfox add on, then you could try using a fresh profile again..?
@shu8 I've disabled ReminderFox as a test. The problem was intermittent, though, so it will take awhile to know if that's the problem. I'll leave it disabled for awhile. If the hanging doesn't recur, I'll re-enable ReminderFox to see if it repeats. If that appears to be the problem, is there a practical way to figure out what the conflict is to see if there's a potential fix?
SOX on Stack Overflow does the same thing for me in Chrome, but not in Vivaldi, which is very similar to Chrome. The page slows to a crawl after a few seconds or more, soon there are no more paints and renders, and within another few seconds my computer is brought to its knees and I have to kill Chrome. Nothing shows up in the logs, either.
Unchecked accidental recursion, perhaps? But that should cause an, ahem, Stack Overflow.
@catb0t thanks for that. This must mean it's a problem with SOX :(. I've got holidays coming up, so I'm going to look into this problem a bit more.
If either of you spot a pattern or common thing that happens, please do update me! :)
@shu8 I just ran into this with v2.0.1G on another computer. Firefox response time slowed way down (several second delay on a number of actions that are normally instantaneous). The action was just posting comments on a few posts, not even using SOX features, although SOX probably gets triggered by the action. Then SOX hung with a Firefox script dialog box (continue, cancel, debug). However, cancelling the script action didn't immediately hang again.
I have been using v2.0.1G on that computer since you told me to load it (you may be able to tell from your records when you made that available). It has been working well enough, and I use that computer intermittently enough, that I haven't bother to update it. I haven't recently had hanging or other problems with it or I would have updated it.
This might point to the SE site software. There was a recent Meta announcement that they've been working on system improvements. I wonder if changes to the SE site software is now causing some problems with SOX.
@shu8 I ran for several days with ReminderFox disabled. The problem just recurred, so it wasn't that. It happened several times. Each time, it was comment activity that seemed to trigger it. Initially, trying to expand hidden comments led to very long response time (many seconds). Writing and saving a comment triggered the hanging problem twice (with immediate re-hanging after cancelling the script).
I tried selecting Debug Script. The screen went from an in-focus script dialog box with dimmed Firefox, to Firefox being in-focus with a debug window at the bottom of the screen. However, Firefox was still unresponsive. From there, I was able to close Firefox. However, the Firefox process remained active for at least a full minute (a Firefox entry continued to be displayed in the process manager, with varying RAM and CPU usage, but no Firefox application displayed on the desktop). Eventually, a Mozilla dialog popped up about reporting a Firefox crash.
@fixer1234 @catb0t urgh, sorry, but I'm really having trouble reproducing this 😞.
I've enabled all the features and posted a few comments, but it's not crashing. Do you both by any chance have any other (of the same) userscripts that affect the SE sites installed? Or does the dialog box that comes up specifically say SOX has crashed?
If not, I know you're both saying it's random, but is there even a slight pattern at all!? :/
Sorry about this.. I really want to get this fixed but I can't until I actually reproduce it! I hope you understand! :)
@shu8 @catb0t I'm going to be experimenting and tracking. I'll report when I have something. In the meantime, here's some info that might be helpful in looking for common denominators.
Browser and add-ons:
I do most of my work on two platforms: Linux desktop: Firefox ESR 45.4.0 Windows laptop: Firefox 49.0.2 The symptoms have appeared on both. Here are all of the add-ons:
User Scripts: Both: SOX v2.0.1 (the Windows box had v2.0.1G because I hadn't gotten around to updating it. I just updated that to v2.0.1.) Linux only: Favourites Enhancer
Extensions: Both: Adblock Plus (disabled on SE sites) Ant Video Downloader SE AutoReview Comments Awesome Screenshot Duplicate This Tab Easy Copy FireShot Ghostery (SE sites are whitelisted) Greasemonkey gtranslate MeasureIt New Tab Homepage Page Portal Print Edit Redirect Bypasser Resurrect Pages Simple Timer Stylish Super Start TinEye Reverse Image Search User Agent Switcher Video Without Flash Web2PDF Converter YesScript YouTube HTML5 Player BetterPrivacy (disabled) Flash Video Downloader (disabled) JSONView (disabled)
Linux Only: ReminderFox (temporarily disabled for SOX testing)
User Styles: Windows: none Linux: Firefox - Active Tab Shadow High Visibility Background Tabs - Australis - Fx29 Snow Leopard menus
Appearance: Both: Default Theme
Plugins: Both: OpenH264 Video Codec provided by Cisco Systems (Mozilla inclusion) (always activate) Shockwave Flash (ask to activate)
Windows only: Primetime Content Decryption Modules provided by Adobe Systems (always activate) Widevine Content Decryption Module provided by Google (always activate) Coupons Inc Coupon Printer (ask to activate) Foxit Reader Plugin for Mozilla (ask to activate) Intel Identity Protection Technology (plug-in plus updater) (ask to activate) Java Deployment Toolkit 8.0.1110.14 (ask to activate) Java Platform SE 8 U111 (ask to activate) Silverlight Plug-In (ask to activate) Adobe Acrobat (disabled)
Linux only: KParts Plugin (always activate) IcedTea-Web Plugin (ask to activate) PackageKit (ask to activate) VLC Web Plugin (ask to activate) Google Talk Plugins (disabled) Google Talk Plugin Video Renderer (disabled) Skype Buttons for Kopete (disabled)
SOX features selected (same on both platforms):
@fixer1234 thank you sooooooooo much!! I hope this will help me find the cause! :)
@fixer1234 @catb0t does this still occur in the latest dev version? I didn't reproduce it, but I changed a line in the latest version that might have been a problem I hadn't noticed before... :/
@shu8 Loading and testing the new version is on my list for today or tomorrow. The problem is strangely intermittent, so it may take awhile to know.
@shu8 A Clue. As noted earlier, the problem seems to be triggered by comment activity. Today, responses on comment actions slowed to a crawl (e.g., fraction of a minute delay expanding comments with the "show more comments" button). After a few times, Firefox hung with the stop script dialog. This is the first time it recurred in days.
I started deselecting every SOX feature related to comments. The delays stopped when I deselected "Show when the author was last seen". Reselecting that feature started the delays again. So that feature seems to be at the root, and the problem seems to be something that builds over time until it hits some threshold that triggers failure..
Hmmm thanks for that experiment! I'll look into that feature to see possible flaws :)
On 1 Nov 2016 6:55 p.m., "fixer1234" notifications@github.com wrote:
@shu8 https://github.com/shu8 A Clue. As noted earlier, the problem seems to be triggered by comment activity. Today, responses on comment actions slowed to a crawl (e.g., fraction of a minute delay expanding comments with the "show more comments" button). After a few times, Firefox hung with the stop script dialog. This is the first time it recurred in days.
I started deselecting every SOX feature related to comments. The delays stopped when I deselected "Show when the author was last seen". Reselecting that feature started the delays again. So that feature seems to be at the root, and the problem seems to be something that builds over time until it hits some threshold that triggers failure..
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/soscripted/sox/issues/121#issuecomment-257659961, or mute the thread https://github.com/notifications/unsubscribe-auth/AIcNjnVYjrm5jIVCNBDPA9V2dKMAjXiRks5q54s5gaJpZM4KcXqn .
@fixer1234 I've changed something that I think was 'illegal JS' before within the last seen author info feature, and also reduced the work of the mutation observer on 2 other comment-related features. Hopefully the latest dev version g should be more stable... 😄
Please do keep me updated on the state of this one! :)
Intermittent issues are hard to know whether they're fixed. It would previously go up to many days without a problem and then resurface. I've been using dev G for a little over a day with no hanging so far. Maybe let it run for a total of a week, and close if no recurrence (can reopen after that if it rears its ugly head again)?
Fine with me :)
On 3 Nov 2016 3:55 p.m., "fixer1234" notifications@github.com wrote:
Intermittent issues are hard to know whether they're fixed. It would previously go up to many days without a problem and then resurface. I've been using dev G for a little over a day with no hanging so far. Maybe let it run for a total of a week, and close if no recurrence (can reopen after that if it rears its ugly head again)?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/soscripted/sox/issues/121#issuecomment-258185410, or mute the thread https://github.com/notifications/unsubscribe-auth/AIcNjvatg6ky4qqmFmD2LaXlOiBlXH-nks5q6gP1gaJpZM4KcXqn .
@shu8 This hasn't recurred in awhile. I'll close it and if it shows up again, it can be reopened.
Installed Version: 2.0.1 Environment: Firefox ESR 45.4.0/Greasemonkey
Also 2.0.2DEV
Expected Behavior
Actual Behavior
SOX hangs Firefox for several minutes, repeatedly and continuously. A window pops up asking whether to stop the script, which takes several minutes to work. Even checking the "don't ask again" box doesn't stop it from hanging again a second after the script finally cancels. Clicking the debug script option opens a dialog, but I have no idea what to do with it. That dialog did stop the hanging, though, so I could get to the add-ons page to disable SOX. Firefox becomes totally unresponsive, so I can't even close it.
The symptom started in v2.0.2DEV, so I rolled it back to v2.0.1. But it continued there. For each installation, I removed the old script, restart Firefox, then install the new script, so the issue isn't related to remnants of v2.0.2DEV.
SOX Errors logged to the browser console (if available)
Advise on what to capture and how to do it. I assume any action would need to be done in debug mode since Firefox is completely unresponsive otherwise.
Steps to reproduce
Not a clue. This symptom happened with some of the 2.0.1DEV versions, but it appeared to be fixed by a subsequent version. I used v2.0.1 for a number of days without a problem before trying v2.0.2DEV. Firefox has not been updated during this period, so that hasn't changed. The hanging seems to be unrelated to anything I'm actively doing in the browser; it just randomly starts.
Just realized that I did recently add the ReminderFox add-on. That wasn't installed when earlier versions of SOX hung, but it's the only recent change. I could try disabling that, but the hanging was random and intermittent, so it would be nice to have a more reliable way to tell if there is a connection.