Created attachment 252386 [details] [diff] [review] patch When running any of the Java tests from bug 350886 that call |Mozilla.initXPCOM()|, test crashes when trying to access the directory service provider. The issue was that I was deleting the provided service provider immediately after calling |NS_InitXPCOM2()| (how did this code ever work?). Fixed that code to properly use an nsCOMPtr. Also fixed a related issue in |Mozilla.shutdownXPCOM()|. Patch attached.
Checked in to trunk. -> FIXED
Comment on attachment 252386 [details] [diff] [review] patch Asking for 220.127.116.11 approval. Fix for crasher. XULRunner only.
Comment on attachment 252386 [details] [diff] [review] patch approved for 18.104.22.168, a=dveditz for release-drivers
Checked in to MOZILLA_1_8_BRANCH.
Javier: If you have verified this fix with the latest 22.214.171.124 rc builds, can you update the keywords with "verified1.8.14"? Thanks!