Skip to main content

Bug Tracker

Side navigation

#11851 closed bug (invalid)

Opened June 03, 2012 03:00PM UTC

Closed September 26, 2012 08:48AM UTC

Last modified November 29, 2012 03:49PM UTC

IE9 crashes when using fadeout

Reported by: sbyard@pixelda.co.uk Owned by: sbyard@pixelda.co.uk
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

I have a DIV which is populated with a number of SPAN tags using JQUERY, which also attaches ONCLICK handlers that call the function below.

It works fine in CHROME and FIREFOX but crashes IE9. If I remove the line with Fadeout/FadeIn, IE9 works OK.

Further testing shows that ch.FadeOut is what causes the crash

function onCharacterSelected(event) {

_chSelected = event.data.charClicked;

call any attached functions

for (var i = 0; i < _selectedCallbacks.length; i++)

_selectedCallbacks[i](event.data.charClicked);

reset selected in display

t.children("span").each(function (index) {

var ch = $(this);

if (ch.text() == _chSelected) {

ch.removeClass("spanSelectList").addClass("spanSelectListSelected");

THE FADEOUT call causes IE9 to crash - MSHTML.dll (0x0000005 - memory access error)

ch.fadeOut(200).fadeIn(200);

}

else {

ch.removeClass("spanSelectListSelected").addClass("spanSelectList");

}

});

}

Attachments (0)
Change History (17)

Changed June 03, 2012 05:44PM UTC by sindresorhus comment:1

owner: → sbyard@pixelda.co.uk
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

Changed June 03, 2012 07:20PM UTC by anonymous comment:2

jsfiddle Example can be found at

http://jsfiddle.net/pixelda/yEEUk

IE9 still falls over when the sample code is executed in jsfiddle

Changed June 11, 2012 09:24PM UTC by anonymous comment:3

I am also experiencing this with jquery 1.6.2, 1.6.4 and 1.7.2

Changed June 26, 2012 08:21AM UTC by trac-o-bot comment:4

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed August 30, 2012 02:16PM UTC by anonymous comment:5

Anyone have a solution?

Changed September 09, 2012 03:28AM UTC by mikesherov comment:6

resolution: invalid
status: closedreopened

Changed September 09, 2012 03:29AM UTC by mikesherov comment:7

status: reopenedpending

Is this bug still happening using the edge version of jquery on jsfiddle?

Changed September 10, 2012 09:45AM UTC by sbyard@pixelda.co.uk comment:8

status: pendingnew

Yes

Changed September 10, 2012 12:29PM UTC by mikesherov comment:9

status: newpending

I'm unable to reproduce this issue. Do you have a simpler, more reliable example you can post on jsfiddle or jsbin to demonstrate the problem?

Changed September 11, 2012 01:27PM UTC by pixelda2 comment:10

Just keep clicking the buttons and occasionally click the "Z" and it will crash - i can make IE9 crash consistently on the jsfidlde site within 60 seconds.

I clicked "Y" then "Z" less than a dozen times on two occasions and IE9 crashed

Changed September 26, 2012 08:48AM UTC by trac-o-bot comment:11

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed November 21, 2012 03:31PM UTC by anonymous comment:12

It still determines IE9 to crash. It seems that fadeIn() is the culprit here. Can someone take a look at this problem?

Changed November 21, 2012 03:33PM UTC by adrianpavel@reea.net comment:13

Still reproducible.

Changed November 21, 2012 03:47PM UTC by dmethvin comment:14

From the description, it sounds like this could be due to some browser add-in. A hard crash in MSHTML.DLL is not something we should be able to create in JavaScript. I cannot reproduce it in my local IE9 on Windows 7 with either the original 1.7.2 or the latest jquery-git.js which 1.9 will be based upon. Animations were rewritten in 1.8 so if the crash still occurs there it is even more likely to be due to some browser add-in.

Changed November 22, 2012 07:36AM UTC by adrianpavel@reea.net comment:15

It still can be reproduced with all add-ins disabled, so i don't think that this is the issue. Both with jQuery 1.7. or edge.

Changed November 29, 2012 03:31PM UTC by adrianpavel@reea.net comment:16

http://stackoverflow.com/questions/10080706/debugging-an-ie-crash

The explanation for the crash is here.

And, yes: javascript DOES crash IE 9 rendering engine.

Changed November 29, 2012 03:49PM UTC by dmethvin comment:17

Thanks for the followup. Not much jQuery can do about that.