Closed
Bug 156949
Opened 22 years ago
Closed 22 years ago
Mozilla sometimes crashes after changing preferences [@ nsQueryInterface::_cl]
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 136513
People
(Reporter: david.w.h.chin, Assigned: dbaron)
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
Running Build #20020614 on Mac OS 10.1.5 with all current patches. Privacy->Images setting was "Accept all" initially. Changed it to "Do not load any". Worked. Changed back to "Accept all", crash when hit the "OK" button of the Preferences window. Crash log follows: Date/Time: 2002-07-11 14:09:03 -0400 OS Version: 10.1.5 (Build 5S66) Host: ginger Command: Mozilla PID: 280 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000008 Thread 0 Crashed: #0 0x006197e4 in nsQueryInterface::_cl( const(nsID const &, void **)) #1 0x006197ec in nsQueryInterface::_cl( const(nsID const &, void **)) #2 0x006199cc in nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const &, nsID const &) #3 0x03383aa8 in ConstructXULFrame__21nsCSSFrameConstructorFP12nsIPresShellP14n #4 0x03386c88 in ConstructFrameInternal__21nsCSSFrameConstructorFP12nsIPresShel #5 0x03386718 in ConstructFrame__21nsCSSFrameConstructorFP12nsIPresShellP14nsIP #6 0x033824d4 in nsCSSFrameConstructor::CreateAnonymousFrames(nsIPresShell *) #7 0x03382124 in nsCSSFrameConstructor::CreateAnonymousFrames(nsIPresShell *) #8 0x0337e178 in ConstructDocElementFrame__21nsCSSFrameConstructorFP12nsIPresSh #9 0x03387134 in ReconstructDocElementHierarchy__21nsCSSFrameConstructorFP14nsI #10 0x0283068c in ReconstructDocElementHierarchy__12StyleSetImplFP14nsIPresConte #11 0x032af0e0 in PresShell::ReconstructFrames(void) #12 0x032a3bbc in PresShell::SetPreferenceStyleRules(int) #13 0x0329b224 in nsPresContext::PreferenceChanged(char const *) #14 0x03298b24 in nsPresContext::PrefChangedCallback(char const *, void *) #15 0x0209e2a8 in pref_DoCallback(char const *) #16 0x0209de14 in pref_HashPref(char const *, PrefValue, PrefType, PrefAction) #17 0x0209cb0c in PREF_SetIntPref #18 0x020925f4 in nsPrefBranch::SetIntPref(char const *, int) #19 0x0209b6bc in nsPrefService::SetIntPref(char const *, int) #20 0x0208e64c in nsPref::SetIntPref(char const *, int) #21 0x005bb22c in XPTC_InvokeByIndex #22 0x005bb120 in XPTC_InvokeByIndex #23 0x022474e4 in 0x22474e4 #24 0x0224d97c in XPC_WN_CallMethod(JSContext *, JSObject *, unsigned int, long *, long *) #25 0x021c6d4c in js_Invoke #26 0x021cedf4 in 0x21cedf4 #27 0x021c6da4 in js_Invoke #28 0x021c6ff0 in js_InternalInvoke #29 0x021a7e6c in JS_CallFunctionValue #30 0x02cd633c in nsJSContext::CallEventHandler(void *, void *, unsigned int, void *, int *, int) #31 0x02cebb78 in GlobalWindowImpl::RunTimeout(nsTimeoutImpl *) #32 0x02cec720 in GlobalWindowImpl::TimerCallback(nsITimer *, void *) #33 0x00625ea4 in nsTimerImpl::Fire(void) #34 0x00626058 in handleTimerEvent(TimerEventType *) #35 0x005f1270 in PL_HandleEvent #36 0x005f10dc in PL_ProcessPendingEvents #37 0x005970fc in nsEventQueueImpl::ProcessPendingEvents(void) #38 0x024edb9c in nsMacNSPREventQueueHandler::ProcessPLEventQueue(void) #39 0x024eda40 in nsMacNSPREventQueueHandler::RepeatAction(EventRecord const &) #40 0x020e1b14 in Repeater::DoRepeaters(EventRecord const &) #41 0x02503f58 in nsMacMessagePump::DispatchEvent(int, EventRecord *) #42 0x02503c80 in nsMacMessagePump::DoMessagePump(void) #43 0x025035fc in nsAppShell::Run(void) #44 0x02428afc in nsAppShellService::Run(void) #45 0x004c9f1c in main1(int, char **, nsISupports *) #46 0x004ca95c in main Thread 1: #0 0x7000497c in syscall #1 0x70557600 in BSD_waitevent #2 0x70554b80 in CarbonSelectThreadFunc #3 0x7002054c in _pthread_body Thread 2: #0 0x7003f4c8 in semaphore_wait_signal_trap #1 0x7003f2c8 in _pthread_cond_wait #2 0x705593ec in CarbonOperationThreadFunc #3 0x7002054c in _pthread_body Thread 3: #0 0x70044cf8 in semaphore_timedwait_signal_trap #1 0x70044cd8 in semaphore_timedwait_signal #2 0x70283e9c in TSWaitOnConditionTimedRelative #3 0x7027d740 in TSWaitOnSemaphoreCommon #4 0x702c2078 in TimerThread #5 0x7002054c in _pthread_body Thread 4: #0 0x7003f4c8 in semaphore_wait_signal_trap #1 0x7003f2c8 in _pthread_cond_wait #2 0x70250aa8 in TSWaitOnCondition #3 0x7027d728 in TSWaitOnSemaphoreCommon #4 0x70243d0c in AsyncFileThread #5 0x7002054c in _pthread_body Thread 5: #0 0x7003f4c8 in semaphore_wait_signal_trap #1 0x7003f2c8 in _pthread_cond_wait #2 0x7055b884 in CarbonInetOperThreadFunc #3 0x7002054c in _pthread_body Thread 6: #0 0x70000978 in mach_msg_overwrite_trap #1 0x70005a04 in mach_msg #2 0x70026a2c in _pthread_become_available #3 0x70026724 in pthread_exit #4 0x70020550 in _pthread_body PPC Thread State: srr0: 0x006197e4 srr1: 0x0200f030 vrsave: 0x00000000 xer: 0x2000000e lr: 0x006199cc ctr: 0x006197c0 mq: 0x00000000 r0: 0x006199cc r1: 0xbfffdcf0 r2: 0x00101000 r3: 0x0423168c r4: 0x034f4a58 r5: 0xbfffdd68 r6: 0x00000001 r7: 0x034f4a38 r8: 0x00000000 r9: 0x26a4d970 r10: 0x0423151c r11: 0x04241090 r12: 0x00000000 r13: 0xbfffddd0 r14: 0x00000001 r15: 0x041e5cc0 r16: 0x0421c130 r17: 0x0421bb80 r18: 0xbfffe374 r19: 0x04241090 r20: 0x0423151c r21: 0x02cb3a60 r22: 0x00000001 r23: 0x042318e0 r24: 0x00000000 r25: 0x00000001 r26: 0x00000001 r27: 0x00000000 r28: 0x00000000 r29: 0x00000000 r30: 0x00111690 r31: 0xbfffde38 ********** Date/Time: 2002-07-11 14:09:43 -0400 OS Version: 10.1.5 (Build 5S66) Host: ginger Command: Mozilla PID: 282 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000008 Thread 0 Crashed: #0 0x006197e4 in nsQueryInterface::_cl( const(nsID const &, void **)) #1 0x006197ec in nsQueryInterface::_cl( const(nsID const &, void **)) #2 0x006199cc in nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const &, nsID const &) #3 0x0344caa8 in ConstructXULFrame__21nsCSSFrameConstructorFP12nsIPresShellP14n #4 0x0344fc88 in ConstructFrameInternal__21nsCSSFrameConstructorFP12nsIPresShel #5 0x0344f718 in ConstructFrame__21nsCSSFrameConstructorFP12nsIPresShellP14nsIP #6 0x0344b4d4 in nsCSSFrameConstructor::CreateAnonymousFrames(nsIPresShell *) #7 0x0344b124 in nsCSSFrameConstructor::CreateAnonymousFrames(nsIPresShell *) #8 0x03447178 in ConstructDocElementFrame__21nsCSSFrameConstructorFP12nsIPresSh #9 0x03450134 in ReconstructDocElementHierarchy__21nsCSSFrameConstructorFP14nsI #10 0x0283068c in ReconstructDocElementHierarchy__12StyleSetImplFP14nsIPresConte #11 0x033780e0 in PresShell::ReconstructFrames(void) #12 0x0336cbbc in PresShell::SetPreferenceStyleRules(int) #13 0x03364224 in nsPresContext::PreferenceChanged(char const *) #14 0x03361b24 in nsPresContext::PrefChangedCallback(char const *, void *) #15 0x0209e2a8 in pref_DoCallback(char const *) #16 0x0209de14 in pref_HashPref(char const *, PrefValue, PrefType, PrefAction) #17 0x0209cb0c in PREF_SetIntPref #18 0x020925f4 in nsPrefBranch::SetIntPref(char const *, int) #19 0x0209b6bc in nsPrefService::SetIntPref(char const *, int) #20 0x0208e64c in nsPref::SetIntPref(char const *, int) #21 0x005bb22c in XPTC_InvokeByIndex #22 0x005bb120 in XPTC_InvokeByIndex #23 0x022474e4 in 0x22474e4 #24 0x0224d97c in XPC_WN_CallMethod(JSContext *, JSObject *, unsigned int, long *, long *) #25 0x021c6d4c in js_Invoke #26 0x021cedf4 in 0x21cedf4 #27 0x021c6da4 in js_Invoke #28 0x021c6ff0 in js_InternalInvoke #29 0x021a7e6c in JS_CallFunctionValue #30 0x02cd633c in nsJSContext::CallEventHandler(void *, void *, unsigned int, void *, int *, int) #31 0x02cebb78 in GlobalWindowImpl::RunTimeout(nsTimeoutImpl *) #32 0x02cec720 in GlobalWindowImpl::TimerCallback(nsITimer *, void *) #33 0x00625ea4 in nsTimerImpl::Fire(void) #34 0x00626058 in handleTimerEvent(TimerEventType *) #35 0x005f1270 in PL_HandleEvent #36 0x005f10dc in PL_ProcessPendingEvents #37 0x005970fc in nsEventQueueImpl::ProcessPendingEvents(void) #38 0x024edb9c in nsMacNSPREventQueueHandler::ProcessPLEventQueue(void) #39 0x024eda40 in nsMacNSPREventQueueHandler::RepeatAction(EventRecord const &) #40 0x020e1b14 in Repeater::DoRepeaters(EventRecord const &) #41 0x02503f58 in nsMacMessagePump::DispatchEvent(int, EventRecord *) #42 0x02503c80 in nsMacMessagePump::DoMessagePump(void) #43 0x025035fc in nsAppShell::Run(void) #44 0x02428afc in nsAppShellService::Run(void) #45 0x004c9f1c in main1(int, char **, nsISupports *) #46 0x004ca95c in main Thread 1: #0 0x7000497c in syscall #1 0x70557600 in BSD_waitevent #2 0x70554b80 in CarbonSelectThreadFunc #3 0x7002054c in _pthread_body Thread 2: #0 0x7003f4c8 in semaphore_wait_signal_trap #1 0x7003f2c8 in _pthread_cond_wait #2 0x705593ec in CarbonOperationThreadFunc #3 0x7002054c in _pthread_body Thread 3: #0 0x70044cf8 in semaphore_timedwait_signal_trap #1 0x70044cd8 in semaphore_timedwait_signal #2 0x70283e9c in TSWaitOnConditionTimedRelative #3 0x7027d740 in TSWaitOnSemaphoreCommon #4 0x702c2078 in TimerThread #5 0x7002054c in _pthread_body Thread 4: #0 0x7003f4c8 in semaphore_wait_signal_trap #1 0x7003f2c8 in _pthread_cond_wait #2 0x70250aa8 in TSWaitOnCondition #3 0x7027d728 in TSWaitOnSemaphoreCommon #4 0x70243d0c in AsyncFileThread #5 0x7002054c in _pthread_body Thread 5: #0 0x7003f4c8 in semaphore_wait_signal_trap #1 0x7003f2c8 in _pthread_cond_wait #2 0x7055b884 in CarbonInetOperThreadFunc #3 0x7002054c in _pthread_body Thread 6: #0 0x70000978 in mach_msg_overwrite_trap #1 0x70005a04 in mach_msg #2 0x70026a2c in _pthread_become_available #3 0x70026724 in pthread_exit #4 0x70020550 in _pthread_body PPC Thread State: srr0: 0x006197e4 srr1: 0x0200f030 vrsave: 0x00000000 xer: 0x2000000e lr: 0x006199cc ctr: 0x006197c0 mq: 0x00000000 r0: 0x006199cc r1: 0xbfffdcf0 r2: 0x00101000 r3: 0x03fe932c r4: 0x035bda58 r5: 0xbfffdd68 r6: 0x00000001 r7: 0x035bda38 r8: 0x00000000 r9: 0x26a4d970 r10: 0x03fe91bc r11: 0x03f91fe0 r12: 0x00000000 r13: 0xbfffddd0 r14: 0x00000001 r15: 0x03c94960 r16: 0x03f96b80 r17: 0x03f965d0 r18: 0xbfffe374 r19: 0x03f91fe0 r20: 0x03fe91bc r21: 0x02cb3a20 r22: 0x00000001 r23: 0x03fe9580 r24: 0x00000000 r25: 0x00000001 r26: 0x00000001 r27: 0x00000000 r28: 0x00000000 r29: 0x00000000 r30: 0x00111690 r31: 0xbfffde38 ********** Date/Time: 2002-07-11 14:10:51 -0400 OS Version: 10.1.5 (Build 5S66) Host: ginger Command: Mozilla PID: 284 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000008 Thread 0 Crashed: #0 0x006197e4 in nsQueryInterface::_cl( const(nsID const &, void **)) #1 0x006197ec in nsQueryInterface::_cl( const(nsID const &, void **)) #2 0x006199cc in nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const &, nsID const &) #3 0x0344caa8 in ConstructXULFrame__21nsCSSFrameConstructorFP12nsIPresShellP14n #4 0x0344fc88 in ConstructFrameInternal__21nsCSSFrameConstructorFP12nsIPresShel #5 0x0344f718 in ConstructFrame__21nsCSSFrameConstructorFP12nsIPresShellP14nsIP #6 0x0344b4d4 in nsCSSFrameConstructor::CreateAnonymousFrames(nsIPresShell *) #7 0x0344b124 in nsCSSFrameConstructor::CreateAnonymousFrames(nsIPresShell *) #8 0x03447178 in ConstructDocElementFrame__21nsCSSFrameConstructorFP12nsIPresSh #9 0x03450134 in ReconstructDocElementHierarchy__21nsCSSFrameConstructorFP14nsI #10 0x0283068c in ReconstructDocElementHierarchy__12StyleSetImplFP14nsIPresConte #11 0x033780e0 in PresShell::ReconstructFrames(void) #12 0x0336cbbc in PresShell::SetPreferenceStyleRules(int) #13 0x03364224 in nsPresContext::PreferenceChanged(char const *) #14 0x03361b24 in nsPresContext::PrefChangedCallback(char const *, void *) #15 0x0209e2a8 in pref_DoCallback(char const *) #16 0x0209de14 in pref_HashPref(char const *, PrefValue, PrefType, PrefAction) #17 0x0209cb0c in PREF_SetIntPref #18 0x020925f4 in nsPrefBranch::SetIntPref(char const *, int) #19 0x0209b6bc in nsPrefService::SetIntPref(char const *, int) #20 0x0208e64c in nsPref::SetIntPref(char const *, int) #21 0x005bb22c in XPTC_InvokeByIndex #22 0x005bb120 in XPTC_InvokeByIndex #23 0x022474e4 in 0x22474e4 #24 0x0224d97c in XPC_WN_CallMethod(JSContext *, JSObject *, unsigned int, long *, long *) #25 0x021c6d4c in js_Invoke #26 0x021cedf4 in 0x21cedf4 #27 0x021c6da4 in js_Invoke #28 0x021c6ff0 in js_InternalInvoke #29 0x021a7e6c in JS_CallFunctionValue #30 0x02cd633c in nsJSContext::CallEventHandler(void *, void *, unsigned int, void *, int *, int) #31 0x02cebb78 in GlobalWindowImpl::RunTimeout(nsTimeoutImpl *) #32 0x02cec720 in GlobalWindowImpl::TimerCallback(nsITimer *, void *) #33 0x00625ea4 in nsTimerImpl::Fire(void) #34 0x00626058 in handleTimerEvent(TimerEventType *) #35 0x005f1270 in PL_HandleEvent #36 0x005f10dc in PL_ProcessPendingEvents #37 0x005970fc in nsEventQueueImpl::ProcessPendingEvents(void) #38 0x024edb9c in nsMacNSPREventQueueHandler::ProcessPLEventQueue(void) #39 0x024eda40 in nsMacNSPREventQueueHandler::RepeatAction(EventRecord const &) #40 0x020e1b14 in Repeater::DoRepeaters(EventRecord const &) #41 0x02503f58 in nsMacMessagePump::DispatchEvent(int, EventRecord *) #42 0x02503c80 in nsMacMessagePump::DoMessagePump(void) #43 0x025035fc in nsAppShell::Run(void) #44 0x02428afc in nsAppShellService::Run(void) #45 0x004c9f1c in main1(int, char **, nsISupports *) #46 0x004ca95c in main Thread 1: #0 0x7000497c in syscall #1 0x70557600 in BSD_waitevent #2 0x70554b80 in CarbonSelectThreadFunc #3 0x7002054c in _pthread_body Thread 2: #0 0x7003f4c8 in semaphore_wait_signal_trap #1 0x7003f2c8 in _pthread_cond_wait #2 0x705593ec in CarbonOperationThreadFunc #3 0x7002054c in _pthread_body Thread 3: #0 0x70044cf8 in semaphore_timedwait_signal_trap #1 0x70044cd8 in semaphore_timedwait_signal #2 0x70283e9c in TSWaitOnConditionTimedRelative #3 0x7027d740 in TSWaitOnSemaphoreCommon #4 0x702c2078 in TimerThread #5 0x7002054c in _pthread_body Thread 4: #0 0x7003f4c8 in semaphore_wait_signal_trap #1 0x7003f2c8 in _pthread_cond_wait #2 0x70250aa8 in TSWaitOnCondition #3 0x7027d728 in TSWaitOnSemaphoreCommon #4 0x70243d0c in AsyncFileThread #5 0x7002054c in _pthread_body Thread 5: #0 0x7003f4c8 in semaphore_wait_signal_trap #1 0x7003f2c8 in _pthread_cond_wait #2 0x7055b884 in CarbonInetOperThreadFunc #3 0x7002054c in _pthread_body Thread 6: #0 0x70000978 in mach_msg_overwrite_trap #1 0x70005a04 in mach_msg #2 0x70026a2c in _pthread_become_available #3 0x70026724 in pthread_exit #4 0x70020550 in _pthread_body PPC Thread State: srr0: 0x006197e4 srr1: 0x0200f030 vrsave: 0x00000000 xer: 0x2000000e lr: 0x006199cc ctr: 0x006197c0 mq: 0x00000000 r0: 0x006199cc r1: 0xbfffdcf0 r2: 0x00101000 r3: 0x03fe5acc r4: 0x035bda58 r5: 0xbfffdd68 r6: 0x00000001 r7: 0x035bda38 r8: 0x00000000 r9: 0x26a4d970 r10: 0x03fe595c r11: 0x03a76910 r12: 0x00000000 r13: 0xbfffddd0 r14: 0x00000001 r15: 0x03e4b0f0 r16: 0x03f7cbf0 r17: 0x03f7c640 r18: 0xbfffe374 r19: 0x03a76910 r20: 0x03fe595c r21: 0x02cb3a20 r22: 0x00000001 r23: 0x03fe5d20 r24: 0x00000000 r25: 0x00000001 r26: 0x00000001 r27: 0x00000000 r28: 0x00000000 r29: 0x00000000 r30: 0x00111690 r31: 0xbfffde38 **********
Reporter | ||
Comment 1•22 years ago
|
||
Changed setting from "Do not load any" to "... from originating server only". Worked. Changed from "... from originating server only" to "Accept all". Worked.
David, usually just one stack is necessary. Three is too many, and it should be attached, and not pasted into a comment. Thanks.
Severity: normal → critical
Keywords: crash
Summary: Crash when changing image download preferences to "accept all" → Crash when changing image download preferences to "accept all" [@ nsQueryInterface]
WorksForMe using FizzillaCFM/2002070913. I changed the pref, and changed it back both right away and after closing and reopening the prefs, and didn't crash. Dave, can you still reproduce this problem using a more recent nightly build? If so, how about using a new Mozilla user profile? Guessing XPCOM based on the stack.
Assignee: ben → dougt
Component: Preferences → XPCOM
QA Contact: sairuh → scc
Comment 4•22 years ago
|
||
WorksForMe Mozilla 2002071108 OS X 10.1.5
Reporter | ||
Comment 5•22 years ago
|
||
OK. Tried a few more things using build # 2002061014: 1. Created a new profile (instead of using Default) -- no problems changing the preferences. 2, Go back to using Default profile; now, crash when try to change from "Accept all" to "Do not load any". Also tried changing the theme: same crash happens with Classic, Modern, and Lopburi Flat. Possible other factors (?): using Google sidebar and Linux Freak News sidebar.
Reporter | ||
Comment 6•22 years ago
|
||
Tried build 2002071208, and no more crash.
i'd go w/ the thing below that (xul)
Assignee: dougt → hyatt
Component: XPCOM → XP Toolkit/Widgets: XUL
QA Contact: scc → shrir
Comment 8•22 years ago
|
||
I'll go with reporter's worksforme.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Reopening. I see a similar stack after crashing after changing the minimum font size setting for Central European fonts. See also my bug 162048, showing a slightly different stack from similar action. There appear to be a lot of nsQueryInterface bug reports from all platforms related to preference changes. On PC, it seems to show up as nsQueryInterface::operator, while on Mac it shows up as nsQueryInterface::_cl.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Comment 10•22 years ago
|
||
Comment 11•22 years ago
|
||
Reassigning to Preferences, since that's where the crashes are occurring. (Does this belong on XPCOM? It appears that's where nsQueryInterface is.)
Assignee: hyatt → ben
Status: UNCONFIRMED → NEW
Component: XP Toolkit/Widgets: XUL → Preferences
Ever confirmed: true
QA Contact: shrir → sairuh
Summary: Crash when changing image download preferences to "accept all" [@ nsQueryInterface] → Mozilla sometimes crashes after changing preferences [@ nsQueryInterface::_cl]
Comment 12•22 years ago
|
||
Use the right component, and don't blame the topmost crashing stack frame's function. /be
Assignee: ben → bnesse
Component: Preferences → Preferences: Backend
Comment 13•22 years ago
|
||
The only thing preferences has to do with this is that it is sending a pref change notification to the consumer listening for said change (the PresShell.) This looks like it belongs to CSS... taking my best guess as to the correct owner.
Assignee: bnesse → dbaron
Component: Preferences: Backend → Style System
QA Contact: sairuh → ian
Assignee | ||
Comment 14•22 years ago
|
||
I had a fix for this but it caused a rather serious regression. I'll try to get back to fixing this sometime this week or next. *** This bug has been marked as a duplicate of 136513 ***
Status: NEW → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → DUPLICATE
Updated•13 years ago
|
Crash Signature: [@ nsQueryInterface::_cl]
You need to log in
before you can comment on or make changes to this bug.
Description
•