Hi ports@,
On Wednesday, 6 September 2017 18:41:01 CEST, Eda Sky wrote:
> On the last snapshots /mail/trojita Segmentation fault on i386
Trojita is not the only program that suffers from this problem on i386
(I see no such problems on amd64). The following ports that depend on
x11/qt5/qtwebkit (which I think is the culprit here) segfault on
startup with a similar backtrace:
audio/mscore (musescore)
devel/zeal
mail/trojita
www/otter-browser
x11/smtube
There may be others.
I don't use i386 on a daily basis myself so I don't know since when this
is broken. Possibly since the Qt update (5.6 to 5.9).
To investigate this problem I tried to build a -debug FLAVORed package
of x11/qt5/qtwebkit on i386 but the linker is running out of memory.
After that attempt I didn't have time to investigate further. Since I
doubt I'll have much time to look into this further any time soon, I
am posting my findings here.
Below is a backtrace with otter-browser, below that the dmesg from my
i386 VM that I created to look into this problem.
Best regards,
Caspar Schutijser
--
$ egdb /usr/local/bin/otter-browser
GNU gdb (GDB) 7.12.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd6.2".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/otter-browser...done.
(gdb) r
Starting program: /usr/local/bin/otter-browser
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to
'/tmp/runtime-caspar'
Qt: XKEYBOARD extension not present on the X server.
[New process 96183]
[New thread 209282]
[New thread 524899]
[New thread 261064]
[New thread 405789]
[New thread 373783]
[New thread 429553]
Thread 1 received signal SIGSEGV, Segmentation fault.
0x037510c6 in
WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction(void
(WebCore::PolicyChecker::*)(WebCore::PolicyAction),
WebCore::NavigationAction const&, WebCore::ResourceRequest const&,
WTF::PassRefPtr<WebCore::FormState>) () from
/usr/local/lib/qt5/./libQt5WebKit.so.2.1
(gdb) bt full
#0 0x037510c6 in
WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction(void
(WebCore::PolicyChecker::*)(WebCore::PolicyAction),
WebCore::NavigationAction const&, WebCore::ResourceRequest const&,
WTF::PassRefPtr<WebCore::FormState>) () from
/usr/local/lib/qt5/./libQt5WebKit.so.2.1
No symbol table info available.
#1 0x0375152e in non-virtual thunk to
WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction(void
(WebCore::PolicyChecker::*)(WebCore::PolicyAction),
WebCore::NavigationAction const&, WebCore::ResourceRequest const&,
WTF::PassRefPtr<WebCore::FormState>) () from
/usr/local/lib/qt5/./libQt5WebKit.so.2.1
No symbol table info available.
#2 0x03a80e2a in
WebCore::PolicyChecker::checkNavigationPolicy(WebCore::ResourceRequest
const&, WebCore::DocumentLoader*, WTF::PassRefPtr<WebCore::FormState>, void
(*)(void*, WebCore::ResourceRequest const&,
WTF::PassRefPtr<WebCore::FormState>, bool), void*) () from
/usr/local/lib/qt5/./libQt5WebKit.so.2.1
No symbol table info available.
#3 0x03a6bf13 in
WebCore::FrameLoader::loadWithDocumentLoader(WebCore::DocumentLoader*,
WebCore::FrameLoadType, WTF::PassRefPtr<WebCore::FormState>) ()
from /usr/local/lib/qt5/./libQt5WebKit.so.2.1
No symbol table info available.
#4 0x03a695dc in WebCore::FrameLoader::load(WebCore::DocumentLoader*) ()
from /usr/local/lib/qt5/./libQt5WebKit.so.2.1
No symbol table info available.
#5 0x03a6bb85 in WebCore::FrameLoader::load(WebCore::FrameLoadRequest
const&) () from /usr/local/lib/qt5/./libQt5WebKit.so.2.1
No symbol table info available.
#6 0x03764260 in QWebFrameAdapter::load(QNetworkRequest const&,
QNetworkAccessManager::Operation, QByteArray const&) () from
/usr/local/lib/qt5/./libQt5WebKit.so.2.1
No symbol table info available.
#7 0x0e5043fd in QWebFrame::load(QUrl const&) () from
/usr/local/lib/qt5/./libQt5WebKitWidgets.so.2.1
No symbol table info available.
#8 0x0e5119db in QWebView::load(QUrl const&) () from
/usr/local/lib/qt5/./libQt5WebKitWidgets.so.2.1
No symbol table info available.
#9 0x1c0be6f2 in Otter::QtWebKitWebWidget::setUrl(QUrl const&, bool) ()
No symbol table info available.
#10 0x1bf8ca17 in Otter::WebWidget::setRequestedUrl(QUrl const&, bool,
bool) ()
No symbol table info available.
#11 0x1c08a331 in Otter::WebContentsWidget::setUrl(QUrl const&, bool) ()
No symbol table info available.
#12 0x1bf9a425 in Otter::Window::setUrl(QUrl const&, bool) ()
No symbol table info available.
#13 0x1bed1dd4 in Otter::WindowsManager::openTab(QUrl const&,
QFlags<Otter::WindowsManager::OpenHint>, int) ()
No symbol table info available.
#14 0x1becff67 in Otter::WindowsManager::open(QUrl const&,
QFlags<Otter::WindowsManager::OpenHint>, int) ()
No symbol table info available.
#15 0x1bed2463 in Otter::WindowsManager::restore(Otter::SessionMainWindow
const&) ()
No symbol table info available.
#16 0x1bf06d06 in
Otter::MainWindow::MainWindow(QFlags<Otter::Application::MainWindowFlag>,
Otter::SessionMainWindow const&, QWidget*) ()
No symbol table info available.
#17 0x1be1bf06 in
Otter::Application::createWindow(QFlags<Otter::Application::MainWindowFlag>,
bool, Otter::SessionMainWindow const&) ()
No symbol table info available.
#18 0x1bdef032 in main ()
No symbol table info available.
(gdb)
--
OpenBSD 6.2-beta (GENERIC) #131: Fri Sep 15 12:43:22 MDT 2017
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class)
2.50 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,LONG,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,HV,LAHF,ITSC
real mem = 4026015744 (3839MB)
avail mem = 3934863360 (3752MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 06/23/99, BIOS32 rev. 0 @ 0xfdafb
apm0 at bios0: Power Management spec V1.2
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xef000/0x1000!
cpu0 at mainbus0: (uniprocessor)
pvbus0 at mainbus0: OpenBSD
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "OpenBSD VMM Host" rev 0x00
virtio0 at pci0 dev 1 function 0 "Qumranet Virtio RNG" rev 0x00
viornd0 at virtio0
virtio0: irq 3
virtio1 at pci0 dev 2 function 0 "Qumranet Virtio Storage" rev 0x00
vioblk0 at virtio1
scsibus1 at vioblk0: 2 targets
sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, > SCSI3 0/direct fixed
sd0: 20480MB, 512 bytes/sector, 41943040 sectors
virtio1: irq 5
virtio2 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio2: address fe:e1:bb:d1:ec:b8
virtio2: irq 6
virtio3 at pci0 dev 4 function 0 "OpenBSD VMM Control" rev 0x00
vmmci0 at virtio3
virtio3: irq 7
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo
com0: console
pcdisplay0 at isa0 port 0x3d0/16 iomem 0xb8000/32768
wsdisplay0 at pcdisplay0 mux 1: console (80x25, vt100 emulation)
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (b0236936649d2d0d.a) swap on sd0b dump on sd0b
No comments:
Post a Comment