crash

new System.Transactions.TransactionScope() on background thread halts program

I have some code using a System.Transactions.TransactionScope, that creating a new instance of the transaction scope simply halts the program. There are no exceptions or messages, the program simply stops and Visual Studio returns to code editing mode. The process is completely gone. There are no exceptions, messages or events in the ...

iPhone NSNumberFormatter crash

Hi I want to format a NSDecimalNumber as a Dollars value ($1.50) but Im getting a crash. This is my method: +(NSString*) formatPriceForUser:(NSDecimalNumber*)dPrice{ NSNumberFormatter *formatter; if (!formatter) { formatter = [[NSNumberFormatter alloc] init]; [formatter setNumberStyle:NSNumberFormatterCurrencyStyle]; ...

Real Mode, Interrupt vector replacement Crashing

I'm trying to learn more about how systems really work underneath all the pretty graphics on top. So I'm currently playing with memory in the 512bytes that the BIOS loads on startup, can't really call it a bootloader at the moment I guess. Anyway, I'm replacing an interrupt vector but having issues with it. After replacing interupt 09h (...

How can I restore process state after a crash?

What's a good way to persist state when restarting a crashed process? I have a supervisor in an OTP application what watches several "subsystem" gen_servers. For example, one is a "weather" subsystem that generates a new weather state every 15 minutes and handles queries for the current state of the weather. (Think the lemonade stand ...

How to extract debugging information from a crash

hello, If my C++ app crashes on Windows I want to send useful debugging information to our server. On Linux I would use the GNU backtrace() function - is there an equivalent for Windows? Also, is there a way to extract useful debugging information after a program has crashed? Or only from within the process? Richard (Advice along the...

How to understand Java Hotspot Errors

Guys when the JVM Crashes it writes an Error Log hs_err_pid.log. I want to find out what caused the JVM to crash ? How to understand these Logs, is it documented anywhere on how this Log is arranged. I tried to search on the Net but to no avail :-( Pointing out to relevant URL's will be appreciated. Thanks. ...

Mysql Connections topping out within seconds

hello, i have aweird problem that has only just started happening. i have a small cluster (one web and one db) setup and i host a rather popular group of4 -5 sites that allow users to dynamicly create their own mobile chat communitys automaticly. each site gets its own mysql db createdand populated automaticly. this is all fine, but ...

Random crashes of Java VM in ConcurrentGCThread

We have problems with JVMs running internet applications under changing load. This problem comes and goes. One day we see three VMs dying and after that, there is nothing for a week or two. We have not found a pattern yet, found nothing to reproduce or cause it. Also a search in the Sun bug database did not help. We tried a suggested wo...

EXC_BAD_ACCESS in CALayerCollectLayers_ on the iPhone

When running on the device: Program received signal: “EXC_BAD_ACCESS”. Debugger: #0 0x31e11158 in CALayerCollectLayers_ #1 0x31e11180 in CALayerCollectLayers_ #2 0x31e11180 in CALayerCollectLayers_ #3 0x31dd7428 in CALayerDisplayIfNeeded #4 0x31dd5780 in CAContextCommitTransaction #5 0x31dd543c in CATransactionCommit #6 0x302...

ole32.dll causes GPF. How to interpret DebugDiag report?

Hi, My app (EasyJob) causes an access violation error on exiting. This only happens on some systems, mostly Vista, but it has happened on some XP boxes. The application is written in VB6. After finding a system that shows this behavior, I ran DebugDiag on my process and got this report: Function Arg1 Arg2 Arg3 0x04246c81 ...

Crash reporting for java

Do you know any good crash reporting systems for Java or any open source projects which use a crash reporting system? ...

Visual studio 2008 crashes when starting to debug

When I press F5, everything compiles fine, but when the app is to be started, VS crashes, showing the "Just in time debugger" dialog. More than one (similar) solution has this problem. A new solution containing just a form, works. This problem started out of the blue, I have made no changes to the environment as far as I can understand....

How to handle exceptions raised in other threads when unit testing?

When testing with Visual Studio Team Test unhandled exceptions in tests are caught and reported in the results. So I was kind of surprised to see the test hosting process (VSTestHost.exe) crash and showing the system crash dialog. Upon further investigation this crash was an unhandled exception raised in another thread (more directly, i...

Why does the VB.net compiler crash after I move a project?

I'm migrating data from an old laptop to a new laptop, including some vb.net projects in visual studio 2008. But when I try to open some of them on the new laptop, I quickly get a dialog stating that the vb compiler has crashed and asking me if I want to close, debug, or check online for solutions. Visual studio then, frustratingly, clos...

presentModalViewController:animated: crash after dismiss (memory mgmt related?)

I'm currently having an issue with UIViewController's presentModalViewController:animated:. I use the following code to set up and show the modal view controller: UINavigationController *navigationController = [[UINavigationController alloc] init]; AddSerialController *serialController = [[AddSerialController alloc] initWithNibName:...

Program crashes when run outside IDE

I'm currently working on a C++ program in Windows XP that processes large sets of data. Our largest input file causes the program to terminate unexpectedly with no sort of error message. Interestingly, when the program is run from our IDE (Code::Blocks), the file is processed without any such issues. As the data is being processed, it...

iPhone dev: UIWebView Youtube crash. Can I surround it with a try catch?

Hi Im integrating a youtube video in my iPhone application. this thread describes how to integrate it (via a UIWebView), the warning message and the crash, but its unanswered. In my case the crash only happens from time to time (I think it could be when the user is too quick clicking on the "play" icon) so I want to wrap the error arou...

iPhone: Requesting cellforrow for rows out of bounds

What did I do wrong? I just modified the Navigation Based application code a bit to read and display a JSON string. It crashes when I scroll up the list with the message Objc_msgSend and points at this as the problem: cell.textLabel.text=[[locations objectAtIndex: storyIndex] objectForKey: @"title"]; #import "RootViewController.h" #im...

What is the best way to debug a crashing explorer.exe ?

I work for an orginization that has a custom built Access/SQL Application running in house. We have a problem Explorer.exe throwing an error and crashing. This is a picture of the crash: What is the best way to start tracking this problem down and finding a solution ? ...

Java crash outside JVM - works on Windows not on Linux

I am using OpenNLP and my English NameFinder on Linux (CentOS 5.3,Java 1.6.0_13) keeps giving me this error: An unexpected error has been detected by Java Runtime Environment: SIGSEGV (0xb) at pc=0x0657e436, pid=3484, tid=2291964816 Java VM: Java HotSpot(TM) Server VM (11.3-b02 mixed mode linux-x86) Problematic frame: V [libjvm.so+0x...