Crash - Segmentation fault
See original GitHub issueI’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:
- Created 7 years ago
- Comments:15 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll fix it soon.
@tiitremmel It’s still in review. @rogerwang