From owner-freebsd-ports@freebsd.org Tue Feb 25 10:16:32 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 635C42570BD for ; Tue, 25 Feb 2020 10:16:32 +0000 (UTC) (envelope-from 1983-01-06@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48RZbL1TKvz3HCN for ; Tue, 25 Feb 2020 10:16:29 +0000 (UTC) (envelope-from 1983-01-06@gmx.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1582625785; bh=cdDuUKP9YzpJ0kNcwexvdROX9Ezy56PBxeRplyBRar4=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=MZJmgGuHCL2Nmeauz4fkz8tn/OLF2z8OAJhs7NJfi3uqWRjrWSgICfO/JJPMZF2lC fScVEUbRwCmeZn6yNoG+IqPIlPiw3bwXwN94yNn7/BKOAlGe8o8K/WRbJaGs8w/Xl0 r2dg//bahKdOFvupUIUY1c7RKXdNWU8MJrL4MZs4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.13] ([84.143.145.83]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MEm6F-1jDuhm2IfL-00GMPM; Tue, 25 Feb 2020 11:16:25 +0100 Subject: Re: Cannot build qt5-webkit with debug To: Miroslav Lachman <000.fbsd@quip.cz> Cc: freebsd-ports@freebsd.org References: <86c4b386-9298-fa0a-ccc1-ec6b1e65b788@quip.cz> <81e73790-6b69-8038-b087-9ff75c1cf9b5@gmx.net> <1a72bb7d-8ded-afe4-6fa7-8c301d73839e@quip.cz> <23335a73-5853-eab2-5684-b40f430ec8c7@quip.cz> <12ae3631-1973-5a42-8aa2-2fb8b9b93f8b@quip.cz> <15dbf933-b04b-788f-5cab-0dc5ffdcc532@gmx.net> <1b7192f7-5ebe-8d28-6bd9-92c8a2097acf@quip.cz> <79231bf9-6e7c-b5e6-9c8e-29edb921f18c@quip.cz> From: Michael Osipov <1983-01-06@gmx.net> Message-ID: Date: Tue, 25 Feb 2020 11:16:23 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <79231bf9-6e7c-b5e6-9c8e-29edb921f18c@quip.cz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:czx5hqbYN0txvlVepGn+TVEJDss1LS5pqEMPlnV0rut63ySLS4A xYJh8OpYhD/DsIAuqS8h9bMj6fSkyEiMIrgWVLA7rCPuHsYTLIhLekcXOZIDzUvpPwVHf00 2kvApJyRAISXUxJVtnHQvnYGA4n487XQuH/d3TckVwLg7uK8yxq0BH8wPd5qJTFbrXElHYn a5yLZ5L+5obvYDtThJ3vg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:UiAg+UevVpA=:yPhdnsqHaoeGpRB7owJqWf eZDs6fUb8AlEeJIuxm1zhSciG4XHChHXj2kgO0wZLlslsCB90oRzj1wMry1qL7xYay5mrvWgg x5T9vs4h7EfZqqogZVgPXeNI/Q/aG9HWiQ9k7Y3Vz9/+d1yB+oo7EOuq8zObrEqBGGNIn2k7B HnowdAOoi92JFwMjv/g6Pd+abRjVBd1kuYFvnefUkOIoiiUQfrPXWy7pL8rL1UJnUJ2qEp/J9 ECq6zjU2iQ9OOTjwHxMVL9YlFaMpkmA598/3MIFopPWQYLDPbLZ1ifHQN9qtEVeIxyYN106Ce oEKP7Ur4FfFPY/xPZX5tLbOcy5uYABb6ZcQLZTOiTJhS+Oen+aGEgSm1Ijp6WnS7PNGTI4g/H /3MKilCsHT714j8nZ6jJzOnCzjopbcs0KJI/r4MPDZvNiVw709mI3bhTQeb+GeiNB1JO7eY2r OWFlZZ2rlR/sColAjJtQX1cMXRFWJ9mE+47w6W+A6UzdYwh7MJJMLpMF8x3vSb1tbin0mZUDp ZCp2UaKlWuOStQRE4iZFEb39Ir6EHbGYAE03g3uV41j8kYmdSmedl6/tyNAaRlD1jm4PgYijC CGvXfD0RxrJICmjkSdUDJhM4N7lWfuHERzsT4eU2PIuQ2pSDzsfiXjTF6AUGGJNnkEDO0nwfs PwkIAzFkE9XgG5Fa7PMisLnVGrAfMESEQ5efe5qgGmPUa9Dv5fxH+6NXhkAAmep0/zCUjr77K XMC2RehEIBEZBkm6SiUiCXB8jibjapDBPWPYPNDYPea5G2WshGrj3RfaKev4BO7K6ePKICNqR t9WhYhImM7xBLRchdHK5cIuQgTym48Dciw2H7zPwfIdYfcXkgePVfQquZJAWIb++FV4kgdx/r XWhxPI9ejhvO5RvqwsirPSyKdLzy4DoC9cPXc+KOIHiF5VyZt4yP2BL9lC95V0JuDcBoH3W+l XwpOTGHJp+tQH0M+v4cjnjHP1rlEjcCDVfWOLrAPIGLk/jJaO+ey3jm2Y8HQufdx3msHyLfiF KuLX5dJMznxh7QDkUnM4e0WKPd/5lp5Gdyip6aADpHc/lG0H5SeXAsPHODIjJZZ88ZQQ6QePq U1wOCC76qZn8Ph8aPZfQSY9t6jEz9pALEA7st7onf2qDwTCNUHxMZjOo19EnmiU5EeS7Pvddi GtiBHQj1RXxSa0a0W92uSGb2kQ5yO+tgloWToPQkCeQ5giwApNvCUHNVx7E91SwJ7USzCO7zh ysxAFLYODyCsLBFKT X-Rspamd-Queue-Id: 48RZbL1TKvz3HCN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=MZJmgGuH; dmarc=none; spf=pass (mx1.freebsd.org: domain of 1983-01-06@gmx.net designates 212.227.17.22 as permitted sender) smtp.mailfrom=1983-01-06@gmx.net X-Spamd-Result: default: False [-2.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; FREEMAIL_FROM(0.00)[gmx.net]; DKIM_TRACE(0.00)[gmx.net:+]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[83.145.143.84.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; RCVD_IN_DNSWL_LOW(-0.10)[22.17.227.212.list.dnswl.org : 127.0.3.1]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmx.net.dwl.dnswl.org : 127.0.3.0]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.net]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gmx.net]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(0.00)[ip: (-6.01), ipnet: 212.227.0.0/16(-1.12), asn: 8560(2.18), country: DE(-0.02)]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2020 10:16:32 -0000 Am 2020-02-24 um 22:52 schrieb Miroslav Lachman: > Michael Osipov wrote on 2020/02/24 21:40: >> Am 2020-02-24 um 20:56 schrieb Miroslav Lachman: > > [..] > >>> I tried it on simpler website on HTTP without external fonts etc. but >>> it is still crashing >>> >>> >>> Example JS code and truss output is on hastebin >>> https://hastebin.com/sizefupiki.pl >>> >>> No fopen found there :( >> >> Can you also please provide the backtrace from lldb for this core dump? > > lldb backtrace > https://hastebin.com/ovufejevil.bash > >> Surprisingly, the last call is: >>> stat("/usr/local/share/icu/65.1/icudt65l/iso-8859_16-2001.cnv",0x7ffff= fffc998) >>> >> >> which comes from ICU. The entire website has been read from the >> socket, 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= . > > I tried it on the simplest web page without any fonts, css etc. but it > is still crashing. I removed the charset from the page so it is now not > using ICU. > > https://hastebin.com/iyonapasuz.bash > > Let me know if I can try anything else. OK, it is getting closer. The crash comes from this call: https://github.com/qtwebkit/qtwebkit/blob/qtwebkit-5.212.0-alpha3/Source/W= ebCore/css/CSSParser.cpp#L6907 Can you commet comment this line, recompile qtwebkit and see what happens? Either this line: https://github.com/qtwebkit/qtwebkit/blob/qtwebkit-5.212.0-alpha3/Source/W= ebCore/css/CSSParser.cpp#L6897 does not work properly or this is broken: https://github.com/qtwebkit/qtwebkit/blob/qtwebkit-5.212.0-alpha3/Source/W= ebCore/css/CSSValuePool.cpp#L121-L134 I'd like to see to see the content of familyName when passed. Either via breakpoint or with std::cout. Unfortunately, my C++ knowledge is minimal. I recommend to write a minimal C++ app with a function call and signature "const String& str" and then pass the string [1]. Since this is a custom type, I don't know whether cout will work. You have to try. Michael [1] https://github.com/adobe/webkit/blob/master/Source/WTF/wtf/text/WTFString.= h