Author Topic: Qt6 Application Testing  (Read 188791 times)

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2115
  • Karma: +164/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #255 on: March 16, 2023, 09:30:41 pm »
So.... I finally got qtwebengine 6.3.2 built...

There are some new warnings starting dooble like:
Code: [Select]
[64:1:0317/065341.318000:ERROR:system_network_context_manager.cpp(299)] Cannot use V8 Proxy resolver in single process mode.

& in loading some pages, we're getting:
Code: [Select]
[64:6:0317/065608.438000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher for performing AIA chasing.
followed not long after by a browser crash (which may or may not be related to the above)

I also noticed some re-draw issues re-sizing the browser window.

All in, I'd say this build really *isn't* ready for prime time, but in the interests of sharing - here's a link anyway: https://smedley.id.au/tmp/qt6-6.3.2-os2-webengine-20230317.zip

This can be unzipped over the top of any qt6 build and *should* work (with the caveats above)

Attached screenshot is running this build :)

Aiming to get all source checked in, and at least the net_fetcher issue resolved during today (my time)

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2115
  • Karma: +164/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #256 on: March 17, 2023, 01:55:12 am »
OK - after getting home from getting the car services, I reviewed 3x TRP files from this morning.

These were all showing traps in:
Code: [Select]
Trap  ->  13ACD179   QT6WEBEE  0001:0755D179   _vp8_dequant_idct_add_mmx + 1EC6F2D 0001:0569624C (../../../../../src/3rdparty/chromium/third_party/libvpx/source/libvpx/vp8/common/x86/dequantize_mmx.asm)

It seems the configure process decided to use the - built-in libvpx rather than the system one I build a while back.

Re-linking qt6webee.dll now....

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2115
  • Karma: +164/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #257 on: March 17, 2023, 05:22:52 am »
OK re-linking got past the libvpx trap, now I'm getting a trap in:
 Call Stack
______________________________________________________________________

   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  7B141D39   QT6WEBEE  0001:074A1D39   __ZN5blink31NonSharedCharacterBreakIterator23CreateIteratorForBufferEPKDsj + 1E9 0001:074A1B50 (platform_jumbo_68.o)

 056BD330  00006E65   Invalid address: 00006E65

TRP file attached - nothing obvious immediately jumping out at me, so for now I'll focus on getting the source changes checked in.
« Last Edit: March 17, 2023, 05:54:07 am by Paul Smedley »

roberto

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-6
    • View Profile
Re: Qt6 Application Testing
« Reply #258 on: March 17, 2023, 08:01:56 pm »
Hello Paul
I have tried it with two different computers, at work is worked acceptably well, the curious
I can not access the banks (lately I could not with the previous version, previously if I could use them)
  And the videos in Yotube, the ads badly, I had to start a video
In AV1 cut within a few seconds, change the resolution to 1080, and see it in VP9 format,
With a larger size than avitual. The one of a long time has been blocked, as the automatic format proposed to me
480, when putting 1080 the image of the sound decompenses.

With my personal computer, I have a trap just like yours, to the same point of memory.

I am sorry to tell you that for now I see few improvements.
saludos

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2115
  • Karma: +164/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #259 on: March 17, 2023, 09:49:37 pm »
Hi Roberto,

Thanks for testing - I did warn that there would be few improvements - but 6.3.2 is still an important milestone in getting us up to date.

Hopefully sometime in the next few hours, I'll have a 'full' 6.3.2 zip - including all the core libraries as well as the webengine. That will help rule out any issues causes by mixing 6.2.4 core libs and the 6.3.2 webengine.

I also spent some time last night cleaning up the build process for the webengine, so that I don't have to hand modify makefiles any more ;)

Also - for the brave - Qt 6.4.3 (minus the webengine) is at https://smedley.id.au/tmp/qt6-6.4.3-os2-20230318.zip

Cheers,

Paul

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4816
  • Karma: +42/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6 Application Testing
« Reply #260 on: March 18, 2023, 03:06:56 am »
Also - for the brave - Qt 6.4.3 (minus the webengine) is at https://smedley.id.au/tmp/qt6-6.4.3-os2-20230318.zip
Hi

I want to be brave  ;D

Testing on my 4GB RAM VM ArcaOS 5.0.7.
- VIRTUALADDRESSLIMIT=2560 on Config.sys

For the moment I had tested the following Qt6 apps with Qt 6.4.3 and are working fine:
- Connectagram
- CuteMaze
- FocusWriter - Works but special characters not working. áéíóú ñ Ñ  (Same as before)
- Gottet
- IqPuzzle
- Kapow
- NovProg
- Qoobar - Loads but some crash with trying to save files (listed before).  (Same as before)
- Tanglet
- Stack and Conquer
- Heimer - Works but same issue with special characters. (Same as before)
- Zint - Seems to work, but gotta test further the "copy as PNG", etc. Shows some info on the console. (Same as before)

- Tea - Same issue with special characters.   (Same as before)
--And this warning.  (Same as before)
Code: [Select]
update_keyboards()
"C:/Home/tea/keyboards"
qt.core.qobject.connect: QObject::connect: No such signal QComboBox::currentInde
xChanged (QString)

But now Hexalate, Peg-E and SimSU, does not show the reported error... the "OpenType support missing for "Hershey-Script-Simplex", script 17"
So, this is an improvement for me. 

- Scribus worked for me unzipping it on C:\scribus.
-- Special character does not work
-- Error message on save file.
-- some message on the console:
Quote
[C:\scribus]scribus
QProcessPrivate::createPipe: DosOpen(\pipe\Qt6\00000096\QProcess\0x1dfd84\Stdin)
 returned 231
Error loading plugin
dlopen rc=2 extra=PYTHON38
Error loading plugin
dlopen rc=2 extra=PYTHON38
pathForIcon: Unable to load icon /scribus/share/scribus/icons/1_5_1/lab.png: Fil
e not found
pathForIcon: Unable to load icon /scribus/share/scribus/icons/1_5_1/spot.png: Fi
le not found
pathForIcon: Unable to load icon /scribus/share/scribus/icons/1_5_1/register.png
: File not found
pathForIcon: Unable to load icon /scribus/share/scribus/icons/1_5_1/drawtextfram
e.png: File not found
pathForIcon: Unable to load icon /scribus/share/scribus/icons/1_5_1/drawtable.pn
g: File not found
pathForIcon: Unable to load icon /scribus/share/scribus/icons/1_5_1/drawframe.pn
g: File not found
setBestEncoding for  ArialMT  with  224 glyphs, hasNames= 512 , POST size= 511

Regards
« Last Edit: March 18, 2023, 03:38:30 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2115
  • Karma: +164/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #261 on: March 18, 2023, 05:44:51 am »
https://smedley.id.au/tmp/qt6-6.3.2-os2-20230318.zip is a complete Qt 6.3.2 build - including the webengine. Note the webengine has the same limitations I mentioned yesterday, the most severe of which is the SIGTRAP in:
Code: [Select]
______________________________________________________________________

 Call Stack
______________________________________________________________________

   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  7B0E2639   QT6WEBEE  0001:074A2639   __ZN5blink31NonSharedCharacterBreakIterator23CreateIteratorForBufferEPKDsj + 1E9 0001:074A2450 (platform_jumbo_68.o)

 054AAC00  00006E65   Invalid address: 00006E65

David McKenna

  • Hero Member
  • *****
  • Posts: 766
  • Karma: +25/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #262 on: March 18, 2023, 01:24:57 pm »
 Hi Paul,

  Tried the new complete 6.3.2 20230318 version and it has the same behaviors and limitations as before with one exception I see so far: I can now print a web page! At least ones that will display, many cause the browser to crash (including OS2World). Other apps seem to work as well as before and examples have the same limitations (QML and Quick don't work). I'll give 6.4.3 a shot next...thanks!

Regards,

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4816
  • Karma: +42/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6 Application Testing
« Reply #263 on: March 18, 2023, 04:03:05 pm »
Quote
- Qt6 libs (with Webengine) - https://smedley.id.au/tmp/qt6-6.3.2-os2-20230318.zip
and
- rebuilt libvpx with AVX disabled in libyuv - https://smedley.id.au/tmp/libvpx-1.13.0-os2-20230303.zip
- Dooble   -  https://smedley.id.au/tmp/dooble-2023.02.25-os2-qt6-20230225.zip

Hi

I'm back to qt6-6.3.2 to test dooble.
I deleted .dooble and .pki and run Dooble without any special thing.
It loaded and I tried to access www.os2world.com.

I got some errors on the console and a exeptq trap.

Quote
[E:\QT6TEST\dooble]dooble
[72:1:0318/095618.994000:ERROR:system_network_context_manager.cpp(299)] Cannot u
se V8 Proxy resolver in single process mode.
[72:1:0318/095618.994000:ERROR:system_network_context_manager.cpp(299)] Cannot u
se V8 Proxy resolver in single process mode.
[72:10:0318/095629.410000:ERROR:nss_util.cc(177)] Error initializing NSS with a
persistent database (sql:C:\Home\.pki\nssdb): NSS error code: -8174
[72:10:0318/095629.496000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher
 for performing AIA chasing.
[72:10:0318/095632.500000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher
 for performing AIA chasing.
[72:33:0318/095634.949000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher
 for performing AIA chasing.

Killed by SIGTRAP
pid=0x0048 ppid=0x0043 tid=0x0017 slot=0x0082 pri=0x0200 mc=0x0001 ps=0x0010
E:\QT6TEST\DOOBLE\DOOBLE.EXE
cs:eip=52a0b57c:0599a28c      ss:esp=91443def:00000000      ebp=00000053
 ds=0000      es=0000      fs=0000      gs=0000     efl=00000000
eax=05999fc8 ebx=1ffc9d7c ecx=05999fdc edx=0599a000 edi=17f9f1bc esi=0599ffd4
Creating 0048_17.TRP
Moved 0048_17.TRP to C:\var\log\app\64158ad9-0048_17-DOOBLE-exceptq.txt

Second try: I access www.google.com and did a search, it worked, but I access later again os2world.com and it crashed.

Third try: It stays in "loading" on www.google.com and does not show the page.
Quote
[E:\QT6TEST\dooble]dooble --disable-gpu
[78:1:0318/100853.163000:ERROR:system_network_context_manager.cpp(299)] Cannot u
se V8 Proxy resolver in single process mode.
[78:1:0318/100853.235000:ERROR:system_network_context_manager.cpp(299)] Cannot u
se V8 Proxy resolver in single process mode.
[78:7:0318/100902.274000:ERROR:nss_util.cc(177)] Error initializing NSS with a p
ersistent database (sql:C:\Home\.pki\nssdb): NSS error code: -8174
[78:7:0318/100902.383000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher
for performing AIA chasing.

Any trick I'm missing?

Regards
« Last Edit: March 18, 2023, 04:09:55 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2115
  • Karma: +164/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #264 on: March 18, 2023, 10:40:55 pm »
  Tried the new complete 6.3.2 20230318 version and it has the same behaviors and limitations as before with one exception I see so far: I can now print a web page! At least ones that will display, many cause the browser to crash (including OS2World). Other apps seem to work as well as before and examples have the same limitations (QML and Quick don't work). I'll give 6.4.3 a shot next...thanks!

Thanks Dave - yeah the webpages crashes is a PITA - I've started at the exceptq trap and it's not telling me much ;( Need to drink some wine this afternoon and hope it inspires me :)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4816
  • Karma: +42/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6 Application Testing
« Reply #265 on: March 19, 2023, 04:40:50 pm »
Hi Everybody

FYI: Tellie has ported BibliteQ on QT 6.4 also for testing:
- ftp://ftp.netlabs.org/pub/qtapps/biblioteq-v15022023-os2-6.4.2.7z

Please post any feedback if you like to.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

David McKenna

  • Hero Member
  • *****
  • Posts: 766
  • Karma: +25/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #266 on: March 19, 2023, 10:18:55 pm »
 Paul,

  Australia has many inspiring wines, so shouldn't be too strenuous... :-)

Regards,

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2115
  • Karma: +164/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #267 on: March 20, 2023, 09:01:03 am »
  Australia has many inspiring wines, so shouldn't be too strenuous... :-)

South Australian in particular ;) We are truly blessed!

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2115
  • Karma: +164/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #268 on: March 24, 2023, 09:07:36 am »
  Tried the new complete 6.3.2 20230318 version and it has the same behaviors and limitations as before with one exception I see so far: I can now print a web page! At least ones that will display, many cause the browser to crash (including OS2World). Other apps seem to work as well as before and examples have the same limitations (QML and Quick don't work). I'll give 6.4.3 a shot next...thanks!

Thanks Dave - yeah the webpages crashes is a PITA - I've started at the exceptq trap and it's not telling me much ;( Need to drink some wine this afternoon and hope it inspires me :)

Thanks to some valuable insight from Steven Levine, I'm hoping that the next build of qtwebengine 6.3.2 will be a bit more useful. Unfortunately, it decided it wanted to do a full rebuild, so I won't know until tomorrow!
« Last Edit: March 25, 2023, 01:21:23 am by Paul Smedley »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2115
  • Karma: +164/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #269 on: March 25, 2023, 12:33:19 am »
Turns out I probably didn't need to rebuild the code after all.... Putting a copy of https://github.com/qt/qtwebengine-chromium/blob/cee5373e6119a7ee20ba5e941185f4a22104d46d/chromium/third_party/icu/common/icudtb.dat into \qt6\resources (overwriting the existing copy) should fix the crash in:
Code: [Select]
Trap  ->  7B0E2639   QT6WEBEE  0001:074A2639   __ZN5blink31NonSharedCharacterBreakIterator23CreateIteratorForBufferEPKDsj + 1E9 0001:074A2450 (platform_jumbo_68.o)

I was able to get another SIGTRAP pretty easily with simplebrowser.exe - but the maps.exe example is working nicely now. video.exe starts to play a video then exits silently... Dooble on this box is playing silly buggers and not loading pages at all...

Dooble on another box loads and can now render os2world.com - see attached screenshot. Note that trying any video seems to result in a SIGTRAP.

For simplicity - full package is at https://smedley.id.au/tmp/qt6-6.3.2-os2-20230325.zip
« Last Edit: March 25, 2023, 01:22:12 am by Paul Smedley »