(PB 5.72 Beta 2) - OpenWindowedScreen example crashes

Linux specific forum
bytecave
User
User
Posts: 40
Joined: Mon Aug 13, 2012 7:26 am

(PB 5.72 Beta 2) - OpenWindowedScreen example crashes

Post by bytecave »

In running the first example from the docs for OpenWindowedScreen ("Example: Fixed screen size with gadgets"), the code begins to execute and then somewhere within the inner Repeat loop, it eventually crashes and the following error is displayed: "The debugged executable quit unexpectedly."

This bug report is about giving a repro scenario. I am not sure what in the window loop is causing the crash. I get the same behavior with my own app, but narrowing the repro down to the PureBasic docs example seems better than trying to copy/paste all my code.

My Repro
  • Install 64-bit Linux Mint Tricia Cinnamon.
    Download and extract PureBasic 5.72 Beta 2.
    Run ./checkinstall.sh and then run the recommended "sudo apt-get" command.
    --all of the above work flawlessly, super easy install on Linux.
    Run ./register.sh
    Run ./launch.sh

    Search for and paste in the top example from OpenWindowedScreen and press F5 to run.
I can try a different Linux distro if that is helpful in narrowing things down.
#NULL
Addict
Addict
Posts: 1440
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: (PB 5.72 Beta 2) - OpenWindowedScreen example crashes

Post by #NULL »

Does not happen here, runs fine. Ubuntu 18.04.
bytecave
User
User
Posts: 40
Joined: Mon Aug 13, 2012 7:26 am

Re: (PB 5.72 Beta 2) - OpenWindowedScreen example crashes

Post by bytecave »

#NULL wrote:Does not happen here, runs fine. Ubuntu 18.04.
Do you happen to be running Cinammon? Or what Desktop Manager are you running? I'll try with the same. Thank you!
#NULL
Addict
Addict
Posts: 1440
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: (PB 5.72 Beta 2) - OpenWindowedScreen example crashes

Post by #NULL »

It's an Ubuntu Studio running xfce

Code: Select all

[user]~>cat /etc/debian_version /etc/issue /etc/lsb-release ; uname -a ; uname -r ; arch
buster/sid
Ubuntu 18.04.4 LTS \n \l

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
Linux ThinkPad-T410 4.15.0-88-lowlatency #88-Ubuntu SMP PREEMPT Tue Feb 11 20:51:55 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
4.15.0-88-lowlatency
bytecave
User
User
Posts: 40
Joined: Mon Aug 13, 2012 7:26 am

Re: (PB 5.72 Beta 2) - OpenWindowedScreen example crashes

Post by bytecave »

Thank you. I tried XFCE and still get the crash on Mint Tricia. I'll fire up an Ubuntu VM and give it a whirl.

[EDIT]: Created Ubuntu 18.04 LTS desktop VM and everything works there. PB 5.72 Beta 2 definitely does not seem to like Mint 19 Tricia.

Debugging PB compiler and IDE internals on Linux has to be unbelievably difficult. Having to support 18,000 configurations :) of OS/version/desktop would be brutal. I'll try back once 5.72 goes live and see if they've got it working on Tricia.

Appreciate your help!

Rich
Post Reply