2015-01-24 18:53 GMT+03:00 Adam Wolk <adam.w...@koparo.com>: > On Sat, Jan 24, 2015, at 04:31 PM, Stuart Henderson wrote: >> On 2015/01/24 15:29, Stuart Henderson wrote: >> > On 2015/01/24 15:35, Adam Wolk wrote: >> > > Hi ports@, >> > > >> > > Sorry for taking so long, got involved with work. >> > > I'm attaching an updated port. >> > > >> > > The port has been tested with xfce4 & cwm on OpenBSD snapshot from Jan >> > > 22 i386. >> > > Crashes on modal dialog close / full window resize in xfce are gone on >> > > qt5-5.3.2p7. >> > > >> > > See below for more details (especially on the cwm crash reported by >> > > zhuk@). >> > >> > Seeing as I leave near the River Otter, I had better review this one :-) >> >> s/leave/live :-) >> >> > This is working nicely for me in cwm on amd64 and looks in pretty good >> > shape to me. One nit only: the "BUILD_DEPENDS = devel/cmake>=2.8.10.2" >> > line can be removed, ports/devel/cmake/cmake.port.mk already takes care >> > of this. With that removed, it's OK sthen@ to import. >> > > > Fixed. BUILD_DEPENDS line has been removed as it's satisfied by > cmake.port.mk. > > /me eagerly awaits the next napalm strike :) > >> >> PS Nice work Adam. > > Thank you! :)
Now I get reliable crash at exit, sample backtrace is below. Comitting anyway, this could be polished in tree, IMHO. Having at least one Qt5Webkit-based browser is good for Qt5 itself. (gdb) bt #0 0x000001cc060769ea in kill () at <stdin>:2 #1 0x000001cc060b01c9 in abort () at /usr/src/lib/libc/stdlib/abort.c:53 #2 0x000001cc060ac8e0 in wrterror (msg=0x1cc061b9616 "bogus pointer (double free?)", p=0x7f7ffffd6350) at /usr/src/lib/libc/stdlib/malloc.c:281 #3 0x000001cc060addde in free (ptr=0x7f7ffffd6350) at /usr/src/lib/libc/stdlib/malloc.c:1282 warning: (Internal error: pc 0x1c9a3de1a1d in read in psymtab, but not in symtab.) #4 0x000001c9a3de1a1e in Otter::ContentsDialog::~ContentsDialog () at ContentsDialog.h:31 warning: (Internal error: pc 0x1c9a3de1a1d in read in psymtab, but not in symtab.) #5 0x000001cc0ec61e6c in QObjectPrivate::deleteChildren () from /usr/local/lib/qt5/libQt5Core.so.0.0 #6 0x000001cc8204ef9c in QWidget::~QWidget () from /usr/local/lib/qt5/libQt5Widgets.so.0.0 #7 0x000001cc8204f1a9 in QWidget::~QWidget () from /usr/local/lib/qt5/libQt5Widgets.so.0.0 #8 0x000001cc0ec61e6c in QObjectPrivate::deleteChildren () from /usr/local/lib/qt5/libQt5Core.so.0.0 #9 0x000001cc8204ef9c in QWidget::~QWidget () from /usr/local/lib/qt5/libQt5Widgets.so.0.0 #10 0x000001c9a3da400d in Otter::ContentsWidget::~ContentsWidget (this=0x1cbcc52c580) at ContentsWidget.h:41 #11 0x000001c9a3dc4d78 in Otter::WebContentsWidget::~WebContentsWidget (this=0x1cbcc52c580) at /usr/ports/pobj/otter-browser-0.9.04/otter-0.9.04/src/modules/windows/web/WebContentsWidget.cpp:86 #12 0x000001c9a3dc4dae in Otter::WebContentsWidget::~WebContentsWidget (this=0x1cbcc52c580) at /usr/ports/pobj/otter-browser-0.9.04/otter-0.9.04/src/modules/windows/web/WebContentsWidget.cpp:89 #13 0x000001cc0ec61e6c in QObjectPrivate::deleteChildren () from /usr/local/lib/qt5/libQt5Core.so.0.0 #14 0x000001cc8204ef9c in QWidget::~QWidget () from /usr/local/lib/qt5/libQt5Widgets.so.0.0 warning: (Internal error: pc 0x1c9a3de1086 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x1c9a3de1086 in read in psymtab, but not in symtab.) #15 0x000001c9a3de1087 in Otter::Window::~Window () at Window.h:46 warning: (Internal error: pc 0x1c9a3de1086 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x1c9a3de10df in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x1c9a3de10df in read in psymtab, but not in symtab.) #16 0x000001c9a3de10e0 in Otter::Window::~Window () at Window.h:46 warning: (Internal error: pc 0x1c9a3de10df in read in psymtab, but not in symtab.) #17 0x000001cc0ec624b0 in QObject::event () from /usr/local/lib/qt5/libQt5Core.so.0.0 #18 0x000000000000001f in ?? () #19 0x000001cc8202766b in QBoxLayout::setGeometry () from /usr/local/lib/qt5/libQt5Widgets.so.0.0 #20 0x0000000000000018 in ?? () #21 0x000001cc464b4d00 in ?? () #22 0xf0aad9ee6f322163 in ?? () #23 0x000001cc8ce06f00 in ?? () #24 0x000001cc5d88c7c0 in ?? () #25 0x000001cc6ff0c200 in ?? () #26 0x000001cc8205278a in QWidget::event () from /usr/local/lib/qt5/libQt5Widgets.so.0.0 #27 0x00007f7ffffd5070 in ?? () #28 0x000001cbe0685400 in ?? () #29 0x000001cc464b6800 in ?? () #30 0x0000000000000000 in ?? () Current language: auto; currently asm -- WBR, Vadim Zhukov