crash

Debugger Error

Hi All, I have a problem On 3GS Iphone.When i deploying a application on phone then it exited with following error. "The Debugger has exited due to signal 11 (SIGSEGV).The Debugger has exited due to signal 11 (SIGSEGV)." After that application not started & it installed on phone but when phone disconnected then it works. So Pls. h...

TCP Send does not return cause crashing process...

If a tcp server and client are connected, I'd like to determine when the client is no longer connected. I thought I can simply do this by attempting to send a message to the client and once send() returns with a -1, I can then tear down the socket. This implementation works find on Windows but the minute I try doing this on Linux with ...

Visual Studio 2008 IDE crash

I have the following configuration: Visual Studio Team System 2008 SQL Server Developer Edition 2008 GDR2 on a Win XP SP3 workstation. I have no add-ins. All patches have already been applied for Visual Studio, Sql Server and Windows. The event log does not show anything either. My IDEs for Management Studio (ssms.exe) and VS ...

How can dereferencing a NULL pointer in C not crash a program?

I need help of a real C guru to analyze a crash in my code. Not for fixing the crash; I can easily fix it, but before doing so I'd like to understand how this crash is even possible, as it seems totally impossible to me. This crash only happens on a customer machine and I cannot reproduce it locally (so I cannot step through the code us...

MySQL InnoDB tables corrupt -- how to fix?

Hello all, While performing a conditional DELETE operation in one of my InnoDB tables, which apparently required some temporary table to be created in ibdata1, the hard disk filled up and mysql crashed. I couldn't get it to start again until I deleted the ibdata1 file (~30 GB). Now mysql starts again, but all the tables in the database...

selectedSegmentIndex makes my app crash

Hi all! I have a UISegmentedControl and whenever I touch a button it should show an alert with the index of the segment currently selected: - (IBAction)bOkayTouched:(id)sender { NSString *msg = [NSString stringWithFormat:@"%@", [scRPSSL selectedSegmentIndex]]; UIAlertView *lol = [[UIAlertView alloc] initWithTitle:@"Mkay" messag...

cvs2svn crash before end

I run the cvs2svn couple of times successfully. Now I ran it and it crashed just before the end, at pass 16. I'm using dumpfile. I get the following error : what can it be? thanks! ...

Cross-platform crash handler

I'm looking for a cross-platform crash handler. Google Breakpad looks promising, but it is sorely lacking any documentation, and requires a reasonable amount of fiddling to actually get going. What is a better alternative? All I need is the ability to reliably record crash dumps, stack traces, and CPU information at the time of a cras...

Windows 2003 crashing with .NET 3.5 SP1

I have a product I developed based on Linq and Entity Framwork. Before they upgraded to SP1 I got an exeption when I tried to find the Entity Framework DLL. I asked the customer to upgrade to SP1. After that, they are getting bluescreen. Are there any known problems with .NET 3.5 SP1 and Windows 2003? I have a dump file. I downloaded ...

Crash handler printing a backtrace

I want to install a SIGSEGV and friends handler in C++ to print a stack trace and exit on a crash. backtrace_symbols_fd from glibc is almost what I want, but it doesn't symbolize calls in anonymous namespaces. However, gdb deals with that just fine (I have symbols compiled in, DWARF etc). What library would you recommend for my situati...

iPhone UIImage - Image Randomizer Crashes If It Comes Across the Same Image Twice

I am building a game that pulls images randomly. After doing some testing I have realized if the same image is called twice, it crashes. I learned this by after completing the first game, I returned to the games main menu and selected to play again. I ended up getting an image which was already displayed to me in my previous game and ...

How to debug OpenGL ES crashes?

OpenGL ES 1.1 likes to crash my iPhone program if anything goes slightly wrong. Usually it happens somewhere inside glDrawArrays, with several glDestroyContext calls on stack. Usually I'm bisecting the problem by inserting { GLint iErr = glGetError(); if (iErr != GL_NO_ERROR) { NSLog(@"GL error: %d (0x%x)", iErr, iErr); }...

Why am I getting a crash when exiting my Activity?

I am experiencing a crash in my app when I quit (via the back button) out of my Activity. So far as I can tell this is happening in the Android codebase and not mine, but I'm not completely convinced of that. Here's the stacktrace from adb: AndroidRuntime E Uncaught handler: thread main exiting due to uncaught exception AndroidRuntim...

How to work around Visual Studio Compiler crashes

We have a large Visual Studio 2005 C++/Mfc solution, 1 project with around 1300 source files (so about 650 .h and 650 .cpp files). We also use Boost and a few other libraries (COM: MSXML, Office). Recently, I've added a few instances of boost::multi_index to speed up things a bit. This all compiles most of the time. But now, when I'm d...

In iPhone 3.0, Application crashes when trying to send an image from the camera using MessageUI

There is a part of the iPhone app that I'm developing where you can send images using the in app mail in iPhone 3.0. Selecting an image from the camera roll works perfectly, but when I try to go from the camera to the email (ie - from the UIImagePickerController to the MFMailComposeViewController), the application crashes. This is the ...

Ocaml "Out of memory" exception; verbose mode says "Stack overflow in structural comparison"

A very huge ocaml program from an alien source needs to be fixed. One of the problem is that the program crashes at seemingly innocent line: Hashtbl.mem loc_to_no loc with "Out of memory" exception. The thing is that there's surely enough memory out there and this line is executed just fine for other inputs and even earlier during t...

How do I enable debugging with Visual Studio on Win7 when an application crash unexpectedly?

I have a .NET application that crashes because something is wrong with its configuration file. In Windows XP it asks me if want to debug my application with Visual Studio but in Windows 7 (and I guess in Vista) it shows this error message: How switch this functionality off and get back the Windows XP behaviour? Additional informatio...

Track process status with Python

hello, I want to start a number of subprocesses in my Python script and then track when they complete or crash. subprocess.Popen.poll() seems to return None when the process is still running, 0 on success, and non-zero on failure. Can that be expected on all OS's? Unfortunately the standard library documentation is lacking for these me...

iPhone crashing when presenting modal view controller

Hi there, I'm trying to display a modal view straight after another view has been presented modally (the second is a loading view that appears). - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; // Show load LoadViewController *loader = [[LoadViewController alloc] init]; [self presentModalViewContro...

IPhone program crash and stack report shown by compiler is totally useless!

Most of the times when Iphone program crash, compiler show stack with full of no's, but these no's don't make any sense to me. Very rarely it point out where the problem might be and mostly there are these useless no's. How you can make sure that when your program crashes while development/testing, it shows at what place this cause this ...