Board index FlightGear Support Hardware

Frequent constant random crashes

Joysticks, pedals, monitors.

Re: Frequent constant random crashes

Postby chrisb » Thu Mar 13, 2014 8:37 am

It doesnt seem to crash doing a constant loop
The only way to crash is to actually play it

correction, it does crash on a loop, at random spots
Last edited by chrisb on Sat Mar 15, 2014 9:25 pm, edited 1 time in total.
chrisb
 
Posts: 136
Joined: Mon Oct 21, 2013 9:46 pm
Location: YLIL, YMML
Callsign: cnb123
Version: git
OS: Win7 64bit

Re: Frequent constant random crashes

Postby chrisb » Fri Mar 14, 2014 12:41 pm

This is getting very frustrating
I cant even make short distances

It might have something to do with the joystick
But I cant be sure as I have no idea what the trigger is???
chrisb
 
Posts: 136
Joined: Mon Oct 21, 2013 9:46 pm
Location: YLIL, YMML
Callsign: cnb123
Version: git
OS: Win7 64bit

Re: Frequent constant random crashes

Postby Johan G » Fri Mar 14, 2014 2:46 pm

I assume you have tried to raise the log level to "bulk".

With 3.0 I have some problem with crashes as well, though not of the same magnitude as some of you seem to have. Unfortunately I do not get what might be wrong as the log does not show anything odd (I have kept log level on "bulk" since installing) and the memory consumption is constant and does not reach 100%. :?

I guess I am not alone in hating intermittent errors. ;)
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: Frequent constant random crashes

Postby chrisb » Sat Mar 15, 2014 12:23 am

Log level on bulk doesnt seem to give me any extra information... :(
I just hope the multitude of submitted error reports is of any help, I do add my email address to the reports
chrisb
 
Posts: 136
Joined: Mon Oct 21, 2013 9:46 pm
Location: YLIL, YMML
Callsign: cnb123
Version: git
OS: Win7 64bit

Re: Frequent constant random crashes

Postby Hooray » Sat Mar 15, 2014 6:20 am

chrisb wrote in Sat Mar 15, 2014 12:23 am:I just hope the multitude of submitted error reports is of any help, I do add my email address to the reports

I don't think those are made available for others at all - according to recent devel list postings, James is the only one able to access them, and he already said he cannot handle the sheer amount of bug reports ... so either those bug reports need to be made available so that others can help triage/review them, or the bug tracker remains the preferred mechanism. However, the main issue is quality of bug reports, i.e. people not being able to provide backtraces and good diagnostics usually. Which is something where the integrated bug reporting tool could help with in the long term. But we need to expose more internals for this to work, while also providing a way for others to help more easily.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Frequent constant random crashes

Postby chrisb » Sat Mar 15, 2014 9:21 pm

Hooray wrote in Sat Mar 15, 2014 6:20 am:
chrisb wrote in Sat Mar 15, 2014 12:23 am:However, the main issue is quality of bug reports, i.e. people not being able to provide backtraces and good diagnostics usually. Which is something where the integrated bug reporting tool could help with in the long term. But we need to expose more internals for this to work, while also providing a way for others to help more easily.


Problem with that is most players are not programmers and have no idea how or what to provide
chrisb
 
Posts: 136
Joined: Mon Oct 21, 2013 9:46 pm
Location: YLIL, YMML
Callsign: cnb123
Version: git
OS: Win7 64bit

Re: Frequent constant random crashes

Postby Johan G » Sun Mar 16, 2014 1:46 am

chrisb wrote in Sat Mar 15, 2014 9:21 pm:Problem with that is most players are not programmers and have no idea how or what to provide

I think you might have hit the head of the nail there. :)

I have some ideas on that, but they are quite off topic so I instead created the topic: Helping users in the long term.
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: Frequent constant random crashes

Postby chrisb » Mon Mar 17, 2014 2:16 am

Are there any debug tools I can use, the main problem I have is that I cant trigger the crash as it seems to be totally random
I also cant decipher the crash report
Does an FGFS version exist that has debug turned on?
How do I compile FG on windows?
chrisb
 
Posts: 136
Joined: Mon Oct 21, 2013 9:46 pm
Location: YLIL, YMML
Callsign: cnb123
Version: git
OS: Win7 64bit

Re: Frequent constant random crashes

Postby Hooray » Mon Mar 17, 2014 6:36 am

chrisb wrote in Mon Mar 17, 2014 2:16 am:Are there any debug tools I can use, the main problem I have is that I cant trigger the crash as it seems to be totally random I also cant decipher the crash report

You would need a so called "debugger" and a binary with debugging symbols linked into it, which would give you a so called "backtrace".

chrisb wrote in Mon Mar 17, 2014 2:16 am:Does an FGFS version exist that has debug turned on?


I think the build server binaries ("nightlies") should have debugging symbols linked in, but you'll still need to use a debugger (i.e. MSVC++) to actually make use of those.

chrisb wrote in Mon Mar 17, 2014 2:16 am:How do I compile FG on windows?


http://wiki.flightgear.org/Superbuild

If that doesn't work for you, use these instructions instead:
http://wiki.flightgear.org/Building_usi ... _-_Windows
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Frequent constant random crashes

Postby chrisb » Tue Mar 18, 2014 1:55 am

I can do it on my linux machine but it never crashes on linux
Is MSVC++ free?

Are the tools free to compile?
I'll attempt a self compile
chrisb
 
Posts: 136
Joined: Mon Oct 21, 2013 9:46 pm
Location: YLIL, YMML
Callsign: cnb123
Version: git
OS: Win7 64bit

Re: Frequent constant random crashes

Postby Hooray » Tue Mar 18, 2014 2:34 am

MSVC++ express is free, the wiki should contain all relevant pointers and instructions
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Frequent constant random crashes

Postby chrisb » Wed Mar 19, 2014 2:56 am

It fails on the first step trying to compile a simple program

Code: Select all
 LINK : fatal error LNK1123: failure during conversion to COFF: file invalid
  or corrupt
  [C:\Users\chris\Desktop\fgfs-build2\CMakeFiles\CMakeTmp\cmTryCompileExec1905498524.vcxproj]


OK the fix is to install the visual studio 2010 SP1
Might want to add that to the wiki as apparently its a common problem especially if .net 4.5 is installed
chrisb
 
Posts: 136
Joined: Mon Oct 21, 2013 9:46 pm
Location: YLIL, YMML
Callsign: cnb123
Version: git
OS: Win7 64bit

Re: Frequent constant random crashes

Postby chrisb » Wed Mar 19, 2014 1:05 pm

I could not install the 64bit SDK so I compiled the 32bit binaries
Simgear and flightgear seems to have compiled and completed successfully
I did have to move the osg dll files into the bin directory

Now I need to get fgdata from git
I'm using smartgit but It is extremely slow, is there any way to speed up the process, like pre downloading the files into the local repository then doing a fetch on it?
or how do i make smartgit resume fetch, fgdata is like 30% and downloaded 3GB or is it 6GB so far???
chrisb
 
Posts: 136
Joined: Mon Oct 21, 2013 9:46 pm
Location: YLIL, YMML
Callsign: cnb123
Version: git
OS: Win7 64bit

Re: Frequent constant random crashes

Postby chrisb » Thu Mar 20, 2014 9:40 am

I need all of fgdata just to run my own compile???


Code: Select all
git clone git://gitorious.org/fg/fgdata --depth=1

Closest I could get to an improvement 63k objects down from 229k, i dont need the history and I doubt 95% of the people that compile from source dont need it either
chrisb
 
Posts: 136
Joined: Mon Oct 21, 2013 9:46 pm
Location: YLIL, YMML
Callsign: cnb123
Version: git
OS: Win7 64bit

Re: Frequent constant random crashes

Postby Hooray » Thu Mar 20, 2014 10:06 am

chrisb wrote in Thu Mar 20, 2014 9:40 am:I need all of fgdata just to run my own compile???


nope, you only need fgdata to actually run your compiled binary. And you don't need the whole repo for that - but it makes sense to check out the fgdata repo if you intend to do any development.

Now I need to get fgdata from git
I'm using smartgit but It is extremely slow, is there any way to speed up the process, like pre downloading the files into the local repository then doing a fetch on it?

please see: http://wiki.flightgear.org/Downloading_ ... bittorrent

Might want to add that to the wiki as apparently its a common problem especially if .net 4.5 is installed

please feel free to get involved in the wiki, all contributions are appreciated, and we're there to help you in case you get stuck somewhere.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

PreviousNext

Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests