question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash on :PeekOpen

See original GitHub issue

OS

Model Name:	MacBook Pro
  Model Identifier:	MacBookPro18,4
  Chip:	Apple M1 Max
  Total Number of Cores:	10 (8 performance and 2 efficiency)
  Memory:	64 GB
  System Firmware Version:	7459.141.1
  OS Loader Version:	7459.141.1

deno

$ deno --version
deno 1.26.1 (release, aarch64-apple-darwin)
v8 10.7.193.3
typescript 4.8.3

neovim

$ nvim --version
NVIM v0.9.0-dev-83-g34c7007c3
Build type: Release
LuaJIT 2.1.0-beta3

Features: +acl +iconv +tui

setup with Packer

    use {
      "toppair/peek.nvim",
      run = "deno task --quiet build:fast",
      config = function()
        vim.api.nvim_create_user_command("PeekOpen", require("peek").open, {})
        vim.api.nvim_create_user_command("PeekClose", require("peek").close, {})
      end,
    }

execute :PeekOpen then crash with these error messages (partial)

Peek error: 2022-10-17 11:55:51.859 deno[52621:4604222] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', re
ason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
^I0   CoreFoundation                      0x00000001bd8dd148 __exceptionPreprocess + 240
^I1   libobjc.A.dylib                     0x00000001bd627e04 objc_exception_throw + 60
^I2   CoreFoundation                      0x00000001bd9080cc _CFBundleGetValueForInfoKey + 0
^I3   AppKit                              0x00000001c03eb930 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisab
led] + 372
^I4   AppKit                              0x00000001c03d692c -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 948
^I5   AppKit                              0x00000001c03d656c -[NSWindow initWithContentRect:styleMask:backing:defer:] + 56
^I6   5a78a907fb3b54a23d6ec12156baa6a1009 0x000000010a648fd0 _ZN7webview6detail22cocoa_wkwebview_engineC2EbPv + 672
^I7   5a78a907fb3b54a23d6ec12156baa6a1009 0x000000010a648d0c _ZN7webview7webviewC2EbPv + 72
^I8   5a78a907fb3b54a23d6ec12156baa6a1009 0x000000010a647afc _ZN7webview7webviewC1EbPv + 56
^I9   5a78a907fb3b54a23d6ec12156baa6a1009 0x000000010a647a50 webview_create + 56
^I10  deno                                0x00000001054d804c ffi_call_SYSV + 76
^I11  deno                                0x00000001054d7778 ffi_call_int + 1176
^I12  deno                                0x0000000104bb1b98 _ZN8deno_ffi12make_sync_fn28_$u7b$$u7b$closure$u7d$$u7d$17h66d69179d40fd057E +
1644
^I13  deno                                0x0000000104bab9b0 _ZN105_$LT$extern$u20$$u22$C$u22$$u20$fn$LP$A0$RP$$u20$.$GT$$u20$R$u20$as$u20$v
8..support..CFnFrom$LT$F$GT$$GT$7mapping4c_fn17h081844fa7f6729ccE + 64
^I14  deno                                0x0000000105672308 _ZN2v88internal12_GLOBAL__N_119HandleApiCallHelperILb0EEENS0_11MaybeHandleINS0_
6ObjectEEEPNS0_7IsolateENS0_6HandleINS0_10HeapObjectEEENS8_INS0_20FunctionTemplateInfoEEENS8_IS4_EEPmi + 684
^I15  deno                                0x00000001056719fc _ZN2v88internal21Builtin_HandleApiCallEiPmPNS0_7IsolateE + 224
^I16  deno                                0x00000001062de26c Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit + 108
^I17  deno                                0x000000010625c844 Builtins_InterpreterEntryTrampoline + 292
^I18  deno                                0x000000010625c844 Builtins_InterpreterEntryTrampoline + 292
^I19  deno                                0x0000000106259dfc construct_stub_create_deopt_addr + 312
^I20  deno                                0x0000000106387220 Builtins_ConstructHandler + 704
^I21  deno                                0x000000010625c844 Builtins_InterpreterEntryTrampoline + 292
^I22  deno                                0x000000010625c844 Builtins_InterpreterEntryTrampoline + 292
^I23  deno                                0x000000010625c844 Builtins_InterpreterEntryTrampoline + 292
^I24  deno                                0x000000010625c844 Builtins_InterpreterEntryTrampoline + 292
^I25  deno                                0x000000010625c844 Builtins_InterpreterEntryTrampoline + 292
^I26  deno                                0x000000010625c844 Builtins_InterpreterEntryTrampoline + 292
^I27  deno                                0x000000010625c844 Builtins_InterpreterEntryTrampoline + 292

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:5
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
roccobluescommented, Oct 19, 2022

just fyi: I had the same error and switching to the separate-process branch fixed it for me.

0reactions
toppaircommented, Oct 19, 2022

@CodePurble You’re on linux and I believe the original error from this issue is mac specific, so it’s not related.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash Victim Dies + 5 Indicted In Drive-By + Name Ballot Issues
The Marietta woman that crashed into Rottenwood Creek has died. · State officials report that five men have been indicted on charges related...
Read more >
Performance issue rendering test peek window during test run ...
Here is a profile of related/same performance problem when opening the peek view after running tests. With the peek view set to not...
Read more >
Kenosha native in Florida; Hurricane Ian keeps her on edge
... but we left… we left a little sneak peek open here into our backyard. ... West Allis car, train crash; driver taken...
Read more >
Free Peoria, AZ Events Today | Eventbrite
Entrepreneurship Crash Course - Surprise ... Alumni Sneak Peek Open House! ... Thinkful Webinar || Free Crash Course: JavaScript Fundamentals.
Read more >
News - Monroe County Herald
Sparta Free Library will host an Expansion Sneak Peek Open House for the ... A 16-year old Sparta resident has died after a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found