IDE crash when starting 3D examples

Post bugs related to the IDE here
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: IDE crash when starting 3D examples

Post by StarBootics »

Hello everyone,

Something I don't understand I have try the code on my laptop and the IDE didn't crash at all and I'm using the same version of PB. The only thing that differ is the fact that my laptop has Ubuntu 21.04 x64 installed and I have installed libraries by launching this command in the Terminal :
sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk-3-dev unixodbc-dev libxine2-dev libxxf86vm-dev
Libs that can't be found and/or be installed :
  • libgnome2-dev
  • libwebkitgtk-3.0-dev
  • libwebkitgtk-dev
  • libwebkitgtk-3.0-dev
And everything is perfectly fine.

I will first do a complete Backup of my files and I will try to Upgrade Ubuntu from 20.04.2 to 21.04 to see if some old libraries will be removed.

The backup will take about 30 minutes and the upgrades I don't know.

But as is the IDE is crashing with both the Programie and my code snippets.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: IDE crash when starting 3D examples

Post by StarBootics »

Hello everyone,

The upgrades of Ubuntu from 20.04.2 to 20.10 then from 20.10 to 21.04 are completed. That being said I have try the code snippet I have provided few post before on both 20.10 and 21.04 and the IDE is crashing on both.

It is possible to have an updated list of library dependency for PureBasic so I can check and compare the ones installed on my PC and my Laptop ?

EDIT :
I have launch in the Terminal this instruction :
dpkg --get-selections > selections.txt
This is the file with I think all installed libraries : https://www.dropbox.com/s/xkfqsc26xtwih ... s.txt?dl=0

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
mk-soft
Always Here
Always Here
Posts: 5334
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: IDE crash when starting 3D examples

Post by mk-soft »

I use this packet installation

Link: viewtopic.php?f=15&t=74875
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: IDE crash when starting 3D examples

Post by StarBootics »

mk-soft wrote: Wed May 05, 2021 7:13 pm I use this packet installation

Link: viewtopic.php?f=15&t=74875
I have followed and check if the packages you listed are in fact installed and guess what they are all installed with the most up to date version. And still I experience the crash :arrow: Segmentation error (Core dumped) :(

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: IDE crash when starting 3D examples

Post by StarBootics »

Hello everyone

As I have said before I can't reproduce this bug on my Laptop so as comparison this is the list of installed libraries obtained by launching
dpkg --get-selections > selections.txt
https://www.dropbox.com/s/0l8pp0kkannhj ... s.txt?dl=0

If some can tell me which library is faulty on my PC it will be nice.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
langinagel
Enthusiast
Enthusiast
Posts: 131
Joined: Fri Jan 28, 2005 11:53 pm
Location: Germany
Contact:

Re: IDE crash when starting 3D examples

Post by langinagel »

Same here.

Ubuntu 20.04 LTS with PB 5.73LTS
PBIDE build on 11/23/2020 [09:29] by fred
Branch: master Revision: 79192e40282a

I just try the Bridge 3D example. Each time the program is started the IDE crashes.
Had in between an update ...sufficiently stable.
Updating today intermediatly brought up the same 'ol instability.

Is an older version a solution? 5.72 ran long enough stable.

Greetings
LN
https://www.doerpsoft.org

Boost. Work. Efficiency.
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: IDE crash when starting 3D examples

Post by StarBootics »

langinagel wrote: Wed Oct 13, 2021 9:16 pm Same here.

Ubuntu 20.04 LTS with PB 5.73LTS
PBIDE build on 11/23/2020 [09:29] by fred
Branch: master Revision: 79192e40282a

I just try the Bridge 3D example. Each time the program is started the IDE crashes.
Had in between an update ...sufficiently stable.
Updating today intermediatly brought up the same 'ol instability.

Is an older version a solution? 5.72 ran long enough stable.

Greetings
LN
With the debbuger active ?
The Stone Age did not end due to a shortage of stones !
freak
PureBasic Team
PureBasic Team
Posts: 5929
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: IDE crash when starting 3D examples

Post by freak »

I tried to reproduce this but so far with no luck. Could you try to run a debug build of the IDE to help track this down?

Compiling the IDE is now quite simple also on Linux:
https://github.com/fantaisie-software/purebasic/
https://github.com/fantaisie-software/p ... l/BUILD.md

This could help:
  • Setup a build environment as per the instructions above
  • Run "make debug" from the IDE directory
  • Start the IDE from the commandline (will run the IDE with commandline debugger)
  • Reproduce the problem
  • Hopefully the commandline debugger will print some useful information about the error
quidquid Latine dictum sit altum videtur
Post Reply