Author Topic: Qt6 Application Testing  (Read 177335 times)

David McKenna

  • Hero Member
  • *****
  • Posts: 751
  • Karma: +24/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #165 on: February 26, 2023, 03:32:17 pm »
 Hey Dave,

  The latest version of Dooble adds a 3rd column to the search engines page at the bottom: 'Syntax' where you can define a prefix to a search to specify the engine to use. I notice it does not exist in your QT5 version, but it does exist (but doesn't work - can't add engines) in Paul's QT6 version. Maybe I need to try new profiles...

Regards,

EDIT: New profiles don't help...
« Last Edit: February 26, 2023, 04:02:10 pm by David McKenna »

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4805
  • Karma: +99/-1
    • View Profile
Re: Qt6 Application Testing
« Reply #166 on: February 26, 2023, 07:08:52 pm »
It almost works here with my most recent Qt5 version, setting up a wiki: search pointing at wikipedia.en.org and typing in wiki: OS/2 in the address bar gives an URL of http://http//wikipedia.en.org OS/2. Paul's Qt6 build is the same. I'd assume it is a Qt issue
Edit: Attach screen capture
« Last Edit: February 26, 2023, 07:17:18 pm by Dave Yeo »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2095
  • Karma: +160/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #167 on: February 26, 2023, 09:25:13 pm »
I did check the videos on https://tools.woolyss.com/html5-audio-video-tester/ and everything that should work does work (no H.263, H.265 or MPEG-4) except the 'Chimera-AV1...' mp4 video with no sound - it starts, but then hangs, but the browser and system are still responsive. My gut feeling is that YouTube hangs the system because of Javascript problems, not video.

Question... do you have the 'block list' imported into Dooble? Pretty sure I do, and I can usually navigate youtube.com. This would btw support it being a javascript issue.... ie without the blocklist - there is too much crapola being loaded and it hangs...

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4805
  • Karma: +99/-1
    • View Profile
Re: Qt6 Application Testing
« Reply #168 on: February 26, 2023, 11:26:03 pm »
It hangs here with the block list installed.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2095
  • Karma: +160/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #169 on: February 27, 2023, 03:05:29 am »
Interesting! When it hangs, are you able to trigger a dump??

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4805
  • Karma: +99/-1
    • View Profile
Re: Qt6 Application Testing
« Reply #170 on: February 27, 2023, 03:07:34 am »
Yes, if I had a partition set up for it.  Should I set one up?

David McKenna

  • Hero Member
  • *****
  • Posts: 751
  • Karma: +24/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #171 on: February 27, 2023, 03:54:18 am »
 Hey Paul,

  Yes, I have the blocklist installed, and an anti-ad HOSTS file as well. I can provide a dump if you like.... where to send?

  I wouldn't be surprised if YouTube has a different main page depending on where the requester is located, so possibly different Javascript depending on where the request comes from.

Regards,

EDIT: I have a dump ready to go if you want it...
« Last Edit: February 27, 2023, 04:30:38 am by David McKenna »

David McKenna

  • Hero Member
  • *****
  • Posts: 751
  • Karma: +24/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #172 on: February 27, 2023, 04:37:15 am »
It almost works here with my most recent Qt5 version, setting up a wiki: search pointing at wikipedia.en.org and typing in wiki: OS/2 in the address bar gives an URL of http://http//wikipedia.en.org OS/2. Paul's Qt6 build is the same. I'd assume it is a Qt issue
Edit: Attach screen capture

 Hey Dave,

  Got it to work in the QT6 version... with Wikipedia I used syntax 'wiki:' and 'https://en.wikipedia.org/wiki/', and Google I used syntax 'goog:' with 'https://www.google.com/search?q='. I am not able to add the top list of available search engines by clicking 'add checked' though (that works in the QT5 version).

Regards,

EDIT: turns out the QT5 version was not properly updated to the newest - that seems to work fine now.
« Last Edit: February 27, 2023, 04:46:10 am by David McKenna »

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4805
  • Karma: +99/-1
    • View Profile
Re: Qt6 Application Testing
« Reply #173 on: February 27, 2023, 04:47:03 am »
Hi David, OK, my URL was screwed up, though attempting to search Wikipedia with your setting only opens up the main page, probably need something like Google has.
Did you download the latest Qt5 build, the syntax column shows up here.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4805
  • Karma: +99/-1
    • View Profile
Re: Qt6 Application Testing
« Reply #174 on: February 27, 2023, 04:50:51 am »
So tried to set up for a dump, going the 2GB route, after using memlimit to limit visible ram to 2GB's, YouTube no longer hangs here. Videos do hang after a few seconds of playing and it didn't take long to run out of memory, obvious by the output and get the usual trap 3 trp.
'Tis weird, I guess I should run memcheck
David, could your also test lowering your memory, or did you when getting your dump?

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4805
  • Karma: +99/-1
    • View Profile
Re: Qt6 Application Testing
« Reply #175 on: February 27, 2023, 05:09:50 am »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2095
  • Karma: +160/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #176 on: February 27, 2023, 05:59:04 am »
Hi Dave,

So tried to set up for a dump, going the 2GB route, after using memlimit to limit visible ram to 2GB's, YouTube no longer hangs here. Videos do hang after a few seconds of playing and it didn't take long to run out of memory, obvious by the output and get the usual trap 3 trp.
'Tis weird, I guess I should run memcheck
David, could your also test lowering your memory, or did you when getting your dump?

Virtualaddresslimit may come into this too - I'm testing with 3072. The video hanging was an irrecoverable hang or they just stopped playing?

Not sure if I want a dump - I currently don't have any experience processing them - it was partly just curiosity to see how dead the system was... I can probably reproduce a hang here on bare metal which would save the hassle of uploading dumps....

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4805
  • Karma: +99/-1
    • View Profile
Re: Qt6 Application Testing
« Reply #177 on: February 27, 2023, 07:24:48 am »
The video stopping was recoverable. Retried with various other memlimit settings including the 2GB that previously worked, kept hanging hard. It's weird as once in a while it works. I have VIRTUALADDRESSLIMIT=3072. It's all frustrating as Qt5 Dooble, which has similar problems playing a video, never hangs.

roberto

  • Hero Member
  • *****
  • Posts: 810
  • Karma: +3/-6
    • View Profile
Re: Qt6 Application Testing
« Reply #178 on: February 27, 2023, 10:01:54 am »
Thanks - this is definitely memory exhaustion... note the errors in the console from memory.cc The SIGTRAP is just a side effect of running out of memory.
Well, if the memory is exhausted, why not increase it.?
I am testing with good results:
rem are ok=544000 640000 768000 896000 1024000 1536000 2048000
SWAPPATH=L:\ 0 2560000
My ramdisk is 4,5gb now.
Saludos
It seems to me that you have not seen or have not understood this message.
This application is working almost perfect, with 2560000 at the Swappph. My problem is that I am not able to start the system with a Swappath of that size. I did it once and it was perfect. If I can easily start it with lower values. And although improvements are seen it is not perfect. With a 2048000 swappath, it improves a lot and is very useful, but fails.
Look at the Linear Memory at theSseus4 At the end of the list(linear usage by process), libraries are loaded in memory in another way, with 2048000.
If someone manages to start it with 2560000 to keep it and comment, because it is not easy to repeat it. At least for me.
saludos

David McKenna

  • Hero Member
  • *****
  • Posts: 751
  • Karma: +24/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #179 on: February 27, 2023, 12:19:34 pm »
 Hey Dave,

  I did download your QT5 version again and now everything works fine. I am able to use 'https://en.wikipedia.org/wiki/' with an alias 'wiki:' to search with no problem - not clear why you can't. I am also testing using VIRTUALADDRESSLIMIT=2560, but have also tried 3072 and it doesn't really seem to matter...

Regards,