Author Topic: Crash - On Mac. SlickEdit Pro 2018.  (Read 1965 times)

Ian Ameline

  • Community Member
  • Posts: 70
  • Hero Points: 7
Crash - On Mac. SlickEdit Pro 2018.
« on: December 17, 2018, 09:28:30 PM »
Hotfix 1 loaded. I imported prefs (With differing font sizes due to using a monitor with differing resolution)
Re importing the same prefs does not reproduce the crash;

Some log entries that may be related;

Dec 17 16:12:05 ia-macbook-pro-3 vs[63013]: objc[63013]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa9171cd0) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x117d52cd8). One of the two will be used. Which one is undefined.
Dec 17 16:12:10 ia-macbook-pro-3 vs[63013]: BUG in libdispatch client: kevent[mach_recv] monitored resource vanished before the source cancel handler was invoked
Dec 17 16:12:34 ia-macbook-pro-3 com.apple.xpc.launchd[1] (com.slickedit.SlickEdit.36384[63013]): Service exited due to signal: Segmentation fault: 11 sent by exc handler[0]
Dec 17 16:12:40 ia-macbook-pro-3 systemstats[64]: assertion failed: 17G4015: systemstats + 914800 [D1E75C38-62CE-3D77-9ED3-5F6D38EF0676]: 0x40
Dec 17 16:12:45 ia-macbook-pro-3 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Dec 17 16:13:44 ia-macbook-pro-3 systemstats[64]: assertion failed: 17G4015: systemstats + 914800 [D1E75C38-62CE-3D77-9ED3-5F6D38EF0676]: 0x40
Dec 17 16:14:16 ia-macbook-pro-3 com.apple.xpc.launchd[1] (com.apple.quicklook[90627]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
Dec 17 16:15:32 ia-macbook-pro-3 syslogd[53]: ASL Sender Statistics
Dec 17 16:16:52 ia-macbook-pro-3 vs[90515]: objc[90515]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa9171cd0) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x126cf5cd8). One of the two will be used. Which one is undefined.
Dec 17 16:16:53 ia-macbook-pro-3 vs[90515]: assertion failed: 17G4015: libxpc.dylib + 75013 [0BC7AD67-671D-31D4-8B88-C317B8379598]: 0x89
Dec 17 16:16:58 ia-macbook-pro-3 vs[90515]: BUG in libdispatch client: kevent[mach_recv] monitored resource vanished before the source cancel handler was invoked


VSlick Info;

SlickEdit Pro 2018 (v23.0.0.11)

Serial number: xxxxxxxxx
Licensed number of users: Single user
License file: /Library/Application Support/SlickEdit/23/slickedit.lic

Build Date: November 26, 2018
Emulation: SlickEdit (text mode edition)

OS: macOS
OS Version: 10.13.6
Processor Architecture: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz 64 bit (12 cores)

Memory: 93% Load, 15256MB/16384MB Virtual
Shell Information: /bin/tcsh
Screen Size: 3840 x 2160, 1920 x 1200

Project Type: Gnuc
Language: .h (C/C++)
Encoding: Automatic

Installation Directory: /Applications/SlickEditPro2018.app/Contents/
Configuration Directory: /Users/ameline/Library/Application Support/SlickEdit/23.0.0/
Migrated from: /Users/ameline/Library/Application Support/SlickEdit/21.0.3/

Hotfixes:
/Users/ameline/Library/Application Support/SlickEdit/23.0.0/hotfixes/hotfix_se2300_1_cumulative.zip (Revision: 1)

Stack trace etc follows;

Process:               vs [63013]
Path:                  /Applications/SlickEditPro2018.app/Contents/MacOS/vs
Identifier:            com.slickedit.SlickEdit
Version:               23.0.0 (23.0.0.11)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           vs [63013]
User ID:               501

Date/Time:             2018-12-17 16:12:34.716 -0500
OS Version:            Mac OS X 10.13.6 (17G4015)
Report Version:        12
Bridge OS Version:     3.2 (16P2542)
Anonymous UUID:        64859D19-0F03-D22C-F064-D7B1430A641D

Sleep/Wake UUID:       6316FD66-08B4-48EE-AF57-AC34DDE3F342

Time Awake Since Boot: 500000 seconds
Time Since Wake:       150 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000261cc6910
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler


VM Regions Near 0x261cc6910:
    MALLOC_LARGE (reserved 0000000165dc8000-00000001680f0000 [ 35.2M] rw-/rwx SM=NUL  reserved VM address space (unallocated)
-->
    MALLOC_NANO            0000600000000000-0000600001800000 [ 24.0M] rw-/rwx SM=PRV 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.slickedit.SlickEdit          0x000000010ae50c4e SIARRAYTYPELESS::AllocElement(int&) + 46
1   com.slickedit.SlickEdit          0x000000010ae27556 tlhashtabref(TYPELESS*, unsigned char*, int, int) + 1078
2   com.slickedit.SlickEdit          0x000000010b0668dc scGetLanguageOptions + 460
3   com.slickedit.SlickEdit          0x000000010ae0987b call_dllpc(int, int, namelist_t*) + 1851
4   com.slickedit.SlickEdit          0x000000010ae0be13 run_proc(int) + 195
5   com.slickedit.SlickEdit          0x000000010ae36d00 run_proc_immediate2(m_s*, int, int, VSARGTYPE*, int, int) + 368
6   com.slickedit.SlickEdit          0x000000010ae36b1b run_proc_immediate(int, int, VSARGTYPE*, int, int) + 219
7   com.slickedit.SlickEdit          0x000000010b16bc0c se_call_event(filewindow_t*, unsigned int, int, int, VSARGTYPE*, int) + 284
8   com.slickedit.SlickEdit          0x000000010afdd0a6 tree_call_create_event2(filewindow_t*, void*) + 86
9   com.slickedit.SlickEdit          0x000000010af8dbe4 vs_tree2(filewindow_t*, void*, int (*)(filewindow_t*, void*), int, int) + 68
10  com.slickedit.SlickEdit          0x000000010af8dc20 vs_tree2(filewindow_t*, void*, int (*)(filewindow_t*, void*), int, int) + 128
11  com.slickedit.SlickEdit          0x000000010afdb048 tree_call_create_event(filewindow_t*, void*) + 40
12  com.slickedit.SlickEdit          0x000000010afd917b vsLoadTemplate + 1067
13  com.slickedit.SlickEdit          0x000000010afdb48d p_load_template_op() + 701
14  com.slickedit.SlickEdit          0x000000010b0e4a10 pmethod_op() + 592
15  com.slickedit.SlickEdit          0x000000010ae0be13 run_proc(int) + 195
16  com.slickedit.SlickEdit          0x000000010ae36d00 run_proc_immediate2(m_s*, int, int, VSARGTYPE*, int, int) + 368
17  com.slickedit.SlickEdit          0x000000010ae36b1b run_proc_immediate(int, int, VSARGTYPE*, int, int) + 219
18  com.slickedit.SlickEdit          0x000000010ae373c7 si_critical_error(int, int*, int*) + 1063
19  com.slickedit.SlickEdit          0x000000010b0f821c maybe_stop_sierror(int, int, VSLSTR*) + 204
20  com.slickedit.SlickEdit          0x000000010b0e4657 pclass_method_op() + 295
21  com.slickedit.SlickEdit          0x000000010ae0be13 run_proc(int) + 195
22  com.slickedit.SlickEdit          0x000000010ae36d00 run_proc_immediate2(m_s*, int, int, VSARGTYPE*, int, int) + 368
23  com.slickedit.SlickEdit          0x000000010ae36b1b run_proc_immediate(int, int, VSARGTYPE*, int, int) + 219
24  com.slickedit.SlickEdit          0x000000010b16bc0c se_call_event(filewindow_t*, unsigned int, int, int, VSARGTYPE*, int) + 284
25  QtCore                           0x000000010e141c8f QObject::event(QEvent*) + 1151
26  QtGui                            0x000000010e429e8e QWidget::event(QEvent*) + 78
27  QtGui                            0x000000010e77fbe8 QAbstractButton::event(QEvent*) + 40
28  QtGui                            0x000000010e81bf35 QPushButton::event(QEvent*) + 69
29  QtGui                            0x000000010e3ce9dd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
30  QtGui                            0x000000010e3d2c38 QApplication::notify(QObject*, QEvent*) + 232
31  QtCore                           0x000000010e12d46c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
32  QtCore                           0x000000010e12ea20 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 736
33  com.apple.CoreFoundation         0x00007fff4bc998f1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
34  com.apple.CoreFoundation         0x00007fff4bd5330c __CFRunLoopDoSource0 + 108
35  com.apple.CoreFoundation         0x00007fff4bc7c350 __CFRunLoopDoSources0 + 208
36  com.apple.CoreFoundation         0x00007fff4bc7b7cd __CFRunLoopRun + 1293
37  com.apple.CoreFoundation         0x00007fff4bc7b033 CFRunLoopRunSpecific + 483
38  com.apple.HIToolbox              0x00007fff4af65d96 RunCurrentEventLoopInMode + 286
39  com.apple.HIToolbox              0x00007fff4af65a0f ReceiveNextEventCommon + 366
40  com.apple.HIToolbox              0x00007fff4af65884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
41  com.apple.AppKit                 0x00007fff49215a73 _DPSNextEvent + 2085
42  com.apple.AppKit                 0x00007fff499abe34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
43  com.apple.AppKit                 0x00007fff49447e7b -[NSApplication _doModalLoop:peek:] + 476
...
(full info can be sent if you need it.)

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6884
  • Hero Points: 530
Re: Crash - On Mac. SlickEdit Pro 2018.
« Reply #1 on: December 17, 2018, 10:24:36 PM »
There are some missing stack entries between 2 and 1 but at least we have a general idea of where things went wrong. Even with a core file I suspect we wouldn't be able to figure out this out. I'm guessing something went wrong earlier and then we are left with this stack. A reproducible test case would be required. It's trying to allocate a Slick-C element. Either the free list is messed up or memory was corrupted and some bad memory was returned for it to use.

Ian Ameline

  • Community Member
  • Posts: 70
  • Hero Points: 7
Re: Crash - On Mac. SlickEdit Pro 2018.
« Reply #2 on: December 18, 2018, 08:28:44 PM »
Yeah -- it's not reproducible.

Oh well -- I thought perhaps the stack trace might lead you to the culprit. If it's just a corrupt heap and the bug is not reproducible, finding the real cause is not going to flow from this information.