Skip to content

Instantly share code, notes, and snippets.

@ksmyth
Last active August 29, 2015 14:19
Show Gist options
  • Save ksmyth/e631520577c6238166e1 to your computer and use it in GitHub Desktop.
Save ksmyth/e631520577c6238166e1 to your computer and use it in GitHub Desktop.
C:\Users\kevin\Documents\protagonist>node --version
v0.10.37
C:\Users\kevin\Documents\protagonist>node-gyp -v
v1.0.3
C:\Users\kevin\Documents\protagonist>git rev-parse HEAD
60f2fbe9b8983ff23f0ccc2950366212a534b4a3
C:\Users\kevin\Documents\protagonist>node-gyp build
gyp info it worked if it ends with ok
gyp info using node-gyp@1.0.3
gyp info using node@0.10.37 | win32 | x64
gyp info spawn C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args '/clp:Verbosity=minimal',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64' ]
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
libdrafter.vcxproj -> C:\Users\kevin\Documents\protagonist\build\Release\\lib
drafter.lib
libmarkdownparser.vcxproj -> C:\Users\kevin\Documents\protagonist\build\Relea
se\\libmarkdownparser.lib
libsnowcrash.vcxproj -> C:\Users\kevin\Documents\protagonist\build\Release\\libsnowcrash.lib
libsos.vcxproj -> C:\Users\kevin\Documents\protagonist\build\Release\\libsos.
lib
libsundown.vcxproj -> C:\Users\kevin\Documents\protagonist\build\Release\\lib
sundown.lib
Creating library C:\Users\kevin\Documents\protagonist\build\Release\protag
onist.lib and object C:\Users\kevin\Documents\protagonist\build\Release\prota
gonist.exp
Generating code
Finished generating code
protagonist.vcxproj -> C:\Users\kevin\Documents\protagonist\build\Release\\pr
otagonist.node
gyp info ok
Visual Studio about box:
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.5.51641 SP1Rel
Installed Version: Professional
Microsoft Office Developer Tools 01018-532-2002102-70998
Microsoft Office Developer Tools
Microsoft Visual C# 2010 01018-532-2002102-70998
Microsoft Visual C# 2010
Microsoft Visual C++ 2010 01018-532-2002102-70998
Microsoft Visual C++ 2010
Microsoft Visual F# 2010 01018-532-2002102-70998
Microsoft Visual F# 2010
Microsoft Visual Studio 2010 Team Explorer 01018-532-2002102-70998
Microsoft Visual Studio 2010 Team Explorer
Crystal Reports Templates for Microsoft Visual Studio 2010
Crystal Reports Templates for Microsoft Visual Studio 2010
Microsoft Visual Studio 2010 Professional - ENU Service Pack 1 (KB983509) KB983509
This service pack is for Microsoft Visual Studio 2010 Professional - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/983509.
NuGet Package Manager 2.8.50926.602
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Windows Installer XML Toolset 3.8.1128.0
Windows Installer XML Toolset version 3.8.1128.0
Copyright (c) Outercurve Foundation. All rights reserved.
curl -o protag.txt https://gist.githubusercontent.com/ksmyth/c35d0dc4d4b43fc1b6eb/raw/89d031480d20b242c248f5fa90de689c3e1870b9/gistfile1.txt
C:\Users\kevin\Documents\protagonist>node -e "require('./').parse(require('fs').readFileSync('protag.txt', {encoding: 'utf-8'}), console.log)"
C:\Users\kevin\Documents\protagonist>echo %ERRORLEVEL%
-1073741819
C:\Users\kevin\Documents\protagonist>set _NO_DEBUG_HEAP=1
C:\Users\kevin\Documents\protagonist>set _NT_SYMBOL_PATH=C:\Windows\symbols\dll;C:\Windows\system32;srv*c:\symbols*http://msdl.microsoft.com/download/symbols
C:\Users\kevin\Documents\protagonist>"\Program Files\Debugging Tools for Windo
ws (x64)\cdb.exe" -g node -e "require('./').parse(require('fs').readFileSync('
c:\\users\\kevin\\protag.txt', {encoding: 'utf-8'}), console.log)"
Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: node -e "require('./').parse(require('fs').readFileSync('c:\\users\\kevin\\protag.txt', {encoding: 'utf-8'}), console.log)"
Symbol search path is: C:\Windows\symbols\dll;C:\Windows\system32;srv*c:\symbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
ModLoad: 00007ff7`80a50000 00007ff7`810a7000 node.exe
ModLoad: 00007ffc`c5aa0000 00007ffc`c5c4c000 ntdll.dll
ModLoad: 00007ffc`c3620000 00007ffc`c375e000 C:\Windows\system32\KERNEL32.DLL
ModLoad: 00007ffc`c3000000 00007ffc`c3115000 C:\Windows\system32\KERNELBASE.dll
ModLoad: 00007ffc`c3550000 00007ffc`c35aa000 C:\Windows\system32\WS2_32.dll
ModLoad: 00007ffc`c3770000 00007ffc`c38e7000 C:\Windows\system32\USER32.dll
ModLoad: 00007ffc`bf2e0000 00007ffc`bf302000 C:\Windows\SYSTEM32\WINMM.dll
ModLoad: 00007ffc`c59f0000 00007ffc`c5a9a000 C:\Windows\system32\ADVAPI32.dll
ModLoad: 00007ffc`beea0000 00007ffc`beeca000 C:\Windows\SYSTEM32\IPHLPAPI.DLL
ModLoad: 00007ffc`c52b0000 00007ffc`c52b7000 C:\Windows\system32\PSAPI.DLL
ModLoad: 00007ffc`c5820000 00007ffc`c5829000 C:\Windows\system32\NSI.dll
ModLoad: 00007ffc`c3120000 00007ffc`c3261000 C:\Windows\system32\RPCRT4.dll
ModLoad: 00007ffc`c5830000 00007ffc`c5981000 C:\Windows\system32\GDI32.dll
ModLoad: 00007ffc`bf2b0000 00007ffc`bf2da000 C:\Windows\SYSTEM32\WINMMBASE.dll
ModLoad: 00007ffc`c3b70000 00007ffc`c3c1a000 C:\Windows\system32\msvcrt.dll
ModLoad: 00007ffc`c5990000 00007ffc`c59e9000 C:\Windows\SYSTEM32\sechost.dll
ModLoad: 00007ffc`be9d0000 00007ffc`be9da000 C:\Windows\SYSTEM32\WINNSI.DLL
ModLoad: 00007ffc`c2cc0000 00007ffc`c2d0f000 C:\Windows\SYSTEM32\cfgmgr32.dll
ModLoad: 00007ffc`c19e0000 00007ffc`c1a08000 C:\Windows\SYSTEM32\DEVOBJ.dll
ModLoad: 00007ffc`c3c80000 00007ffc`c3cb6000 C:\Windows\system32\IMM32.DLL
ModLoad: 00007ffc`c52c0000 00007ffc`c5411000 C:\Windows\system32\MSCTF.dll
ModLoad: 00007ffc`c22c0000 00007ffc`c2319000 C:\Windows\system32\mswsock.dll
ModLoad: 00007ffc`c1dc0000 00007ffc`c1dce000 C:\Windows\SYSTEM32\pcwum.DLL
ModLoad: 00007ffc`a0b20000 00007ffc`a0c2a000 C:\Users\kevin\Documents\protagonist\build\Release\protagonist.node
ModLoad: 00000000`53700000 00000000`53798000 C:\Windows\SYSTEM32\MSVCP100.dll
ModLoad: 00000000`53aa0000 00000000`53b72000 C:\Windows\SYSTEM32\MSVCR100.dll
ModLoad: 00007ffc`c2b60000 00007ffc`c2b6b000 C:\Windows\SYSTEM32\CRYPTBASE.DLL
ModLoad: 00007ffc`c29f0000 00007ffc`c2a53000 C:\Windows\SYSTEM32\bcryptPrimitives.dll
ModLoad: 00007ffc`bd240000 00007ffc`bd256000 C:\Windows\SYSTEM32\dhcpcsvc6.DLL
ModLoad: 00007ffc`be8d0000 00007ffc`be8ea000 C:\Windows\SYSTEM32\dhcpcsvc.DLL
ModLoad: 00007ffc`ba230000 00007ffc`ba245000 C:\Windows\system32\napinsp.dll
ModLoad: 00007ffc`ba250000 00007ffc`ba26a000 C:\Windows\system32\pnrpnsp.dll
ModLoad: 00007ffc`c0df0000 00007ffc`c0e0b000 C:\Windows\system32\NLAapi.dll
ModLoad: 00007ffc`c2130000 00007ffc`c21d4000 C:\Windows\SYSTEM32\DNSAPI.dll
ModLoad: 00007ffc`ba270000 00007ffc`ba27d000 C:\Windows\System32\winrnr.dll
ModLoad: 00007ffc`ba280000 00007ffc`ba294000 C:\Windows\system32\wshbth.dll
ModLoad: 00000000`536d0000 00000000`536f6000 C:\Program Files\Bonjour\mdnsNSP.dll
(249c.2bd8): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
protagonist!snowcrash::Reference::Reference+0xe2:
00007ffc`a0b49d02 488b00 mov rax,qword ptr [rax] ds:00000000`0000000f=????????????????
0:002> .lines
Line number information will be loaded
0:002> k
Child-SP RetAddr Call Site
00000000`2268d190 00007ffc`a0b49c0c protagonist!snowcrash::Reference::Reference+0xe2
00000000`2268d230 00007ffc`a0b4a0e3 protagonist!snowcrash::Payload::Payload+0x1fc
00000000`2268d310 00007ffc`a0b49e83 protagonist!std::_Cons_val<std::allocator<snowcrash::Payload>,snowcrash::Payload,snowcrash::Payload const & __ptr64>+0x53 [c:\program files (x86)\microsoft visual studio 10.0\vc\include\xmemory @ 280]
00000000`2268d3e0 00007ffc`a0b49331 protagonist!std::_Uninit_copy<std::_Vector_const_iterator<std::_Vector_val<snowcrash::Payload,std::allocator<snowcrash::Payload> > >,snowcrash::Payload * __ptr64,std::allocator<snowcrash::Payload> >+0xa3
[c:\program files (x86)\microsoft visual studio 10.0\vc\include\memory @ 376]
00000000`2268d430 00007ffc`a0b491a1 protagonist!std::vector<snowcrash::Payload,std::allocator<snowcrash::Payload> >::vector<snowcrash::Payload,std::allocator<snowcrash::Payload> >+0x171 [c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector @ 539]
00000000`2268d550 00007ffc`a0b499e3 protagonist!snowcrash::TransactionExample::TransactionExample+0xf1
00000000`2268d650 00007ffc`a0b49783 protagonist!std::_Cons_val<std::allocator<snowcrash::TransactionExample>,snowcrash::TransactionExample,snowcrash::TransactionExample const & __ptr64>+0x53 [c:\program files (x86)\microsoft visual studio 10.0\vc\include\xmemory @ 280]
00000000`2268d770 00007ffc`a0b48df1 protagonist!std::_Uninit_copy<std::_Vector_const_iterator<std::_Vector_val<snowcrash::TransactionExample,std::allocator<snowcrash::TransactionExample> > >,snowcrash::TransactionExample * __ptr64,std::allocator<snowcrash::TransactionExample> >+0xa3 [c:\program files (x86)\microsoft visual studio 10.0\vc\include\memory @ 376]
00000000`2268d7c0 00007ffc`a0b48271 protagonist!std::vector<snowcrash::TransactionExample,std::allocator<snowcrash::TransactionExample> >::vector<snowcrash::TransactionExample,std::allocator<snowcrash::TransactionExample> >+0x171 [c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector @ 539]
00000000`2268d8e0 00007ffc`a0b46e79 protagonist!snowcrash::Action::Action+0x261
00000000`2268d9c0 00007ffc`a0b46a8d protagonist!std::_Cons_val<std::allocator<snowcrash::Action>,snowcrash::Action,snowcrash::Action & __ptr64>+0x49 [c:\program files (x86)\microsoft visual studio 10.0\vc\include\xmemory @ 280]
00000000`2268da80 00007ffc`a0b43c89 protagonist!std::_Uninit_copy<snowcrash::Action * __ptr64,snowcrash::Action * __ptr64,std::allocator<snowcrash::Action> >+0x6d [c:\program files (x86)\microsoft visual studio 10.0\vc\include\memory @ 376]
00000000`2268dac0 00007ffc`a0b41e97 protagonist!std::vector<snowcrash::Action,std::allocator<snowcrash::Action> >::operator=+0x5b9 [c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector @ 739]
00000000`2268dc60 00007ffc`a0b421fc protagonist!snowcrash::Resource::operator=+0x147
00000000`2268ddc0 00007ffc`a0b4251b protagonist!snowcrash::Element::Content::operator=+0x5c [c:\users\kevin\documents\protagonist\drafter\ext\snowcrash\src\blueprint.cc @ 55]
00000000`2268dee0 00007ffc`a0b46ef7 protagonist!snowcrash::Element::Element+0xcb [c:\users\kevin\documents\protagonist\drafter\ext\snowcrash\src\blueprint.cc @
75]
00000000`2268dfb0 00007ffc`a0b46b43 protagonist!std::_Cons_val<std::allocator<snowcrash::Element>,snowcrash::Element,snowcrash::Element const & __ptr64>+0x47 [c:\program files (x86)\microsoft visual studio 10.0\vc\include\xmemory @ 280]
00000000`2268e010 00007ffc`a0b43e91 protagonist!std::_Uninit_copy<std::_Vector_const_iterator<std::_Vector_val<snowcrash::Element,std::allocator<snowcrash::Element> > >,snowcrash::Element * __ptr64,std::allocator<snowcrash::Element> >+0xa3
[c:\program files (x86)\microsoft visual studio 10.0\vc\include\memory @ 376]
00000000`2268e060 00007ffc`a0b42271 protagonist!std::vector<snowcrash::Element,std::allocator<snowcrash::Element> >::vector<snowcrash::Element,std::allocator<snowcrash::Element> >+0x171 [c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector @ 539]
00000000`2268e180 00007ffc`a0b4251b protagonist!snowcrash::Element::Content::operator=+0xd1 [c:\users\kevin\documents\protagonist\drafter\ext\snowcrash\src\blueprint.cc @ 56]
00000000`2268e2a0 00007ffc`a0b46ef7 protagonist!snowcrash::Element::Element+0xcb [c:\users\kevin\documents\protagonist\drafter\ext\snowcrash\src\blueprint.cc @
75]
00000000`2268e370 00007ffc`a0b46b43 protagonist!std::_Cons_val<std::allocator<snowcrash::Element>,snowcrash::Element,snowcrash::Element const & __ptr64>+0x47 [c:\program files (x86)\microsoft visual studio 10.0\vc\include\xmemory @ 280]
00000000`2268e3d0 00007ffc`a0b43e91 protagonist!std::_Uninit_copy<std::_Vector_const_iterator<std::_Vector_val<snowcrash::Element,std::allocator<snowcrash::Element> > >,snowcrash::Element * __ptr64,std::allocator<snowcrash::Element> >+0xa3
[c:\program files (x86)\microsoft visual studio 10.0\vc\include\memory @ 376]
00000000`2268e420 00007ffc`a0b42271 protagonist!std::vector<snowcrash::Element,std::allocator<snowcrash::Element> >::vector<snowcrash::Element,std::allocator<snowcrash::Element> >+0x171 [c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector @ 539]
00000000`2268e540 00007ffc`a0b425cf protagonist!snowcrash::Element::Content::operator=+0xd1 [c:\users\kevin\documents\protagonist\drafter\ext\snowcrash\src\blueprint.cc @ 56]
00000000`2268e660 00007ffc`a0b23c26 protagonist!snowcrash::Element::operator=+0x7f [c:\users\kevin\documents\protagonist\drafter\ext\snowcrash\src\blueprint.cc
@ 83]
00000000`2268e700 00007ffc`a0b23b2f protagonist!snowcrash::Blueprint::operator=+0x26
*** ERROR: Symbol file could not be found. Defaulted to export symbols for node.exe -
00000000`2268e880 00007ff7`80ba1e16 protagonist!AsyncParse+0x13f [c:\users\kevin\documents\protagonist\src\parse.cc @ 137]
00000000`2268f430 00007ffc`c5abe207 node!uv_fs_poll_stop+0x406
00000000`2268f460 00007ffc`c5ad4a45 ntdll!RtlpTpWorkCallback+0x127
00000000`2268f540 00007ffc`c36213d2 ntdll!TppWorkerThread+0x465
00000000`2268f920 00007ffc`c5b0e954 KERNEL32!BaseThreadInitThunk+0x22
00000000`2268f950 00000000`00000000 ntdll!RtlUserThreadStart+0x34
0:002>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment