Menu

#23 Alpha crashes when selecting "Open Recent"

9.0a3
closed
nobody
None
Bug
AlphaTcl
major
2016-06-15
2016-05-05
Greg Dunn
No

Alpha will open a file normally when using the normal "Open..." dialog. However, when the file is closed and then selected from the "Open Recent" dialog, the application immediately quits with the "AlphaCocoa quit unexpectedly" crash notifier dialog. This has been duplicated with a standard text file as well as an RTF file (which happens to have been the first file in the Recent list).

Process:               AlphaCocoa [4838]
Path:                  /Users/USER/*/AlphaCocoa.app/Contents/MacOS/AlphaCocoa
Identifier:            net.sourceforge.alphacocoa
Version:               9.0a2 (9.0a2)
Build Info:            AlphaCocoa-9.0a2~18
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           AlphaCocoa [4838]
User ID:               501

Date/Time:             2016-05-04 23:58:01.531 -0400
OS Version:            Mac OS X 10.10.5 (14F1713)
Report Version:        11
Anonymous UUID:        8F323EF8-FD29-FCFF-1324-E82CCD42A330


Time Awake Since Boot: 190000 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.AE                    0x00007fff90c6f6ed cloneForCompatability(AEDesc const*, AEDesc*) + 30
1   com.apple.AE                    0x00007fff90c6f7ce AEGetDescDataSize + 64
2   libtclAE2.0.6.dylib             0x000000010b2e914b printDesc + 46
3   libtclAE2.0.6.dylib             0x000000010b2e9628 AEPrintSize + 57
4   libtclAE2.0.6.dylib             0x000000010b2e4409 TclaeUpdateStringOfAEDesc + 56
5   Tcl                             0x0000000106cad910 Tcl_GetString + 112
6   Tcl                             0x0000000106cacddc Tcl_GetStringFromObj + 60
7   libtclAE2.0.6.dylib             0x000000010b2e4ac2 UpdateStringOfAEDescRef + 52
8   Tcl                             0x0000000106cad910 Tcl_GetString + 112
9   Tcl                             0x0000000106cacddc Tcl_GetStringFromObj + 60
10  Tcl                             0x0000000106c9abe3 UpdateStringOfList + 355
11  Tcl                             0x0000000106cad910 Tcl_GetString + 112
12  Tcl                             0x0000000106cacddc Tcl_GetStringFromObj + 60
13  Tcl                             0x0000000106b535c9 TEOV_Error + 121
14  Tcl                             0x0000000106b4a88c TclNRRunCallbacks + 172
15  Tcl                             0x0000000106b4a5a9 Tcl_EvalObjv + 89
16  libtclAE2.0.6.dylib             0x000000010b2e4e6a TclaeCoercionHandler + 317
17  com.apple.AE                    0x00007fff90c7960b tryPtrCoercion(unsigned char, unsigned int, unsigned int, void const*, long, AEDesc*) + 81
18  com.apple.AE                    0x00007fff90c7957a tryPtrCoercions(unsigned int, unsigned int, void const*, long, AEDesc*) + 49
19  com.apple.AE                    0x00007fff90c793d1 aeCoercePtrInternal(unsigned int, void const*, long, unsigned int, AEDesc*, unsigned char) + 74
20  com.apple.AE                    0x00007fff90c6ee54 aeCoerceDescInternal(AEDesc const*, unsigned int, AEDesc*, unsigned char) + 497
21  libtclAE2.0.6.dylib             0x000000010b2e2988 TclaeDataFromAEDesc + 168
22  libtclAE2.0.6.dylib             0x000000010b2e2b9d Tclae_GetDataCmd + 146
23  Tcl                             0x0000000106b4fefa Dispatch + 1546
24  Tcl                             0x0000000106b4a88c TclNRRunCallbacks + 172
25  Tcl                             0x0000000106b4a5a9 Tcl_EvalObjv + 89
26  libtclAE2.0.6.dylib             0x000000010b2e66d9 TclaeDispatchEvent + 109
27  libtclAE2.0.6.dylib             0x000000010b2e5487 TclaeEventHandler + 50
28  com.apple.AE                    0x00007fff90c6d43c aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 531
29  com.apple.AE                    0x00007fff90c738a9 AESendMessage + 3095
30  com.apple.AE                    0x00007fff90c7e182 aeSend + 515
31  libtclAE2.0.6.dylib             0x000000010b2e17bb Tclae_SendCmd + 1087
32  Tcl                             0x0000000106b4fefa Dispatch + 1546
33  Tcl                             0x0000000106b4a88c TclNRRunCallbacks + 172
34  Tcl                             0x0000000106b4d060 TclEvalObjEx + 96
35  Tcl                             0x0000000106b49f23 Tcl_EvalObjEx + 51
36  net.sourceforge.alphacocoa      0x0000000106a05f76 +[AlphaInterp tclEvaluateWithArguments:num:] + 774 (AlphaInterp.m:92)
37  net.sourceforge.alphacocoa      0x0000000106a1e964 -[AlphaMenuItem processMenuItem:] + 612 (AlphaMenuItem.m:115)
38  com.apple.Foundation            0x00007fff8773b4eb __NSFireDelayedPerform + 364
39  com.apple.CoreFoundation        0x00007fff8d9f12e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
40  com.apple.CoreFoundation        0x00007fff8d9f0f73 __CFRunLoopDoTimer + 1059
41  com.apple.CoreFoundation        0x00007fff8da6453d __CFRunLoopDoTimers + 301
42  com.apple.CoreFoundation        0x00007fff8d9ac608 __CFRunLoopRun + 2024
43  com.apple.CoreFoundation        0x00007fff8d9abbd8 CFRunLoopRunSpecific + 296
44  com.apple.HIToolbox             0x00007fff8c1c256f RunCurrentEventLoopInMode + 235
45  com.apple.HIToolbox             0x00007fff8c1c22ea ReceiveNextEventCommon + 431
46  com.apple.HIToolbox             0x00007fff8c1c212b _BlockUntilNextEventMatchingListInModeWithFilter + 71
47  com.apple.AppKit                0x00007fff8f6718ab _DPSNextEvent + 978
48  com.apple.AppKit                0x00007fff8f670e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
49  com.apple.AppKit                0x00007fff8f666af3 -[NSApplication run] + 594
50  com.apple.AppKit                0x00007fff8f5e3244 NSApplicationMain + 1832
51  net.sourceforge.alphacocoa      0x00000001069fc5ab main + 59 (main.m:20)
52  libdyld.dylib                   0x00007fff836b55c9 start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff83c51232 kevent64 + 10
1   libdispatch.dylib               0x00007fff8a36d26e _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib          0x00007fff83c5094a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8a35e3dd start_wqthread + 13

Thread 3:
0   libsystem_kernel.dylib          0x00007fff83c5094a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8a35e3dd start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib          0x00007fff83c503fa __select + 10
1   libsystem_pthread.dylib         0x00007fff8a36105a _pthread_body + 131
2   libsystem_pthread.dylib         0x00007fff8a360fd7 _pthread_start + 176
3   libsystem_pthread.dylib         0x00007fff8a35e3ed thread_start + 13

Thread 5:
0   libsystem_kernel.dylib          0x00007fff83c5094a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8a35e3dd start_wqthread + 13

Thread 6:
0   libsystem_kernel.dylib          0x00007fff83c4b4de mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff83c4a64f mach_msg + 55
2   com.apple.CoreFoundation        0x00007fff8d9aceb4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation        0x00007fff8d9ac37b __CFRunLoopRun + 1371
4   com.apple.CoreFoundation        0x00007fff8d9abbd8 CFRunLoopRunSpecific + 296
5   com.apple.AppKit                0x00007fff8f73956b _NSEventThread + 137
6   libsystem_pthread.dylib         0x00007fff8a36105a _pthread_body + 131
7   libsystem_pthread.dylib         0x00007fff8a360fd7 _pthread_start + 176
8   libsystem_pthread.dylib         0x00007fff8a35e3ed thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000000008e030d70  rbx: 0x00007fff59202318  rcx: 0x00007fff59202318  rdx: 0x0000000000000001
  rdi: 0x8d93f75000007f9d  rsi: 0x00007fff59201b78  rbp: 0x00007fff59201b60  rsp: 0x00007fff59201b40
   r8: 0x0000000000000000   r9: 0x0000000000000040  r10: 0x0000000000000001  r11: 0x0000000000000478
  r12: 0x0000000000000038  r13: 0x00007fff72a3b070  r14: 0x00007fff59201b78  r15: 0x00007fff59202318
  rip: 0x00007fff90c6f6ed  rfl: 0x0000000000010282  cr2: 0x00007f9d8b2f5000

Logical CPU:     0
Error Code:      0x00000000
Trap Number:     13

Discussion

  • Bernard Desgraupes

    I think this bug is a result of the issue reported recently concerning the tclAE::send command used with the -r flag (see Crash with tclAE (+AlphaCocoa+Tcl8.6) (sourceforge.net)).
    It has been fixed two days ago and indeed I can't reproduce the crash: the Recent Files menu seems to work correctly.
    Please wait for the next preview release of AlphaCocoa (PR2 due next week) as the fix is in the TclAE extension and not in Alpha's core.
    I'm leaving this bug open until further verifications.

     
    • Greg Dunn

      Greg Dunn - 2016-05-05

      I pulled the latest Tcl version from svn and updated the AlphaCocoa build on my local machine. This bug seems to have been corrected in the source.
      Thanks!

      On 5/5/16 5:43 AM, Bernard Desgraupes wrote:

      I think this bug is a result of the issue reported recently concerning the /tclAE::send/ command used with the /-r/ flag (see Crash with tclAE
      (+AlphaCocoa+Tcl8.6) http://sourceforge.net/p/alphatcl/mailman/message/35059179/).
      It has been fixed two days ago and indeed I can't reproduce the crash: the /Recent Files/ menu seems to work correctly.
      Please wait for the next preview release of AlphaCocoa (PR2 due next week) as the fix is in the TclAE extension and not in Alpha's core.
      I'm leaving this bug open until further verifications.

      --

      | Greg Dunn                       | Loose(n) - not securely attached. |
      | gregdunn@indy.net               | Loose(v) - to release or detach.  |
      | The Sultan of Slack(tm)         | Lose (v) - to cause the loss of.  |
      | http://www.indy.net/~gregdunn/  |                                   |
      
       
  • Bernard Desgraupes

    • status: open --> fixed
     
  • Bernard Desgraupes

    • status: fixed --> closed
    • Version: 9.0a1 --> 9.0a3
     

Log in to post a comment.

MongoDB Logo MongoDB