|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
SmartDashboard Crashing
I've just recently started using the SmartDashboard and I'm having trouble with it crashing. It'll literally only stay open for 1-1.5 minutes and then it'll just suddenly close. The major problem with this is that we use custom settings that aren't being saved when we save our SmartDashboard .xml profile. (Window size, IP of the cameras, label backgrounds)
I've tried running the jar from a Command Prompt and am not seeing any unusual output or errors. |
|
#2
|
||||
|
||||
|
Re: SmartDashboard Crashing
This may be related to http://firstforge.wpi.edu/sf/go/artf...3284057978 48 if you're running the camera display.
|
|
#3
|
|||
|
|||
|
Re: SmartDashboard Crashing
Quote:
|
|
#4
|
|||
|
|||
|
Re: SmartDashboard Crashing
You might want to try this post as well:
http://www.chiefdelphi.com/forums/sh...67&postcount=6 It has a zip file containing a replacement WPIJavaCV.jar file (built from source on 2012-Feb-05) that seems to have addressed the memory leak issue that we ran across while using the SmartDashboard for image processing. NOTE: This isn't a official release of the JAR file, I just downloaded the source directly from the WPI subversion server and built it. So, if you are not in a hurry, it might be wise to wait for a official release. |
|
#5
|
|||
|
|||
|
Re: SmartDashboard Crashing
Quote:
|
|
#6
|
|||
|
|||
|
Re: SmartDashboard Crashing
Quote:
|
|
#7
|
|||
|
|||
|
Re: SmartDashboard Crashing
Quote:
http://firstforge.wpi.edu/sf/sfmain/do/createUser |
|
#8
|
||||
|
||||
|
Re: SmartDashboard Crashing
I tried all of the fixes available in this thread and they just seemed to exacerbate the problem.
|
|
#9
|
|||
|
|||
|
Re: SmartDashboard Crashing
Quote:
We reliably get an EXCEPTION_ACCESS_VIOLATION if we run smartdashboard directly. Now if I could only figure out how to fix it... |
|
#10
|
||||
|
||||
|
Re: SmartDashboard Crashing
We also are seeing the same EXCEPTION_ACCESS_VIOLATION crash after about 10 min under the same circumstances. Happening reliably on several different machines now. We're not having much luck fixing it so far.
|
|
#11
|
||||
|
||||
|
Re: SmartDashboard Crashing
Still having the same issues here. Happens on every computer we try regardless of OS or configuration. The faster the computer, the less time until we crash. The camera feed also temporarily drops for a few seconds just before the entire app crashes.
|
|
#12
|
|||||
|
|||||
|
Re: SmartDashboard Crashing
We are also still having this issue, although it takes a good 20 minutes before it happens on our machine. I have confirmed that there are no (egregious) memory leaks remaining, but every now and then I turn around in the pit and SmartDashboard has crashed.
I have instructed our drivers to restart SmartDashboard immediately before any match, and as a result we haven't seen any problems behind the glass. |
|
#13
|
|||
|
|||
|
Re: SmartDashboard Crashing
Quote:
Then when it exits you will likely get more information. The problem we are seeing is with an access violation. I suspect the memory leak problem exhibited something different. You can also do java -jar -ea SmartDashboard.jar and get a little more output. |
|
#14
|
|||||
|
|||||
|
I'd like to try your fix, I'm using my iPod to view the forums so I can't find a way to PM you, but I would like to try it.
|
|
#15
|
|||
|
|||
|
Re: SmartDashboard Crashing
I copied the jar to another laptop we have with smartdashboard installed. It's been running 30 minutes now, never made it past 5 or 10 before. So I'm hopeful. Still wish I knew why this changes the behavior, but I'm no Java guru.
At least I know the jar doesn't have any odd dependencies. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|