Closed Bug 90793 Opened 19 years ago Closed 19 years ago

Attempting to open a local perl file results in a crash

Categories

(Core :: Layout, defect, critical)

PowerPC
macOS
defect
Not set
critical

Tracking

()

VERIFIED DUPLICATE of bug 91726

People

(Reporter: chrispetersen, Assigned: attinasi)

References

()

Details

(Keywords: crash)

Build: 2001071305
Platform: Mac OS X
Expected Results: Browser should display contents of file
What I got: Application crashes

Steps to reproduce:

1) Go to http://macperl.com/depts/Code/Tools/cleanup.pl

2) Notice content of file is displayed from server

3) Save the file to drive

4) Attempt to open the saved file from loac drive

5) A crash should occur


**********

Date/Time: 2001-07-14 00:53:40 -0700

PID:       339
Command:   Mozilla

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

Thread 0:
 #0   0x001438ec in 0x1438ec ()
 #1   0x01436c20 in 0x1436c20 ()
 #2   0x0012d794 in 0x12d794 ()
 #3   0x01626ff0 in 0x1626ff0 ()
 #4   0x01627d30 in 0x1627d30 ()
 #5   0x016262c4 in 0x16262c4 ()
 #6   0x01626b10 in 0x1626b10 ()
 #7   0x014e85ac in 0x14e85ac ()
 #8   0x014ce030 in 0x14ce030 ()
 #9   0x014cdf44 in 0x14cdf44 ()
 #10  0x001587bc in 0x1587bc ()
 #11  0x00156b98 in 0x156b98 ()
 #12  0x000cc330 in 0xcc330 ()

Thread 1:
 #0   0x7000424c in _syscall ()
 #1   0x706581b0 in _BSD_waitevent ()
 #2   0x706582b0 in _CarbonSelectThreadFunc ()
 #3   0x70014f04 in __pthread_body ()

Thread 2:
 #0   0x70059b68 in _semaphore_wait_signal_trap ()
 #1   0x70016110 in _semaphore_wait_signal ()
 #2   0x70015f78 in __pthread_cond_wait ()
 #3   0x70015d18 in _pthread_cond_wait ()
 #4   0x70653be0 in _BSD_pthread_cond_wait ()
 #5   0x70653bc0 in _CarbonConditionWait ()
 #6   0x7065557c in _CarbonOperationThreadFunc ()
 #7   0x70014f04 in __pthread_body ()

Thread 3:
 #0   0x70059b48 in _semaphore_timedwait_signal_trap ()
 #1   0x7003f7f8 in _semaphore_timedwait_signal ()
 #2   0x70015f68 in __pthread_cond_wait ()
 #3   0x7003f7c4 in _pthread_cond_timedwait_relative_np ()
 #4   0x7029b590 in _TSWaitOnConditionTimedRelative ()
 #5   0x7029cdac in _TSWaitOnSemaphoreCommon ()
 #6   0x702e5f98 in _TSWaitOnSemaphoreRelative ()
 #7   0x702e7208 in _TimerThread ()
 #8   0x70014f04 in __pthread_body ()

Thread 4:
 #0   0x70059b68 in _semaphore_wait_signal_trap ()
 #1   0x70016110 in _semaphore_wait_signal ()
 #2   0x70015f78 in __pthread_cond_wait ()
 #3   0x70015d18 in _pthread_cond_wait ()
 #4   0x7029b550 in _TSWaitOnCondition ()
 #5   0x7029cd94 in _TSWaitOnSemaphoreCommon ()
 #6   0x7029cce4 in _TSWaitOnSemaphore ()
 #7   0x7029cba8 in _AsyncFileThread ()
 #8   0x70014f04 in __pthread_body ()

PPC Thread State:
  srr0: 0x001438ec srr1: 0x0000f030                vrsave: 0x00000000
   xer: 0x00000018   lr: 0x0012dcdc  ctr: 0x0012dcc0   mq: 0x00000000
    r0: 0x0012d794   r1: 0x02001620   r2: 0x0025a000   r3: 0x00000000
    r4: 0x0200171c   r5: 0x02b4a960   r6: 0x00000000   r7: 0x00000000
    r8: 0x00000000   r9: 0x00000001  r10: 0x00000001  r11: 0x6a57eae0
   r12: 0x00253138  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
   r16: 0x0026d6bc  r17: 0x0026b638  r18: 0x0026d6d0  r19: 0x0026d6c4
   r20: 0x02001e40  r21: 0x0026d684  r22: 0x0026d6d8  r23: 0x0026d6b0
   r24: 0xbfffee30  r25: 0x01567d38  r26: 0x01436c20  r27: 0x02001714
   r28: 0x02b4a960  r29: 0x02b4a960  r30: 0x00000000  r31: 0x00000000

**********
This problem is not occuring under Mac OS 9.1 (trunk 2001071305) or running in
classic mode.
Severity: normal → major
Severity: major → critical
Keywords: crash
Reassigning to attinasi.
Assignee: karnaze → attinasi
I've seen this issue trying to load local source files. .java, .c/cp/cpp, .h,
etc. files, all cause the browser to crash when attempting to load these files.
Here's a more informative stack trace from the carbon trunk build(2001-08-01-05)

**********

Date/Time: 2001-08-01 12:19:07 -0700

PID:       255
Command:   Netscape 6

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

Thread 0:
 #0   0x01c3f2a0 in js_MarkGCThing ()
 #1   0x01c3f344 in js_MarkGCThing ()
 #2   0x01c3f3c8 in gc_root_marker ()
 #3   0x01c7e398 in JS_DHashTableEnumerate ()
 #4   0x01c3f700 in 0x1c3f700 ()
 #5   0x01c3f494 in js_ForceGC ()
 #6   0x01c2b0b8 in js_DestroyContext ()
 #7   0x01c1e000 in JS_DestroyContext ()
 #8   0x02a071d4 in __dt__11nsJSContextFv ()
 #9   0x02a07368 in Release__11nsJSContextFv ()
 #10  0x0014fb54 in assign_with_AddRef__13nsCOMPtr_baseFP11nsISupports ()
 #11  0x024ea0a8 in SetContext__19nsXULPDGlobalObjectFP16nsIScriptContext ()
 #12  0x024e8824 in __dt__22nsXULPrototypeDocumentFv ()
 #13  0x024e89e0 in Release__22nsXULPrototypeDocumentFv ()
 #14  0x001463d0 in ReleaseElement__19nsSupportsHashtableFP9nsHashKeyPvPv ()
 #15  0x00143f68 in _hashEnumerate__FP11PLHashEntryiPv ()
 #16  0x000bbf3c in 0xbbf3c ()
 #17  0x001446f8 in Enumerate__11nsHashtableFPFP9nsHashKeyPvPv_iPv ()
 #18  0x00146464 in __dt__19nsSupportsHashtableFv ()
 #19  0x024e7090 in __dt__19nsXULPrototypeCacheFv ()
 #20  0x024e717c in Release__19nsXULPrototypeCacheFv ()
 #21  0x0014cbcc in
ReleaseService__20nsServiceManagerImplFRC4nsIDP11nsISupportsP1 ()
 #22  0x0014d1dc in
ReleaseService__20nsServiceManagerImplFPCcP11nsISupportsP19nsI ()
 #23  0x0014d870 in
ReleaseService__16nsServiceManagerFPCcP11nsISupportsP19nsIShut ()
 #24  0x02455d70 in __dt__12nsXBLServiceFv ()
 #25  0x0245559c in Release__12nsXBLServiceFv ()
 #26  0x0014c208 in DeleteEntry__FP9nsHashKeyPvPv ()
 #27  0x00144784 in _hashEnumerateRemove__FP11PLHashEntryiPv ()
 #28  0x000bbf3c in 0xbbf3c ()
 #29  0x00144880 in Reset__11nsHashtableFPFP9nsHashKeyPvPv_iPv ()
 #30  0x001462cc in Reset__17nsObjectHashtableFv ()
 #31  0x001460e4 in __dt__17nsObjectHashtableFv ()
 #32  0x0014c388 in __dt__20nsServiceManagerImplFv ()
 #33  0x0014c494 in Release__20nsServiceManagerImplFv ()
 #34  0x0014d404 in
ShutdownGlobalServiceManager__16nsServiceManagerFPP17nsIServic ()
 #35  0x0018d1dc in NS_ShutdownXPCOM__FP17nsIServiceManager ()
 #36  0x00096b84 in main ()

Thread 1:
 #0   0x7000424c in _syscall ()
 #1   0x706584b8 in _ProcessReadyEvent ()
 #2   0x706582b0 in _CarbonSelectThreadFunc ()
 #3   0x70014f04 in __pthread_body ()

Thread 2:
 #0   0x70059b68 in _semaphore_wait_signal_trap ()
 #1   0x70016110 in _semaphore_wait_signal ()
 #2   0x70015f78 in __pthread_cond_wait ()
 #3   0x70015d18 in _pthread_cond_wait ()
 #4   0x70653be0 in _BSD_pthread_cond_wait ()
 #5   0x70653bc0 in _CarbonConditionWait ()
 #6   0x7065557c in _CarbonOperationThreadFunc ()
 #7   0x70014f04 in __pthread_body ()

Thread 3:
 #0   0x70059b48 in _semaphore_timedwait_signal_trap ()
 #1   0x7003f7f8 in _semaphore_timedwait_signal ()
 #2   0x70015f68 in __pthread_cond_wait ()
 #3   0x7003f7c4 in _pthread_cond_timedwait_relative_np ()
 #4   0x7029b590 in _TSWaitOnConditionTimedRelative ()
 #5   0x7029cdac in _TSWaitOnSemaphoreCommon ()
 #6   0x702e5f98 in _TSWaitOnSemaphoreRelative ()
 #7   0x702e7208 in _TimerThread ()
 #8   0x70014f04 in __pthread_body ()

Thread 4:
 #0   0x70059b68 in _semaphore_wait_signal_trap ()
 #1   0x70016110 in _semaphore_wait_signal ()
 #2   0x70015f78 in __pthread_cond_wait ()
 #3   0x70015d18 in _pthread_cond_wait ()
 #4   0x7029b550 in _TSWaitOnCondition ()
 #5   0x7029cd94 in _TSWaitOnSemaphoreCommon ()
 #6   0x7029cce4 in _TSWaitOnSemaphore ()
 #7   0x7029cba8 in _AsyncFileThread ()
 #8   0x70014f04 in __pthread_body ()

Thread 5:
 #0   0x70059b68 in _semaphore_wait_signal_trap ()
 #1   0x70016110 in _semaphore_wait_signal ()
 #2   0x70015f78 in __pthread_cond_wait ()
 #3   0x70015d18 in _pthread_cond_wait ()
 #4   0x70653be0 in _BSD_pthread_cond_wait ()
 #5   0x70653bc0 in _CarbonConditionWait ()
 #6   0x70653ab4 in _CarbonInetOperThreadFunc ()
 #7   0x70014f04 in __pthread_body ()

Thread 6:
 #0   0x700007b8 in _mach_msg_overwrite_trap ()
 #1   0x700056e4 in _mach_msg_overwrite ()
 #2   0x700277b0 in _thread_suspend ()
 #3   0x70027744 in __pthread_become_available ()
 #4   0x70027468 in _pthread_exit ()
 #5   0x70014f08 in __pthread_body ()

PPC Thread State:
  srr0: 0x01c3f2a0 srr1: 0x0000d030                vrsave: 0x00000000
   xer: 0x20000010   lr: 0x01c3f2a0  ctr: 0x01c3f388   mq: 0x00000000
    r0: 0xfeedface   r1: 0xbfffeb70   r2: 0x01121000   r3: 0x00000026
    r4: 0x00000012   r5: 0x00001000   r6: 0x0518ae10   r7: 0x00000000
    r8: 0x00000001   r9: 0x00000001  r10: 0x051a9290  r11: 0x00000001
   r12: 0x0111a524  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
   r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x00000000
   r20: 0x00000000  r21: 0x002d0140  r22: 0x00000000  r23: 0x0111a524
   r24: 0x0518ae10  r25: 0x0000000f  r26: 0x05be4120  r27: 0x05be3c70
   r28: 0x00000080  r29: 0x00000000  r30: 0x000010a0  r31: 0x0518ae10

**********

Date/Time: 2001-08-01 12:42:32 -0700

PID:       236
Command:   Netscape 6

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

Thread 0:
 #0   0x00165450 in HashCode__5nsCRTFPCcPUi ()
 #1   0x01f174c4 in 0x1f174c4 ()
 #2   0x00144318 in Put__11nsHashtableFP9nsHashKeyPv ()
 #3   0x01fee29c in
AddMimeInfoToCache__26nsExternalHelperAppServiceFP11nsIMIMEInf ()
 #4   0x01fef514 in GetFromExtension__20nsOSHelperAppServiceFPCcPP11nsIMIMEInfo ()
 #5   0x01fecf1c in 0x1fecf1c ()
 #6   0x01fedc50 in GetTypeFromFile__26nsExternalHelperAppServiceFP7nsIFilePPc ()
 #7   0x01e7b414 in Open__8nsFileIOFPPcPi ()
 #8   0x01e530b0 in 0x1e530b0 ()
 #9   0x01e52f98 in Run__15nsFileTransportFv ()
 #10  0x001830ac in Run__20nsThreadPoolRunnableFv ()
 #11  0x00180a0c in Main__8nsThreadFPv ()
 #12  0x000d6354 in 0xd6354 ()

Thread 1:
 #0   0x7000424c in _syscall ()
 #1   0x706584b8 in _ProcessReadyEvent ()
 #2   0x706582b0 in _CarbonSelectThreadFunc ()
 #3   0x70014f04 in __pthread_body ()

Thread 2:
 #0   0x70059b68 in _semaphore_wait_signal_trap ()
 #1   0x70016110 in _semaphore_wait_signal ()
 #2   0x70015f78 in __pthread_cond_wait ()
 #3   0x70015d18 in _pthread_cond_wait ()
 #4   0x70653be0 in _BSD_pthread_cond_wait ()
 #5   0x70653bc0 in _CarbonConditionWait ()
 #6   0x7065557c in _CarbonOperationThreadFunc ()
 #7   0x70014f04 in __pthread_body ()

Thread 3:
 #0   0x70059b48 in _semaphore_timedwait_signal_trap ()
 #1   0x7003f7f8 in _semaphore_timedwait_signal ()
 #2   0x70015f68 in __pthread_cond_wait ()
 #3   0x7003f7c4 in _pthread_cond_timedwait_relative_np ()
 #4   0x7029b590 in _TSWaitOnConditionTimedRelative ()
 #5   0x7029cdac in _TSWaitOnSemaphoreCommon ()
 #6   0x702e5f98 in _TSWaitOnSemaphoreRelative ()
 #7   0x702e7208 in _TimerThread ()
 #8   0x70014f04 in __pthread_body ()

Thread 4:
 #0   0x70059b68 in _semaphore_wait_signal_trap ()
 #1   0x70016110 in _semaphore_wait_signal ()
 #2   0x70015f78 in __pthread_cond_wait ()
 #3   0x70015d18 in _pthread_cond_wait ()
 #4   0x7029b550 in _TSWaitOnCondition ()
 #5   0x7029cd94 in _TSWaitOnSemaphoreCommon ()
 #6   0x7029cce4 in _TSWaitOnSemaphore ()
 #7   0x7029cba8 in _AsyncFileThread ()
 #8   0x70014f04 in __pthread_body ()

Thread 5:
 #0   0x70059b68 in _semaphore_wait_signal_trap ()
 #1   0x70016110 in _semaphore_wait_signal ()
 #2   0x70015f78 in __pthread_cond_wait ()
 #3   0x70015d18 in _pthread_cond_wait ()
 #4   0x70653be0 in _BSD_pthread_cond_wait ()
 #5   0x70653bc0 in _CarbonConditionWait ()
 #6   0x70653ab4 in _CarbonInetOperThreadFunc ()
 #7   0x70014f04 in __pthread_body ()

Thread 6:
 #0   0x70059b68 in _semaphore_wait_signal_trap ()
 #1   0x70016110 in _semaphore_wait_signal ()
 #2   0x70015f78 in __pthread_cond_wait ()
 #3   0x70015d18 in _pthread_cond_wait ()
 #4   0x7029b550 in _TSWaitOnCondition ()
 #5   0x7029b59c in _TSWaitOnConditionTimedRelative ()
 #6   0x7029b6a4 in _MPWaitOnQueue ()
 #7   0x708de050 in _SyncTaskProc__13TNodeSyncTaskPv ()
 #8   0x70291434 in _PrivateMPEntryPoint ()
 #9   0x70014f04 in __pthread_body ()

Thread 7:
 #0   0x700007b8 in _mach_msg_overwrite_trap ()
 #1   0x700056e4 in _mach_msg_overwrite ()
 #2   0x700277b0 in _thread_suspend ()
 #3   0x70027744 in __pthread_become_available ()
 #4   0x70027468 in _pthread_exit ()
 #5   0x70014f08 in __pthread_body ()

PPC Thread State:
  srr0: 0x00165450 srr1: 0x0000f030                vrsave: 0x00000004
   xer: 0x00000020   lr: 0x00145258  ctr: 0x0014523c   mq: 0x00000000
    r0: 0x00144318   r1: 0x054055b0   r2: 0x002b0000   r3: 0x00000000
    r4: 0x054056d4   r5: 0x058e3ec0   r6: 0x00000000   r7: 0x00000000
    r8: 0x00000000   r9: 0x00000001  r10: 0x00000001  r11: 0x6a57eae0
   r12: 0x002a9248  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
   r16: 0x002c56c4  r17: 0x002c3640  r18: 0x002c56d8  r19: 0x002c56cc
   r20: 0x05405e40  r21: 0x002c568c  r22: 0x054056dc  r23: 0x01d9e870
   r24: 0x058e3ec0  r25: 0x054056e0  r26: 0x01d9fa60  r27: 0x054056cc
   r28: 0x058e3ec0  r29: 0x002bfd38  r30: 0x002c02e4  r31: 0x00000000
again, this is our old friend the mime code adding a null key to the hash table -
-> pchen


*** This bug has been marked as a duplicate of 91726 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Blocks: 81373
No longer blocks: 81373
Ok, the crash is nolonger occuring.. However, the perl file is not opening in a
new window. New issue which so I wil generate a report.
Marking verified dup of 91726
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.