Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Paul Smedley

Pages: [1] 2 3 ... 113
1
Programming / Re: Qt6 Development
« on: Today at 08:34:04 am »
Re: Qt 6.4.x

Code: [Select]
[109:1:0322/222035.678000:ERROR:shared_buffer_dispatcher.cc(298)] Failed to map shared memory region.
[109:8:0322/222037.341000:ERROR:shared_buffer_dispatcher.cc(298)] Failed to map shared memory region.
This is fixed in https://github.com/psmedley/qt6-webengine-os2/commit/991b4368107f343d2f237d6b5b1083cca79c38da

Doesn't fix the later crash in partition_alloc (Updated TRP attached for reference).

2
Programming / Re: Qt6 Application Testing
« on: Today at 03:10:50 am »
  6.2.4 doesn't give that error any more, but at one time early on it did. Not sure what you did to get rid of it - might have to review early parts of the thread...

Thanks! Yeah, just did that - seems it was fixed in a build around January 10. The most likely commit for this is https://github.com/psmedley/qt6-webengine-os2/commit/7e86e5c1bf36fa83f41030cfa1599284d0deb8ed

Will take a look when I get home, currently sat at an outdoor cafe with the dog,  drinking wine whilst my wife shops :)

3
Programming / Re: Qt6 Application Testing
« on: Today at 01:24:01 am »
I forget now, was 6.2.4 still spamming the console with:
Code: [Select]
[194:29:0325/103008.863000:ERROR:cert_verify_proc_builtin.cc(600)] No net_fetcher for performing AIA chasing.

I'm thinking that I fixed this and it's a regression in 6.3.x and above, but maybe I'm wrong...

4
Programming / Re: Qt6 Application Testing
« on: Today at 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

5
Programming / Re: Qt6 Application Testing
« 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!

6
Programming / Re: Qt6 Development
« on: March 24, 2023, 05:40:27 am »
I cant believe I missed the fact that file moved and needed to be updated. Oh well. Now I have the fun of waiting for almost 11000 files to rebuild!

8
Programming / Re: Qt6 Development
« on: March 24, 2023, 02:21:47 am »
Interesting, just realised that qt 6.4.x isn't detecting/using NSS - which is why I'm seeing SSL errors, as there is no other code path to utilise. I wonder what's changed? Perhaps the rpm nss is too old?

9
Programming / Re: Qt6 Development
« on: March 23, 2023, 09:45:17 pm »
OK, fixing that didn't change the Trap in QtWebEngine 6.3.x, rebuilding a new 6.4.x DLL to see if it makes any difference there.

Edit: Nope, it didn't, but at least it's one less thing to implement later.

10
Programming / Re: Qt6 Development
« on: March 23, 2023, 09:47:12 am »
This didn't fix it. I also remembered today about https://github.com/psmedley/qt6-webengine-os2/issues/9 - this may be the cause of issues with Qt >= 6.3 - will need to do some research on what the equivalent code on OS/2 might look like.

Gotta love google - I searched for 'NtCurrentTeb())->StackBase)' (ie the windows code) and found https://github.com/psmedley/qt6-webengine-os2/blob/6.3.x/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc#L163 - I'll steal the os2 code and add it to https://github.com/psmedley/qt6-webengine-os2/blob/6.3.x/src/3rdparty/chromium/base/allocator/partition_allocator/starscan/stack/stack.cc#L55

11
Programming / Re: Qt6 Development
« on: March 23, 2023, 09:42:05 am »
This didn't fix it. I also remembered today about https://github.com/psmedley/qt6-webengine-os2/issues/9 - this may be the cause of issues with Qt >= 6.3 - will need to do some research on what the equivalent code on OS/2 might look like.

12
Programming / Re: Qt6 Development
« on: March 23, 2023, 01:10:55 am »
Yeah there is a reason dmitry make single process mode the default ;) I assume my current code you mean 6.3.2?

I may have found the problem causing the trap - the changes in https://github.com/psmedley/qt6-webengine-os2/commit/feb87f70dac13bb5b805fbd271e1ac98568ec062#diff-6d3616171ce7881cc8d3a757c2f9b476d645e4c61df77cdf47a5bf7a423bf56c - specifically the implementation of DecommitAndZeroSystemPagesInternal() is clearly wrong. I should have actually read the original code and the fix (I think) is pretty obvious and much simpler using   PA_CHECK(MyDosSetMem(reinterpret_cast<void*>(address), length, PAG_DECOMMIT));

Linking a new DLL now.

13
Programming / Re: Qt6 Development
« on: March 22, 2023, 01:30:35 pm »
Attached trp from running maps.exe might be worth investigating - maps.exe still gives the shared memory error, but tries to load the maps...

Some interesting logs about certificates too:
Code: [Select]
[141:1:0322/225951.023000:ERROR:shared_buffer_dispatcher.cc(298)] Failed to map shared memory region.
[141:7:0322/225951.761000:ERROR:shared_buffer_dispatcher.cc(298)] Failed to map shared memory region.

Killed by SIGSEGV
pid=0x008e ppid=0x008d tid=0x0001 slot=0x008e pri=0x0200 mc=0x0001 ps=0x0010
U:\QT6\BIN\QTWEBENGINEPROCESS.EXE
cs:eip=17b89aa8:ffffc000      ss:esp=0000:00000000      ebp=00120053
 ds=0000      es=0000      fs=ffffffff      gs=0000     efl=00000000
eax=0012f418 ebx=1ffc9d7c ecx=0012f42c edx=0012f450 edi=0012fd34 esi=0012fd5c
Creating 008E_01.TRP
[141:5:0322/225952.324000:ERROR:cert_verify_proc_builtin.cc(603)] No net_fetcher for performing AIA chasing.
[141:5:0322/225952.326000:ERROR:cert_verify_proc_builtin.cc(681)] CertVerifyProcBuiltin for maps.google.com failed:
----- Certificate i=2 (CN=GTS Root R1,O=Google Trust Services LLC,C=US) -----
ERROR: No matching issuer found


[141:15:0322/225952.335000:ERROR:ssl_client_socket_impl.cc(999)] handshake failed; returned -1, SSL error code 1, net_error -202
[141:15:0322/225952.335000:ERROR:ssl_client_socket_impl.cc(999)] handshake failed; returned -1, SSL error code 1, net_error -202
Moved 008e_01.TRP to C:\var\log\app\641b8868-008e_01-QTWEBENGINEPROCESS-exceptq.txt

Killed by SIGSEGV
pid=0x008f ppid=0x008d tid=0x0001 slot=0x0090 pri=0x0200 mc=0x0001 ps=0x0010
U:\QT6\BIN\QTWEBENGINEPROCESS.EXE
cs:eip=17b89aa8:ffffc000      ss:esp=0000:00000000      ebp=00120053
 ds=0000      es=0000      fs=ffffffff      gs=0000     efl=00000000
eax=0012f418 ebx=1ffc9d7c ecx=0012f42c edx=0012f450 edi=0012fd34 esi=0012fd5c
Creating 008F_01.TRP
Moved 008f_01.TRP to C:\var\log\app\641b8869-008f_01-QTWEBENGINEPROCESS-exceptq.txt
Creating 008D_01.TRP
Creating 008D_01.TRP

14
Programming / Re: Qt6 Development
« on: March 22, 2023, 12:57:25 pm »
Re: Qt 6.4.x

Code: [Select]
[109:1:0322/222035.678000:ERROR:shared_buffer_dispatcher.cc(298)] Failed to map shared memory region.
[109:8:0322/222037.341000:ERROR:shared_buffer_dispatcher.cc(298)] Failed to map shared memory region.

This is fixed in https://github.com/psmedley/qt6-webengine-os2/commit/991b4368107f343d2f237d6b5b1083cca79c38da

Doesn't fix the later crash in partition_alloc (Updated TRP attached for reference).

15
Programming / Re: Qt6 Development
« on: March 22, 2023, 11:19:18 am »
Nearly there... Got the main dll built then a build break...
Code: [Select]
{0}[u:\dev\qt6-webengine-os2-6.4.x\build] dir lib\*.dll

 Volume in drive U is Dev            Serial number is 62DB:45BE
 Directory of  U:\DEV\qt6-webengine-os2-6.4.x\build\lib\*.dll

22/03/23  19:04     285,711,275      0  Qt6WebEe.dll
22/03/23  13:42         183,099      0  Qt6WebEl.dll
22/03/23  19:04         114,206      0  Qt6WebEs.dll
     286,008,580 bytes (272MB) in 3 files and 0 dirs
     286,011,392 bytes (272MB) allocated
  54,042,521,600 bytes (50GB) free

{0}[u:\dev\qt6-webengine-os2-6.4.x\build]

More tomorrow

Pages: [1] 2 3 ... 113