Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / A lot of app crash

Author
Message
Alduce
21
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 7th Mar 2013 16:30 Edited at: 7th Mar 2013 16:31
Hi, from 3 or 4 days I am getting random "app crash" error when my game is starting.. sometimes yes and sometimes not, using the same, identical code.

Same times I need to start run button 3 or 4 times until I get no app crash error..

Some idea?
here the error pic:

Attachments

Login to view attachments
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 7th Mar 2013 18:00
Are you using DarkDynamix or DarkPhysics?

Alduce
21
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 7th Mar 2013 18:35
yes! Dark Dynamix..
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 7th Mar 2013 23:45
Did you install this?

http://www.nvidia.co.uk/object/physx-9.12.1031-driver-uk.html

I know it is not needed, but test it with this removed and installed... see if it is a plugin bug or not so you can dispel that question...

The next step would be your code... I guess...

Alduce
21
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 8th Mar 2013 09:42 Edited at: 8th Mar 2013 09:44
yes I had physx9.12.1031 drivers installed but currently I unistalled it.

with physx9.12.1031 = many many crashes
without physx9.12.1031 = less crashes

Could be my code blame but If I close the IDE and reload my project so I sure get my game working.
Over that, in the first run project attempt from the IDE loading I am sure my project will start correctly.

If I can't run my project cause the app crash so I need just to save all, close the IDE, reload the IDE and reopen my project and I will get my game running....
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 8th Mar 2013 09:47
Try starting a new project, open the code in a text editor and copy the code to the new project, could be a file issue...

Where is everybody recently?

Alduce
21
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 8th Mar 2013 10:06 Edited at: 8th Mar 2013 10:08
Quote: "Where is everybody recently?"


I think you mean the project files;
My project is in a main folder containing 161 files and 13 media folders.. 179mb in total..


I will try your method but I already make a new main folder all days.
So I have hundred of project main folder.. so I can back to older game version when I want.

I need to tell that the problem born after I done the following (so and so 4 days ago):
1) I made a backup of my main DBPro folder (v 7.62)
2) So using the new DBPro main folder I reinstall 7.61 patch to try to avoid the DBPro fog bug.
3) I notice that the 7.61 version is not compatible with DarkDynamix
4) So I delete this modified DBPro main folder and back to use the backup main folder, the 7.62.
5) Then theoretically I done no damage to my original DBPro version
but the app crash problem born... just coincidence?
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 8th Mar 2013 10:21
I had a similar issue recently... But not pointing any fingers just yet... Try installing DBP in C:\DBPRO

Alduce
21
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 8th Mar 2013 10:31
Did you solved in some way reinstall DBPro directly in root c: ?

(this morning again no crashes... maybe the unistall of PhysX drivers solved the problem?)
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 8th Mar 2013 10:37
No just, Program Files on Vista and upwards is a protected folder... it often causes these kinds of issues... though I may be incorrect in saying so... but it DOES cause Compile issues

Alduce
21
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 8th Mar 2013 11:00
Ah ok, however today no app crashes here... hoping...
Alduce
21
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 6th Apr 2013 12:19 Edited at: 6th Apr 2013 12:19
Hi again MrValentine and hi all, unfortunately the problem increasing as my code grows
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 6th Apr 2013 12:39
Do you know what line is causing the crash? Are you logging?

You need to find out what line of code is causing the crash, you need to be 100% certain what the cause of errors are.

If you did install Matrix1 then you can use the log commands and write out the progress of your process. Logging is saved to disk while the program is running before it closes.

The last output into the report reveals where the problem is. If you do not feel comfortable using log files, try message boxes or text on the screen; give yourself feedback to work with.

Log example code:


You do it between major parts of the process, when you find out the problematic section of the code, you narrow it down by adding more log statements in high frequency between every few lines of code. It's down to your judgement to decide what commands are worth logging.

If it crashes on various unrelated lines; it is more likely an external software issue or hardware conflict.

Alduce
21
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 6th Apr 2013 12:48 Edited at: 6th Apr 2013 12:49
Really thank you for help Chris, Today I will try to use Matrix1 to see what the log says.

But the problem not start in the middle of the program execution. The problem seems born just when the
DarkDynamix engine start.

So In my code I have a first part that show you a menu
with some little options; this part of code is
BEFORE the DarkDyanamix initialization code.
NEVER I got crashes before or during the menu, always later and always BEFORE I can see my 3D scene.

I am pretty sure the problem is in some DarkDynamix
bug cause with the same identical code I can
get the problem or just not..

by the way I will try to install Matrix1 to try the
log method to try to discover something more to know.

Login to post a reply

Server time is: 2024-04-19 10:49:03
Your offset time is: 2024-04-19 10:49:03