Closed Bug 786233 Opened 14 years ago Closed 14 years ago

Crash with Babylon: mozalloc_abort(char const* const) | mozalloc_handle_oom(unsigned int) | moz_xmalloc | nsPluginHost::ReadPluginInfo()

Categories

(Core Graveyard :: Plug-ins, defect, P3)

x86
Windows 7
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ioana_damy, Unassigned)

References

Details

(Keywords: crash)

Crash Data

Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20100101 Firefox/15.0 Build ID: 20120824154833 STR: 1. Start Firefox 15.0 with a clean profile. 2. Install Babylon from herehttp://babylon-toolbar.software.informer.com/download/. Actual Results: Firefox crashed https://crash-stats.mozilla.com/report/index/bp-1e8c96ca-5e4e-410d-be4a-7b34b2120827 Firefox restarted after submitting the crash report. Then it kept crashing with exactly the same signature every time I tried opening the Add-ons Manager (Ctrl+Shift+A or Tools->Add-ons). More reports: https://crash-stats.mozilla.com/report/list?query_search=signature&query_type=contains&reason_type=contains&range_value=4&range_unit=weeks&hang_type=any&process_type=any&signature=mozalloc_abort%28char%20const%2A%20const%29%20%7C%20mozalloc_handle_oom%28unsigned%20int%29%20%7C%20moz_xmalloc%20%7C%20nsPluginHost%3A%3AReadPluginInfo%28%29 Note: My steps are not reliable. I tried reproducing the issue again on other clean profiles but I couldn't.
Since I can't reproduce the issue anymore, I can't verify if this is a regression, or if it reproduces on Nightly. I can't use the profile I initially reproduced the issue with either because Babylon also got my profile deleted at some point (issue treated in another bug).
OOMAllocationSize = 4294967295 Which comes from http://hg.mozilla.org/releases/mozilla-release/annotate/450143d2d810/dom/plugins/base/nsPluginHost.cpp#l2786 2786 int mimetypecount = atoi(reader.LinePtr()); 2787 2788 char *stackalloced[PLUGIN_REG_MIMETYPES_ARRAY_SIZE * 3]; 2789 char **mimetypes; 2790 char **mimedescriptions; 2791 char **extensions; 2792 char **heapalloced = 0; 2793 if (mimetypecount > PLUGIN_REG_MIMETYPES_ARRAY_SIZE - 1) { 2794 heapalloced = new char *[mimetypecount * 3];
4294967295 = 0xFFFFFFFF but I have trouble figuring out how -1 could end up as the result of mimetypecount * 3 unless something really strange was going on.
Severity: normal → critical
According to MSVC: mimetypecount 0x7fffffff int The line is written here: http://hg.mozilla.org/releases/mozilla-release/annotate/450143d2d810/dom/plugins/base/nsPluginHost.cpp#l2523 If anyone experiences this again, please attach the pluginreg.dat file from your profile to this bug.
Severity: critical → normal
Component: Extension Compatibility → Plug-ins
Product: Firefox → Core
Crash Signature: [@ mozalloc_abort(char const* const) | mozalloc_handle_oom(unsigned int) | moz_xmalloc | nsPluginHost::ReadPluginInfo() ]
Priority: -- → P3
Severity: normal → critical
Keywords: crash
Babylon inform us that they have been unable to reproduce this problem. Is there anything we can do to help them identify the cause?
Not really. Let's just close this and reopen when we get it reproduced again.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.