Closed
Bug 292823
Opened 19 years ago
Closed 15 years ago
Crash [@ nsDirEnumerator::HasMoreElements()] or [@ CarbonCore.557.0.0]
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: robert.strong.bugs, Unassigned)
References
Details
(Keywords: crash, helpwanted, Whiteboard: [ccbr])
Crash Data
Attachments
(1 file)
1.22 KB,
application/x-javascript
|
Details |
A crash can occur on Mac OS X in nsDirEnumerator::HasMoreElements() (CarbonCore is at the top of the stack) when it is called after the directory has been deleted. The nsIDirectoryEnumerator interface where this was discovered was introduced by Bug 291177. This is a spin off of Bug 292362 which fixes the incorrect code in the caller and this bug is for fixing the interface so that when the calling code is incorrect this interface doesn't cause a crash on Mac OS X. Note: This doesn't cause a crash on Win32 or Linux as reported in Bug 292362
Reporter | ||
Comment 1•19 years ago
|
||
Talkback data http://talkback-public.mozilla.org/talkback/fastfind.jsp?search=1&searchby=stacksig&match=contains&searchfor=CarbonCore.557.0.0&vendor=MozillaOrg&product=FirefoxTrunk&platform=All&buildid=&sortby=bbid
Reporter | ||
Updated•19 years ago
|
Summary: Crash [@ nsDirEnumerator::HasMoreElements()] or [@ CarbonCore] → Crash [@ nsDirEnumerator::HasMoreElements()] or [@ CarbonCore.557.0.0]
Reporter | ||
Updated•19 years ago
|
OS: Windows XP → MacOS X
Updated•19 years ago
|
Keywords: helpwanted
Reporter | ||
Comment 3•19 years ago
|
||
Caleb - there are only a couple of call sites that use nsDirEnumerator::HasMoreElements since it was recently added and they have to use it improperly and test on Mac OS X to cause the crash as stated in comment #0. It will take someone that has the time and possibly Mac OS X experience to fix this.
Updated•18 years ago
|
Assignee: dougt → nobody
QA Contact: xpcom
Comment 4•15 years ago
|
||
rs, want to make a mochitest for this, so it will be easy for someone with the Mac OS X experience to reproduce and fix the bug?
Whiteboard: [ccbr]
Reporter | ||
Comment 5•15 years ago
|
||
I wrote a simple unit test and Mossop wasn't able to reproduce it. Resolving -> WFM. I'll attach the unit test in a bit in case someone wants to make a crashtest out of it
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 6•15 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Crash Signature: [@ nsDirEnumerator::HasMoreElements()]
[@ CarbonCore.557.0.0]
You need to log in
before you can comment on or make changes to this bug.
Description
•