This is the traceback of how it's crashing:

(gdb) bt
#0  0x00007ffff6f5779f in unlink_chunk (p=p@entry=0x555555d7b380, 
av=0x7ffff70cac80 <main_arena>) at ./malloc/malloc.c:1628
#1  0x00007ffff6f5a6ab in _int_malloc (av=av@entry=0x7ffff70cac80 <main_arena>, 
bytes=bytes@entry=4584) at ./malloc/malloc.c:4307
#2  0x00007ffff6f5b1b9 in __GI___libc_malloc (bytes=bytes@entry=4584) at 
./malloc/malloc.c:3329
#3  0x00007ffff6efa880 in __GI___qsort_r (b=0x555555d7a790, n=191, s=24, 
cmp=0x7ffff5faf320, arg=0x0) at ./stdlib/msort.c:221
#4  0x00007ffff5fb76f1 in stbrp_pack_rects () from 
/lib/x86_64-linux-gnu/libstb.so.0
#5  0x00007ffff7ced2da in ?? () from /lib/x86_64-linux-gnu/libOpen3D.so.0.14
#6  0x00007ffff7ceb0ed in ImFontAtlas::GetTexDataAsAlpha8(unsigned char**, 
int*, int*, int*) () from /lib/x86_64-linux-gnu/libOpen3D.so.0.14
#7  0x00007ffff7ca88bf in open3d::visualization::gui::Window::CreateRenderer() 
() from /lib/x86_64-linux-gnu/libOpen3D.so.0.14
#8  0x00007ffff7ca95fa in 
open3d::visualization::gui::Window::Window(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, int, int, int, int, int) 
() from /lib/x86_64-linux-gnu/libOpen3D.so.0.14
#9  0x00007ffff7ca968f in 
open3d::visualization::gui::Window::Window(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, int, int, int) ()
   from /lib/x86_64-linux-gnu/libOpen3D.so.0.14
#10 0x00007ffff7c34aed in 
open3d::visualization::GuiVisualizer::GuiVisualizer(std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&, int, int)
    () from /lib/x86_64-linux-gnu/libOpen3D.so.0.14
#11 0x00005555555567e0 in ?? ()
#12 0x00007ffff6edfd90 in __libc_start_call_main 
(main=main@entry=0x555555556440, argc=argc@entry=1, 
argv=argv@entry=0x7fffffffe6a8) at ../sysdeps/nptl/libc_start_call_main.h:58
#13 0x00007ffff6edfe40 in __libc_start_main_impl (main=0x555555556440, argc=1, 
argv=0x7fffffffe6a8, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>, 
    stack_end=0x7fffffffe698) at ../csu/libc-start.c:392
#14 0x0000555555556655 in ?? ()

I don't know all that much about glibc's malloc implementation but maybe
it's heap corruption or something?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1963556

Title:
  Open3D segfaults when compiled with LTO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open3d/+bug/1963556/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to