minj / foxtrick

FoxTrick is a browser extension for the Hattrick online football manager game, currently available for Firefox, Google Chrome, as well as for Opera.
https://www.foxtrick.org
GNU General Public License v3.0
71 stars 49 forks source link

Crashes all HT pages in Chrome when i access a match report. #692

Closed minj closed 9 years ago

minj commented 9 years ago

Original issue 692 created by shadow2blade on 2011-02-11T19:49:21.000Z:

What steps will reproduce the problem?

What is the expected behaviour? What is the actual behaviour instead? You could provide a screenshot if necessary.

What is the version of the FoxTrick, your browser and operating system?

Copy FoxTrick debug output on the page here (Enable debug output at main preferences tab of FoxTrick)

Please provide any additional information below.

minj commented 9 years ago

Comment #1 originally posted by ryanlimigrate on 2011-02-13T04:46:37.000Z:

Hello, thanks for the report. Could you provide a link of the page that you are trying to navigate and copy the output in the JavaScript Console (by Ctrl-Shift-J) here? And which version of FoxTrick are you using?

Cc: [ryan](mailto:ryan@ryanium.com) Labels: -Platform-All, Platform-Chrome

minj commented 9 years ago

Comment #2 originally posted by shadow2blade on 2011-02-13T09:35:43.000Z:

Hello, Thank you for your interest and sorry for not supplying these details in the first place. I'm using foxtrick ver. 0.5.9.6012 The page crashes ( Aw, snap...thing ) when i access any match report. the link is the general one: https://www.hattrick.org/goto.ashx?path=/Club/Matches/

<https://www.hattrick.org/goto.ashx?path=/Club/Matches/%3EOne off the full links that crashes my pages is: https://www.hattrick.org/goto.ashx?path=/Club/Matches/Match.aspx%3FmatchID%3D302979944%26TeamId%3D700291%26BrowseIds%3D315953240%2C302979933%2C316135821%2C302979935%2C316343297%2C302979939%2C316563885%2C302979944%2C302979948%2C302979957%2C302979958%26UpdateViewedReport%3DFalse

<https://www.hattrick.org/goto.ashx?path=/Club/Matches/Match.aspx%3FmatchID%3D302979944%26TeamId%3D700291%26BrowseIds%3D315953240%2C302979933%2C316135821%2C302979935%2C316343297%2C302979939%2C316563885%2C302979944%2C302979948%2C302979957%2C302979958%26UpdateViewedReport%3DFalse%3EThe Match report appears for a split second as it should than the windows crashes.

the output of JS console, after i click the link above is :

25309-2.js:1http://optimized-by.rubiconproject.com/a/8150/13202/25309-2.js?cb=0.5156373896170408Uncaught SyntaxError: Unexpected token ILLEGAL 25309-2.js:-1http://optimized-by.rubiconproject.com/a/8150/13202/25309-2.js?cb=0.5156373896170408Resource interpreted as Script but transferred with MIME type image/gif. 25309-8.js:1http://optimized-by.rubiconproject.com/a/8150/13202/25309-8.js?cb=0.6903710728511214Uncaught SyntaxError: Unexpected token ILLEGAL 25309-8.js:-1http://optimized-by.rubiconproject.com/a/8150/13202/25309-8.js?cb=0.6903710728511214Resource interpreted as Script but transferred with MIME type image/gif. 25310-2.js:1http://optimized-by.rubiconproject.com/a/8150/13202/25310-2.js?cb=0.5295849482063204Uncaught SyntaxError: Unexpected token ILLEGAL

chrome-extension://bpfbbngccefbbndginomofgpagkjckik/content/foxtrick.js:1618chrome-extension://bpfbbngccefbbndginomofgpagkjckik/content/foxtrick.js-------------- FoxtrickMain.init start ------------------ chrome-extension://bpfbbngccefbbndginomofgpagkjckik/content/foxtrick.js:1618chrome-extension://bpfbbngccefbbndginomofgpagkjckik/content/foxtrick.js-------------- FoxtrickMain.init end -------------------- chrome-extension://bpfbbngccefbbndginomofgpagkjckik/content/foxtrick.js:1618chrome-extension://bpfbbngccefbbndginomofgpagkjckik/content/foxtrick.jsreload_module_css

Another weird thing at the images missing form the player page, the left side of the page, containing the links posted by foxtrick usually. THe same on the home page of the team, regardin missing pictures.

I also tried stage / non-stage. It's the same effect.

Thanks again.

Chrome when i access a match report.

copy the output in the JavaScript Console (by Ctrl-Shift-J) here?

minj commented 9 years ago

Comment #3 originally posted by ryanlimigrate on 2011-02-14T07:37:24.000Z:

Then how does the browser crashes? Any message does it says?

minj commented 9 years ago

Comment #4 originally posted by shadow2blade on 2011-02-14T08:47:05.000Z:

This how it crashes, no other messages. After i click the lick provided, or any other match.

I attached an image, of the Aw, snap ! thing

minj commented 9 years ago

Comment #5 originally posted by ryanlimigrate on 2011-02-15T06:32:10.000Z:

Google Code provide very limited support for replying via email, so I cannot see your screenshot. But never mind, could you help provide further support by identifying which module is causing this crash by disabling them all and enable them one by one? I can't reproduce it here and it's the main obstacle preventing me from fixing this.

minj commented 9 years ago

Comment #6 originally posted by shadow2blade on 2011-02-15T10:51:37.000Z:

I tried even in incognito mode. If i access the match report page all goes well, if i allow foxtrick in incognito mode and reload the page, it crashes, goes gray and shows the " Aw,Snap ! something gone wrong " message. Hope it helps. So i don't think it's about my other extensions...

minj commented 9 years ago

Comment #7 originally posted by ryanlimigrate on 2011-02-17T03:32:09.000Z:

I don't think it's caused by other extensions, but what I meant is FoxTrick's modules. In the options page you could disable all modules, and then try again. And enable the modules one by one to see which module is causing the problem. I suspect there is an endless loop causing the page to freeze and then crashing it.

Sorry for the delay, but I have been busy with other stuffs…

minj commented 9 years ago

Comment #8 originally posted by shadow2blade on 2011-02-17T09:01:56.000Z:

Now i understand what you were saying. I disabled all the modules from the matches page and it works fine. Sort of.... If i try to re-enable one of them, any one... i click the check-box and click save, it says your preferences are saved, and they are not, if i refresh the page the check-box isn't checked any more. I have chrome dev and have enabled some of the flags could that be a problem ?

minj commented 9 years ago

Comment #9 originally posted by shadow2blade on 2011-02-17T09:22:21.000Z:

The weirdest thing happened... i updated to the new version( released yesterday ) of chrome dev, and everything was back to normal, but i had to uninstall and reinstall the extension to fix to problem with saving options on the preferences page. Thank you again for your concern. If i find anything else i will keep you posted.

minj commented 9 years ago

Comment #10 originally posted by ryanlimigrate on 2011-02-17T09:27:57.000Z:

Glad to have it solved, I'll mark this issue as invalid as the root of the problem is not found. There are some problems with preferences saving in Chrome, which I'll take time to look at in the future.

If you ever encounter this problem, just feel free to create another issue here.

Status: Invalid