Closed
Bug 528787
Opened 15 years ago
Closed 2 years ago
Infinite recursion, stack overflow crash; nsPluginHost::LoadPlugins -> nsGREResProperties::nsGREResProperties -> nsExternalHelperAppService::GetTypeFromExtension -> nsPluginHost::FindPluginEnabledForExtension -> nsPluginHost::LoadPlugins
Categories
(External Software Affecting Firefox Graveyard :: Flash (Adobe), defect)
Tracking
(blocking2.0 -)
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
blocking2.0 | --- | - |
People
(Reporter: mayhemer, Unassigned)
References
Details
Attachments
(1 file)
5.91 KB,
patch
|
Details | Diff | Splinter Review |
I get this every time I try to run mochitest on Mac OS X 10.6.2. mozilla-central debug build. It seems to me that in nsExternalHelperAppService::GetTypeFromExtension we should get info about the extension from one of nsIHandlerService->GetTypeFromExtension, nsIMIMEInfo->GetMIMEInfoFromOS or GetTypeFromExtras. This all seems to fail and we get to nsIPluginHost->IsPluginEnabledForExtension that leads to recursion. No idea of cause, non of files involved was modified recently. This used to work few days ago, I had some OS X update and updated the repo. #9436 0x0b0bc882 in nsPluginTag::EnsureMembersAreUTF8 (this=0xe925380) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:831 #9437 0x0b0be9e2 in nsPluginTag::nsPluginTag (this=0xe925380, aPluginInfo=0xbfff9bc0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:706 #9438 0x0b0bf3a5 in nsPluginHost::ScanPluginsDirectory (this=0x8de8c0, pluginsDir=0x121f800, compManager=0x811150, aCreatePluginList=1, aPluginsChanged=0xbfff9e88, checkForUnwantedPlugins=0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4335 #9439 0x0b0bfa9b in nsPluginHost::ScanPluginsDirectoryList (this=0x8de8c0, dirEnum=0xe924fd0, compManager=0x811150, aCreatePluginList=1, aPluginsChanged=0xbfff9f08, checkForUnwantedPlugins=0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4432 #9440 0x0b0bfd27 in nsPluginHost::FindPlugins (this=0x8de8c0, aCreatePluginList=1, aPluginsChanged=0xbfff9f6c) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4517 #9441 0x0b0c00a8 in nsPluginHost::LoadPlugins (this=0x8de8c0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4452 #9442 0x0b0b3aef in nsPluginHost::FindPluginEnabledForExtension (this=0x8de8c0, aExtension=0xbfffa1dc "properties", aMimeType=@0xbfffa068) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:3895 #9443 0x0b0b3bdf in nsPluginHost::IsPluginEnabledForExtension (this=0x8de8c0, aExtension=0xbfffa1dc "properties", aMimeType=@0xbfffa068) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:3662 #9444 0x0d3bf0a2 in nsExternalHelperAppService::GetTypeFromExtension (this=0x8ead40, aFileExt=@0xbfffa1c8, aContentType=@0xbfffa338) at /Users/starapica/Documents/mozilla/mozilla-central/src/uriloader/exthandler/nsExternalHelperAppService.cpp:2600 #9445 0x0d3bdf3f in nsExternalHelperAppService::GetTypeFromFile (this=0x8ead40, aFile=0x1220800, aContentType=@0xbfffa338) at /Users/starapica/Documents/mozilla/mozilla-central/src/uriloader/exthandler/nsExternalHelperAppService.cpp:2722 #9446 0x0a248a32 in nsFileChannel::MakeFileInputStream (this=0xe924bf0, file=0x1220800, stream=@0xbfffa314, contentType=@0xbfffa338) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/protocol/file/src/nsFileChannel.cpp:302 #9447 0x0a248f89 in nsFileChannel::OpenContentStream (this=0xe924bf0, async=0, result=0xbfffa478, channel=0xbfffa3ec) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/protocol/file/src/nsFileChannel.cpp:371 #9448 0x0a18b6a4 in nsBaseChannel::Open (this=0xe924bf0, result=0xbfffa478) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/base/src/nsBaseChannel.cpp:506 #9449 0x00d09f0b in nsGREResProperties::nsGREResProperties (this=0xe924840, aFile=@0xbfffa4e0) at /Users/starapica/Documents/mozilla/mozilla-central/src/intl/uconv/src/nsGREResProperties.cpp:63 #9450 0x00d117a3 in nsPlatformCharset::InitInfo (this=0xe92f570) at /Users/starapica/Documents/mozilla/mozilla-central/src/intl/uconv/src/nsMacCharset.cpp:74 #9451 0x00d11905 in nsPlatformCharset::MapToCharset (this=0xe92f570, script=29, region=56, outCharset=@0xe92f57c) at /Users/starapica/Documents/mozilla/mozilla-central/src/intl/uconv/src/nsMacCharset.cpp:97 #9452 0x00d11c7b in nsPlatformCharset::GetCharset (this=0xe92f570, selector=kPlatformCharsetSel_FileName, oResult=@0xbfffa798) at /Users/starapica/Documents/mozilla/mozilla-central/src/intl/uconv/src/nsMacCharset.cpp:131 #9453 0x0b0bc882 in nsPluginTag::EnsureMembersAreUTF8 (this=0xe924650) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:831 #9454 0x0b0be9e2 in nsPluginTag::nsPluginTag (this=0xe924650, aPluginInfo=0xbfffa8b0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:706 #9455 0x0b0bf3a5 in nsPluginHost::ScanPluginsDirectory (this=0x8de8c0, pluginsDir=0x121e800, compManager=0x811150, aCreatePluginList=1, aPluginsChanged=0xbfffab78, checkForUnwantedPlugins=0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4335 #9456 0x0b0bfa9b in nsPluginHost::ScanPluginsDirectoryList (this=0x8de8c0, dirEnum=0xe9242a0, compManager=0x811150, aCreatePluginList=1, aPluginsChanged=0xbfffabf8, checkForUnwantedPlugins=0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4432 #9457 0x0b0bfd27 in nsPluginHost::FindPlugins (this=0x8de8c0, aCreatePluginList=1, aPluginsChanged=0xbfffac5c) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4517 #9458 0x0b0c00a8 in nsPluginHost::LoadPlugins (this=0x8de8c0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4452 #9459 0x0b0b3aef in nsPluginHost::FindPluginEnabledForExtension (this=0x8de8c0, aExtension=0xbfffaecc "properties", aMimeType=@0xbfffad58) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:3895 #9460 0x0b0b3bdf in nsPluginHost::IsPluginEnabledForExtension (this=0x8de8c0, aExtension=0xbfffaecc "properties", aMimeType=@0xbfffad58) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:3662 #9461 0x0d3bf0a2 in nsExternalHelperAppService::GetTypeFromExtension (this=0x8ead40, aFileExt=@0xbfffaeb8, aContentType=@0xbfffb028) at /Users/starapica/Documents/mozilla/mozilla-central/src/uriloader/exthandler/nsExternalHelperAppService.cpp:2600 #9462 0x0d3bdf3f in nsExternalHelperAppService::GetTypeFromFile (this=0x8ead40, aFile=0x121e200, aContentType=@0xbfffb028) at /Users/starapica/Documents/mozilla/mozilla-central/src/uriloader/exthandler/nsExternalHelperAppService.cpp:2722 #9463 0x0a248a32 in nsFileChannel::MakeFileInputStream (this=0xe923ec0, file=0x121e200, stream=@0xbfffb004, contentType=@0xbfffb028) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/protocol/file/src/nsFileChannel.cpp:302 #9464 0x0a248f89 in nsFileChannel::OpenContentStream (this=0xe923ec0, async=0, result=0xbfffb168, channel=0xbfffb0dc) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/protocol/file/src/nsFileChannel.cpp:371 #9465 0x0a18b6a4 in nsBaseChannel::Open (this=0xe923ec0, result=0xbfffb168) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/base/src/nsBaseChannel.cpp:506 #9466 0x00d09f0b in nsGREResProperties::nsGREResProperties (this=0xe923b10, aFile=@0xbfffb1d0) at /Users/starapica/Documents/mozilla/mozilla-central/src/intl/uconv/src/nsGREResProperties.cpp:63 #9467 0x00d117a3 in nsPlatformCharset::InitInfo (this=0xe92f570) at /Users/starapica/Documents/mozilla/mozilla-central/src/intl/uconv/src/nsMacCharset.cpp:74 #9468 0x00d11905 in nsPlatformCharset::MapToCharset (this=0xe92f570, script=29, region=56, outCharset=@0xe92f57c) at /Users/starapica/Documents/mozilla/mozilla-central/src/intl/uconv/src/nsMacCharset.cpp:97 #9469 0x00d11c7b in nsPlatformCharset::GetCharset (this=0xe92f570, selector=kPlatformCharsetSel_FileName, oResult=@0xbfffb488) at /Users/starapica/Documents/mozilla/mozilla-central/src/intl/uconv/src/nsMacCharset.cpp:131 #9470 0x0b0bc882 in nsPluginTag::EnsureMembersAreUTF8 (this=0xe923930) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:831 #9471 0x0b0be9e2 in nsPluginTag::nsPluginTag (this=0xe923930, aPluginInfo=0xbfffb5a0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:706 #9472 0x0b0bf3a5 in nsPluginHost::ScanPluginsDirectory (this=0x8de8c0, pluginsDir=0x121d600, compManager=0x811150, aCreatePluginList=1, aPluginsChanged=0xbfffb868, checkForUnwantedPlugins=0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4335 #9473 0x0b0bfa9b in nsPluginHost::ScanPluginsDirectoryList (this=0x8de8c0, dirEnum=0xe923580, compManager=0x811150, aCreatePluginList=1, aPluginsChanged=0xbfffb8e8, checkForUnwantedPlugins=0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4432 #9474 0x0b0bfd27 in nsPluginHost::FindPlugins (this=0x8de8c0, aCreatePluginList=1, aPluginsChanged=0xbfffb94c) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4517 #9475 0x0b0c00a8 in nsPluginHost::LoadPlugins (this=0x8de8c0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4452 #9476 0x0b0b3aef in nsPluginHost::FindPluginEnabledForExtension (this=0x8de8c0, aExtension=0xbfffbbbc "properties", aMimeType=@0xbfffba48) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:3895 #9477 0x0b0b3bdf in nsPluginHost::IsPluginEnabledForExtension (this=0x8de8c0, aExtension=0xbfffbbbc "properties", aMimeType=@0xbfffba48) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:3662 #9478 0x0d3bf0a2 in nsExternalHelperAppService::GetTypeFromExtension (this=0x8ead40, aFileExt=@0xbfffbba8, aContentType=@0xbfffbd18) at /Users/starapica/Documents/mozilla/mozilla-central/src/uriloader/exthandler/nsExternalHelperAppService.cpp:2600 #9479 0x0d3bdf3f in nsExternalHelperAppService::GetTypeFromFile (this=0x8ead40, aFile=0x121d000, aContentType=@0xbfffbd18) at /Users/starapica/Documents/mozilla/mozilla-central/src/uriloader/exthandler/nsExternalHelperAppService.cpp:2722 #9480 0x0a248a32 in nsFileChannel::MakeFileInputStream (this=0xe923160, file=0x121d000, stream=@0xbfffbcf4, contentType=@0xbfffbd18) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/protocol/file/src/nsFileChannel.cpp:302 #9481 0x0a248f89 in nsFileChannel::OpenContentStream (this=0xe923160, async=0, result=0xbfffbe58, channel=0xbfffbdcc) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/protocol/file/src/nsFileChannel.cpp:371 #9482 0x0a18b6a4 in nsBaseChannel::Open (this=0xe923160, result=0xbfffbe58) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/base/src/nsBaseChannel.cpp:506 #9483 0x00d09f0b in nsGREResProperties::nsGREResProperties (this=0xe922db0, aFile=@0xbfffbec0) at /Users/starapica/Documents/mozilla/mozilla-central/src/intl/uconv/src/nsGREResProperties.cpp:63 #9484 0x00d117a3 in nsPlatformCharset::InitInfo (this=0xe92f570) at /Users/starapica/Documents/mozilla/mozilla-central/src/intl/uconv/src/nsMacCharset.cpp:74 #9485 0x00d11905 in nsPlatformCharset::MapToCharset (this=0xe92f570, script=29, region=56, outCharset=@0xe92f57c) at /Users/starapica/Documents/mozilla/mozilla-central/src/intl/uconv/src/nsMacCharset.cpp:97 #9486 0x00d11c7b in nsPlatformCharset::GetCharset (this=0xe92f570, selector=kPlatformCharsetSel_FileName, oResult=@0xbfffc178) at /Users/starapica/Documents/mozilla/mozilla-central/src/intl/uconv/src/nsMacCharset.cpp:131 #9487 0x0b0bc882 in nsPluginTag::EnsureMembersAreUTF8 (this=0xe92f270) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:831 #9488 0x0b0be9e2 in nsPluginTag::nsPluginTag (this=0xe92f270, aPluginInfo=0xbfffc290) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:706 #9489 0x0b0bf3a5 in nsPluginHost::ScanPluginsDirectory (this=0x8de8c0, pluginsDir=0x112da00, compManager=0x811150, aCreatePluginList=1, aPluginsChanged=0xbfffc558, checkForUnwantedPlugins=0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4335 #9490 0x0b0bfa9b in nsPluginHost::ScanPluginsDirectoryList (this=0x8de8c0, dirEnum=0x865710, compManager=0x811150, aCreatePluginList=1, aPluginsChanged=0xbfffc5d8, checkForUnwantedPlugins=0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4432 #9491 0x0b0bfd27 in nsPluginHost::FindPlugins (this=0x8de8c0, aCreatePluginList=1, aPluginsChanged=0xbfffc63c) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4517 #9492 0x0b0c00a8 in nsPluginHost::LoadPlugins (this=0x8de8c0) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:4452 #9493 0x0b0b3aef in nsPluginHost::FindPluginEnabledForExtension (this=0x8de8c0, aExtension=0xbfffc8ac "dtd", aMimeType=@0xbfffc738) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:3895 #9494 0x0b0b3bdf in nsPluginHost::IsPluginEnabledForExtension (this=0x8de8c0, aExtension=0xbfffc8ac "dtd", aMimeType=@0xbfffc738) at /Users/starapica/Documents/mozilla/mozilla-central/src/modules/plugin/base/src/nsPluginHost.cpp:3662 #9495 0x0d3bf0a2 in nsExternalHelperAppService::GetTypeFromExtension (this=0x8ead40, aFileExt=@0xbfffc898, aContentType=@0xbfffca08) at /Users/starapica/Documents/mozilla/mozilla-central/src/uriloader/exthandler/nsExternalHelperAppService.cpp:2600 #9496 0x0d3bdf3f in nsExternalHelperAppService::GetTypeFromFile (this=0x8ead40, aFile=0x112d400, aContentType=@0xbfffca08) at /Users/starapica/Documents/mozilla/mozilla-central/src/uriloader/exthandler/nsExternalHelperAppService.cpp:2722 #9497 0x0a248a32 in nsFileChannel::MakeFileInputStream (this=0x8de820, file=0x112d400, stream=@0xbfffc9e4, contentType=@0xbfffca08) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/protocol/file/src/nsFileChannel.cpp:302 #9498 0x0a248f89 in nsFileChannel::OpenContentStream (this=0x8de820, async=0, result=0xbfffcaf0, channel=0xbfffcabc) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/protocol/file/src/nsFileChannel.cpp:371 #9499 0x0a18b6a4 in nsBaseChannel::Open (this=0x8de820, result=0xbfffcaf0) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/base/src/nsBaseChannel.cpp:506 #9500 0x0abe0273 in NS_OpenURI (result=0xbfffcdbc, uri=0xe9119a0, ioService=0x0, loadGroup=0x0, callbacks=0x0, loadFlags=0, channelOut=0x0) at nsNetUtil.h:228 #9501 0x0abdc87c in nsExpatDriver::OpenInputStreamFromExternalDTD (this=0xe97c420, aFPIStr=0x0, aURLStr=0x111ee6c, aBaseURL=0x111ee10, aStream=0xbfffcdbc, aAbsURL=@0xbfffccf0) at /Users/starapica/Documents/mozilla/mozilla-central/src/parser/htmlparser/src/nsExpatDriver.cpp:825 #9502 0x0abdca29 in nsExpatDriver::HandleExternalEntityRef (this=0xe97c420, openEntityNames=0x111ee5a, base=0x111ee10, systemId=0x111ee6c, publicId=0x0) at /Users/starapica/Documents/mozilla/mozilla-central/src/parser/htmlparser/src/nsExpatDriver.cpp:734 #9503 0x0abdcd5b in Driver_HandleExternalEntityRef (aExternalEntityRefHandler=0xe97c420, aOpenEntityNames=0x111ee5a, aBase=0x111ee10, aSystemId=0x111ee6c, aPublicId=0x0) at /Users/starapica/Documents/mozilla/mozilla-central/src/parser/htmlparser/src/nsExpatDriver.cpp:213 #9504 0x0ac1396f in doProlog (parser=0x110d600, enc=0xac49820, s=0x1128a56 "%", end=0x112a610 "", tok=28, next=0x1128a6a "\n", nextPtr=0xbfffd04c, haveMore=1 '\001') at /Users/starapica/Documents/mozilla/mozilla-central/src/parser/expat/lib/xmlparse.c:4588 #9505 0x0ac115e8 in prologProcessor (parser=0x110d600, s=0x1128610 "<", end=0x112a610 "", nextPtr=0xbfffd04c) at /Users/starapica/Documents/mozilla/mozilla-central/src/parser/expat/lib/xmlparse.c:3809 #9506 0x0ac11060 in prologInitProcessor (parser=0x110d600, s=0x1128610 "<", end=0x112a610 "", nextPtr=0xbfffd04c) at /Users/starapica/Documents/mozilla/mozilla-central/src/parser/expat/lib/xmlparse.c:3626 #9507 0x0ac0c660 in MOZ_XML_Parse (parser=0x110d600, s=0x1128610 "<", len=8192, isFinal=0) at /Users/starapica/Documents/mozilla/mozilla-central/src/parser/expat/lib/xmlparse.c:1528 #9508 0x0abd9757 in nsExpatDriver::ParseBuffer (this=0xe97c420, aBuffer=0x1128610, aLength=4096, aIsFinal=0, aConsumed=0xbfffd188) at /Users/starapica/Documents/mozilla/mozilla-central/src/parser/htmlparser/src/nsExpatDriver.cpp:1027 #9509 0x0abda8e5 in nsExpatDriver::ConsumeToken (this=0xe97c420, aScanner=@0xe834b00, aFlushTokens=@0xbfffd334) at /Users/starapica/Documents/mozilla/mozilla-central/src/parser/htmlparser/src/nsExpatDriver.cpp:1125 #9510 0x0abf1eee in nsParser::Tokenize (this=0xe834a20, aIsFinalChunk=0) at /Users/starapica/Documents/mozilla/mozilla-central/src/parser/htmlparser/src/nsParser.cpp:3097 #9511 0x0abf93b4 in nsParser::ResumeParse (this=0xe834a20, allowIteration=1, aIsFinalChunk=0, aCanInterrupt=1) at /Users/starapica/Documents/mozilla/mozilla-central/src/parser/htmlparser/src/nsParser.cpp:2329 #9512 0x0abf8992 in nsParser::OnDataAvailable (this=0xe834a20, request=0xe8b5430, aContext=0x0, pIStream=0xe8b576c, sourceOffset=0, aLength=65536) at /Users/starapica/Documents/mozilla/mozilla-central/src/parser/htmlparser/src/nsParser.cpp:2961 #9513 0x0d3b2f65 in nsDocumentOpenInfo::OnDataAvailable (this=0xe8b56a0, request=0xe8b5430, aCtxt=0x0, inStr=0xe8b576c, sourceOffset=0, count=65536) at /Users/starapica/Documents/mozilla/mozilla-central/src/uriloader/base/nsURILoader.cpp:306 #9514 0x0a189b20 in nsBaseChannel::OnDataAvailable (this=0xe8b5400, request=0xe8b5700, ctxt=0x0, stream=0xe8b576c, offset=0, count=65536) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/base/src/nsBaseChannel.cpp:708 #9515 0x0a19d95f in nsInputStreamPump::OnStateTransfer (this=0xe8b5700) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/base/src/nsInputStreamPump.cpp:508 #9516 0x0a19deb2 in nsInputStreamPump::OnInputStreamReady (this=0xe8b5700, stream=0xe8b576c) at /Users/starapica/Documents/mozilla/mozilla-central/src/netwerk/base/src/nsInputStreamPump.cpp:398 #9517 0x003c3e68 in nsInputStreamReadyEvent::Run (this=0xe8b51a0) at /Users/starapica/Documents/mozilla/mozilla-central/src/xpcom/io/nsStreamUtils.cpp:112 #9518 0x003f8dfe in nsThread::ProcessNextEvent (this=0x80fa90, mayWait=0, result=0xbfffd6c4) at /Users/starapica/Documents/mozilla/mozilla-central/src/xpcom/threads/nsThread.cpp:527 #9519 0x0037c965 in NS_ProcessPendingEvents_P (thread=0x80fa90, timeout=20) at nsThreadUtils.cpp:200 #9520 0x0b1e89f1 in nsBaseAppShell::NativeEventCallback (this=0xe847fb0) at /Users/starapica/Documents/mozilla/mozilla-central/src/widget/src/xpwidgets/nsBaseAppShell.cpp:121 #9521 0x0b1999b3 in nsAppShell::ProcessGeckoEvents (aInfo=0xe847fb0) at /Users/starapica/Documents/mozilla/mozilla-central/src/widget/src/cocoa/nsAppShell.mm:498 #9522 0x933a78cb in __CFRunLoopDoSources0 () #9523 0x933a538f in __CFRunLoopRun () #9524 0x933a4864 in CFRunLoopRunSpecific () #9525 0x933a4691 in CFRunLoopRunInMode () #9526 0x942a1f0c in RunCurrentEventLoopInMode () #9527 0x942a1cc3 in ReceiveNextEventCommon () #9528 0x942a1b48 in BlockUntilNextEventMatchingListInMode () #9529 0x9487fac5 in _DPSNextEvent () #9530 0x9487f306 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] () #9531 0x9484149f in -[NSApplication run] () #9532 0x0b1980e1 in nsAppShell::Run (this=0xe847fb0) at /Users/starapica/Documents/mozilla/mozilla-central/src/widget/src/cocoa/nsAppShell.mm:851 #9533 0x0db2d14c in nsAppStartup::Run (this=0xe940a20) at /Users/starapica/Documents/mozilla/mozilla-central/src/toolkit/components/startup/src/nsAppStartup.cpp:182 #9534 0x0001254b in XRE_main (argc=6, argv=0xbffff008, aAppData=0x80d2f0) at /Users/starapica/Documents/mozilla/mozilla-central/src/toolkit/xre/nsAppRunner.cpp:3491 #9535 0x00002499 in main (argc=6, argv=0xbffff008) at /Users/starapica/Documents/mozilla/mozilla-central/src/browser/app/nsBrowserApp.cpp:158 (gdb)
Reporter | ||
Comment 1•15 years ago
|
||
This happens on a release build (the mozconfig gets copied from tinderbox machines configuration, this is the unittest variant) ac_add_options --enable-application=browser mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/_obj-browser-test ac_add_options --disable-debug ac_add_options --enable-tests ac_add_options --enable-optimize ac_add_options --enable-logrefcnt # my own modifications !!!! ac_add_options --enable-debugger-info-modules #mk_add_options MOZ_MAKE_FLAGS=-j2 CC="gcc-4.2 -arch i386" CXX="g++-4.2 -arch i386" ac_add_options --target=i386-apple-darwin8.0.0 ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.5.sdk ac_add_options --enable-macos-target=10.5 # bug 491774. crashreporter won't build in cross compile ac_add_options --disable-crashreporter HOST_CC="gcc-4.2" HOST_CXX="g++-4.2" RANLIB=ranlib AR=ar AS=$CC LD=ld STRIP="strip -x -S" CROSS_COMPILE=1
Reporter | ||
Comment 2•15 years ago
|
||
I cannot reproduce from a certain moment. I am not sure what was the cause, but I didn't think it was a bad build. I tried to delete the obj dir and rebuild completely and I still was crashing. We should check this really might happen and ensure it won't happen again. It could be an unexpected start-up crash and as it is a stack overflow crash, we won't have a consistent crash report about this and would be hard to identify.
Summary: Infinite recursion; nsPluginHost::LoadPlugins -> nsGREResProperties::nsGREResProperties -> nsExternalHelperAppService::GetTypeFromExtension -> nsPluginHost::FindPluginEnabledForExtension -> nsPluginHost::LoadPlugins → Infinite recursion, stack overflow crash; nsPluginHost::LoadPlugins -> nsGREResProperties::nsGREResProperties -> nsExternalHelperAppService::GetTypeFromExtension -> nsPluginHost::FindPluginEnabledForExtension -> nsPluginHost::LoadPlugins
Comment 3•15 years ago
|
||
Sounds like a regression from bug 508421. We should really stop the eager type-getting for file://
Blocks: 508421
blocking2.0: --- → ?
Reporter | ||
Comment 4•15 years ago
|
||
Yes, it could be this change, I didn't catch it before: http://hg.mozilla.org/mozilla-central/diff/a0c23bfa5219/intl/uconv/src/nsGREResProperties.cpp
Comment 5•15 years ago
|
||
(In reply to comment #3) > Sounds like a regression from bug 508421. > > We should really stop the eager type-getting for file:// yes, it is a measurable perf hit on mobile due to refering to rdf service(bug 474043) for some filetypes which causes us to cross xpconnect boundary multiple times. It seemed like it would b difficult to untangle the logic to make the this lazy. (In reply to comment #4) > Yes, it could be this change, I didn't catch it before: > http://hg.mozilla.org/mozilla-central/diff/a0c23bfa5219/intl/uconv/src/nsGREResProperties.cpp Looks like I was a bit optimistic on equivalency of file channels and pr io :(. I'll post a patch unless someone beats me to it.
Comment 6•15 years ago
|
||
(In reply to comment #5) > > Looks like I was a bit optimistic on equivalency of file channels and pr io :(. > I'll post a patch unless someone beats me to it. err, it's too early in the morning. I changed it to a channel so it can be loaded from a jar, so only real fix is to fix content-type detection :(
Comment 7•15 years ago
|
||
OK, I just took a look at doing that. I can certainly make the file channel compute things lazily, but then nsBaseChannel will just run the unknown type sniffer on the channel+data, which has the same effect as far as I can tell. See nsBaseChannel::OnStartRequest. There's an obvious workaround, of course: SetContentType on the file channel before opening it, for cases when you either know what type you want or don't care about the type.
Comment 8•15 years ago
|
||
Reporter | ||
Comment 9•15 years ago
|
||
Please ignore comment 1. This is happening on a debug build (NOT on an optimized). This is the correct mozconfig: # Options for client.mk. mk_add_options MOZ_CO_PROJECT=browser mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/$TMP_OBJDIR mk_add_options AUTOCONF=autoconf213 mk_add_options MOZ_MAKE_FLAGS=-j2 # Options for 'configure' (same as command-line options). ac_add_options --enable-extensions=default ac_add_options --enable-application=browser ac_add_options --enable-debug ac_add_options --disable-optimize ac_add_options --enable-shared ac_add_options --disable-libxul ac_add_options --disable-static ac_add_options --enable-tests ac_add_options --enable-logging ac_cv_visibility_pragma=no ac_add_options --disable-installer ac_add_options --enable-chrome-format=flat CC="gcc-4.2 -arch i386" CXX="g++-4.2 -arch i386" ac_add_options --target=i386-apple-darwin8.0.0 ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.5.sdk ac_add_options --enable-macos-target=10.5 # bug 491774. crashreporter won't build in cross compile ac_add_options --disable-crashreporter HOST_CC="gcc-4.2" HOST_CXX="g++-4.2" RANLIB=ranlib AR=ar AS=$CC LD=ld STRIP="strip -x -S" CROSS_COMPILE=1
Reporter | ||
Comment 10•15 years ago
|
||
Any news on this? I actually cannot develop on mac with mozilla-central. To note, the patch fixes the crash, thanks Boris.
Comment 11•15 years ago
|
||
The crash is just fixed because the call into the type-detector happens async... I suppose that's good enough as crash-fixing goes, but it really would be nice to just set a hint type in the caller here.
Reporter | ||
Comment 13•14 years ago
|
||
Latest mozilla-central debug build on OS X doesn't suffer from this bug. This may be fixed or OS settings has changed. An important note: I never got this with an optimized build, only with a debug. I don't think this should block, renominating.
blocking2.0: final+ → ?
Updated•14 years ago
|
blocking2.0: ? → -
Updated•8 years ago
|
Product: Core → Firefox
Version: Trunk → unspecified
Comment 14•3 years ago
|
||
This issue seems like an old outdated one that stopped happening 11 years ago with the OS update.
Honza, have you seen this issue still occurring with the latest Mac versions and our latest Debug builds?
Flags: needinfo?(honzab.moz)
Updated•3 years ago
|
QA Whiteboard: qa-not-actionable
Comment 15•3 years ago
|
||
a63d4a8d-745a-4c2d-b443-33a7e0210826 crash submitted windows reported stack overflow in 91.0.2
Comment 16•2 years ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:Gijs, since the bug has high severity, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(honzab.moz) → needinfo?(gijskruitbosch+bugs)
Comment 17•2 years ago
|
||
Plugins are dead, long live plugins.
Status: NEW → RESOLVED
Closed: 2 years ago
Component: File Handling → Flash (Adobe)
Flags: needinfo?(gijskruitbosch+bugs)
Product: Firefox → External Software Affecting Firefox
Resolution: --- → WORKSFORME
Updated•2 years ago
|
Product: External Software Affecting Firefox → External Software Affecting Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•