Closed Bug 168974 Opened 22 years ago Closed 22 years ago

Mozilla crashes when presenting the "certificate selection" dialog box

Categories

(Core Graveyard :: Security: UI, defect)

Other Branch
PowerPC
macOS
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: Bill.Burns, Assigned: ssaux)

Details

(Keywords: crash)

Using Mozilla 1.2alpha on Mac OS X.2.

100% reproducible.

steps to reproduce:
- I have "ask every time" selected in cert preferences
- attempt to log into my SSL/IMAP server using client-auth
- am asked to enter in my smartcard PIN
- just before the cert selection dialog comes up, Mozilla crashes.

Note that the same profile in Mozilla 1.1rtm works fine.


Date/Time:  2002-09-16 09:21:42 -0700
OS Version: 10.2 (Build 6C115)
Host:       localhost

Command:    Mozilla
PID:        1456

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

Thread 0 Crashed:
 #0   0x00000174 in 0x174
 #1   0x049c4548 in openDialog__17nsNSSDialogHelperFP20nsIDOMWindowInternalPCcP11n
 #2   0x049c9000 in nsNSSDialogs::ChooseCertificate(nsIInterfaceRequestor *,
wchar_t const *,  *)
 #3   0x0029a52c in XPTC_InvokeByIndex
 #4   0x0029a420 in XPTC_InvokeByIndex
 #5   0x002a31dc in EventHandler(PLEvent *)
 #6   0x002ce4e0 in PL_HandleEvent
 #7   0x002ce34c in PL_ProcessPendingEvents
 #8   0x0027635c in nsEventQueueImpl::ProcessPendingEvents(void)
 #9   0x01ad6d8c in nsMacNSPREventQueueHandler::ProcessPLEventQueue(void)
 #10  0x01ad6c30 in nsMacNSPREventQueueHandler::RepeatAction(EventRecord const &)
 #11  0x01943b14 in Repeater::DoRepeaters(EventRecord const &)
 #12  0x01aed2c8 in nsMacMessagePump::DispatchEvent(int, EventRecord *)
 #13  0x01aed000 in nsMacMessagePump::DoMessagePump(void)
 #14  0x01aec97c in nsAppShell::Run(void)
 #15  0x01aa944c in nsAppShellService::Run(void)
 #16  0x001a3e24 in main1(int, char **, nsISupports *)
 #17  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

Thread 5:
 #0   0x9003f188 in semaphore_wait_signal_trap
 #1   0x9003efa4 in _pthread_cond_wait
 #2   0x90525b90 in CarbonInetOperThreadFunc
 #3   0x90021428 in _pthread_body

PPC Thread State:
  srr0: 0x00000174 srr1: 0x4200f030                vrsave: 0x00000000
   xer: 0x00000000   lr: 0x019701f0  ctr: 0x00000174   mq: 0x00000000
    r0: 0x00000174   r1: 0xbffff460   r2: 0x048b7001   r3: 0x048bc324
    r4: 0xbffff4dc   r5: 0x00000000   r6: 0x049cd647   r7: 0x0199c917
    r8: 0x003ddf98   r9: 0xa0220eac  r10: 0xa0220be4  r11: 0xa00042f8
   r12: 0x048bbc48  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
   r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x00000000
   r20: 0xbffffe60  r21: 0xffffffff  r22: 0xbffff55c  r23: 0x00000000
   r24: 0x00000000  r25: 0x00000001  r26: 0x03854350  r27: 0x00000000
   r28: 0x00000000  r29: 0x049cd8c8  r30: 0x049cdc0c  r31: 0x04864170

**********

Date/Time:  2002-09-16 09:25:29 -0700
OS Version: 10.2 (Build 6C115)
Host:       localhost

Command:    Mozilla
PID:        1460

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x1d301b12

Thread 0 Crashed:
 #0   0x019701e8 in nsWindowWatcher::GetActiveWindow(nsIDOMWindow **)
 #1   0x03a55548 in openDialog__17nsNSSDialogHelperFP20nsIDOMWindowInternalPCcP11n
 #2   0x03a5a000 in nsNSSDialogs::ChooseCertificate(nsIInterfaceRequestor *,
wchar_t const *,  *)
 #3   0x0029a52c in XPTC_InvokeByIndex
 #4   0x0029a420 in XPTC_InvokeByIndex
 #5   0x002a31dc in EventHandler(PLEvent *)
 #6   0x002ce4e0 in PL_HandleEvent
 #7   0x002ce34c in PL_ProcessPendingEvents
 #8   0x0027635c in nsEventQueueImpl::ProcessPendingEvents(void)
 #9   0x01ad6d8c in nsMacNSPREventQueueHandler::ProcessPLEventQueue(void)
 #10  0x01ad6c30 in nsMacNSPREventQueueHandler::RepeatAction(EventRecord const &)
 #11  0x01943b14 in Repeater::DoRepeaters(EventRecord const &)
 #12  0x01aed2c8 in nsMacMessagePump::DispatchEvent(int, EventRecord *)
 #13  0x01aed000 in nsMacMessagePump::DoMessagePump(void)
 #14  0x01aec97c in nsAppShell::Run(void)
 #15  0x01aa944c in nsAppShellService::Run(void)
 #16  0x001a3e24 in main1(int, char **, nsISupports *)
 #17  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

Thread 5:
 #0   0x9003f188 in semaphore_wait_signal_trap
 #1   0x9003efa4 in _pthread_cond_wait
 #2   0x90525b90 in CarbonInetOperThreadFunc
 #3   0x90021428 in _pthread_body

PPC Thread State:
  srr0: 0x019701e8 srr1: 0x0200f030                vrsave: 0x00000000
   xer: 0x00000000   lr: 0x03a55548  ctr: 0x019701b0   mq: 0x00000000
    r0: 0x04840344   r1: 0xbffff460   r2: 0x0193d000   r3: 0x04840344
    r4: 0xbffff4dc   r5: 0x00000000   r6: 0x03a5e647   r7: 0x0199c917
    r8: 0x003ddf98   r9: 0xa0220eac  r10: 0xa0220be4  r11: 0xa00042f8
   r12: 0x1d301b06  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
   r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x00000000
   r20: 0xbffffe60  r21: 0xffffffff  r22: 0xbffff55c  r23: 0x00000000
   r24: 0x00000000  r25: 0x00000001  r26: 0x02abb128  r27: 0x00000000
   r28: 0x00000000  r29: 0x03a5e8c8  r30: 0x03a5ec0c  r31: 0x0332aef0
Reporter, for future reference, crash reports should be attached to your bugs as
a text file, and not quoted in a bug comment.
Severity: normal → critical
Keywords: crash
WFM. I'm not seeing a crash with the 10/1 Mac OSX 10.2 trunk build.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Verified.
Status: RESOLVED → VERIFIED
Product: PSM → Core
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.