No crash is involved. Problem is with plugin libs failed to load.
Root cause:
1) First LPTSTR commandLine = ::GetCommandLine(); results in a ill-formatted cstring that could not accept by GetLongPathName() in getMozVersion().
The commandLine contents is ""C:\Program Files\mozilla.org\Mozilla\mozilla.org" ".
The extraneous double quotes and space and the single '\' caused GetLongPathName() to fail with error 123 (illegal input parameter).
By replacing GetCommandLine() with GetModuleFileName(), GetLongPathName() is happier.
2) HKLM/software/Mozilla/Mozilla 1.8b/bin/PathToExe=C:\Program Files\mozilla.org\Mozilla\*m*ozilla.org
HKLM/software/Mozilla/Mozilla 1.7.13/bin/PathToExe=C:\Program Files\mozilla.org\Mozilla\*M*ozilla.org
while longPathName="C:\Program Files\mozilla.org\Mozilla\*m*ozilla.org"
The case sensitive comparison in line 87 of the old code fails for 1.7.13.
Danielle Pham (Inactive)
added a comment - BT2:EVALUATION
No crash is involved. Problem is with plugin libs failed to load.
Root cause:
1) First LPTSTR commandLine = ::GetCommandLine(); results in a ill-formatted cstring that could not accept by GetLongPathName() in getMozVersion().
The commandLine contents is ""C:\Program Files\mozilla.org\Mozilla\mozilla.org" ".
The extraneous double quotes and space and the single '\' caused GetLongPathName() to fail with error 123 (illegal input parameter).
By replacing GetCommandLine() with GetModuleFileName(), GetLongPathName() is happier.
2) HKLM/software/Mozilla/Mozilla 1.8b/bin/PathToExe=C:\Program Files\mozilla.org\Mozilla\*m*ozilla.org
HKLM/software/Mozilla/Mozilla 1.7.13/bin/PathToExe=C:\Program Files\mozilla.org\Mozilla\*M*ozilla.org
while longPathName="C:\Program Files\mozilla.org\Mozilla\*m*ozilla.org"
The case sensitive comparison in line 87 of the old code fails for 1.7.13.
This is a regression introduced by the fix for 6620045 in 6u4 b06. FF changes the registry entries from time to time. This was the main reason for 6620045. The fix for 6620045 includes a non-trivial function to determine the Moz. version from the registry and unfortunately introduces this regression. Since the current java plugin uses the same NS7 adapter to work with both Moz. and FF browsers. A simpler fix is to default to the NS7 adapter if reading of some of the registry entries has failed while in the process of determining the Moz. browser version. The new fix addresses both the issues in this bug and 6620045.
Calvin Cheung
added a comment - BT2:EVALUATION
This is a regression introduced by the fix for 6620045 in 6u4 b06. FF changes the registry entries from time to time. This was the main reason for 6620045. The fix for 6620045 includes a non-trivial function to determine the Moz. version from the registry and unfortunately introduces this regression. Since the current java plugin uses the same NS7 adapter to work with both Moz. and FF browsers. A simpler fix is to default to the NS7 adapter if reading of some of the registry entries has failed while in the process of determining the Moz. browser version. The new fix addresses both the issues in this bug and 6620045.
Calvin Cheung
added a comment - BT2:SUGGESTED FIX
http://web-east.east/deployment/www/webrevs/ccheung/1.6.0/6631506/
Calvin Cheung
Malathi Narayanan (Inactive)
Votes:
0Vote for this issue
Watchers:
1Start watching this issue
Created:
Updated:
Resolved:
Imported:
Indexed:
{"searchers":{"groups":[{"searchers":[{"name":"Project","id":"project","key":"issue.field.project","isShown":true,"lastViewed":1744033915744},{"name":"Summary","id":"summary","key":"issue.field.summary","isShown":true},{"name":"Type","id":"issuetype","key":"issue.field.issuetype","isShown":true,"lastViewed":1744033915745},{"name":"Status","id":"status","key":"issue.field.status","isShown":true,"lastViewed":1744033915752},{"name":"Priority","id":"priority","key":"issue.field.priority","isShown":true},{"name":"Resolution","id":"resolution","key":"issue.field.resolution","isShown":true},{"name":"Creator","id":"creator","key":"issue.field.creator","isShown":true},{"name":"Affects Version","id":"version","key":"issue.field.affectsversions","isShown":true},{"name":"Fix Version","id":"fixfor","key":"issue.field.fixversions","isShown":true},{"name":"Component","id":"component","key":"issue.field.components","isShown":true},{"name":"% Limits","id":"workratio","key":"issue.field.workratio","isShown":true},{"name":"Link types","id":"issue_link_type","key":"issue.field.issuelinks","isShown":true},{"name":"Environment","id":"environment","key":"issue.field.environment","isShown":true},{"name":"Description","id":"description","key":"issue.field.description","isShown":true},{"name":"Comment","id":"comment","key":"issue.field.comment","isShown":true},{"name":"Label","id":"labels","key":"issue.field.labels","isShown":true,"lastViewed":1744033915753},{"name":"Query","id":"text","key":"text","isShown":true},{"name":"Alert Reason","id":"customfield_10713","key":"com.atlassian.jira.plugin.system.customfieldtypes:textarea","isShown":false},{"name":"Author","id":"customfield_10700","key":"com.atlassian.jira.plugin.system.customfieldtypes:textfield","isShown":false},{"name":"Business Value","id":"customfield_11003","key":"com.atlassian.jira.plugin.system.customfieldtypes:float","isShown":false},{"name":"CPU","id":"customfield_10000","key":"com.atlassian.jira.plugin.system.customfieldtypes:multiselect","isShown":false},{"name":"Compatibility Kind","id":"customfield_11600","key":"com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes","isShown":false},{"name":"Compatibility Risk","id":"customfield_11300","key":"com.atlassian.jira.plugin.system.customfieldtypes:select","isShown":false},{"name":"Compatibility Risk Description","id":"customfield_11301","key":"com.atlassian.jira.plugin.system.customfieldtypes:textarea","isShown":false},{"name":"Development","id":"customfield_11700","key":"com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary","isShown":true},{"name":"Discussion","id":"customfield_10901","key":"com.oracle.jira.jira-ext-plugin-ftcf:oracle-obfuscatedEmailCustomField","isShown":false},{"name":"Duration","id":"customfield_10710","key":"com.atlassian.jira.plugin.system.customfieldtypes:select","isShown":false},{"name":"Effort","id":"customfield_10709","key":"com.atlassian.jira.plugin.system.customfieldtypes:select","isShown":false},{"name":"Epic Colour","id":"customfield_11009","key":"com.pyxis.greenhopper.jira:gh-epic-color","isShown":false},{"name":"Epic Link","id":"customfield_11006","key":"com.pyxis.greenhopper.jira:gh-epic-link","isShown":true},{"name":"Epic Name","id":"customfield_11007","key":"com.pyxis.greenhopper.jira:gh-epic-label","isShown":true},{"name":"Epic Status","id":"customfield_11008","key":"com.pyxis.greenhopper.jira:gh-epic-status","isShown":false},{"name":"Epic/Theme","id":"customfield_11001","key":"com.atlassian.jira.plugin.system.customfieldtypes:labels","isShown":true},{"name":"Exposure","id":"customfield_10703","key":"com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons","isShown":false},{"name":"Fixed","id":"customfield_10600","key":"com.oracle.jira.javabugsystem-jira-plugin:jbs-fixedBackportedCustomfield","isShown":true},{"name":"Flagged","id":"customfield_11000","key":"com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes","isShown":true},{"name":"Interface Kind","id":"customfield_11601","key":"com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes","isShown":false},{"name":"Introduced In Build","id":"customfield_10003","key":"com.atlassian.jira.plugin.system.customfieldtypes:select","isShown":false},{"name":"Introduced In Version","id":"customfield_10004","key":"com.atlassian.jira.plugin.system.customfieldtypes:version","isShown":false},{"name":"JEP Number","id":"customfield_10701","key":"com.atlassian.jira.plugin.system.customfieldtypes:textfield","isShown":false},{"name":"JEP Type","id":"customfield_10702","key":"com.atlassian.jira.plugin.system.customfieldtypes:select","isShown":false},{"name":"JSR","id":"customfield_10705","key":"com.atlassian.jira.plugin.system.customfieldtypes:textfield","isShown":false},{"name":"OS","id":"customfield_10005","key":"com.atlassian.jira.plugin.system.customfieldtypes:multiselect","isShown":false},{"name":"Oracle BP Candidates","id":"customfield_11800","key":"com.coresoftlabs.secure-fields.secure-fields:multisecureversion","isShown":true},{"name":"Oracle Evaluation","id":"customfield_11802","key":"com.coresoftlabs.secure-fields.secure-fields:secure-free-text","isShown":true},{"name":"Oracle WNF","id":"customfield_11801","key":"com.coresoftlabs.secure-fields.secure-fields:multisecureversion","isShown":true},{"name":"Original story points","id":"customfield_12004","key":"com.atlassian.jpo:jpo-custom-field-original-story-points","isShown":true},{"name":"Parent Link","id":"customfield_12001","key":"com.atlassian.jpo:jpo-custom-field-parent","isShown":false},{"name":"Rank","id":"customfield_11100","key":"com.pyxis.greenhopper.jira:gh-lexo-rank","isShown":true},{"name":"Rank (Obsolete)","id":"customfield_11004","key":"com.pyxis.greenhopper.jira:gh-global-rank","isShown":true},{"name":"Release Version History","id":"customfield_11010","key":"com.pyxis.greenhopper.jira:greenhopper-releasedmultiversionhistory","isShown":true},{"name":"Resolved In Build","id":"customfield_10006","key":"com.atlassian.jira.plugin.system.customfieldtypes:select","isShown":false},{"name":"Scope","id":"customfield_10704","key":"com.atlassian.jira.plugin.system.customfieldtypes:select","isShown":false},{"name":"Sprint","id":"customfield_11005","key":"com.pyxis.greenhopper.jira:gh-sprint","isShown":true},{"name":"Story Points","id":"customfield_11002","key":"com.atlassian.jira.plugin.system.customfieldtypes:float","isShown":false},{"name":"Subcomponent","id":"customfield_10008","key":"com.oracle.jira.jira-subcomponent-plugin:oracle-subComponentField","isShown":false},{"name":"Targeted","id":"customfield_10601","key":"com.oracle.jira.javabugsystem-jira-plugin:jbs-targetBackportedCustomfield","isShown":true},{"name":"Team","id":"customfield_12000","key":"com.atlassian.teams:rm-teams-custom-field-team","isShown":true},{"name":"Time Spent","id":"customfield_10300","key":"com.atlassian.jira.plugin.system.customfieldtypes:textfield","isShown":false},{"name":"Understanding","id":"customfield_10007","key":"com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons","isShown":false},{"name":"Verification","id":"customfield_10100","key":"com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons","isShown":false},{"name":"external_bug","id":"customfield_11900","key":"com.coresoftlabs.secure-fields.secure-fields:secure-text","isShown":true}],"type":"DETAILS","title":"Details"},{"searchers":[{"name":"Created Date","id":"created","key":"issue.field.created","isShown":true},{"name":"Updated Date","id":"updated","key":"issue.field.updated","isShown":true},{"name":"Resolution Date","id":"resolutiondate","key":"issue.field.resolution.date","isShown":true},{"name":"Due Date","id":"duedate","key":"issue.field.duedate","isShown":true},{"name":"Imported","id":"customfield_10001","key":"com.atlassian.jira.plugin.system.customfieldtypes:datetime","isShown":false},{"name":"Indexed","id":"customfield_10002","key":"com.atlassian.jira.plugin.system.customfieldtypes:datetime","isShown":false},{"name":"Integration Due","id":"customfield_10711","key":"com.atlassian.jira.plugin.system.customfieldtypes:datepicker","isShown":false},{"name":"Target end","id":"customfield_12003","key":"com.atlassian.jpo:jpo-custom-field-baseline-end","isShown":true},{"name":"Target start","id":"customfield_12002","key":"com.atlassian.jpo:jpo-custom-field-baseline-start","isShown":true}],"type":"DATES","title":"Dates"},{"searchers":[{"name":"Assignee","id":"assignee","key":"issue.field.assignee","isShown":true,"lastViewed":1744033915753},{"name":"Reporter","id":"reporter","key":"issue.field.reporter","isShown":true},{"name":"Endorsed By","id":"customfield_10801","key":"com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker","isShown":false},{"name":"Owner","id":"customfield_10800","key":"com.atlassian.jira.plugin.system.customfieldtypes:userpicker","isShown":false},{"name":"Reviewed By","id":"customfield_10802","key":"com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker","isShown":false}],"type":"PEOPLE","title":"People"}]},"values":{"issuetype":{"name":"Type","editHtml":"\n\n\n\n <div class=\"field-group aui-field-issuetype\" >\n <label for=\"searcher-type\">Type</label> <select class=\"select js-default-checkboxmultiselect\"\n id=\"searcher-type\"\n multiple=\"multiple\"\n name=\"type\"\n data-max-inline-results-displayed=\"100\"\n data-placeholder-text=\"Find Issue Types...\">\n <optgroup>\n \n <option class=\" \"\n id=\"type_-2\"\n title=\"All Standard Issue Types\"\n value=\"-2\">All Standard Issue Types</option>\n \n <option class=\" \"\n id=\"type_-3\"\n title=\"All Sub-Task Issue Types\"\n value=\"-3\">All Sub-Task Issue Types</option>\n </optgroup>\n\n <optgroup label=\"Standard Issue Types\">\n \n <option class=\" imagebacked 11600 12400 10100 \"\n data-icon=\"/secure/viewavatar?size=xsmall&avatarId=14716&avatarType=issuetype\"\n data-fallback-icon=\"/images/icons/issuetypes/blank.png\"\n id=\"type_6\"\n title=\"Backport\"\n value=\"6\">Backport</option>\n \n <option class=\" imagebacked 12400 11600 10100 \"\n data-icon=\"/secure/viewavatar?size=xsmall&avatarId=14703&avatarType=issuetype\"\n data-fallback-icon=\"/images/icons/issuetypes/blank.png\"\n id=\"type_1\"\n title=\"Bug\"\n value=\"1\">Bug</option>\n \n <option class=\" imagebacked 12000 12400 \"\n data-icon=\"/secure/viewavatar?size=xsmall&avatarId=20601&avatarType=issuetype\"\n data-fallback-icon=\"/images/icons/issuetypes/blank.png\"\n id=\"type_10100\"\n title=\"CSR\"\n value=\"10100\">CSR</option>\n \n <option class=\" imagebacked 12400 11600 10100 \"\n data-icon=\"/secure/viewavatar?size=xsmall&avatarId=14707&avatarType=issuetype\"\n data-fallback-icon=\"/images/icons/issuetypes/blank.png\"\n id=\"type_7\"\n title=\"Enhancement\"\n value=\"7\">Enhancement</option>\n \n <option class=\" imagebacked 11600 \"\n data-icon=\"/secure/viewavatar?size=xsmall&avatarId=14707&avatarType=issuetype\"\n data-fallback-icon=\"/images/icons/issuetypes/blank.png\"\n id=\"type_11\"\n title=\"Epic\"\n value=\"11\">Epic</option>\n \n <option class=\" imagebacked 11600 12400 10100 \"\n data-icon=\"/secure/viewavatar?size=xsmall&avatarId=14711&avatarType=issuetype\"\n data-fallback-icon=\"/images/icons/issuetypes/blank.png\"\n id=\"type_9\"\n title=\"JEP\"\n value=\"9\">JEP</option>\n \n <option class=\" imagebacked 11600 12400 10100 \"\n data-icon=\"/images/icons/issuetypes/requirement.png\"\n data-fallback-icon=\"/images/icons/issuetypes/blank.png\"\n id=\"type_10\"\n title=\"JEP Task\"\n value=\"10\">JEP Task</option>\n \n <option class=\" imagebacked 12400 11600 10100 \"\n data-icon=\"/secure/viewavatar?size=xsmall&avatarId=14700&avatarType=issuetype\"\n data-fallback-icon=\"/images/icons/issuetypes/blank.png\"\n id=\"type_2\"\n title=\"New Feature\"\n value=\"2\">New Feature</option>\n \n <option class=\" imagebacked 11600 \"\n data-icon=\"/secure/viewavatar?size=xsmall&avatarId=14715&avatarType=issuetype\"\n data-fallback-icon=\"/images/icons/issuetypes/blank.png\"\n id=\"type_12\"\n title=\"Story\"\n value=\"12\">Story</option>\n \n <option class=\" imagebacked 12400 11600 10100 \"\n data-icon=\"/secure/viewavatar?size=xsmall&avatarId=14718&avatarType=issuetype\"\n data-fallback-icon=\"/images/icons/issuetypes/blank.png\"\n id=\"type_3\"\n title=\"Task\"\n value=\"3\">Task</option>\n </optgroup>\n\n <optgroup label=\"Sub-Task Issue Types\">\n \n <option class=\" imagebacked 11600 12400 10100 \"\n data-icon=\"/secure/viewavatar?size=xsmall&avatarId=14716&avatarType=issuetype\"\n data-fallback-icon=\"/images/icons/issuetypes/blank.png\"\n id=\"type_5\"\n title=\"Sub-task\"\n value=\"5\">Sub-task</option>\n </optgroup>\n </select>\n </div>\n ","validSearcher":true,"isShown":true},"project":{"name":"Project","editHtml":" \n <div class=\"field-group aui-field-project\" >\n <label for=\"searcher-pid\">Project</label> <select class=\"js-project-checkboxmultiselect\"\n data-placeholder-text=\"Find Projects...\"\n id=\"searcher-pid\"\n multiple=\"multiple\"\n name=\"pid\">\n <optgroup label=\"Recent Projects\">\n </optgroup>\n <optgroup label=\"All Projects\" >\n \n <option data-icon=\"/secure/projectavatar?pid=11200&size=small\"\n title=\"CCC Migration Project\"\n value=\"11200\">\n CCC Migration Project (CCC)\n </option>\n <option data-icon=\"/secure/projectavatar?pid=10200&size=small\"\n title=\"Code Tools\"\n value=\"10200\">\n Code Tools (CODETOOLS)\n </option>\n <option data-icon=\"/secure/projectavatar?pid=10900&size=small\"\n title=\"Device I/O \"\n value=\"10900\">\n Device I/O (DIO)\n </option>\n <option data-icon=\"/secure/projectavatar?pid=10600&size=small\"\n title=\"Java Mission Control\"\n value=\"10600\">\n Java Mission Control (JMC)\n </option>\n <option data-icon=\"/secure/projectavatar?pid=10100&size=small\"\n title=\"JDK\"\n value=\"10100\">\n JDK (JDK)\n </option>\n <option data-icon=\"/secure/projectavatar?pid=10901&size=small\"\n title=\"Kona\"\n value=\"10901\">\n Kona (KONA)\n </option>\n <option data-icon=\"/secure/projectavatar?pid=11300&size=small\"\n title=\"Skara\"\n value=\"11300\">\n Skara (SKARA)\n </option>\n <option data-icon=\"/secure/projectavatar?pid=10801&size=small\"\n title=\"Sumatra\"\n value=\"10801\">\n Sumatra (SUMATRA)\n </option>\n </optgroup>\n </select>\n </div>\n \n\n","validSearcher":true,"isShown":true},"assignee":{"name":"Assignee","editHtml":"\n \n <div class=\"field-group aui-field-userlist\" >\n <label for=\"searcher-assigneeSelect\">Assignee</label> <fieldset rel=\"assignee\" class=\"hidden user-group-searcher-params\">\n </fieldset>\n <select class=\"js-usergroup-checkboxmultiselect\" multiple=\"multiple\" id=\"assignee\" name=\"assignee\" data-placeholder-text=\"Enter username or group\">\n <optgroup>\n <option class=\"headerOption\" data-icon=\"https://bugs.openjdk.org/secure/useravatar?size=xsmall&avatarId=10123\" value=\"empty\" title=\"Unassigned\">Unassigned</option>\n </optgroup>\n <optgroup>\n </optgroup>\n </select>\n <input type=\"hidden\" name=\"check_prev_assignee\" value=\"true\">\n </div>\n \n","validSearcher":true,"isShown":true},"status":{"name":"Status","editHtml":"\n <div class=\"field-group aui-field-constants\" >\n <label for=\"searcher-status\">Status</label> <select class=\"select js-default-checkboxmultiselectstatuslozenge\"\n data-placeholder-text=\"Find Statuses...\"\n id=\"searcher-status\"\n multiple=\"multiple\"\n name=\"status\"\n data-max-inline-results-displayed=\"100\"\n data-footer-text=\"-79 more options. Continue typing to refine further.\" data-status-lozenge=\"true\">\n <optgroup >\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/open.png\" value=\"1\" title=\"Open\" data-simple-status=\"{"id":"1","name":"Open","description":"The issue is open and ready for the assignee to start work on it.","iconUrl":"/images/icons/statuses/open.png","statusCategory":{"id":2,"key":"new","colorName":"default"}}\">Open</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/inprogress.png\" value=\"3\" title=\"In Progress\" data-simple-status=\"{"id":"3","name":"In Progress","description":"This issue is being actively worked on at the moment by the assignee.","iconUrl":"/images/icons/statuses/inprogress.png","statusCategory":{"id":4,"key":"indeterminate","colorName":"inprogress"}}\">In Progress</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/reopened.png\" value=\"4\" title=\"Reopened\" data-simple-status=\"{"id":"4","name":"Reopened","description":"This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.","iconUrl":"/images/icons/statuses/reopened.png","statusCategory":{"id":2,"key":"new","colorName":"default"}}\">Reopened</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/resolved.png\" value=\"5\" title=\"Resolved\" data-simple-status=\"{"id":"5","name":"Resolved","description":"A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.","iconUrl":"/images/icons/statuses/resolved.png","statusCategory":{"id":3,"key":"done","colorName":"success"}}\">Resolved</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/closed.png\" value=\"6\" title=\"Closed\" data-simple-status=\"{"id":"6","name":"Closed","description":"The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.","iconUrl":"/images/icons/statuses/closed.png","statusCategory":{"id":3,"key":"done","colorName":"success"}}\">Closed</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/invisible.png\" value=\"10000\" title=\"New\" data-simple-status=\"{"id":"10000","name":"New","description":"A new issue is submitted and awaiting review","iconUrl":"/images/icons/statuses/invisible.png","statusCategory":{"id":2,"key":"new","colorName":"default"}}\">New</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10001\" title=\"Draft\" data-simple-status=\"{"id":"10001","name":"Draft","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":2,"key":"new","colorName":"default"}}\">Draft</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10002\" title=\"Submitted\" data-simple-status=\"{"id":"10002","name":"Submitted","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":4,"key":"indeterminate","colorName":"inprogress"}}\">Submitted</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10003\" title=\"Candidate\" data-simple-status=\"{"id":"10003","name":"Candidate","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":4,"key":"indeterminate","colorName":"inprogress"}}\">Candidate</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10004\" title=\"Proposed to Target\" data-simple-status=\"{"id":"10004","name":"Proposed to Target","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":4,"key":"indeterminate","colorName":"inprogress"}}\">Proposed to Target</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10005\" title=\"Targeted\" data-simple-status=\"{"id":"10005","name":"Targeted","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":4,"key":"indeterminate","colorName":"inprogress"}}\">Targeted</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10006\" title=\"Proposed to Drop\" data-simple-status=\"{"id":"10006","name":"Proposed to Drop","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":4,"key":"indeterminate","colorName":"inprogress"}}\">Proposed to Drop</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10007\" title=\"Integrated\" data-simple-status=\"{"id":"10007","name":"Integrated","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":4,"key":"indeterminate","colorName":"inprogress"}}\">Integrated</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10008\" title=\"Completed\" data-simple-status=\"{"id":"10008","name":"Completed","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":4,"key":"indeterminate","colorName":"inprogress"}}\">Completed</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/status_generic.gif\" value=\"10011\" title=\"Unranked\" data-simple-status=\"{"id":"10011","name":"Unranked","description":"","iconUrl":"/images/icons/status_generic.gif","statusCategory":{"id":2,"key":"new","colorName":"default"}}\">Unranked</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10109\" title=\"Ranked\" data-simple-status=\"{"id":"10109","name":"Ranked","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":2,"key":"new","colorName":"default"}}\">Ranked</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10110\" title=\"Finalized\" data-simple-status=\"{"id":"10110","name":"Finalized","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":2,"key":"new","colorName":"default"}}\">Finalized</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10111\" title=\"Proposed\" data-simple-status=\"{"id":"10111","name":"Proposed","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":2,"key":"new","colorName":"default"}}\">Proposed</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10112\" title=\"Provisional\" data-simple-status=\"{"id":"10112","name":"Provisional","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":2,"key":"new","colorName":"default"}}\">Provisional</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10211\" title=\"Pended\" data-simple-status=\"{"id":"10211","name":"Pended","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":2,"key":"new","colorName":"default"}}\">Pended</option>\n <option class=\"imagebacked\" data-icon=\"/images/icons/statuses/generic.png\" value=\"10309\" title=\"Active\" data-simple-status=\"{"id":"10309","name":"Active","description":"","iconUrl":"/images/icons/statuses/generic.png","statusCategory":{"id":2,"key":"new","colorName":"default"}}\">Active</option>\n </optgroup>\n</select>\n </div>\n \n","validSearcher":true,"isShown":true},"labels":{"name":"Label","viewHtml":" <div class=\"searcherValue\">\n \n <label class=\"fieldLabel\" for=\"fieldlabels\">Label:</label><span id=\"fieldlabels\" class=\"fieldValue\">\n \n 6u4-yes-b09\n</span></div>\n","editHtml":"\n <div class=\"field-group aui-field-labels\" >\n <label for=\"searcher-labels\">Labels</label> <select class=\"js-label-checkboxmultiselect\" multiple=\"multiple\" id=\"searcher-labels\" name=\"labels\" data-placeholder-text=\"Find Labels...\">\n <option value=\"6u4-yes-b09\" title=\"6u4-yes-b09\" selected=\"selected\">6u4-yes-b09</option>\n </select>\n </div>\n \n","jql":"labels = 6u4-yes-b09","validSearcher":true,"isShown":true}}}
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]
No crash is involved. Problem is with plugin libs failed to load.
Root cause:
1) First LPTSTR commandLine = ::GetCommandLine(); results in a ill-formatted cstring that could not accept by GetLongPathName() in getMozVersion().
The commandLine contents is ""C:\Program Files\mozilla.org\Mozilla\mozilla.org" ".
The extraneous double quotes and space and the single '\' caused GetLongPathName() to fail with error 123 (illegal input parameter).
By replacing GetCommandLine() with GetModuleFileName(), GetLongPathName() is happier.
2) HKLM/software/Mozilla/Mozilla 1.8b/bin/PathToExe=C:\Program Files\mozilla.org\Mozilla\*m*ozilla.org
HKLM/software/Mozilla/Mozilla 1.7.13/bin/PathToExe=C:\Program Files\mozilla.org\Mozilla\*M*ozilla.org
while longPathName="C:\Program Files\mozilla.org\Mozilla\*m*ozilla.org"
The case sensitive comparison in line 87 of the old code fails for 1.7.13.