[Bug 1963556] Re: Open3D segfaults when compiled with LTO

Jochen Sprickerhof 1963556 at bugs.launchpad.net
Fri Mar 4 11:29:26 UTC 2022


Hi Michael,

> tl;dr: probably an imgui bug causing an out of bounds write trashing
> malloc's internal data structures

Thanks for looking into it, sounds right.

I found that imgui in jammy is compiled with LTO and then statically linked
into open3d. Recompiling open3d (in jammy) with the imgui from Debian fixes
the problem. So I would propose to add imgui to the lto-disabled-list and
recompile open3d afterwards. What do you think?


** Also affects: imgui (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: lto-disabled-list (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  Open3D segfaults when compiled with LTO

Status in imgui package in Ubuntu:
  New
Status in lto-disabled-list package in Ubuntu:
  New
Status in open3d package in Ubuntu:
  New

Bug description:
  $ sudo apt install open3d-gui
  $ Open3D
  ...
  Segfault

  We had the same problem in Debian and disabled LTO because of that.

  https://github.com/isl-org/Open3D/issues/4747

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




More information about the foundations-bugs mailing list