crash

How should I diagnose and prevent JVM crashes?

What should I (as a Java programmer who doesn't know anything about JVM internals) do when I come across a JVM crash? In particular, how would you produce a reproducible test case? What should I be searching for in Sun's (or IBM's) bug database? What information can I get from the log files produced (e.g. hs_err_pidXYZ.log)? ...

application crash only in iphone 3GS on airplane mode!

HI! my application works great on any device except for iphone 3GS on airplane mode. the crash comes up as soon as i open the app, which use a CLLOCATION data as soon as it starts. this fact leads me to the idea that the problem is with the CLLOCATION manager or something like that... anyone knows about a different between the location...

How can I debug a crash-on-exit of a .NET add-in to a native application?

I've got a .NET plugin (written in C# & VB.NET) exposed via COM and loaded into an application built using native code (C++). We're working on a 64 bit compatibility release, and when the application exits we're seeing a crash screen from the application. If I run the application from a Visual Studio debug session the crash isn't cau...

UITableView is crashing when trying to edit cell

Hi Guys, I am having some form in that is consisting of 5 custom cells in a table view. Here is the code: - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 1;} \- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return 5; } \- (UITableViewCell *)tableView:(U...

XCode crashes when adding .m4a file to resources

I created my own small .m4a file with GarageBand, for use in my app on the iPhone. Everytime I try to Add existing file, XCode crashes when I select the .m4a file. The file itself will play nicely in QuickTime Player and iTunes. Any workarounds? ...

How can I customize "%s has encountered a problem and needs to close"?

Every Windows developer is all too familiar with an alert of the form: Foo.exe has encountered a problem and needs to close. I am resigned to my apps blowing up from time to time (only during development of course), but when they do, I don't want to see "Foo.exe" here. I want to see a "friendly" name such as "FooBrowser™". I've search...

VS2005 SP1 on Win XP crashes after loading solution with 362 projects without any error, log or trace

Hello, I am running Visual Studio 2005 on Windows XP. It crashes without any error, log or trace when I try to load the solution for our product that contains 362 projects. I don't think the size of solution (362) is a problem, because it works on my colleagues computers. There is no entry of this in Event Viewer. Any help to locate ro...

java.lang.OutOfMemoryError: requested 32756 bytes for ChunkPool::allocate. Out of swap space?

Hello, I am working with a java application deployed on an HP server via WebLogic 10.3. Version info: WebLogic Version 10.3 OS Version B.11.23 $ java -version java version "1.6.0.03" Java(TM) SE Runtime Environment (build 1.6.0.03-jinteg_05_feb_2009_11_19-b00) Java HotSpot(TM) Server VM (build 11.0-b16-jre1.6.0.03-rc2, mixed mode) ...

NSLog makes iPhone App crash during Apple App Review

hi, I submitted my app to iTunesConnect and Apple give me back the following crash report: Thread 2 Crashed: 0 libobjc.A.dylib 0x00003eb8 objc_msgSend + 16 1 Foundation 0x0004c3aa _NSDescriptionWithLocaleFunc + 24 2 CoreFoundation 0x0003d52e _CFStringAppendFormatAndArgumentsAu...

ntdll!kifastsystemcallret

My program is crashing at the end of execution, and couldnt even see stack unwind info. all i can see is this " ntdll!kifastsystemcallret", can some throw some light? ...

MySQL Crashed Table Unable to save result set

I have a crashed table which I am unsure how to repair with. Here is the dump of my error trace. Warning: mysql_query(): Unable to save result set in C:\Users\programmer\workspace\DBMigration\functions.php on line 10 MySQL Query Failed! 1194: Table 'exp_weblog_titles' is marked as crashed and should be repaired ...

Difference between a program that crashes and program that hangs

What is the difference (or causes) between a program that crashes and a program that hangs (becomes unresponsive) in C++? For sure, accessing invalid memory causes a program to crash. Deadlock in threads may cause a program to hang. What are the other causes? Does exhausting all memory causes a program to hang? or crash? I'm a bit conf...

iPhone KERN_INVALID_ADDRESS at 0x6c707069

Im not sure why I am recieving this error, and Im unable to track the cause down. This only happens on the device though, Simulator runs error-free as expected. Can anyone make sense of this crash log? Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x61f6490a Crashed Thread: 0 Thread 0 Crashed: 0 ...

CheckTokenMembership in VB6 - Crashing on FreeSID on Windows 7 and Windows 2008

Hello All, I am using the CheckTokenMembership Windows API to check if the user is an Administrator. Here's the code: Option Explicit Private Const SECURITY_BUILTIN_DOMAIN_RID As Long = &H20 Private Const DOMAIN_ALIAS_RID_ADMINS As Long = &H220 Private Declare Function AllocateAndInitializeSid Lib "advapi32.dll" (pId...

JQuery SimpleModal crashing on close in windows w/ safari

I'm leveraging SimpleModal on a small thing I'm working on to open an iFrame and later close it. Says to post here if having issues so here I am. I'm having issues with the simple modal plug-in for jquery when I go to close the popup, but only on windows with safari. It works in IE/FF/Chrome/Opera on window and works in FF/Safari on Mac...

Completely halt application when showing a "you have crashed, we are sorry ..." popup

If my application crashes, I intercept the crash (using the function SetUnhandledExceptionFilter). In my crash handler, I create a mini dump file, and notify the user that his application has crashed. This notification is done via a MessageBox with the flag MB_TASKMODAL so the rest of the application is blocked. Unfortunately, that do...

Contacts App crashes when switching between Dialer to Call log

I've altered the contact app so that in Dialer the soft keypad always stays and it hides when other tab activity resumes, We've given different look for the contacts app, but when using the same, a crash occurs when we rapidly change from dialer to call log. And the App crashes without the standard crash dialog. I have copied the log an...

Debugging a segv

I am sure a lot of you have experienced this. Sometimes while debugging a crash you add a line of trace and viola the crash disappears. This generally points to a memory corruption and you look for buffer overflows etc around the code. To be more specific the same occurs for even single threaded applications. How does though a line of t...

How do you determine the cause of crashes when it runs fine on your machines?

I wrote an application for Windows 7 using C# and VS2008 and it runs perfectly on the machine I developed it on and my laptop (doesn't have VS*). How can one determine the cause of these crashes? Is there a way to check for dependencies of a program? The error it gives has zero information in it and I've tried installing the latest .NET ...

why create "EventType clr20r3, P1 w3wp.exe" but don't have detail description of this unhandled exception?

On the production server, I can see event from system Event Viewer when an asp.net app crash: *EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d691cc, P4 app_web_default.aspx.cdcab7d2, P5 0.0.0.0, P6 4b2e4bf0, P7 4, P8 4, P9 system.dividebyzeroexception, P10 NIL.* it belongs to ".NET Runtime 2.0 Error Reporting" category. but I...