alibaba / alibaba/pipcook

crushed when I run the output model.

Open
#263 2 comments 0 reactions 1 assignee Claimed by @FeelyChau View on GitHub
boa bug
Dominant language
TypeScript
Stars
2.6k
Forks
210
PR merge metrics
No merged PRs in 30d

Description

The cycle-gan pipeline finished, but when I predict by the output model, predicted result was created, but process crushed, the error message is:
``` shell
free() invalid pointer
```
wild pointer problem in BOA maybe.

backtrace
```shell
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007f81eebe5801 in __GI_abort () at abort.c:79
#2 0x00007f81eec2e897 in __libc_message (action=action@entry=do_abort,
fmt=fmt@entry=0x7f81eed5bb9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3 0x00007f81eec3590a in malloc_printerr (
str=str@entry=0x7f81eed59d88 "free(): invalid pointer") at malloc.c:5350
#4 0x00007f81eec3ce1c in _int_free (have_lock=0, p=0x51b32c8,
av=0x7f81eef90c40 ) at malloc.c:4157
#5 __GI___libc_free (mem=0x51b32d8) at malloc.c:3124
#6 0x00007f81ec1655ea in __gnu_cxx::new_allocator, std::allocator > > >::destroy, std::allocator > > (
this=0x35c5b48, __p=0x53e6f08) at /usr/include/c++/7/ext/new_allocator.h:140
#7 0x00007f81ec160e47 in std::allocator_traits, std::allocator > > > >::destroy, std::allocator > > (__a=..., __p=0x53e6f08) at /usr/include/c++/7/bits/alloc_traits.h:487
#8 0x00007f81ec15b2d3 in std::_Fwd_list_base, std::allocator >, std::allocator, std::allocator > > >::_M_erase_after (
this=0x35c5b48, __pos=0x35c5b48, __last=0x0)
at /usr/include/c++/7/bits/forward_list.tcc:90
#9 0x00007f81ec15703c in std::_Fwd_list_base, std::allocator >, std::allocator, std::allocator > > >::~_Fwd_list_base (
---Type to continue, or q to quit---
0x35c5b48, __in_chrg=)
at /usr/include/c++/7/bits/forward_list.h:329
#10 0x00007f81ec152b4a in std::forward_list, std::allocator >, std::allocator, std::allocator > > >::~forward_list (
this=0x35c5b48, __in_chrg=)
at /usr/include/c++/7/bits/forward_list.h:559
#11 0x00007f81ec151328 in pybind11::detail::internals::~internals (
this=0x35c59a0, __in_chrg=)
at ../pybind11/include/pybind11/detail/internals.h:94
#12 0x00007f81ec15153d in pybind11::finalize_interpreter ()
at ../pybind11/include/pybind11/embed.h:164
#13 0x00007f81ec143a4f in boa::PythonNode::~PythonNode (this=0x318e440,
__in_chrg=) at ../src/core/node.cc:56
#14 0x00007f81ec143a7e in boa::PythonNode::~PythonNode (this=0x318e440,
__in_chrg=) at ../src/core/node.cc:59
#15 0x00007f81ec15aab5 in Napi::ObjectWrap::FinalizeCallback (
env=0x3074dd0, data=0x318e440)
at /root/tmp/pipcook/packages/boa/node_modules/node-addon-api/napi-inl.h:3877
#16 0x000000000098f6ea in ?? ()
#17 0x000000000307e880 in ?? ()
#18 0x0000000003074dd0 in ?? ()
#19 0x000000002394e798 in ?? ()
#20 0x000000000311ce40 in ?? ()
#21 0x000000000305e100 in ?? ()
#22 0x000000000305e208 in ?? ()
#23 0x00007fff62c45a00 in ?? ()
#24 0x00000000009b1217 in ?? ()
#25 0x00007fff62c45a90 in ?? ()
#26 0x000000002394e708 in ?? ()
#27 0x000000002394e798 in ?? ()
#28 0x000000000311ce40 in ?? ()
#29 0x00007fff62c45a90 in ?? ()
#30 0x000000000097bcba in ?? ()
#31 0x000000000311d7e0 in ?? ()
#32 0x000000002394e5d0 in ?? ()
#33 0x0000000039045d8d in ?? ()
#34 0x000000005ef2f9d8 in ?? ()
#35 0x0000000039045d8d in ?? ()
#36 0x000000005ef2c03f in ?? ()
#37 0x0000000001bda160 in ?? ()
#38 0x0000000001be13ba in ?? ()
#39 0x000000000311ce40 in ?? ()
#40 0x0000000000000000 in ?? ()
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.