Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSWindow warning: adding an unknown subview: <TabStripBackgroundView: 0x7f87631f0610> #4336

Closed
loretoparisi opened this issue Jan 29, 2016 · 13 comments
Assignees
Labels

Comments

@loretoparisi
Copy link

Running

macbookproloreto:NodeWebKit admin$ node --version
v4.2.6

and nwjs-sdk-v0.13.0-beta4-osx-x64

2016-01-29 14:35:00.571 nwjs[47399:1137615] NSWindow warning: adding an unknown subview: <TabStripBackgroundView: 0x7f87631f0610>
2016-01-29 14:35:00.573 nwjs[47399:1137615] Call stack:
(
    0   AppKit                              0x00007fff897d054d -[NSThemeFrame addSubview:] + 107
    1   AppKit                              0x00007fff897d003f -[NSView addSubview:positioned:relativeTo:] + 208
    2   NWJS Framework                      0x0000000107508edb _ZN2v88UnlockerD1Ev + 21017371
    3   NWJS Framework                      0x000000010745dcbc _ZN2v88UnlockerD1Ev + 20316412
    4   NWJS Framework                      0x00000001074680f2 _ZN2v88UnlockerD1Ev + 20358450
    5   NWJS Framework                      0x000000010756d905 _ZN2v88UnlockerD1Ev + 21429573
    6   NWJS Framework                      0x00000001048f32f2 ChromeMain + 4153026
    7   NWJS Framework                      0x00000001048f2bc0 ChromeMain + 4151184
    8   NWJS Framework                      0x00000001048f24c4 ChromeMain + 4149396
    9   NWJS Framework                      0x00000001048f22d3 ChromeMain + 4148899
    10  NWJS Framework                      0x0000000108473e72 _ZN2v88UnlockerD1Ev + 37184178
    11  NWJS Framework                      0x0000000107f47941 _ZN2v88UnlockerD1Ev + 31759745
    12  NWJS Framework                      0x0000000107f499a9 _ZN2v88UnlockerD1Ev + 31768041
    13  NWJS Framework                      0x0000000107f49bcf _ZN2v88UnlockerD1Ev + 31768591
    14  NWJS Framework                      0x0000000107f62f02 _ZN2v88UnlockerD1Ev + 31871810
    15  NWJS Framework                      0x000000010814e04f _ZN2v88UnlockerD1Ev + 33883279
    16  NWJS Framework                      0x0000000107a73db4 _ZN2v88UnlockerD1Ev + 26698228
    17  NWJS Framework                      0x00000001078550cf _ZN2v88UnlockerD1Ev + 24474895
    18  NWJS Framework                      0x0000000107996e19 _ZN2v88UnlockerD1Ev + 25793113
    19  NWJS Framework                      0x00000001054abf18 ChromeMain + 16444136
    20  NWJS Framework                      0x00000001049f8aaa ChromeMain + 5224058
    21  NWJS Framework                      0x0000000104a1b469 ChromeMain + 5365817
    22  NWJS Framework                      0x0000000104a1b9b6 ChromeMain + 5367174
    23  NWJS Framework                      0x00000001049edd41 ChromeMain + 5179665
    24  NWJS Framework                      0x0000000104a11bba ChromeMain + 5326730
    25  NWJS Framework                      0x00000001049ed744 ChromeMain + 5178132
    26  CoreFoundation                      0x00007fff8e56ea01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    27  CoreFoundation                      0x00007fff8e560b8d __CFRunLoopDoSources0 + 269
    28  CoreFoundation                      0x00007fff8e5601bf __CFRunLoopRun + 927
    29  CoreFoundation                      0x00007fff8e55fbd8 CFRunLoopRunSpecific + 296
    30  HIToolbox                           0x00007fff90e2e56f RunCurrentEventLoopInMode + 235
    31  HIToolbox                           0x00007fff90e2e2ea ReceiveNextEventCommon + 431
    32  HIToolbox                           0x00007fff90e2e12b _BlockUntilNextEventMatchingListInModeWithFilter + 71
    33  AppKit                              0x00007fff8981f8ab _DPSNextEvent + 978
    34  AppKit                              0x00007fff8981ee58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    35  AppKit                              0x00007fff89814af3 -[NSApplication run] + 594
    36  NWJS Framework                      0x00000001049ee491 ChromeMain + 5181537
    37  NWJS Framework                      0x00000001049edb94 ChromeMain + 5179236
    38  NWJS Framework                      0x0000000104a2de73 ChromeMain + 5442115
    39  NWJS Framework                      0x0000000104590405 ChromeMain + 602069
    40  NWJS Framework                      0x00000001077a44a7 _ZN2v88UnlockerD1Ev + 23750887
    41  NWJS Framework                      0x00000001077a6d22 _ZN2v88UnlockerD1Ev + 23761250
    42  NWJS Framework                      0x000000010779ff4d _ZN2v88UnlockerD1Ev + 23733133
    43  NWJS Framework                      0x00000001049a9208 ChromeMain + 4898264
    44  NWJS Framework                      0x00000001049a86a6 ChromeMain + 4895350
    45  NWJS Framework                      0x00000001044fd472 ChromeMain + 66
    46  nwjs                                0x0000000104495d52 main + 530
    47  nwjs                                0x0000000104495b34 nwjs + 2868
)
^CSegmentation fault: 11
@rogerwang
Copy link
Member

Fixed in beta5. Thanks.

@loretoparisi
Copy link
Author

👍

@bruceyongli
Copy link

same issue here:
node v5.9.1
nw v0.13.3-sdk

2016-04-08 03:03:52.680 nwjs[15098:3919196] NSWindow warning: adding an unknown subview: <WebContentsViewCocoa: 0x7ff8204db430>. Break on NSLog to debug.
2016-04-08 03:03:52.682 nwjs[15098:3919196] Call stack:
(
    0   AppKit                              0x00007fff86db3ca7 -[NSThemeFrame addSubview:] + 107
    1   nwjs Framework                      0x000000010edf842d _ZN2v88UnlockerD1Ev + 20590317
    2   nwjs Framework                      0x000000010edf7c50 _ZN2v88UnlockerD1Ev + 20588304
    3   nwjs Framework                      0x000000010edf6d9a _ZN2v88UnlockerD1Ev + 20584538
    4   nwjs Framework                      0x000000010f9152e9 _ZN2v88UnlockerD1Ev + 32243113
    5   nwjs Framework                      0x000000010f861a81 _ZN2v88UnlockerD1Ev + 31507777
    6   nwjs Framework                      0x000000010f932d51 _ZN2v88UnlockerD1Ev + 32364561
    7   nwjs Framework                      0x000000010f934bd9 _ZN2v88UnlockerD1Ev + 32372377
    8   nwjs Framework                      0x000000010f934dff _ZN2v88UnlockerD1Ev + 32372927
    9   nwjs Framework                      0x000000010f94de72 _ZN2v88UnlockerD1Ev + 32475442
    10  nwjs Framework                      0x000000010fb3e72f _ZN2v88UnlockerD1Ev + 34509295
    11  nwjs Framework                      0x000000010f45f4b8 _ZN2v88UnlockerD1Ev + 27303800
    12  nwjs Framework                      0x000000010f23fa0f _ZN2v88UnlockerD1Ev + 25076943
    13  nwjs Framework                      0x000000010f386189 _ZN2v88UnlockerD1Ev + 26414153
    14  nwjs Framework                      0x000000010cd195e8 ChromeMain + 15778456
    15  nwjs Framework                      0x000000010c2f4f8a ChromeMain + 5143610
    16  nwjs Framework                      0x000000010c317479 ChromeMain + 5284137
    17  nwjs Framework                      0x000000010c3179b8 ChromeMain + 5285480
    18  nwjs Framework                      0x000000010c2e9ca1 ChromeMain + 5097809
    19  nwjs Framework                      0x000000010c30d95a ChromeMain + 5244426
    20  nwjs Framework                      0x000000010c2e96a4 ChromeMain + 5096276
    21  CoreFoundation                      0x00007fff96040621 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    22  CoreFoundation                      0x00007fff9601fe1c __CFRunLoopDoSources0 + 556
    23  CoreFoundation                      0x00007fff9601f33f __CFRunLoopRun + 927
    24  CoreFoundation                      0x00007fff9601ed38 CFRunLoopRunSpecific + 296
    25  HIToolbox                           0x00007fff90de7d55 RunCurrentEventLoopInMode + 235
    26  HIToolbox                           0x00007fff90de7b8f ReceiveNextEventCommon + 432
    27  HIToolbox                           0x00007fff90de79cf _BlockUntilNextEventMatchingListInModeWithFilter + 71
    28  AppKit                              0x00007fff86d99236 _DPSNextEvent + 1067
    29  AppKit                              0x00007fff86d98665 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
    30  AppKit                              0x00007fff86d8d1c8 -[NSApplication run] + 682
    31  nwjs Framework                      0x000000010c2ea49f ChromeMain + 5099855
    32  nwjs Framework                      0x000000010c2e9af4 ChromeMain + 5097380
    33  nwjs Framework                      0x000000010c32aa93 ChromeMain + 5363523
    34  nwjs Framework                      0x000000010bea1bc5 ChromeMain + 608373
    35  nwjs Framework                      0x000000010f18da37 _ZN2v88UnlockerD1Ev + 24347895
    36  nwjs Framework                      0x000000010f1901a2 _ZN2v88UnlockerD1Ev + 24357986
    37  nwjs Framework                      0x000000010f1898ad _ZN2v88UnlockerD1Ev + 24331117
    38  nwjs Framework                      0x000000010c2a9b18 ChromeMain + 4835272
    39  nwjs Framework                      0x000000010c2a8f96 ChromeMain + 4832326
    40  nwjs Framework                      0x000000010be0d392 ChromeMain + 66
    41  nwjs                                0x000000010bba5d52 main + 530
    42  nwjs                                0x000000010bba5b34 nwjs + 2868
    43  ???                                 0x0000000000000002 0x0 + 2
)

@rogerwang rogerwang reopened this Apr 8, 2016
@rogerwang rogerwang added this to the 0.13.x milestone Apr 8, 2016
@rogerwang
Copy link
Member

@ElementLi how can this be triggered?

@rogerwang rogerwang added the nw13 label Apr 11, 2016
@rogerwang rogerwang self-assigned this Apr 11, 2016
@rogerwang rogerwang removed this from the 0.13.x milestone Apr 11, 2016
@starak
Copy link

starak commented May 16, 2016

This issue can be triggered by setting window.frame to false in package.json, @rogerwang
I've got the same issue.
My version:

node:"5.11.1"
nw:"0.14.5"

@patrickm
Copy link

patrickm commented Jun 22, 2016

Reproduction: open any window with frame: false
NW Versions: 15.x (mac and win)

Side effect is that after you open that window with frame: false, other UI elements in other/main window will be hidden - in my tests any custom font-face is hidden

It breaks rendering!

@patrickm
Copy link

Possibly related to #5021

@cgrossde
Copy link

cgrossde commented Aug 7, 2016

I got the same problem (frame: false) with NW.js 0.14.7 on Mac OS X 10.11.6.
Other issues related to this:

PS: 0.16.1 also crashes with frame: false

@cgrossde
Copy link

Any news on this?

@cgrossde
Copy link

Just tested: Issue is still present in 0.18.7

@pjheslin
Copy link

I am seeing this problem on Mac OS X 10.12.1 and nw.js 0.18.0. Main window has a frame, but nw.js crashes when I try to pop up a modal dialog box by opening a new window with frame: false.

@ghostoy
Copy link
Member

ghostoy commented Nov 22, 2016

This issue should be merged with #5435. The "crash" doesn't seem to actually affect the running app. We can simply suppress the message.

@rogerwang
Copy link
Member

This is fixed in git and will be available in the next nightly build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants