On Tue Feb 09, 2021 at 06:13:00PM +0100, Paco Esteban wrote: > On Sun, 07 Feb 2021, Paco Esteban wrote: > > > Hi ports@, > > > > This is an update of cad/openscad to its latest version 2021.01 > > > > Here are the changes for this new version: > > https://www.openscad.org/news.html#20210131 > > > > On the port side, I only added cairo to WANTLIB because > > port-lib-depends-check was complaining about it. It also says: > > > > Extra: CGAL.2 > > > > But this is an actual dependency and it's being used as far as I see, so > > I left it there. > > > > Comments ? ok to commit ? > > Find an updated diff at the end (tracey@'s work, thank you !) that > actually works and does not have the port-lib-depends-check problem. > > As some of you have noticed, the program segfaults on exit if one uses > the 'File > Quit' menu or Ctrl+q. It does not when killing the window on cwm > (which we both use, so we have not tested on any other window manager). > > Here's what gdb says about this: > > (gdb) bt > #0 0x00000be0ce5d99d2 in QHashData::nextNode(QHashData::Node*) () from > /usr/local/lib/libQt5Core.so.3.0 > #1 0x00000bdeb4c13308 in > gui(std::__1::vector<std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >, > std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char> > > >&, boost::filesystem::path const&, int, > char**) () > #2 0x00000bdeb4c175a6 in main () > > The current version we have in ports also segfaults on exit, so this is > not new. > > Any help from more c++/Qt savvy people is welcome.
Unfortunately it is an known issue. Many Qt applications segfaults on exit. The outcry was never loud, so my motivation was never high.