lhutton1 commented on issue #9362:
URL: https://github.com/apache/tvm/issues/9362#issuecomment-954599128
Here's the backtrace I receive from gdb:
```
(gdb) backtrace
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff7a22921 in __GI_abort () at abort.c:79
#2 0x00007ffff7a6b967 in __libc_message (action=action@entry=do_abort,
fmt=fmt@entry=0x7ffff7b98b0d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3 0x00007ffff7a729da in malloc_printerr (str=str@entry=0x7ffff7b9a720
"munmap_chunk(): invalid pointer") at malloc.c:5342
#4 0x00007ffff7a79fbc in munmap_chunk (p=0x7fffffffbc18) at malloc.c:2846
#5 __GI___libc_free (mem=0x7fffffffbc28) at malloc.c:3127
#6 0x00007fff1dcafe86 in std::__detail::_Compiler<std::regex_traits<char>
>::_Compiler(char const*, char const*, std::locale const&,
std::regex_constants::syntax_option_type) ()
from /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch_cpu.so
#7 0x00007fff1debc1c0 in
torch::jit::SourceImporterImpl::attributeAssignmentSpecialHandlingHack(c10::QualifiedName
const&, torch::jit::Assign const&) ()
from /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch_cpu.so
#8 0x00007fff1debed4a in
torch::jit::SourceImporterImpl::importClass(c10::QualifiedName const&,
torch::jit::ClassDef const&, bool) ()
from /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch_cpu.so
#9 0x00007fff1dec0313 in
torch::jit::SourceImporterImpl::importNamedType(std::string const&,
torch::jit::ClassDef const&) ()
from /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch_cpu.so
#10 0x00007fff1dec08d1 in
torch::jit::SourceImporterImpl::resolveType(std::string const&,
torch::jit::SourceRange const&) ()
from /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch_cpu.so
#11 0x00007fff1dc36668 in
torch::jit::ScriptTypeParser::parseTypeFromExpr(torch::jit::Expr const&) const
() from /usr/local/lib/python3.6/dist-packages/torch/lib/libtorch_cpu.so
```
When running:
```
import tvm
import torch
torch.jit.load(<path-to-any-model>)
```
Is this of any help?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]