Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2020 21:40:06 +0100
From:      Michael Osipov <1983-01-06@gmx.net>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Cannot build qt5-webkit with debug
Message-ID:  <abf105f1-9407-4a03-f493-dbe154a15526@gmx.net>
In-Reply-To: <1b7192f7-5ebe-8d28-6bd9-92c8a2097acf@quip.cz>
References:  <f0a4e30f-8856-b4e6-dc9b-ad87ecf1a17a@quip.cz> <86c4b386-9298-fa0a-ccc1-ec6b1e65b788@quip.cz> <81e73790-6b69-8038-b087-9ff75c1cf9b5@gmx.net> <1a72bb7d-8ded-afe4-6fa7-8c301d73839e@quip.cz> <c5d41be9-f2a7-7451-b2e5-370587209571@gmx.net> <23335a73-5853-eab2-5684-b40f430ec8c7@quip.cz> <nycvar.OFS.7.76.44444.807.2002241744450.61731@z.fncre.vasb> <nycvar.OFS.7.76.44444.807.2002241750480.61731@z.fncre.vasb> <12ae3631-1973-5a42-8aa2-2fb8b9b93f8b@quip.cz> <15dbf933-b04b-788f-5cab-0dc5ffdcc532@gmx.net> <1b7192f7-5ebe-8d28-6bd9-92c8a2097acf@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 2020-02-24 um 20:56 schrieb Miroslav Lachman:
> Michael Osipov wrote on 2020/02/24 20:35:
>> Am 2020-02-24 um 19:10 schrieb Miroslav Lachman:
>=20
>=20
>> Looking at your sample code and the website, there are several issues:=

>>
>> * The resource employs mixed site content HTTPS loads HTTP. Firefox=20
>> blocks this, I guess WebKit blocks it too.
>> * Result: Droid Sans is not loaded [1], like the CSS
>> * The CSS has this:
>>> body {
>>> =C2=A0 font-family: 'Droid Sans','Lucida Grande',sans-serif;
>>> =C2=A0 line-height: 1.125em;
>>> =C2=A0 color: #444; }
>>
>> Lucida Grande isn't there either. It must choke somewhere.
>>
>> See also
>>
>>> frame #10: 0x00000008039cf92c=20
>>> libQt5WebKit.so.5`WebCore::CSSParser::parseSystemFont
>>
>> I assume it does some fopen() and chokes on when looking for=20
>> sans-serif replacement.
>>
>> Can you run the application with truss? We should see the fopen() and =

>> shortly after the crash. Upload the truss output.
>=20
> I tried it on simpler website on HTTP without external fonts etc. but i=
t=20
> is still crashing
>=20
>=20
> Example JS code and truss output is on hastebin
> https://hastebin.com/sizefupiki.pl
>=20
> No fopen found there :(

Can you also please provide the backtrace from lldb for this core dump?

Surprisingly, the last call is:
> stat("/usr/local/share/icu/65.1/icudt65l/iso-8859_16-2001.cnv",0x7fffff=
ffc998)

which comes from ICU. The entire website has been read from the socket,=20
as you can see from the read in 2246.
Maybe it to convert the "charset=3Diso-8859-2" to LC_ALL value.

I would recommend to have a simple server built in PHP or Python and try =

the simplest site possible w/o CSS and then add one w/o fonts first.

Michael




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?abf105f1-9407-4a03-f493-dbe154a15526>