Comments (2)
Memory leaks when exception is thrown (e.g. invalid selector)
---------- Block 81840 at 0x05DADC18: 32 bytes ----------
Leak Hash: 0x30DEE9B5, Count: 1, Total 32 bytes
Call Stack (TID 2364):
0x773B1020 (File and line number not available): ntdll.dll!RtlAllocateHeap
f:\dd\vctools\crt\crtw32\heap\malloc.c (58): Image Uploader.exe!_heap_alloc_base
f:\dd\vctools\crt\crtw32\misc\dbgheap.c (431): Image Uploader.exe!_heap_alloc_dbg_impl + 0x9 bytes
f:\dd\vctools\crt\crtw32\misc\dbgheap.c (239): Image Uploader.exe!_nh_malloc_dbg_impl + 0x19 bytes
f:\dd\vctools\crt\crtw32\misc\dbgheap.c (302): Image Uploader.exe!_nh_malloc_dbg + 0x1D bytes
f:\dd\vctools\crt\crtw32\misc\dbgmalloc.c (56): Image Uploader.exe!malloc + 0x15 bytes
f:\dd\vctools\crt\crtw32\heap\new.cpp (59): Image Uploader.exe!operator new + 0x9 bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\source\core\3rdpart\gumboquery\parser.cpp (640): Image Uploader.exe!CParser::parseTypeSelector + 0x7 bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\source\core\3rdpart\gumboquery\parser.cpp (134): Image Uploader.exe!CParser::parseSimpleSelectorSequence + 0x8 bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\source\core\3rdpart\gumboquery\parser.cpp (58): Image Uploader.exe!CParser::parseSelector + 0x8 bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\source\core\3rdpart\gumboquery\parser.cpp (38): Image Uploader.exe!CParser::parseSelectorGroup + 0x8 bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\source\core\3rdpart\gumboquery\parser.cpp (33): Image Uploader.exe!CParser::create + 0x8 bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\source\core\3rdpart\gumboquery\selection.cpp (89): Image Uploader.exe!CSelection::find + 0x1F bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\source\core\3rdpart\gumboquery\document.cpp (42): Image Uploader.exe!CDocument::find + 0x26 bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\source\core\scripting\api\gumbobingings\document.cpp (13): Image Uploader.exe!ScriptAPI::Document::find + 0x2D bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\contrib\include\sqrat\sqratmembermethods.h (162): Image Uploader.exe!Sqrat::SqMember<ScriptAPI::Document,CSelection>::Func1<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,0> + 0x13 bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\contrib\source\squirrel3\squirrel\sqvm.cpp (1162): Image Uploader.exe!SQVM::CallNative + 0xE bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\contrib\source\squirrel3\squirrel\sqvm.cpp (735): Image Uploader.exe!SQVM::Execute + 0x3A bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\contrib\source\squirrel3\squirrel\sqvm.cpp (1525): Image Uploader.exe!SQVM::Call + 0x2A bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\contrib\source\squirrel3\squirrel\sqapi.cpp (1095): Image Uploader.exe!sq_call + 0x65 bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\contrib\include\sqrat\sqratfunction.h (356): Image Uploader.exe!Sqrat::Function::Evaluate<int,char const *,UploadParams *> + 0x1E bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\source\core\upload\scriptuploadengine.cpp (109): Image Uploader.exe!CScriptUploadEngine::doUpload + 0x27 bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\source\core\upload\uploader.cpp (158): Image Uploader.exe!CUploader::Upload + 0x3A bytes
d:\develop\imageuploader-1.3.2-vs2013\image-uploader\source\core\upload\filequeueuploaderprivate.cpp (296): Image Uploader.exe!FileQueueUploaderPrivate::run + 0x28 bytes
c:\program files (x86)\microsoft visual studio 12.0\vc\include\functional (1230): Image Uploader.exe!std::_Pmf_wrap<void (__thiscall FileQueueUploaderPrivate::*)(void),void,FileQueueUploaderPrivate>::operator() + 0xC bytes
c:\program files (x86)\microsoft visual studio 12.0\vc\include\functional (1150): Image Uploader.exe!std::_Bind<1,void,std::_Pmf_wrap<void (__thiscall FileQueueUploaderPrivate::*)(void),void,FileQueueUploaderPrivate>,FileQueueUploaderPrivate *>::_Do_call<,0>
c:\program files (x86)\microsoft visual studio 12.0\vc\include\functional (1138): Image Uploader.exe!std::_Bind<1,void,std::_Pmf_wrap<void (__thiscall FileQueueUploaderPrivate::*)(void),void,FileQueueUploaderPrivate>,FileQueueUploaderPrivate *>::operator()<>
c:\program files (x86)\microsoft visual studio 12.0\vc\include\thr\xthread (196): Image Uploader.exe!std::_LaunchPad<std::_Bind<1,void,std::_Pmf_wrap<void (__thiscall FileQueueUploaderPrivate::*)(void),void,FileQueueUploaderPrivate>,FileQueueUploaderPrivate *> >::_Run
c:\program files (x86)\microsoft visual studio 12.0\vc\include\thr\xthread (187): Image Uploader.exe!std::_LaunchPad<std::_Bind<1,void,std::_Pmf_wrap<void (__thiscall FileQueueUploaderPrivate::*)(void),void,FileQueueUploaderPrivate>,FileQueueUploaderPrivate *> >::_Go + 0x9 bytes
f:\dd\vctools\crt\crtw32\stdcpp\thr\threadcall.cpp (28): Image Uploader.exe!_Call_func + 0xC bytes
f:\dd\vctools\crt\crtw32\startup\threadex.c (376): Image Uploader.exe!_callthreadstartex + 0xF bytes
f:\dd\vctools\crt\crtw32\startup\threadex.c (359): Image Uploader.exe!_threadstartex
0x76CD7C04 (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0x24 bytes
0x773CAD1F (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x8F bytes
0x773CACEA (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
5C 04 F6 00 02 00 00 00 04 00 00 00 00 CD CD CD \....... ........
00 00 00 00 00 00 00 00 00 CD CD CD 0F 00 00 00 ........ ........
from gumbo-query.
release should be called before throw, I've fixed that
from gumbo-query.
Related Issues (20)
- CNode::startPos 与CNode::endPos颠倒的问题 HOT 3
- Crash when select string include '(' char. HOT 1
- Brew formula is wrong
- nth-of-type always select nothing
- add more examples
- Getting the OuterHTML HOT 2
- Getting nodes with a specific class HOT 5
- nth-child(odd) skips first node HOT 3
- CObject destructor can throw, but shouldn't
- Brew unable to install and unable to make HOT 1
- Unable to install Gumbo Query due to it unable to find Gumbo parser shared library HOT 2
- Problems while encoding russian symbols
- Document.h includes gumbo.h which is missing HOT 1
- Where is <gumbo.h> located at in the src folder? i have my own cmake workspace and just need the source code HOT 3
- Trimming strings for advanced datasets HOT 1
- Error: No available formula with the name "gumbo-query"
- Static library not found
- not support css3 selector
- Conan package
- crashed when syntax error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gumbo-query.