crash

how badly can c crash?

Hi I have often heard that C can crash spectacularly. Recently I got my first taste of this when a function I expected to return a string instead returned little happy faces. Since then I have been being more careful with initializing pointers and mallocing memory for arrays. Still, though, I have trouble believing that a program could ...

Is there some kind of memory limit for an executable (written in C) to run without problems?

i´m doing a project using C, and CodeBlocks is my IDE. Windows Vista is the OS. I added some new stuff to the already working code and now the executable crashes everytime. i have no errors after compiling though. Computers and programming is not my field, but i suspect it may have something to do with some kind of memory limitations (if...

Strange Crash with FckEditor IE and Image Moving

Hi, We have used FCKEditor for a long time and been very happy with it. Just recently though a new problem has occurred. If we insert an image into html and save it, then fine. If we then move the image around inside the the text and re-save (i.e. Get the html from the control for saving to a db) then IE crashes (FF does not of course)...

How error like "Event ID 26 Source Application Popup" can help

I have this error like at service windows, this occurs one time a week or more: Application popup: application_name - Application Error : The instruction at memory_location referenced memory at memory_location. The memory could not be "read". production environment; multi-thread app; each thread performs a task; source is C++, VC8; ha...

debug symbol issue

Hello everyone, I am interested in which symbol file is used when we analyze dump file using Windbg or Visual Studio. Suppose my application is using a utility library, and the utility library has related private symbol file. When there is crash dump in my application, I need the symbol of the utility library to analyze the full call st...

Simulating a BlueScreen

I am trying to make a program that records a whole bunch of things periodically. The specific reason is that if it bluescreens, a developer can go back and check a lot of the environment and see what was going on around that time. My problem, is their a way to cause a bluescreen? Maybe with a windowsAPI call (ZeroMemory maybe?). Anywho...

How to reload a crashed process on Windows

How to reload a crashed process on Windows? Of course, I can run a custom monitoring Win service process. But, for example, Firefox: it doesn't seem to install such a thing, but still it can restart itself when it crashes. ...

How to handle a crash in a process launched via System.Diagnostics.Process?

I'm launching an external process with System.Diagnostics.Process. This is part of a batch job, so if one process crashes, I'd like to handle it and let the rest continue. What currently happens is Windows pops up a dialog telling me that the program has crashed, and only once I've dismissed that manually does the process exit. Accordi...

How can I know the CLR version of a crash dump?

I have a minidump crashed from a .NET application. Is there any way to know the CLR version (e.g. version of mscorwks.dll) of the fault machine (which generates the crash dump) using either Windbg or some other tool? ...

setjmp/signal crash exception handling

I am trying to install a "crash handler" for a C OSX Carbon multithreaded application. On Windows, I can easily use the simple and efficient try{} __except{} SEH of Windows which works great. (Note these are **unrelated to C++ exceptions, these are lower level C constructs!) This is very related to a question I asked on SO previously: ...

TCP Socket Server Builds Up CLOSE_WAITs Occasionally Over Time Until Inoperable

Hopefully someone can help us as we're reaching as far as investigation can go! We've got a simple asynchronous socket server written in C# that accepts connections from an ASP.NET web application, is sent a message, performs some processing (usually against a DB but other systems too) and then sends a response back to the client. The c...

App Crashes when changing tabs that contain listboxes with control templates on ItemContainerStyle and bound to CollectionViewSource

Hi, my problem is that i have three tab controls each with a listbox that has style for both the ListBox and the ItemContainerStyle, the styles are the same on all listboxes inside the tabs. two of the tabs are databound using a CollectionViewSource. The problem is as soon as i try to go into tab 2 i get an exception and i cant seem to...

Getting a dump of a process that crashes on startup

On a customer machine (WinXP SP2) to which I have no access, I have a Win32 EXE (unmanaged C++) that crashes on startup. I guess the best way to troubleshoot this is to obtain a (mini-)dump and analyze it later with windbg or similar. Now, I would normally tell the customer to install Debugging Tools for Windows and run cscript adplus....

Visual Studio closes all the time

My Visual Studio shuts down about once a day. Not gracefully either, it just disappears off the screen, process list, everything. No thinking, no warning, just poof its gone. This happens most frequently when coderush is trying to do something and lately (the last few days) it happens any time I try to open a view. As of a few hours ...

VS2008 crashes with "Fatal Execution Engine Error"

Has anybody found a fix for Visual Studio crashing with this error (eventlog)? .NET Runtime version 2.0.50727.3082 - Fatal Execution Engine Error (7A2E1132) (0) It does this when I start debugging with a problem in the xaml. Visual Studio will then silently disappear. I've looked at SO and MS Connect but haven't found a fix or wor...

PDB file crashdump user.dmp

Hi, I have an application crash, and as a result it is generating a crash dump in Windows platform. I send the exe and dll file to the customer. The customer has sent the user.dmp and drwtsn32.log file me. But, the customer do not have the corresponding pdb file. The customer just has dll and exe file. So, when I attach this user.dmp fil...

What can cause a WPF application to crash with an AppHangB1 Problem Event Name?

The program I'm currently working on occasionally hangs with an AppHangB1 problem event. I have traced it to a specific series of actions, but it seems to be a type of heisenbug, as whenever I step through the code, it doesn't manifest itself. And once the program hangs, I can't pause the program to see where it is hung in Visual Studi...

Difference between CFRunLoopRemoveSource and CFRunLoopSourceInvalidate

Hi, I was debugging a crash in my HID driver code on the Mac and found that the crash happened in the CFRunLoop. In the driver code I open the USB handles for the devices which match the VID and the PID which match my HID device and then set up an Interrupt call back for it using setInterruptReportHandlerCallback function and then add i...

LinkPoint payment integration with IIS7 crashes w3wp.exe

My assemblies that wrap a third-party DLL work fine in my windows test harness app, and they also work fine in a web service when spawned in debug mode (VS 2008 Visual Studio Development Server)! However, the app always crashes when running in the local IIS 7 web server. Here is the crash detail from the event log when running on the l...

Destroying an XmText is crashing my application; why?

Our application is crashing while destroying an XmText box. It also crashes randomly when I press any key. Not sure why, but may be due to some uninitialized keycodes. Here is the gdb output: #0 0x403e38b2 in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6 (gdb) bt #0 0x403e38b2 in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6 #1 ...