http://icanhas.cheezburger.com/ javascript issue

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Mom-Kat

http://icanhas.cheezburger.com/ javascript issue

Unread post by Mom-Kat » 2017-11-29, 19:57

First, I realize that this issue probably stems from http://icanhas.cheezburger.com/ site's coding. However, I figured I'd better let PM know about the problem. I honestly don't know if you can actually find the issue, much less do anything with it, but I'll give you what I have.

My computer is on pretty much 24/7. I have Windows 7 Professional 64-bit SP1 and it is very stable. My CPU is a AMD FX-8320 Vishera (8 core) with ASUSTeK M5A99FX PRO R2.0 MOBO and I have 16GB ram. When my comp is up, 64 bit Pale Moon is open. Until recently, I would get a PM crash less than once a week. I have run the same extensions for several months.

I have long had three http://icanhas.cheezburger.com/ pages open in my browser all the time, as it updates several times a day and I enjoy the content. I recently updated to the latest PM browser - 27.6.1 and started having crashing and hang issues. At one point I got a javascript error message from http://icanhas.cheezburger.com/ and I clicked 'Stop Script'. Almost immediately my mouse began to stutter and nothing would open. I hit 'CTRL+ALT+DEL' and the task manager opened after almost a minute to show that Pale Moon was using 14GB of my 16GB Ram.

I did a clean install of Pale Moon with a new profile and installed NOSCRIPT. I also backed up to 27.5.1 where I had not had the problem, but it persisted - so it wasn't the update that triggered the problem. NOSCRIPT didn't really help, because if I stop the scripts that I believe were generating the issue, the pictures no longer load. *SIGH* The crashing continued, along with occasional episodes of locking up my system where I could move the mouse but nothing would open. I tried eliminating various extensions. The one thing I didn't try was safe mode, as to do my necessary activities I HAVE to have some extensions and sometimes the problem doesn't manifest for several hours.

The issue most often starts with the 'javascript warning'. Sometimes doing 'debug' or 'stop script' would end the issue, but other times the browser would hang or crash anyway. I'm not really sure precisely WHAT it is or why, nor can I do anything specific to make it happen - besides opening the pages. With those pages not opened my browser behaves quite well. So, my present solution is not to have the pages open, but to check them once a day. I miss it, honestly, but I'm not going to give up Pale Moon just to have them open all the time.

Here are the pages I kept open:
http://icanhas.cheezburger.com/
http://icanhas.cheezburger.com/lolcats?ref=navbar
http://icanhas.cheezburger.com/dogs?ref=navbar

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5172
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by Night Wing » 2017-11-29, 20:53

Mom-Kat wrote:I recently updated to the latest PM browser - 27.6.1 and started having crashing and hang issues.
This may or may not help, but the newest version of Pale Moon is (27.6.2).
Linux Mint 21.3 (Virginia) Xfce w/ Linux Pale Moon, Linux Waterfox, Linux SeaLion, Linux Firefox
MX Linux 23.2 (Libretto) Xfce w/ Linux Pale Moon, Linux Waterfox, Linux SeaLion, Linux Firefox
Linux Debian 12.5 (Bookworm) Xfce w/ Linux Pale Moon, Linux Waterfox, Linux SeaLion, Linux Firefox

User avatar
Nigaikaze
Board Warrior
Board Warrior
Posts: 1322
Joined: 2014-02-02, 22:15
Location: Chicagoland

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by Nigaikaze » 2017-11-30, 00:03

Night Wing wrote:This may or may not help, but the newest version of Pale Moon is (27.6.2).
It very well might help, considering this line from the release notes:
Fixed several crashes and memory safety hazards.
Nichi nichi kore ko jitsu = Every day is a good day.

Mom-Kat

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by Mom-Kat » 2017-11-30, 03:03

I will certainly try it. I'll post back if it helps.

:( *SIGH* Nope. I updated, loaded the cat page - within 4 pages it was stuttering / hanging. Then it slowed to a crawl and I just managed to get the browser to close. Opened it back up, reloaded the session and close the window before it loaded ... smooth as butter.

User avatar
Sajadi
Board Warrior
Board Warrior
Posts: 1226
Joined: 2013-04-19, 00:46

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by Sajadi » 2017-11-30, 09:40

You could try a clean install of Pale Moon (full uninstall and fresh install afterwards) and/or a clean new profile. No issues here at all while i was testing yesterday at home.

Also, try to deactivate hardware acceleration in the browser options.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35591
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by Moonchild » 2017-11-30, 13:54

That kind of memory inflation is almost always caused by a bad video driver.
Disabling hardware acceleration would possibly fix it in that case, as suggested already.

If you can't solve it, then please include an about:memory report in your reply here showing the memory inflation (open about:memory, and click "measure and save")
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
gracious1
Keeps coming back
Keeps coming back
Posts: 891
Joined: 2016-05-15, 05:00
Location: humid upstate NY

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by gracious1 » 2017-12-01, 02:37

Mom-Kat wrote:The issue most often starts with the 'javascript warning'. Sometimes doing 'debug' or 'stop script' would end the issue, but other times the browser would hang or crash anyway.
… So, my present solution is not to have the pages open, but to check them once a day.
Moonchild wrote:That kind of memory inflation is almost always caused by a bad video driver.
Disabling hardware acceleration would possibly fix it in that case, as suggested already.
If you can't solve it, then please include an about:memory report in your reply here showing the memory inflation (open about:memory, and click "measure and save")
I sometimes have the same problem when leaving Duolingo.com open for lengthy periods of time; I usually end up having to drop into console and killing one or more (or all) palemoon processes. I'll post my about:memory in the Linux area if I can reproduce it.
20 July 1969 🌗 Apollo 11 🌓 "One small step for [a] man, one giant leap for mankind." 🚀

Mom-Kat

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by Mom-Kat » 2017-12-01, 05:20

Moonchild wrote:That kind of memory inflation is almost always caused by a bad video driver.
Disabling hardware acceleration would possibly fix it in that case, as suggested already.

If you can't solve it, then please include an about:memory report in your reply here showing the memory inflation (open about:memory, and click "measure and save")
I'll make sure my driver is updated, then try turning off the Hardware acceleration. I'll try to get the report, if necessary, but generally when it hangs like that, I can't get anything to work.

Mom-Kat

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by Mom-Kat » 2017-12-01, 07:18

Well, it's still a problem. I updated to the latest video driver and unchecked the hardware acceleration option. I watched Pale Moon go from about 888,000 to 12,000,000 in my task manager. Getting a report was impossible - my system was just crawling. I had to reboot to get it back. I have no idea what the issue is. I did manage a report when it just hung momentarily, and I'll attach that.
memory-report.json.gz
(212.72 KiB) Downloaded 13 times
I'm sorry I can't be of more help. As long as the issue is just on that site, I'll live with it.

Mom-Kat

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by Mom-Kat » 2017-12-02, 06:39

It hangs in safe mode, also. It sometimes takes awhile - I can look at the first page, even the second, but eventually it will start to hang and the javascript warning pops up. I'm at a loss. Perhaps this weekend I can try again to do a clean install and see what happens. If someone would try and click through the first five pages and see if it's OK?

megaman

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by megaman » 2017-12-02, 08:47

On Pale Moon 27.6.2:
I got to Page 6 without RAM raises or crashes, or Javascript errors.

The only problem I have is that it is intensive for my computer when loading. As I scroll down, it gets constant freezes when scrolling around. (All on touch pad). All stuttery when I scrolled afterwards, everything finished loading.

After restarting my account(logging off and logging on) the pages would finish loading and everything was smooth. So, no problems after that.

The only alterations I mess with (on Pale Moon)
Options:
Advanced:
General: Native Compatibility, Hardware Acceleration, Check spelling.
Network: Settings: No Proxy
Privacy: Never Remember History.
And making the tabs to be on top.

On Basilik (2017.12.01):
Yes, my first time on the site would show a hang, my ram went up very high, and very slow scrolling, but it settled-down as long as I am not loading stuff when I scroll, and RAM wasn't going up anymore, after visiting the other pages. When all is done loading, I do get the browser continuing to scroll after I stop, albeit smooth.

Errors that popped-up:
Script: http://icanhas.cheezburger.com/ line 87 > eval:143

Another time I got this one:
Script: http://icanhas.cheezburger.com/ line 87 > eval:143
Along with RAM increase, until the browser was responsive.

After restarting my account, RAM thing didn't happen only the scrolling problem.

For kicks and giggles, I got on Firefox (58 Beta 8):
The scrolling was great until the RAM spiked and it might not be indefinite but it was a long time on maxed RAM, I had to force the browser to a close, and that's after excusing myself Away From Keyboard.

After restarting my account, no problems and all smooth.

In Conclusion, I did experiece the problem you mention but on Basilik, not Pale Moon. But, nonetheless, CONFIRMED for me. (And no problems after when restarting the account.)

So, logging off and logging on was the solution, or restarting the computer can do the same. Then again, the web master, or ad server, must've fixed the problem while I was visiting/testing. It's all Voodoo from what it looks like.

Edit: I was using Native to test something, as it is my Test Profile, but mostly Firefox Compatibility.

Mom-Kat

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by Mom-Kat » 2017-12-02, 10:34

megaman wrote: In Conclusion, I did experiece the problem you mention but on Basilik, not Pale Moon. But, nonetheless, CONFIRMED for me. (And no problems after when restarting the account.)
Thank you. It's nice to know I'm not crazy, LOL.

I came up with an idea - I closed all the windows except about:memory, then opened several instances of various pages of the site. Then I opened my task manager and scrolled to the Pale Moon process. In this way, I was able to watch and actually see the memory usage. It's not unusual for me to see over 1GB usage when I have graphic intensive pages open, but I can open over 100 tabs and Pale Moon usually performs well.

So, I opened Pale Moon, loaded about:memory and opened several http://icanhas.cheezburger.com pages. Then, I started simply reloading them without focusing on the page .... just reloading. As I did this, I watched the memory usage. At first it was pretty normal for PM (right now with 29 tabs it's around 700,000 K). Then I saw it actually start - the mem usage began to go up, but it was the same number of pages. I got three saved files while I watched the memory usage climb fro around 900,000K to over 2 GB - same number of pages, just reloading. I also tried the 'Minimize Memory Usage' button - and it would decrease it, but then it would start to climb again. I also noticed that the higher it climbed, the faster is climbed. I was able to close the browser before it got too high, so I didn't have to reboot.

So, here's the files - I hope they give some answers. If you need more, I'll do what I can.
memory-report.json.gz
(193 KiB) Downloaded 12 times
memory-report.json2.gz
(195.78 KiB) Downloaded 12 times
memory-report.json3.gz
(195.99 KiB) Downloaded 12 times

Mom-Kat

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by Mom-Kat » 2017-12-06, 13:06

Just a quick note. My Pale Moon has been running for well over 72 hours without a hang or crash since I stopped loading the icanhas.cheezburger.com site. So, it hasn't bee playing nice for awhile, apparently.

Mom-Kat

Re: http://icanhas.cheezburger.com/ javascript issue

Unread post by Mom-Kat » 2018-01-26, 20:00

I just wanted to inform you that whatever the issue was, it seems to be fixed. :wave: I love the fact that we can communicate our issues directly here and be heard. Best to you, Moonchild!!!! :D :D :D

Locked