Crash [@ PL_strlen] with new search dialog when selecting non-default search engine on first search in new profile

RESOLVED INVALID

Status

()

Core
Preferences: Backend
--
critical
RESOLVED INVALID
13 years ago
10 years ago

People

(Reporter: Adam Guthrie, Unassigned)

Tracking

({crash, qawanted})

Trunk
x86
Linux
crash, qawanted
Points:
---
Bug Flags:
blocking1.9 -
wanted1.9 +

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

(Reporter)

Description

13 years ago
This doesn't happen every time, but it is reproduceable. 

1. Create a new profile. 
2. Remove the search box.
3. Ctrl+K to get the search dialog.
4. Select a different search engine from the dropdown menu.
5. Type a word in and press enter.

Incident ID: 8758627
Stack Signature	PL_strlen() ae7d22d5
Product ID	FirefoxTrunk
Build ID	2005082605
Trigger Time	2005-08-26 20:34:17.0
Platform	LinuxIntel
Operating System	Linux 2.6.12-1.1398_FC4
Module	libplc4.so + (00001257)
URL visited	
User Comments	crashing new search dialog
Since Last Crash	0 sec
Total Uptime	0 sec
Trigger Reason	SIGSEGV: Segmentation Fault: (signal 11)
Source File, Line No.
/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/nsprpub/lib/libc/src/strlen.c,
line 50
Stack Trace 	
PL_strlen() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/nsprpub/lib/libc/src/strlen.c,
line 50]
nsPref::QueryInterface() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpref/src/nsPref.cpp,
line 74]
PREF_GetPrefType() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpref/src/prefapi.cpp,
line 771]
pref_savePref() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpref/src/prefapi.cpp,
line 503]
nsPrefBranch::GetComplexValue() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpref/src/nsPrefBranch.cpp,
line 654]
nsPrefBranch::SetComplexValue() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpref/src/nsPrefBranch.cpp,
line 157]
nsPrefService::ResetBranch()
PrepareAndDispatch() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp,
line 50]
XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode)() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp,
line 2258]
XPC_WN_GetterSetter() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp,
line 1425]
js_Invoke() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/jsinterp.c,
line 1202]
js_Interpret() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/jsinterp.c,
line 3472]
js_Invoke() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/jsinterp.c,
line 1185]
js_InternalInvoke() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/jsinterp.c,
line 1274]
JS_CallFunctionValue() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/jsapi.c,
line 3929]
nsJSContext::BindCompiledEventHandler() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp,
line 1481]
nsJSEventListener::HandleEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/dom/src/events/nsJSEventListener.cpp,
line 842]
nsXBLPrototypeHandler::ExecuteHandler() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xbl/src/nsXBLPrototypeHandler.cpp,
line 62]
nsXBLWindowKeyHandler::~nsXBLWindowKeyHandler() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xbl/src/nsXBLWindowKeyHandler.cpp,
line 75]
nsEventListenerManager::HandleEventSubType() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/events/src/nsEventListenerManager.cpp,
line 69]
nsEventListenerManager::CreateEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/events/src/nsEventListenerManager.cpp,
line 1825]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2045]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2201]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2201]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2201]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2201]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2201]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2201]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2201]
nsGenericElement::HandleDOMEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/base/src/nsGenericElement.cpp,
line 2117]
nsHTMLInputElement::HandleDOMEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/html/content/src/nsHTMLInputElement.cpp,
line 49]
PresShell::HandleEventInternal() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6242]
PresShell::HandleEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/base/nsPresShell.cpp,
line 842]
nsViewManager::InsertZPlaceholder() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/view/src/nsViewManager.cpp,
line 2767]
nsViewManager::DispatchEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/view/src/nsViewManager.cpp,
line 100]
nsView::~nsView() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/view/src/nsView.cpp,
line 245]
nsCommonWidget::Show() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsCommonWidget.cpp,
line 258]
nsWindow::OnKeyPressEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsWindow.cpp,
line 1726]
style_set_cb() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsWindow.cpp,
line 3935]
libgtk-x11-2.0.so.0 + 0x10b352 (0x00b22352)
libgobject-2.0.so.0 + 0x8bc8 (0x00205bc8)
libgobject-2.0.so.0 + 0x185be (0x002155be)
libgobject-2.0.so.0 + 0x19c55 (0x00216c55)
libgobject-2.0.so.0 + 0x1a249 (0x00217249)
libgtk-x11-2.0.so.0 + 0x1e6ac3 (0x00bfdac3)
libgtk-x11-2.0.so.0 + 0x1f5587 (0x00c0c587)
libgtk-x11-2.0.so.0 + 0x1f9706 (0x00c10706)
libgtk-x11-2.0.so.0 + 0x10b352 (0x00b22352)
libgobject-2.0.so.0 + 0x8595 (0x00205595)
libgobject-2.0.so.0 + 0x8bc8 (0x00205bc8)
libgobject-2.0.so.0 + 0x1874a (0x0021574a)
libgobject-2.0.so.0 + 0x19c55 (0x00216c55)
libgobject-2.0.so.0 + 0x1a249 (0x00217249)
libgtk-x11-2.0.so.0 + 0x1e6ac3 (0x00bfdac3)
libgtk-x11-2.0.so.0 + 0x109bc9 (0x00b20bc9)
libgtk-x11-2.0.so.0 + 0x109ef4 (0x00b20ef4)
libgdk-x11-2.0.so.0 + 0x3bd6e (0x00153d6e)
libglib-2.0.so.0 + 0x2507e (0x0099c07e)
libglib-2.0.so.0 + 0x28096 (0x0099f096)
libglib-2.0.so.0 + 0x28578 (0x0099f578)
nsToolkit::~nsToolkit() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsToolkit.cpp,
line 67]
nsXULWindow::Destroy() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/xpfe/appshell/src/nsXULWindow.cpp,
line 202]
nsContentTreeOwner::GetEnabled() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/xpfe/appshell/src/nsContentTreeOwner.cpp,
line 536]
nsWindowWatcher::OpenWindowJS() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/embedding/components/windowwatcher/src/nsWindowWatcher.cpp,
line 761]
nsGlobalWindow::OpenInternal() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/dom/src/base/nsGlobalWindow.cpp,
line 603]
nsGlobalWindow::OpenInternal() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/dom/src/base/nsGlobalWindow.cpp,
line 848]
nsCloseEvent::PostCloseEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/dom/src/base/nsGlobalWindow.cpp,
line 4243]
PrepareAndDispatch() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp,
line 50]
XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode)() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp,
line 2258]
XPC_WN_GetterSetter() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp,
line 1425]
js_Invoke() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/jsinterp.c,
line 1202]
js_Interpret() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/jsinterp.c,
line 3472]
js_Invoke() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/jsinterp.c,
line 1185]
js_InternalInvoke() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/jsinterp.c,
line 1274]
JS_CallFunctionValue() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/js/src/jsapi.c,
line 3929]
nsJSContext::BindCompiledEventHandler() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp,
line 1481]
nsJSEventListener::HandleEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/dom/src/events/nsJSEventListener.cpp,
line 842]
nsXBLPrototypeHandler::ExecuteHandler() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xbl/src/nsXBLPrototypeHandler.cpp,
line 62]
nsXBLWindowHandler::EnsureHandlers() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xbl/src/nsXBLWindowHandler.cpp,
line 330]
nsXBLWindowKeyHandler::KeyDown() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xbl/src/nsXBLWindowKeyHandler.cpp,
line 242]
nsXBLPrototypeHandler::nsXBLPrototypeHandler() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xbl/src/nsXBLPrototypeHandler.cpp,
line 135]
GenericListenersHashEnum() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/events/src/nsEventListenerManager.cpp,
line 61]
nsEventListenerManager::CreateEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/events/src/nsEventListenerManager.cpp,
line 1810]
nsXULDocument::ResolveForwardReferences() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xul/document/src/nsXULDocument.cpp,
line 1355]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/xul/content/src/nsXULElement.cpp,
line 226]
PresShell::HandleEventInternal() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6242]
PresShell::HandleEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/base/nsPresShell.cpp,
line 842]
nsViewManager::InsertZPlaceholder() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/view/src/nsViewManager.cpp,
line 2767]
nsViewManager::DispatchEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/view/src/nsViewManager.cpp,
line 100]
nsView::~nsView() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/view/src/nsView.cpp,
line 245]
nsCommonWidget::Show() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsCommonWidget.cpp,
line 258]
nsWindow::OnKeyPressEvent() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsWindow.cpp,
line 1726]
style_set_cb() 
[/builds/tinderbox/Fx-Trunk/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsWindow.cpp,
line 3935]
libgtk-x11-2.0.so.0 + 0x10b352 (0x00b22352)
libgobject-2.0.so.0 + 0x8bc8 (0x00205bc8)
libgobject-2.0.so.0 + 0x185be (0x002155be)
libgobject-2.0.so.0 + 0x19c55 (0x00216c55)
libgobject-2.0.so.0 + 0x1a249 (0x00217249)
libgtk-x11-2.0.so.0 + 0x1e6ac3 (0x00bfdac3)
libgtk-x11-2.0.so.0 + 0x1f5587 (0x00c0c587)
(Reporter)

Updated

13 years ago
Assignee: nobody → search
Component: Search → Search
Product: Firefox → Core
QA Contact: search
(Reporter)

Updated

13 years ago
Assignee: search → prefs
Component: Search → Preferences: Backend

Updated

13 years ago
Severity: normal → critical

Updated

13 years ago
Flags: blocking1.8b4?

Comment 1

13 years ago
this appears to be a trunk only change. It would be good to identify the
breaking change here. who can help?
Flags: blocking1.8b4? → blocking1.9a1?
Blocks: 235204
No longer depends on: 235204
Is this cross-platform or Linux-only?
Flags: blocking1.9a1? → blocking1.9-
Keywords: qawanted
Whiteboard: [wanted-1.9]
> Is this cross-platform or Linux-only?

dbaron: "maybe." It takes trunk Fx from 2005-08-27 to 2005-09-05 to have the bug that caused this crash (something that I wouldn't describe as "a trunk only change" since it just didn't get checked in anywhere but the trunk); I changed search engines in the dialog twenty times in a Windows 2005-08-30 build without a crash.
(Reporter)

Comment 4

11 years ago
Marking as INVALID. The original code that was causing this is gone. The bug probably still exists, but until someone can find it (or the crash starts to irritate people) I don't think it matters much.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → INVALID
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
Crash Signature: [@ PL_strlen]
You need to log in before you can comment on or make changes to this bug.