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 - Segmentation fault

See original GitHub issue

I’m getting error Segmentation fault: 11 and app crashes. Platform OS X 10.11.5. Using build nwjs-sdk-v0.14.6-osx-x64.zip. Main problem is that i don’t see any logic how this happens. Somehow i think it’s related with window closing ( since it’s the only i use ).

Here’s code i use for close event: nw.Window.get().open('xxx',{width:300,height:300},function(nWin){ nWin.on('close',function(){ nWin.hide(); const foo = nWin.window.foo; nWin.close(true); }); }); Here’s crash dump 7acb46ed-84b5-447a-8ca7-9586e1fb1e8d.dmp.zip

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostoycommented, Nov 25, 2016

I’ll fix it soon.

0reactions
ghostoycommented, Dec 23, 2016

@tiitremmel It’s still in review. @rogerwang

Read more comments on GitHub >

github_iconTop Results From Across the Web

c++ - What is a segmentation fault? - Stack Overflow
A segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access, or attempts to...
Read more >
Segmentation fault - Wikipedia
In computing, a segmentation fault (often shortened to segfault) or access violation is a fault, or failure condition, raised by hardware with memory...
Read more >
Core Dump (Segmentation fault) in C/C++ - GeeksforGeeks
When a piece of code tries to do read and write operation in a read only location in memory or freed block of...
Read more >
List of Common Reasons for Segmentation Faults in C/C++
Accessing an array out of bounds · Dereferencing NULL pointers · Dereferencing freed memory · Dereferencing uninitialized pointers · Incorrect use ...
Read more >
Can you override a segmentation fault and crash a computer?
A segmentation fault occurs when a process attempts to access memory in a way that the operating system and processor cannot or will...
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