masahi commented on issue #9362:
URL: https://github.com/apache/tvm/issues/9362#issuecomment-954639545


   With the trivial code,
   
   ```
   import tvm
   import torch
   ```
   
   I get this useless backtrace
   ```
   free(): invalid pointer
   
   Thread 1 "python" received signal SIGABRT, Aborted.
   __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
   50      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
   (gdb) bt
   #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
   #1  0x00007ffff7db7859 in __GI_abort () at abort.c:79
   #2  0x00007ffff7e223ee in __libc_message (action=action@entry=do_abort, 
fmt=fmt@entry=0x7ffff7f4c285 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
   #3  0x00007ffff7e2a47c in malloc_printerr (str=str@entry=0x7ffff7f4a4ae 
"free(): invalid pointer") at malloc.c:5347
   #4  0x00007ffff7e2bcac in _int_free (av=<optimized out>, p=<optimized out>, 
have_lock=0) at malloc.c:4173
   #5  0x00007fffcfe92859 in ?? () from /lib/x86_64-linux-gnu/libLLVM-10.so.1
   #6  0x00007ffff7ddba27 in __run_exit_handlers (status=0, 
listp=0x7ffff7f7d718 <__exit_funcs>, 
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true)
       at exit.c:108
   #7  0x00007ffff7ddbbe0 in __GI_exit (status=<optimized out>) at exit.c:139
   #8  0x00007ffff7db90ba in __libc_start_main (main=0x55555566d460 <main>, 
argc=2, argv=0x7fffffffd4d8, init=<optimized out>, fini=<optimized out>, 
       rtld_fini=<optimized out>, stack_end=0x7fffffffd4c8) at 
../csu/libc-start.c:342
   #9  0x000055555573afe5 in _start () at ../sysdeps/x86_64/elf/start.S:103
   ```


-- 
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]


Reply via email to