Ticket #729 (new defect)

Opened 4 years ago

Last modified 4 years ago

Save As..., then drag to PLACES

Reported by: p2 Owned by:
Priority: normal Milestone:
Component: IDE Version: trunk
Keywords: Cc:

Description (last modified by rme) (diff)

In vanilla CLL (little loaded) doing a Save As..., and in FS interface tried to drag a folder from current directory display pane to the PLACES list on the left. At that point a crash, and on attempting a :pop CCL died. The folder move was completed in the finder.

> Error: FLOATING-POINT-INVALID-OPERATION detected
> While executing: (:INTERNAL GUI::|-[LispApplication sendEvent:]|), in process Initial(0).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
> Error: Fault during read of memory address #x0
> While executing: CCL::%PR-INTEGER, in process Initial(0).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
Unhandled exception 11 at 0x23dc9, context->regs at #x7fff5fbdd4e0
Exception occurred while executing foreign code
 at mark_xp + 9
received signal 11; faulting address: 0x103f82868
unexpected si_code value: 13
? for help
[9098] Clozure CL kernel debugger: 

Process:         dx86cl64 [9098]
Path:            /Users/user/src/ccltrunk/Clozure CL64.app/Contents/MacOS/dx86cl64
Identifier:      com.clozure.Clozure CL-x8664
Version:         Version 1.4-dev (14204M-trunk (X8664))
Code Type:       X86-64 (Native)
Parent Process:  launchd [118]

Date/Time:       2010-08-27 13:00:19.874 +0100
OS Version:      Mac OS X 10.6.4 (10F569)
Report Version:  6

----------------------------------------------
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   com.clozure.Clozure CL-x8664  	0x0000000000023dc9 mark_xp + 9 (x86-gc.c:1486)
1   com.clozure.Clozure CL-x8664  	0x000000000001e8e8 mark_tcr_xframes + 56 (gc-common.c:706)
2   com.clozure.Clozure CL-x8664  	0x0000000000020968 gc + 1544 (gc-common.c:1545)
3   com.clozure.Clozure CL-x8664  	0x0000000000026eff gc_from_tcr + 47 (x86-exceptions.c:2902)
4   com.clozure.Clozure CL-x8664  	0x00000000000286d9 gc_like_from_xp + 249 (x86-exceptions.c:2859)
5   com.clozure.Clozure CL-x8664  	0x00000000000287c8 gc_from_xp + 24 (x86-exceptions.c:2914)
6   com.clozure.Clozure CL-x8664  	0x000000000002890c allocate_object + 300 (x86-exceptions.c:142)
7   com.clozure.Clozure CL-x8664  	0x00000000000290cf handle_alloc_trap + 111 (x86-exceptions.c:599)
8   com.clozure.Clozure CL-x8664  	0x0000000000029455 handle_exception + 773 (x86-exceptions.c:1137)
9   com.clozure.Clozure CL-x8664  	0x0000000000029846 signal_handler + 102 (x86-exceptions.c:1416)
10  com.clozure.Clozure CL-x8664  	0x000000000002eaf7 pseudo_sigreturn + 0 (x86-asmutils64.s:128)

Thread 1:
0   libSystem.B.dylib             	0x00007fff889692fa mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff8896996d mach_msg + 59
2   libSystem.B.dylib             	0x00007fff889e5bb7 mach_msg_server + 468
3   com.clozure.Clozure CL-x8664  	0x00000000000271a4 exception_handler_proc + 52 (x86-exceptions.c:3455)
4   libSystem.B.dylib             	0x00007fff889a2456 _pthread_start + 331
5   libSystem.B.dylib             	0x00007fff889a2309 thread_start + 13

Thread 2:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff8898208a kevent + 10
1   libSystem.B.dylib             	0x00007fff88983f5d _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff88983c34 _dispatch_queue_invoke + 185
3   libSystem.B.dylib             	0x00007fff8898375e _dispatch_worker_thread2 + 252
4   libSystem.B.dylib             	0x00007fff88983088 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff88982f25 start_wqthread + 13

Thread 3:
0   libSystem.B.dylib             	0x00007fff8896934e semaphore_timedwait_trap + 10
1   com.clozure.Clozure CL-x8664  	0x0000000000029c11 sem_wait_forever + 49 (thread_manager.c:455)
2   com.clozure.Clozure CL-x8664  	0x000000000002a7c3 suspend_resume_handler + 131 (thread_manager.c:602)
3   libSystem.B.dylib             	0x00007fff889c935a _sigtramp + 26
4   libSystem.B.dylib             	0x00007fff889a3eb6 __semwait_signal + 10
5   libSystem.B.dylib             	0x00007fff889a3d45 nanosleep + 148
6   com.clozure.Clozure CL-x8664  	0x000000000001b2cb SPffcall + 99 (x86-spentry64.s:4043)
7   ???                           	0x0000000001d19e70 0 + 30514800
8   ???                           	0x0000000001d19e70 0 + 30514800

Thread 4:
0   libSystem.B.dylib             	0x00007fff8896934e semaphore_timedwait_trap + 10
1   com.clozure.Clozure CL-x8664  	0x0000000000029c11 sem_wait_forever + 49 (thread_manager.c:455)
2   com.clozure.Clozure CL-x8664  	0x000000000002a7c3 suspend_resume_handler + 131 (thread_manager.c:602)
3   libSystem.B.dylib             	0x00007fff889c935a _sigtramp + 26
4   libSystem.B.dylib             	0x00007fff8896934e semaphore_timedwait_trap + 10
5   com.clozure.Clozure CL-x8664  	0x0000000000029c5b wait_on_semaphore + 59 (thread_manager.c:487)
6   com.clozure.Clozure CL-x8664  	0x000000000001b2cb SPffcall + 99 (x86-spentry64.s:4043)

Thread 5:
0   libSystem.B.dylib             	0x00007fff889692fa mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff8896996d mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff83e463c2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff83e4584f CFRunLoopRunSpecific + 575
4   com.apple.CoreFoundation      	0x00007fff83e455d6 CFRunLoopRun + 70
5   com.apple.DesktopServices     	0x00007fff8818d636 TSystemNotificationTask::SystemNotificationTaskProc(void*) + 514
6   ...ple.CoreServices.CarbonCore	0x00007fff86549ea1 PrivateMPEntryPoint + 63
7   libSystem.B.dylib             	0x00007fff889a2456 _pthread_start + 331
8   libSystem.B.dylib             	0x00007fff889a2309 thread_start + 13

Thread 6:
0   libSystem.B.dylib             	0x00007fff889acdce select$DARWIN_EXTSN + 10
1   com.apple.CoreFoundation      	0x00007fff83e67e92 __CFSocketManager + 818
2   libSystem.B.dylib             	0x00007fff889a2456 _pthread_start + 331
3   libSystem.B.dylib             	0x00007fff889a2309 thread_start + 13

Thread 7:
0   libSystem.B.dylib             	0x00007fff889a3eb6 __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff889a3d45 nanosleep + 148
2   libSystem.B.dylib             	0x00007fff889a3caf usleep + 57
3   com.apple.AppKit              	0x00007fff80296619 -[NSUIHeartBeat _heartBeatThread:] + 1540
4   com.apple.Foundation          	0x00007fff84ec2e8d __NSThread__main__ + 1429
5   libSystem.B.dylib             	0x00007fff889a2456 _pthread_start + 331
6   libSystem.B.dylib             	0x00007fff889a2309 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00000000000398b8  rbx: 0x0000300000a811ac  rcx: 0x0000023dfff27204  rdx: 0x0000302000d932c0
  rdi: 0x49ffffff3c2d8d4c  rsi: 0x000023dfff272040  rbp: 0x00007fff5fbdd9c0  rsp: 0x00007fff5fbdd9b0
   r8: 0x0000000000000000   r9: 0x000000000000000b  r10: 0x00000000000398b8  r11: 0x00000000000398c8
  r12: 0x0000000000100360  r13: 0x00000000001007d0  r14: 0x0000000000026ed0  r15: 0x0000000000100360
  rip: 0x0000000000023dc9  rfl: 0x0000000000010202  cr2: 0x00000000b010300c

Change History

comment:1 Changed 4 years ago by p2

Re-testing in 1.6-dev-r14222M-trunk (DarwinX8664) I could not repeat this bug. But I can repeat if in Open... FS dialog, then attempt to drag a folder to PLACES. This time the AltConsole?:

Error: FLOATING-POINT-INVALID-OPERATION detected

While executing: (:INTERNAL GUI::sendEvent:?|), in process Initial(0).

Type :POP to abort, :R for a list of available restarts. Type :? for other options.

but although :pop doesn't crash, I am stuck in FS dialog and cannot open a file or cancel. The Listener seems to be running as usual, so no Console crash report.

comment:2 Changed 4 years ago by rme

  • Description modified (diff)
Note: See TracTickets for help on using tickets.