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

Graphd crash due to default iterator #5125

Closed
czpmango opened this issue Dec 27, 2022 · 3 comments
Closed

Graphd crash due to default iterator #5125

czpmango opened this issue Dec 27, 2022 · 3 comments
Assignees
Labels
affects/none PR/issue: this bug affects none version. priority/hi-pri Priority: high process/done Process of bug severity/major Severity of bug type/bug Type: something is unexpected
Milestone

Comments

@czpmango
Copy link
Contributor

Your Environments (required)
nebula v3.1

How To Reproduce(required)

$var=go from "Tim Duncan" over like yield like._dst as id, like.likeness as likeness;yield avg($var.likeness)+3 as v;

Expected behavior
Get the correct result.

@czpmango czpmango added type/bug Type: something is unexpected priority/hi-pri Priority: high labels Dec 27, 2022
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Dec 27, 2022
@czpmango
Copy link
Contributor Author

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f30d0a4c859 in __GI_abort () at abort.c:79
#2  0x000000000564351a in google::LogMessage::Fail() ()
#3  0x0000000005646614 in google::LogMessage::SendToLog() ()
#4  0x0000000005642fe9 in google::LogMessage::Flush() ()
#5  0x00000000056431f5 in google::LogMessage::~LogMessage() ()
#6  0x0000000003c4065b in nebula::graph::DefaultIter::getColumnIndex (this=0x7f3098c2dde0) at /home/kyle.cao/workspace/fork/nebula/src/graph/context/Iterator.h:232
#7  0x0000000003c21151 in nebula::graph::QueryExpressionContext::getVarPropIndex (this=0x7f309a1f2de0, var=..., prop=...)
    at /home/kyle.cao/workspace/fork/nebula/src/graph/context/QueryExpressionContext.cpp:47
#8  0x000000000507a71d in nebula::VariablePropertyExpression::eval (this=0x7f3098c8ed30, ctx=...)
    at /home/kyle.cao/workspace/fork/nebula/src/common/expression/PropertyExpression.cpp:88
#9  0x00000000050795ef in nebula::AggregateExpression::eval (this=0x7f3098c8edc0, ctx=...) at /home/kyle.cao/workspace/fork/nebula/src/common/expression/AggregateExpression.cpp:41
#10 0x00000000039e59f9 in nebula::graph::AggregateExecutor::execute (this=0x7f3098c8f920) at /home/kyle.cao/workspace/fork/nebula/src/graph/executor/query/AggregateExecutor.cpp:80
#11 0x0000000003c06a00 in nebula::graph::AsyncMsgNotifyBasedScheduler::execute (this=0x7f3098c2d1b0, executor=0x7f3098c8f920)
    at /home/kyle.cao/workspace/fork/nebula/src/graph/scheduler/AsyncMsgNotifyBasedScheduler.cpp:221
#12 0x0000000003c0b59a in operator()<std::vector<nebula::Status> > (__closure=0x7f3098c16fd0, t=...)
    at /home/kyle.cao/workspace/fork/nebula/src/graph/scheduler/AsyncMsgNotifyBasedScheduler.cpp:158
#13 0x0000000003c07a62 in operator() (__closure=0x7f309a1f3080) at /home/kyle.cao/3rd/include/folly/futures/Future-inl.h:101
#14 0x0000000003c0b62e in folly::futures::detail::InvokeResultWrapperBase<folly::Future<nebula::Status> >::wrapResult<folly::futures::detail::wrapInvoke<std::vector<nebula::Status>, nebula::graph::AsyncMsgNotifyBasedScheduler::runExecutor(std::vector<folly::Future<nebula::Status> >&&, nebula::graph::Executor*, folly::Executor*) const::<lambda(auto:182&&)> >(folly::Try<std::vector<nebula::Status> >&&, nebula::graph::AsyncMsgNotifyBasedScheduler::runExecutor(std::vector<folly::Future<nebula::Status> >&&, nebula::graph::Executor*, folly::Executor*) const::<lambda(auto:182&&)>&&)::<lambda()> >(struct {...}) (fn=...) at /home/kyle.cao/3rd/include/folly/futures/Future-inl.h:73
#15 0x0000000003c07b12 in folly::futures::detail::wrapInvoke<std::vector<nebula::Status>, nebula::graph::AsyncMsgNotifyBasedScheduler::runExecutor(std::vector<folly::Future<nebula::Status> >&&, nebula::graph::Executor*, folly::Executor*) const::<lambda(auto:182&&)> >(folly::Try<std::vector<nebula::Status, std::allocator<nebula::Status> > > &&, struct {...} &&) (
    t=..., f=...) at /home/kyle.cao/3rd/include/folly/futures/Future-inl.h:108

@czpmango czpmango self-assigned this Dec 27, 2022
@Sophie-Xie Sophie-Xie added this to the v3.4.0 milestone Dec 27, 2022
@Sophie-Xie Sophie-Xie added the severity/major Severity of bug label Dec 27, 2022
@github-actions github-actions bot removed the severity/none Severity of bug label Dec 27, 2022
@caton-hpg
Copy link
Contributor

This bug has been fixed. #5111

@czpmango
Copy link
Contributor Author

This bug has been fixed. #5111

Ok.

@github-actions github-actions bot added the process/fixed Process of bug label Dec 28, 2022
@Hester-Gu Hester-Gu added the process/done Process of bug label Jan 13, 2023
@github-actions github-actions bot removed the process/fixed Process of bug label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. priority/hi-pri Priority: high process/done Process of bug severity/major Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

4 participants