Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

QB64(GL) hangs the whole system.

Help and support for Ultimate Edition 3.8


QB64(GL) hangs the whole system.

Postby S3KshuN8 » Tue Feb 18, 2014 9:01 pm

In a BASIC program I am trying to build very large strings (> 128MB) but the system becomes unresponsive, forcing me to do a hard shutdown by holding the power button down for 4 seconds.

This is an example (BASIC):
Code: Select all
GridObject$ = ""
FOR I&& = 1 TO 178956971
    IF I&& MOD 100000 = 0 THEN PRINT I&&; "of 178956971 ...";
    IF I&& = 178956971 THEN GridObject$ = GridObject$ + "7|" ELSE GridObject$ = GridObject$ + "0"
NEXT I&&


It may be a problem with the GL version of QB64, it's not nearly as stable as the SDL version of QB64 for linux. In any case, it should not cause the operating system to hang, so that's why I'm mentioning it here. Somewhere around 2.8 million characters is when it hangs the system. It has done this to me 3 times now in 3 different locations. I'd like to try it with QB64(SDL) but it requires SDL libraries which are not installed in Ultimate Edition 3.8 and I don't know how to properly install them.
Last edited by S3KshuN8 on Wed Feb 19, 2014 5:23 pm, edited 1 time in total.
Dell Inspiron laptop:
Intel Core i3-2370M @ 2.4GHz (quad core); 4GB RAM;
200GB HDD (dual-boot) Win 7 64-bit and U E 5.0 64-bit

Tower:
Intel Core i7-4770K @ 3.5 GHz (8 core); 8GB RAM;
118GB SSD, 111GB HDD; 232GB HDD; 465GB USB HDD
Soon to be dual-boot Win 7 64-bit and U E 5.0 64-bit
User avatar
S3KshuN8
U.E. Pro
U.E. Pro
 
Posts: 103
Joined: Sun Dec 15, 2013 3:08 am
Operating System: Other Linux



Re: QB64(GL) hangs the whole system.

Postby pam » Tue Feb 18, 2014 11:34 pm

Here's hoping Canonical has it in the repos:
type in terminal:
Code: Select all
sudo apt-get install sdl2


Then check. You can chit chat at their forums too... http://forums.libsdl.org/
DONOTSPAMORTROLL:
http://forumubuntusoftware.info/viewtopic.php?f=9&t=11
Download Ultimate Edition and Oz Unity 3.0 from copy:-
https://www.copy.com/s/oBnDBsDOvxF8jW1EuLKM/Public
Download Ultimate Edition from sourceforge:-
http://sourceforge.net/projects/ultimat ... rce=navbar
Download Oz Unity 3.0 from sourceforge:-
http://sourceforge.net/projects/ueoz/files/UEOz/
Download Ultimate Edition torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Download Oz Unity 3.0 torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Image Image
Visit:http://www.ultimateeditionoz.com
User avatar
pam
Site Admin
 
Posts: 1087
Joined: Wed May 25, 2011 5:56 am
Location: India
Age: 38
Operating System: Ultimate Edition 3.5 64 BIT



Re: QB64(GL) hangs the whole system.

Postby S3KshuN8 » Wed Feb 19, 2014 12:22 am

Thanks for the quick reply. The laptop is currently in windows running a similar program which will take a considerable amount of time to complete, after that I will switch over to linux and try that out. I knew it was something simple. Thanks again.
Dell Inspiron laptop:
Intel Core i3-2370M @ 2.4GHz (quad core); 4GB RAM;
200GB HDD (dual-boot) Win 7 64-bit and U E 5.0 64-bit

Tower:
Intel Core i7-4770K @ 3.5 GHz (8 core); 8GB RAM;
118GB SSD, 111GB HDD; 232GB HDD; 465GB USB HDD
Soon to be dual-boot Win 7 64-bit and U E 5.0 64-bit
User avatar
S3KshuN8
U.E. Pro
U.E. Pro
 
Posts: 103
Joined: Sun Dec 15, 2013 3:08 am
Operating System: Other Linux



Re: QB64(GL) hangs the whole system.

Postby S3KshuN8 » Wed Feb 19, 2014 5:33 pm

pam wrote:sudo apt-get install sdl2


That did not work. I also tried "sudo apt-get install sdl". I can get the necessary files from the QB64 site, I just have to hunt them down. But the main reason for this thread was to make someone here aware of the fact that my QB64(GL) program causes U E 3.8 to hang, forcing me to kill the computer. It should not do this.
Dell Inspiron laptop:
Intel Core i3-2370M @ 2.4GHz (quad core); 4GB RAM;
200GB HDD (dual-boot) Win 7 64-bit and U E 5.0 64-bit

Tower:
Intel Core i7-4770K @ 3.5 GHz (8 core); 8GB RAM;
118GB SSD, 111GB HDD; 232GB HDD; 465GB USB HDD
Soon to be dual-boot Win 7 64-bit and U E 5.0 64-bit
User avatar
S3KshuN8
U.E. Pro
U.E. Pro
 
Posts: 103
Joined: Sun Dec 15, 2013 3:08 am
Operating System: Other Linux



Re: QB64(GL) hangs the whole system.

Postby pam » Wed Feb 19, 2014 11:07 pm

Quite strange indeed.
I take it you are running this on the dell inspiron.
What graphics card are you using? Have you installed the drivers?
DONOTSPAMORTROLL:
http://forumubuntusoftware.info/viewtopic.php?f=9&t=11
Download Ultimate Edition and Oz Unity 3.0 from copy:-
https://www.copy.com/s/oBnDBsDOvxF8jW1EuLKM/Public
Download Ultimate Edition from sourceforge:-
http://sourceforge.net/projects/ultimat ... rce=navbar
Download Oz Unity 3.0 from sourceforge:-
http://sourceforge.net/projects/ueoz/files/UEOz/
Download Ultimate Edition torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Download Oz Unity 3.0 torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Image Image
Visit:http://www.ultimateeditionoz.com
User avatar
pam
Site Admin
 
Posts: 1087
Joined: Wed May 25, 2011 5:56 am
Location: India
Age: 38
Operating System: Ultimate Edition 3.5 64 BIT



Re: QB64(GL) hangs the whole system.

Postby S3KshuN8 » Wed Feb 19, 2014 11:56 pm

pam wrote:Quite strange indeed.
I take it you are running this on the dell inspiron.
What graphics card are you using? Have you installed the drivers?


Yes, its the dell. According to windows device manager its an "Intel(R) HD Graphics 3000". I didn't install any drivers, the 3.8 installer did that automatically. I'm not doing anything related to graphics, so a video driver problem seems unlikely. I would think if that were it, it would freeze right away and not 2.7 to 2.9 million bytes into building a string...
Dell Inspiron laptop:
Intel Core i3-2370M @ 2.4GHz (quad core); 4GB RAM;
200GB HDD (dual-boot) Win 7 64-bit and U E 5.0 64-bit

Tower:
Intel Core i7-4770K @ 3.5 GHz (8 core); 8GB RAM;
118GB SSD, 111GB HDD; 232GB HDD; 465GB USB HDD
Soon to be dual-boot Win 7 64-bit and U E 5.0 64-bit
User avatar
S3KshuN8
U.E. Pro
U.E. Pro
 
Posts: 103
Joined: Sun Dec 15, 2013 3:08 am
Operating System: Other Linux



Re: QB64(GL) hangs the whole system.

Postby pam » Thu Feb 20, 2014 12:53 am

Ok.
The GL related issues is to do with the graphics stack. The problem would not pertain to Ultimate Edition 3.8 as its built from ubuntu. It could be a bug in QB64 while working with sandybridge graphics.
You could recreate and create a log of the bug and send it to the devs of QB64...

In that case lets use software....install sdl2 on linux:
Download it from http://www.libsdl.org/tmp/SDL-2.0.2-8197.tar.gz
Next follow the instructions from the link below for installing it on linux:
http://nothingtocode.blogspot.in/2013/0 ... -mint.html

If you face any problems dont hesitate to ask...
DONOTSPAMORTROLL:
http://forumubuntusoftware.info/viewtopic.php?f=9&t=11
Download Ultimate Edition and Oz Unity 3.0 from copy:-
https://www.copy.com/s/oBnDBsDOvxF8jW1EuLKM/Public
Download Ultimate Edition from sourceforge:-
http://sourceforge.net/projects/ultimat ... rce=navbar
Download Oz Unity 3.0 from sourceforge:-
http://sourceforge.net/projects/ueoz/files/UEOz/
Download Ultimate Edition torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Download Oz Unity 3.0 torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Image Image
Visit:http://www.ultimateeditionoz.com
User avatar
pam
Site Admin
 
Posts: 1087
Joined: Wed May 25, 2011 5:56 am
Location: India
Age: 38
Operating System: Ultimate Edition 3.5 64 BIT



Re: QB64(GL) hangs the whole system.

Postby S3KshuN8 » Thu Feb 20, 2014 1:25 am

I posted it over there on the QB64 forum yesterday after I ran into the problem. The primary developer, Galleon, recently took on a full-time job and is giving that 100% leaving the rest of us temporarily hung out to dry... (Can't fault him for doing so but it is a bit frustrating.)

EDIT

For future reference to any who may try to install QB64, the magic command was:
Code: Select all
sudo apt-get install g++ libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev timidity


Now I'll try running the same code in QB64(SDL) to see if it hangs or works as it should...

EDIT

It's running now and is past the point where it froze the OS the three times I tried it...
I'll let it run overnight but since I have already chosen a different process, it probably won't execute to completion ;)
Dell Inspiron laptop:
Intel Core i3-2370M @ 2.4GHz (quad core); 4GB RAM;
200GB HDD (dual-boot) Win 7 64-bit and U E 5.0 64-bit

Tower:
Intel Core i7-4770K @ 3.5 GHz (8 core); 8GB RAM;
118GB SSD, 111GB HDD; 232GB HDD; 465GB USB HDD
Soon to be dual-boot Win 7 64-bit and U E 5.0 64-bit
User avatar
S3KshuN8
U.E. Pro
U.E. Pro
 
Posts: 103
Joined: Sun Dec 15, 2013 3:08 am
Operating System: Other Linux



Re: QB64(GL) hangs the whole system.

Postby pam » Thu Feb 20, 2014 11:39 am

COOL BOSS! :D

Thats one of the worst things about linux and open source....somewhere along the lines, commitment just breaks :cry:
<BREW>
DONOTSPAMORTROLL:
http://forumubuntusoftware.info/viewtopic.php?f=9&t=11
Download Ultimate Edition and Oz Unity 3.0 from copy:-
https://www.copy.com/s/oBnDBsDOvxF8jW1EuLKM/Public
Download Ultimate Edition from sourceforge:-
http://sourceforge.net/projects/ultimat ... rce=navbar
Download Oz Unity 3.0 from sourceforge:-
http://sourceforge.net/projects/ueoz/files/UEOz/
Download Ultimate Edition torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Download Oz Unity 3.0 torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Image Image
Visit:http://www.ultimateeditionoz.com
User avatar
pam
Site Admin
 
Posts: 1087
Joined: Wed May 25, 2011 5:56 am
Location: India
Age: 38
Operating System: Ultimate Edition 3.5 64 BIT



Re: QB64(GL) hangs the whole system.

Postby S3KshuN8 » Fri Feb 28, 2014 6:38 pm

I'm glad to report that Galleon is back to work on QB64, maybe not the same as before but more so than the past couple of months. Here's hoping there's a stable version of GL for linux by xmas. :D

<BREW>

PS. My simple string building program which causes the entire OS to hang, has anyone else tried to replicate this behavior?
Dell Inspiron laptop:
Intel Core i3-2370M @ 2.4GHz (quad core); 4GB RAM;
200GB HDD (dual-boot) Win 7 64-bit and U E 5.0 64-bit

Tower:
Intel Core i7-4770K @ 3.5 GHz (8 core); 8GB RAM;
118GB SSD, 111GB HDD; 232GB HDD; 465GB USB HDD
Soon to be dual-boot Win 7 64-bit and U E 5.0 64-bit
User avatar
S3KshuN8
U.E. Pro
U.E. Pro
 
Posts: 103
Joined: Sun Dec 15, 2013 3:08 am
Operating System: Other Linux

Next

Return to Ultimate Edition 3.8

Who is online

Users browsing this forum: No registered users and 3 guests