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.

nwjs[53739:5075607] NSWindow warning: adding an unknown subview: <WebContentsViewCocoa: 0x7ff13349b9e0>. Break on NSLog to debug.

See original GitHub issue

I’m receiving a crash dump when using transparent with no frame in package.json

Simple project to reproduce: https://github.com/AlizeeIOsys/420/tree/master/nodejs/Sample

Using nw.js v0.14.5 SDK OS: OS X El Capitan Version 10.11.4

Crash dump:

2016-05-14 21:53:27.573 nwjs[54112:5086773] Call stack:
(
        0   AppKit                              0x00007fff9349e8bb -[NSThemeFrame addSubview:] + 107
        1   nwjs Framework                      0x0000000108810073 _ZN2v88UnlockerD1Ev + 20411795
        2   nwjs Framework                      0x000000010880f8fc _ZN2v88UnlockerD1Ev + 20409884
        3   nwjs Framework                      0x000000010880ea6a _ZN2v88UnlockerD1Ev + 20406154
        4   nwjs Framework                      0x00000001092fad12 _ZN2v88UnlockerD1Ev + 31859250
        5   nwjs Framework                      0x0000000109249619 _ZN2v88UnlockerD1Ev + 31132473
        6   nwjs Framework                      0x0000000109317931 _ZN2v88UnlockerD1Ev + 31977041
        7   nwjs Framework                      0x000000010931970f _ZN2v88UnlockerD1Ev + 31984687
        8   nwjs Framework                      0x00000001093199a8 _ZN2v88UnlockerD1Ev + 31985352
        9   nwjs Framework                      0x0000000109331a4c _ZN2v88UnlockerD1Ev + 32083820
        10  nwjs Framework                      0x0000000109508f82 _ZN2v88UnlockerD1Ev + 34014370
        11  nwjs Framework                      0x0000000108e3ff54 _ZN2v88UnlockerD1Ev + 26899572
        12  nwjs Framework                      0x0000000108c29f03 _ZN2v88UnlockerD1Ev + 24712227
        13  nwjs Framework                      0x0000000108d6d1d9 _ZN2v88UnlockerD1Ev + 26035961
        14  nwjs Framework                      0x000000010664fdd8 ChromeMain + 15879048
        15  nwjs Framework                      0x0000000105be845b ChromeMain + 4968971
        16  nwjs Framework                      0x0000000105c0a583 ChromeMain + 5108531
        17  nwjs Framework                      0x0000000105c0a85c ChromeMain + 5109260
        18  nwjs Framework                      0x0000000105c0aa4b ChromeMain + 5109755
        19  nwjs Framework                      0x0000000105bdcae1 ChromeMain + 4921489
        20  nwjs Framework                      0x0000000105c00baa ChromeMain + 5069146
        21  nwjs Framework                      0x0000000105bdc4e4 ChromeMain + 4919956
        22  CoreFoundation                      0x00007fff98c22881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
        23  CoreFoundation                      0x00007fff98c01fbc __CFRunLoopDoSources0 + 556
        24  CoreFoundation                      0x00007fff98c014df __CFRunLoopRun + 927
        25  CoreFoundation                      0x00007fff98c00ed8 CFRunLoopRunSpecific + 296
        26  HIToolbox                           0x00007fff8f2f8935 RunCurrentEventLoopInMode + 235
        27  HIToolbox                           0x00007fff8f2f876f ReceiveNextEventCommon + 432
        28  HIToolbox                           0x00007fff8f2f85af _BlockUntilNextEventMatchingListInModeWithFilter + 71
        29  AppKit                              0x00007fff93483efa _DPSNextEvent + 1067
        30  AppKit                              0x00007fff9348332a -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
        31  AppKit                              0x00007fff93477e84 -[NSApplication run] + 682
        32  nwjs Framework                      0x0000000105bdd276 ChromeMain + 4923430
        33  nwjs Framework                      0x0000000105bdc934 ChromeMain + 4921060
        34  nwjs Framework                      0x0000000105c1ff93 ChromeMain + 5197123
        35  nwjs Framework                      0x00000001057b3878 ChromeMain + 558632
        36  nwjs Framework                      0x0000000108b76ac7 _ZN2v88UnlockerD1Ev + 23977959
        37  nwjs Framework                      0x0000000108b79092 _ZN2v88UnlockerD1Ev + 23987634
        38  nwjs Framework                      0x0000000108b728dd _ZN2v88UnlockerD1Ev + 23961085
        39  nwjs Framework                      0x0000000105b9e828 ChromeMain + 4666840
        40  nwjs Framework                      0x0000000105b9dcd6 ChromeMain + 4663942
        41  nwjs Framework                      0x000000010572b292 ChromeMain + 66
        42  nwjs                                0x00000001054c3d52 main + 530
        43  nwjs                                0x00000001054c3b34 nwjs + 2868
        44  ???                                 0x0000000000000002 0x0 + 2
)

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:1
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Mat-thieucommented, Nov 27, 2017

Any way to get around this message? I need clean output.

0reactions
nfwystcommented, Jul 25, 2018

two years passed, why frame crash still exists?

Read more comments on GitHub >

github_iconTop Results From Across the Web

NSWindow warning: adding an unknown subview · Issue #5430
This happens for me every time when I start NWJS application. If turn off transparency flag in package.json this warning goes away.
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