ccd0 / 4chan-x

Adds various features to anonymous imageboards.
https://www.4chan-x.net/
Other
978 stars 133 forks source link

Out of memory errors (was: "Thread Watcher" initialization crashed.) #1253

Open ccd0 opened 7 years ago

ccd0 commented 7 years ago

[Please describe the steps needed to reproduce this error.]

Script: 4chan X ccd0 v1.13.3.0 userscript User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0 URL: http://boards.4chan.org/trash/thread/7158643#p7183539

[Exception... "Out of Memory" nsresult: "0x8007000e (NS_ERROR_OUT_OF_MEMORY)" location: "JS frame :: chrome://greasemonkey-modules/content/sandbox.js -> $.setValue :: line 4908" data: no] $</$.setValue@chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:4908:11 $</$.set@chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:5033:7 DataBoard</DataBoard.prototype.save@chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:5402:14 ThreadWatcher</ThreadWatcher.fetchAuto@chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:18692:9 ThreadWatcher</ThreadWatcher.init@chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:18437:7 Main</Main.initFeatures@chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:23786:11 Main</Main.init/</<@chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:23679:18 $</$.asap@chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:4508:14 Main</Main.init/<@chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:23663:16 $</$.getSync@chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:5027:12 Main</Main.init@chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:23662:15 @chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:24119:1 @chrome://greasemonkey-modules/content/sandbox.js -> 4chan-X.user.js:134:2

ccd0 commented 7 years ago

We expect a certain number of these even if there's no problem with 4chan X. Maybe we should add a custom error message for this so it doesn't keep generating issues.

Interesting it seems to happen most often with the thread watcher, though. Maybe some people are just never clearing out their thread watcher?