Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document对象调用 Accept崩溃 #1827

Closed
wssbygone opened this issue Jan 13, 2021 · 0 comments
Closed

Document对象调用 Accept崩溃 #1827

wssbygone opened this issue Jan 13, 2021 · 0 comments

Comments

@wssbygone
Copy link

使用Document Accept就崩溃,是否是json对象太大导致的??

#0 0x00007ffb59d97337 in raise () from /lib64/libc.so.6
#1 0x00007ffb59d98a28 in abort () from /lib64/libc.so.6
#2 0x00007ffb59d90156 in __assert_fail_base () from /lib64/libc.so.6
#3 0x00007ffb59d90202 in __assert_fail () from /lib64/libc.so.6
#4 0x0000000000417a0b in rapidjson::internal::Stackrapidjson::CrtAllocator::PushUnsafe (this=0x7ffc46364a40, count=1)
at RawData/../include/rapidjson/internal/stack.h:130
#5 0x0000000000425e1a in rapidjson::GenericStringBuffer<rapidjson::UTF8, rapidjson::CrtAllocator>::PutUnsafe (
this=0x7ffc46364a40, c=68 'D') at include/rapidjson/stringbuffer.h:57
#6 0x00000000004258fd in rapidjson::PutUnsafe<rapidjson::UTF8, rapidjson::CrtAllocator> (stream=..., c=68 'D')
at include/rapidjson/stringbuffer.h:106
#7 0x0000000000426cdb in rapidjson::Transcoder<rapidjson::UTF8, rapidjson::UTF8 >::TranscodeUnsafe<rapidjson::GenericStringStream<rapidjson::UTF8 >, rapidjson::GenericStringBuffer<rapidjson::UTF8, rapidjson::CrtAllocator> > (is=...,
os=...) at include/rapidjson/encodings.h:700
#8 0x0000000000426af9 in rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8, rapidjson::CrtAllocator>, rapidjson::UTF8, rapidjson::UTF8, rapidjson::CrtAllocator, 0u>::WriteString (this=0x7ffc46364a70,
str=0x7ffb2616e028 "data:application/octet-stream;base64,AAAAAAAAtcMAAA9DAABUwwAAFsMAAA9DAABUwwAAFsMAAKBAAAAAAAAAtcMAAABAAAAAAAAAeEIAAA9DAABUQwAAFsMAAA9DAABUQwAAFsM", 'A' <repeats 13 times>, "eEIAAABAAABUQwAAFsMAAAAAAABUQwAAFsMAAA9DAAA"..., length=779789389)
at include/rapidjson/writer.h:441
#9 0x0000000000426259 in rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8, rapidjson::CrtAllocator>, rapidjson::UTF8, rapidjson::UTF8, rapidjson::CrtAllocator, 0u>::String (this=0x7ffc46364a70,
str=0x7ffb2616e028 "data:application/octet-stream;base64,AAAAAAAAtcMAAA9DAABUwwAAFsMAAA9DAABUwwAAFsMAAKBAAAAAAAAAtcMAAABAAAAAAAAAeEIAAA9DAABUQwAAFsMAAA9DAABUQwAAFsM", 'A' <repeats 13 times>, "eEIAAABAAABUQwAAFsMAAAAAAABUQwAAFsMAAA9DAAA"..., length=779789389,
copy=true) at include/rapidjson/writer.h:206
#10 0x0000000000425c85 in rapidjson::GenericValue<rapidjson::UTF8, rapidjson::MemoryPoolAllocatorrapidjson::CrtAllocator >::Accept<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8, rapidjson::CrtAllocator>, rapidjson::UTF8, rapidjson::UTF8, rapidjson::CrtAllocator, 0u> > (this=0x77eb64b8, handler=...)
at include/rapidjson/document.h:1891
#11 0x0000000000425b3f in rapidjson::GenericValue<rapidjson::UTF8, rapidjson::MemoryPoolAllocatorrapidjson::CrtAllocator >::Accept<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8, rapidjson::CrtAllocator>, rapidjson::UTF8, rapidjson::UTF8, rapidjson::CrtAllocator, 0u> > (this=0x77ec18a8, handler=...)
at include/rapidjson/document.h:1877
#12 0x0000000000425bef in rapidjson::GenericValue<rapidjson::UTF8, rapidjson::MemoryPoolAllocatorrapidjson::CrtAllocator >::Accept<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8, rapidjson::CrtAllocator>, rapidjson::UTF8, rapidjson::UTF8, rapidjson::CrtAllocator, 0u> > (this=0xbf0578, handler=...) at include/rapidjson/document.h:1886
#13 0x0000000000425b3f in rapidjson::GenericValue<rapidjson::UTF8, rapidjson::MemoryPoolAllocatorrapidjson::CrtAllocator >::Accept<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8, rapidjson::CrtAllocator>, rapidjson::UTF8, rapidjson::UTF8, rapidjson::CrtAllocator, 0u> > (this=0xb01d10, handler=...) at include/rapidjson/document.h:1877

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

No branches or pull requests

1 participant