You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const std::string k="hello";
const std::string v(100000, 'x');
VPackBuilder builder;
builder.openObject();
builder.add(k , VPackValue(v));
builder.close();
auto request = f::createRequest(f::RestVerb::Post, "/_api/document/blogpost"s);
request->addVPack(builder.slice());
auto result = connection->sendRequest(std::move(request));
got process core dumped Problem:
terminate called after throwing an instance of 'arangodb::fuerte::v1::ErrorCondition'
Aborted (core dumped)
And I use lldb debug the problem, I got extend-bound error. I wonder if any limitation of posting payload size.
terminate called after throwing an instance of 'arangodb::fuerte::v1::ErrorCondition'
Process 121595 stopped
thread Changes to the README.md file #1: tid = 121595, 0x00007ffff600d428 libc.so.6gsignal + 56, name = 'a.out', stop reason = signal SIGABRT frame #0: 0x00007ffff600d428 libc.so.6gsignal + 56
libc.so.6`gsignal:
-> 0x7ffff600d428 <+56>: cmpq $-0x1000, %rax ; imm = 0xFFFFFFFFFFFFF000
0x7ffff600d42e <+62>: ja 0x7ffff600d450 ; <+96>
0x7ffff600d430 <+64>: rep
0x7ffff600d431 <+65>: retq
(lldb) bt
error: a.out 0x0000009d: DW_TAG_member '_M_local_buf' refers to type 0x00020450 which extends beyond the bounds of 0x00000095
error: a.out 0x000061a0: DW_TAG_member '_M_pod_data' refers to type 0x00020450 which extends beyond the bounds of 0x00006187
error: a.out 0x000c14dc: DW_TAG_member '__size' refers to type 0x000c14f3 which extends beyond the bounds of 0x000c1457
thread Changes to the README.md file #1: tid = 121595, 0x00007ffff600d428 libc.so.6`gsignal + 56, name = 'a.out', stop reason = signal SIGABRT
My Environment
Component, Query & Data
Affected feature:
fueter cpp driver
AQL query (if applicable):
None
AQL explain (if applicable):
None
Dataset:
Replication Factor & Number of Shards (Cluster only):
Steps to reproduce
I post a slice object with large payload size.
const std::string k="hello";
const std::string v(100000, 'x');
VPackBuilder builder;
builder.openObject();
builder.add(k , VPackValue(v));
builder.close();
auto request = f::createRequest(f::RestVerb::Post, "/_api/document/blogpost"s);
request->addVPack(builder.slice());
auto result = connection->sendRequest(std::move(request));
Problem:
terminate called after throwing an instance of 'arangodb::fuerte::v1::ErrorCondition'
Aborted (core dumped)
And I use lldb debug the problem, I got extend-bound error. I wonder if any limitation of posting payload size.
terminate called after throwing an instance of 'arangodb::fuerte::v1::ErrorCondition'
Process 121595 stopped
gsignal + 56, name = 'a.out', stop reason = signal SIGABRT frame #0: 0x00007ffff600d428 libc.so.6
gsignal + 56libc.so.6`gsignal:
-> 0x7ffff600d428 <+56>: cmpq $-0x1000, %rax ; imm = 0xFFFFFFFFFFFFF000
0x7ffff600d42e <+62>: ja 0x7ffff600d450 ; <+96>
0x7ffff600d430 <+64>: rep
0x7ffff600d431 <+65>: retq
(lldb) bt
error: a.out 0x0000009d: DW_TAG_member '_M_local_buf' refers to type 0x00020450 which extends beyond the bounds of 0x00000095
error: a.out 0x000061a0: DW_TAG_member '_M_pod_data' refers to type 0x00020450 which extends beyond the bounds of 0x00006187
error: a.out 0x000c14dc: DW_TAG_member '__size' refers to type 0x000c14f3 which extends beyond the bounds of 0x000c1457
gsignal + 56 frame #1: 0x00007ffff600f02a libc.so.6
abort + 362frame Segmentation Fault auf dem Mac #2: 0x00007ffff695084d libstdc++.so.6
__gnu_cxx::__verbose_terminate_handler() + 365 frame #3: 0x00007ffff694e6b6 libstdc++.so.6
??? + 6frame JSON.stringify #4: 0x00007ffff694e701 libstdc++.so.6
std::terminate() + 17 frame #5: 0x00007ffff694e919 libstdc++.so.6
__cxa_throw + 105frame Added actions to admin #6: 0x0000000000429cb8 a.out
arangodb::fuerte::v1::Connection::sendRequest(this=0x0000000000771940, request=unique_ptr<arangodb::fuerte::v1::Request, std::default_delete<arangodb::fuerte::v1::Request> > @ 0x00007fffffffe0e0) + 374 at connection.cpp:61 frame #7: 0x0000000000410e3d a.out
test_4(int) + 708frame Struktur der Dokumentation #8: 0x0000000000412249 a.out
main + 112 frame #9: 0x00007ffff5ff8830 libc.so.6
__libc_start_main + 240frame Actions #10: 0x0000000000410089 a.out`_start + 41
Expected result:
The text was updated successfully, but these errors were encountered: