Bug 202775 - www/webkit-qt4 crashes with SIGBUS on ARM
Summary: www/webkit-qt4 crashes with SIGBUS on ARM
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Some People
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-30 18:56 UTC by Ulrich Grey
Modified: 2016-07-23 12:40 UTC (History)
2 users (show)

See Also:
rakuco: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Grey 2015-08-30 18:56:24 UTC
I am trying to run www/arora.
During startup www/webkit-qt4 crashes with SIGBUS.
All ports are built on ARM: FreeBSD 11.0-CURRENT #1 r286407M:

(gdb) run
Starting program: /usr/local/bin/arora 
[New LWP 100959]
[New Thread 24403300 (LWP 100959/arora)]
[New Thread 28042600 (LWP 101165/arora)]

Program received signal SIGBUS, Bus error.
[Switching to Thread 24403300 (LWP 100959/arora)]
0x217c9548 in (anonymous namespace)::maskedCompare () from /usr/local/lib/qt4/libQtWebKit.so.4
(gdb) where
#0  0x217c9548 in (anonymous namespace)::maskedCompare () from /usr/local/lib/qt4/libQtWebKit.so.4
#1  0x217c93b8 in (anonymous namespace)::compare () from /usr/local/lib/qt4/libQtWebKit.so.4
#2  0x217c92c0 in (anonymous namespace)::findMIMEType () from /usr/local/lib/qt4/libQtWebKit.so.4
#3  0x217c8780 in (anonymous namespace)::unknownTypeSniffingProcedure () from /usr/local/lib/qt4/libQtWebKit.so.4
#4  0x217086e8 in MIMESniffer::sniff () from /usr/local/lib/qt4/libQtWebKit.so.4
#5  0x217084ec in QtMIMETypeSniffer::sniff () from /usr/local/lib/qt4/libQtWebKit.so.4
#6  0x217081b0 in QtMIMETypeSniffer::QtMIMETypeSniffer () from /usr/local/lib/qt4/libQtWebKit.so.4
#7  0x2132ec2c in WebCore::QNetworkReplyWrapper::receiveMetaData () from /usr/local/lib/qt4/libQtWebKit.so.4
#8  0x21332988 in $a.244 () from /usr/local/lib/qt4/libQtWebKit.so.4
#9  0x21332988 in $a.244 () from /usr/local/lib/qt4/libQtWebKit.so.4
(gdb) disassemble $pc-16 $pc+16
Dump of assembler code from 0x217c9538 to 0x217c9558:
0x217c9538 <_ZN12_GLOBAL__N_1L13maskedCompareERKNS_12MagicNumbersEPKcj+168>:    ldr     r0, [r0]
0x217c953c <_ZN12_GLOBAL__N_1L13maskedCompareERKNS_12MagicNumbersEPKcj+172>:    ldr     r1, [sp, #40]
0x217c9540 <_ZN12_GLOBAL__N_1L13maskedCompareERKNS_12MagicNumbersEPKcj+176>:    add     r2, r1, #4      ; 0x4
0x217c9544 <_ZN12_GLOBAL__N_1L13maskedCompareERKNS_12MagicNumbersEPKcj+180>:    str     r2, [sp, #40]
0x217c9548 <_ZN12_GLOBAL__N_1L13maskedCompareERKNS_12MagicNumbersEPKcj+184>:    ldr     r1, [r1]
0x217c954c <_ZN12_GLOBAL__N_1L13maskedCompareERKNS_12MagicNumbersEPKcj+188>:    and     r0, r0, r1
0x217c9550 <_ZN12_GLOBAL__N_1L13maskedCompareERKNS_12MagicNumbersEPKcj+192>:    ldr     r1, [sp, #44]
0x217c9554 <_ZN12_GLOBAL__N_1L13maskedCompareERKNS_12MagicNumbersEPKcj+196>:    add     r2, r1, #4      ; 0x4
End of assembler dump.
(gdb) info registers
r0             0x6d783f3c       1836597052
r1             0x21bd1179       566038905
r2             0x21bd117d       566038909
r3             0xe      14
r4             0x200    512
r5             0x245f8e90       610242192
r6             0x24403300       608187136
r7             0x4      4
r8             0x2459cd60       609865056
r9             0x246ea830       611231792
r10            0x244e2858       609101912
r11            0xbfbff188       -1077939832
r12            0x245f8e90       610242192
sp             0xbfbff110       -1077939952
lr             0x21fa1378       570037112
pc             0x217c9548       561812808
fps            0x0      0
cpsr           0x80000010       -2147483632
(gdb) quit
Comment 1 Mikael Urankar freebsd_committer freebsd_triage 2016-07-19 17:03:09 UTC
This PR can be closed, it's fixed with base r300701
Comment 2 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-07-23 12:40:55 UTC
Closing, thanks.