Crash while startup when invoked from dock [@ js_AtomizeString]

VERIFIED WORKSFORME

Status

()

Core
JavaScript Engine
--
critical
VERIFIED WORKSFORME
15 years ago
15 years ago

People

(Reporter: Tomoaki NISHIYAMA, Assigned: rogerl (gone))

Tracking

({crash})

Trunk
PowerPC
Mac OS X
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

(Reporter)

Description

15 years ago
Although Mozilla for MacOS X starts normally when double clicked on the
"Finder", Mozilla crashes before it starts up and the first window is shown when
invoked from the "Dock".  
This was found with 1.2 beta and the latest nightly build downloaded on 4 Nov
2002.  
A few crash logs are below.

**********

Date/Time:  2002-11-04 17:19:39 +0900
OS Version: 10.2.1 (Build 6D52)
Host:       xxxx

Command:    Mozilla
PID:        1482

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000014

Thread 0 Crashed:
 #0   0x0214eb58 in js_AtomizeString
 #1   0x0214edac in js_Atomize
 #2   0x02149318 in JS_InternString
 #3   0x022d8e60 in nsScriptSecurityManager::_ct(void)
 #4   0x022d9594 in nsScriptSecurityManager::GetScriptSecurityManager(void)
 #5   0x022c6298 in Construct_nsIScriptSecurityManager(nsISupports *, nsID const
&, void **)
 #6   0x0026095c in nsGenericFactory::CreateInstance(nsISupports *, nsID const
&, void **)
 #7   0x0026cb04 in CreateInstanceByContractID__22nsComponentManagerImplFPCcP11nsI
 #8   0x00272bc4 in nsCreateInstanceByContractID::_cl( const(nsID const &, void **))
 #9   0x002f66bc in nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const &,
nsID const &)
 #10  0x02281b48 in nsAppStartupNotifier::Observe(nsISupports *, char const *,
wchar_t const *)
 #11  0x001a385c in 0x1a385c
 #12  0x001a47dc in main

Thread 1:
 #0   0x9000582c in syscall
 #1   0x90515d9c in BSD_waitevent
 #2   0x9051576c in CarbonSelectThreadFunc
 #3   0x90021428 in _pthread_body

Thread 2:
 #0   0x9003f188 in semaphore_wait_signal_trap
 #1   0x9003efa4 in _pthread_cond_wait
 #2   0x9051dda0 in CarbonOperationThreadFunc
 #3   0x90021428 in _pthread_body

Thread 3:
 #0   0x90042d68 in semaphore_timedwait_signal_trap
 #1   0x9003ef94 in _pthread_cond_wait
 #2   0x90233470 in TSWaitOnSemaphoreCommon
 #3   0x9023c298 in TimerThread
 #4   0x90021428 in _pthread_body

Thread 4:
 #0   0x9003f188 in semaphore_wait_signal_trap
 #1   0x9003efa4 in _pthread_cond_wait
 #2   0x90233454 in TSWaitOnSemaphoreCommon
 #3   0x90248b2c in AsyncFileThread(void*)
 #4   0x90021428 in _pthread_body

PPC Thread State:
  srr0: 0x0214eb58 srr1: 0x0000f030                vrsave: 0x00000000
   xer: 0x20000000   lr: 0x0214eb54  ctr: 0x0020c840   mq: 0x00000000
    r0: 0x0214eb54   r1: 0xbffff4d0   r2: 0x021b7000   r3: 0x0657aa22
    r4: 0x00000000   r5: 0x00000072   r6: 0x00000000   r7: 0x00000006
    r8: 0x021bf828   r9: 0xa0220eac  r10: 0xa0220be4  r11: 0xa00042f8
   r12: 0x003e3b40  r13: 0x00000000  r14: 0x00000000  r15: 0x022b28ff
   r16: 0x00000000  r17: 0xbffff89c  r18: 0x003dba50  r19: 0xbffff8a4
   r20: 0x022b2858  r21: 0xbffff88c  r22: 0xbffff8c0  r23: 0x022b28e0
   r24: 0x003d5324  r25: 0x001bb7e2  r26: 0x003dd494  r27: 0x00000000
   r28: 0x00000000  r29: 0xbffff570  r30: 0x00000082  r31: 0xbffff578

**********

Date/Time:  2002-11-04 17:38:41 +0900
OS Version: 10.2.1 (Build 6D52)
Host:       xxxxx

Command:    Mozilla
PID:        1513

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000014

Thread 0 Crashed:
 #0   0x0214eb58 in js_AtomizeString
 #1   0x0214edac in js_Atomize
 #2   0x02149318 in JS_InternString
 #3   0x022d8e60 in nsScriptSecurityManager::_ct(void)
 #4   0x022d9594 in nsScriptSecurityManager::GetScriptSecurityManager(void)
 #5   0x022c6298 in Construct_nsIScriptSecurityManager(nsISupports *, nsID const
&, void **)
 #6   0x0026095c in nsGenericFactory::CreateInstance(nsISupports *, nsID const
&, void **)
 #7   0x0026cb04 in CreateInstanceByContractID__22nsComponentManagerImplFPCcP11nsI
 #8   0x00272bc4 in nsCreateInstanceByContractID::_cl( const(nsID const &, void **))
 #9   0x002f66bc in nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const &,
nsID const &)
 #10  0x02281b48 in nsAppStartupNotifier::Observe(nsISupports *, char const *,
wchar_t const *)
 #11  0x001a385c in 0x1a385c
 #12  0x001a47dc in main

Thread 1:
 #0   0x9000582c in syscall
 #1   0x90515d9c in BSD_waitevent
 #2   0x9051576c in CarbonSelectThreadFunc
 #3   0x90021428 in _pthread_body

Thread 2:
 #0   0x9003f188 in semaphore_wait_signal_trap
 #1   0x9003efa4 in _pthread_cond_wait
 #2   0x9051dda0 in CarbonOperationThreadFunc
 #3   0x90021428 in _pthread_body

Thread 3:
 #0   0x90042d68 in semaphore_timedwait_signal_trap
 #1   0x9003ef94 in _pthread_cond_wait
 #2   0x90233470 in TSWaitOnSemaphoreCommon
 #3   0x9023c298 in TimerThread
 #4   0x90021428 in _pthread_body

Thread 4:
 #0   0x9003f188 in semaphore_wait_signal_trap
 #1   0x9003efa4 in _pthread_cond_wait
 #2   0x90233454 in TSWaitOnSemaphoreCommon
 #3   0x90248b2c in AsyncFileThread(void*)
 #4   0x90021428 in _pthread_body

PPC Thread State:
  srr0: 0x0214eb58 srr1: 0x0000f030                vrsave: 0x00000000
   xer: 0x20000000   lr: 0x0214eb54  ctr: 0x0020c840   mq: 0x00000000
    r0: 0x0214eb54   r1: 0xbffff4d0   r2: 0x021b7000   r3: 0x0657aa22
    r4: 0x00000000   r5: 0x00000072   r6: 0x00000000   r7: 0x00000006
    r8: 0x021bf828   r9: 0xa0220eac  r10: 0xa0220be4  r11: 0xa00042f8
   r12: 0x003e3b40  r13: 0x00000000  r14: 0x00000000  r15: 0x022b28ff
   r16: 0x00000000  r17: 0xbffff89c  r18: 0x003dba50  r19: 0xbffff8a4
   r20: 0x022b2858  r21: 0xbffff88c  r22: 0xbffff8c0  r23: 0x022b28e0
   r24: 0x003d5324  r25: 0x001bb7e2  r26: 0x003dd494  r27: 0x00000000
   r28: 0x00000000  r29: 0xbffff570  r30: 0x00000082  r31: 0xbffff578
To JS engine based on top of stack...
Assignee: asa → rogerl
Component: Browser-General → JavaScript Engine
QA Contact: asa → pschwartau
(Reporter)

Comment 2

15 years ago
This became not reproducible after system reboot.
Therefore, something other than Mozilla seems to be involved in
the crash, and the severelity is reduced.
Severity: major → minor

Comment 3

15 years ago
Tomoaki, for future reference, crash reports should be attached to your bugs as
a text file, and not quoted in a bug comment. Also, it's only necessary to
include one crash report per bug (you quoted two).

Stack evokes bug 173311. Tomoaki, which variety of Mozilla for Mac OS X are you
using, CFM or Mach-O? Are you sure this crash occurs using the 1104 *trunk*
nightly? Does it still happen if you follow the suggestion in bug 173311, comment 4?
Severity: minor → critical
Keywords: crash
Summary: Crash while startup when invoked from dock → Crash while startup when invoked from dock [@ js_AtomizeString]

Comment 4

15 years ago
Tried with branch(20021030) and trunk(20021105) builds on mac osX, but fail to 
reproduce a crash when invoked from the "Dock". 

Comment 5

15 years ago
Based on Tomoaki's findings in Comment #2 and Moied's in Comment #4,
resolving this bug as WORKSFORME.

Tomoaki: if you disagree, please reopen this bug; thanks -
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → WORKSFORME

Comment 6

15 years ago
Marking Verified -
Status: RESOLVED → VERIFIED
Crash Signature: [@ js_AtomizeString]
You need to log in before you can comment on or make changes to this bug.