It is currently Sun Apr 11, 2021 1:03 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: (PB 5.72 Beta 2) - OpenWindowedScreen example crashes
PostPosted: Tue Mar 10, 2020 3:39 am 
Offline
User
User

Joined: Mon Aug 13, 2012 7:26 am
Posts: 40
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: (PB 5.72 Beta 2) - OpenWindowedScreen example crashes
PostPosted: Tue Mar 10, 2020 7:45 am 
Offline
Addict
Addict

Joined: Thu Aug 30, 2007 11:54 pm
Posts: 1309
Location: right here
Does not happen here, runs fine. Ubuntu 18.04.


Top
 Profile  
Reply with quote  
 Post subject: Re: (PB 5.72 Beta 2) - OpenWindowedScreen example crashes
PostPosted: Tue Mar 10, 2020 5:19 pm 
Offline
User
User

Joined: Mon Aug 13, 2012 7:26 am
Posts: 40
#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!


Top
 Profile  
Reply with quote  
 Post subject: Re: (PB 5.72 Beta 2) - OpenWindowedScreen example crashes
PostPosted: Tue Mar 10, 2020 10:27 pm 
Offline
Addict
Addict

Joined: Thu Aug 30, 2007 11:54 pm
Posts: 1309
Location: right here
It's an Ubuntu Studio running xfce
Code:
[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


Top
 Profile  
Reply with quote  
 Post subject: Re: (PB 5.72 Beta 2) - OpenWindowedScreen example crashes
PostPosted: Wed Mar 11, 2020 12:18 am 
Offline
User
User

Joined: Mon Aug 13, 2012 7:26 am
Posts: 40
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye