Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Crash: Check failed: page->num_allocated_slots != -1. #286

Open
apexearth opened this issue Jan 6, 2018 · 1 comment
Open

Crash: Check failed: page->num_allocated_slots != -1. #286

apexearth opened this issue Jan 6, 2018 · 1 comment

Comments

@apexearth
Copy link

apexearth commented Jan 6, 2018

I've run into a situation where when I do two simultaneous rest calls from the binance package I shortly after encounter a crash.
Any ideas what might be the cause?

Repository: https://github.com/apexearth/electron-binance-crash

Drobos-MBP:electron-binance-crash apexearth$ npm start

> [email protected] start /Users/apexearth/WebstormProjects/electron-binance-crash
> electron .

2018-01-06 10:13:57.051 Electron Helper[7161:513265] Couldn't set selectedTextBackgroundColor from default ()
[7160:0106/101405.604007:FATAL:partition_alloc.cc(934)] Check failed: page->num_allocated_slots != -1. 
0   Electron Framework                  0x000000010ff7621c crashpad::CloseMultipleNowOrOnExec(int, int) + 970204
1   Electron Framework                  0x000000010ff3da33 crashpad::CloseMultipleNowOrOnExec(int, int) + 738803
2   Electron Framework                  0x000000010ff55491 crashpad::CloseMultipleNowOrOnExec(int, int) + 835665
3   Electron Framework                  0x0000000112bf2b9c crashpad::CloseMultipleNowOrOnExec(int, int) + 47617884
4   libnode.dylib                       0x000000011462f021 v8::internal::DeferredHandles::Iterate(v8::internal::ObjectVisitor*) + 19633
5   libnode.dylib                       0x0000000114ab9179 v8::internal::AllocationSpaceName(v8::internal::AllocationSpace) + 21993
6   libnode.dylib                       0x0000000114ac72d0 v8::internal::AllocationSpaceName(v8::internal::AllocationSpace) + 79680
7   libnode.dylib                       0x0000000114ab9f70 v8::internal::AllocationSpaceName(v8::internal::AllocationSpace) + 25568
8   libnode.dylib                       0x0000000114ab2717 v8::internal::operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, v8::internal::MachineType) + 73127
9   libnode.dylib                       0x0000000114ab030e v8::internal::operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, v8::internal::MachineType) + 63902
10  libnode.dylib                       0x00000001148cdaa3 v8::internal::Heap::CreateFillerObjectAt(unsigned char*, int, v8::internal::ClearRecordedSlots) + 7555
11  libnode.dylib                       0x00000001148cc2d5 v8::internal::Heap::CreateFillerObjectAt(unsigned char*, int, v8::internal::ClearRecordedSlots) + 1461
12  libnode.dylib                       0x00000001148cb813 v8::internal::DeferredHandleScope::Detach() + 110595
13  libnode.dylib                       0x00000001148da7be v8::internal::Heap::CreateFillerObjectAt(unsigned char*, int, v8::internal::ClearRecordedSlots) + 60062
14  libnode.dylib                       0x0000000114978ec6 v8::internal::IdentityMapBase::NextIndex(int) const + 950
15  Electron Framework                  0x000000010ff86da1 crashpad::CloseMultipleNowOrOnExec(int, int) + 1038689
16  Electron Framework                  0x0000000112b9417f crashpad::CloseMultipleNowOrOnExec(int, int) + 47230271
17  Electron Framework                  0x0000000112b921d2 crashpad::CloseMultipleNowOrOnExec(int, int) + 47222162
18  Electron Framework                  0x000000010ff86da1 crashpad::CloseMultipleNowOrOnExec(int, int) + 1038689
19  Electron Framework                  0x000000010ff4f15b crashpad::CloseMultipleNowOrOnExec(int, int) + 810267
20  Electron Framework                  0x000000010ff4f4ac crashpad::CloseMultipleNowOrOnExec(int, int) + 811116
21  Electron Framework                  0x000000010ff4f863 crashpad::CloseMultipleNowOrOnExec(int, int) + 812067
22  Electron Framework                  0x000000010ff52cea crashpad::CloseMultipleNowOrOnExec(int, int) + 825514
23  Electron Framework                  0x000000010ff01eaa crashpad::CloseMultipleNowOrOnExec(int, int) + 494186
24  Electron Framework                  0x000000010ff5270f crashpad::CloseMultipleNowOrOnExec(int, int) + 824015
25  CoreFoundation                      0x00007fff4b16e5a1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
26  CoreFoundation                      0x00007fff4b22835c __CFRunLoopDoSource0 + 108
27  CoreFoundation                      0x00007fff4b151040 __CFRunLoopDoSources0 + 208
28  CoreFoundation                      0x00007fff4b1504bd __CFRunLoopRun + 1293
29  CoreFoundation                      0x00007fff4b14fd23 CFRunLoopRunSpecific + 483
30  Foundation                          0x00007fff4d22fb76 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
31  Electron Framework                  0x000000010ff5338e crashpad::CloseMultipleNowOrOnExec(int, int) + 827214
32  Electron Framework                  0x000000010ff52b4c crashpad::CloseMultipleNowOrOnExec(int, int) + 825100
33  Electron Framework                  0x000000010ff4ee2e crashpad::CloseMultipleNowOrOnExec(int, int) + 809454
34  Electron Framework                  0x000000010ff67f63 crashpad::CloseMultipleNowOrOnExec(int, int) + 912163
35  Electron Framework                  0x00000001108b7bac crashpad::CloseMultipleNowOrOnExec(int, int) + 10676076
36  Electron Framework                  0x000000011012446b crashpad::CloseMultipleNowOrOnExec(int, int) + 2732075
37  Electron Framework                  0x0000000111be7288 crashpad::CloseMultipleNowOrOnExec(int, int) + 30793288
38  Electron Framework                  0x00000001101236c4 crashpad::CloseMultipleNowOrOnExec(int, int) + 2728580
39  Electron Framework                  0x000000010fcfa98a AtomMain + 74
40  Electron Helper                     0x000000010fcf4f26 main + 38
41  libdyld.dylib                       0x00007fff729a0115 start + 1
42  ???                                 0x0000000000000011 0x0 + 17

^C
@apexearth
Copy link
Author

Downgrade to 1.6.14 resolves this for me.
Tried it after reading through: electron/electron#11157
This issue should probably be in the electron repo, not this one...

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

No branches or pull requests

1 participant