Click here to Skip to main content
15,891,828 members
Everything / Crash

Crash

crash

Great Reads

by Bruno van Dooren
Symantec can cause valid applications to crash and be gone without a trace
by donn-felker
Crashlytics is a free service offered by Twitter that collects your crashes and various other bits of information.
by OlegKrivtsov
How to automate collecting information about critical errors occurring in your program to greatly simplify your life in sense of bug analysis and troubleshooting.
by KjellKod.cc
Asynchronous, "crash safe" logging with dynamic logging sinks

Latest Articles

by Bruno van Dooren
Symantec can cause valid applications to crash and be gone without a trace
by KjellKod.cc
Asynchronous, "crash safe" logging with dynamic logging sinks
by donn-felker
Crashlytics is a free service offered by Twitter that collects your crashes and various other bits of information.
by OlegKrivtsov
How to automate collecting information about critical errors occurring in your program to greatly simplify your life in sense of bug analysis and troubleshooting.

All Articles

Sort by Score

Crash 

7 Sep 2022 by Bruno van Dooren
Symantec can cause valid applications to crash and be gone without a trace
17 Feb 2016 by Jochen Arndt
It seems you already found the asserting line and it tells you what has happened (the messages should have been also printed to the Debug Output window):# ifdef _DEBUG if (m_nMapMode == MM_NONE) { TRACE(traceAppMsg, 0, "Error: must call SetScrollSizes() or...
17 Jan 2017 by Patrice T
When you allocate, it is 5 integersold=(int*) malloc(old_size*sizeof(int));When you reallocate, it is 15 bytes, no matter what is the size of an integer.new_size = old_size*3;old = realloc(old, new_size);
8 Jun 2017 by OriginalGriff
Compiling does not mean your code is right! :laugh: Think of the development process as writing an email: compiling successfully means that you wrote the email in the right language - English, rather than German for example - not that the email contained the message you wanted to send. So stop...
12 Mar 2020 by Stefan_Lang
1. You can only delete objects that you created on the heap. Visualizza is an array declared on the stack, so you may not delete it. Trying to do so will always result in a crash. 2. You have allocated arrays of strings in your functions...
30 Jul 2013 by Code-Hunt
vs2010-crashes-when-a-windows-...
17 Jul 2014 by Stefan_Lang
The assignment of a value to a variable of type std::string can only crash if the value passed is disguised as a type that it isn't and contains value that doesn't fit the expectation tied to that type.In this case, you are passing variables of type OString directly, implying that the type...
22 Sep 2014 by Sergey Alexandrovich Kryukov
"Project File Corrupted" means that you had working project for a while, and then screwed it up on one of the steps of your development. You got the lesson which tells you: stop doing what you are doing and setup one of the Revision Control system, to be able to retrace your steps at any point....
25 Sep 2014 by SteveDaveBR
I am not sure if I'm having the wrong expectation in regards to analyze a crash dump in Visual Studio 2013. I'm trying to learn about crashdump analysis; so I want to see if I can make an app crash and analyze the crashdump. So, I create a Metro app with one button. I press the button...
12 Oct 2014 by CHill60
Hardly the place to point this out.Assuming you want to find a way to fix this, and not just share the tragic information with us, you should start here[^] for a fix.
3 Nov 2014 by Eugen Podsypalnikov
// On-Demand Test.cpp :)#include "pegshort.h"#include typedef std::vector vecKeys;vecKeys& GetStaticKeys(){ static vecKeys s_keys; return s_kes;}class Test{public: Test() { GetStaticKeys().push_back(pegshort(3)); }} testIt;
29 Nov 2014 by Garth J Lancaster
'the system' ? no .. if the server crashes, the socket will (possibly after a timeout) be closed, at which stage the client should detect that the connection has been closed and take recovery action on its own. So, your client should, on recognising a disconnect, implement its own protocol for...
27 Jan 2016 by Patrice T
Quote:What do you think, what are your experiences? Did I miss an important concept or approach? Do you have special tool recommendations (or aversions ^^)?My experience is:When I deal with C or C++, I have a special behavior at quotation level.If I am requested to build an app, I do normal...
17 Jan 2017 by Richard MacCutchan
You forgot to return the updated pointer from the double_old function. The code should be: old = double_old(old, old_size, new_size); free(old); }int * double_old(int *old, int old_size, int new_size){ int i=5, a=0; new_size = old_size*3; // why times...
6 Dec 2012 by dipak2002n
Hi All,I have developed one C++ application on Windows. It is crashing in release mode if I launch the application just after restarting the machine.Steps to reproduce :1. Start the machine2. quickly launch the application3. CrashhhhhFrom second launch everything works fine. If...
3 Oct 2013 by Prasyee
Hi Folks,I am working in Windows Workflow Foundation 4.5.I need some pointers in Persistence and tracking concepts.I can able to persist the Workflow Application by creating an Instance and saved in Persistence Store [Instances Table ] in SQL Server 2008.And by passing the Exact...
17 May 2013 by phydthekid
Hello everybody,I need to write a piece of code that opens a QuickTime VR image into an MFC Dialog.I drew a Dialog and put an "Apple QuickTime Control 2.0" into it.Then I created a Control variable in my Dialog class, called QtControl.In the OnInitDialog I set the file to open,...
30 Jul 2013 by Jerrell77
Hello, i am using visual studio 2010 for my project but it crashes everytime i switch to design view. i can only edit in source code. any idea how to fix it?
8 Oct 2013 by Jocelyne El Khoury
i was working on my asp page and suddenly the laptop turned off when i turned it on again i open my projects and i started getting several errors such as:value of type 'ASP.upload_content_aspx' cannot be converted to 'System.Web.UI.Page'. ...
9 Oct 2013 by thatraja
Possibly these could help you.AutoRecover[^]Did you know... Where Visual Studio saves auto-recovered files in the case of an unexpected shutdown?[^]If you're using any Source control(VSS, SVN or something else) then there's more possibility to recover. If not then try to use a source...
9 Oct 2013 by pdoxtader
Do your best with the suggestions above to recover your code. Save it off on a flash drive (or some other external device), and then when you have recovered as much of your code as possible, do a disk check.This is probably happening because there's corruption in your file system. Maybe it...
26 Nov 2013 by jjjj12356
If an application crash, it will display an error message, however, I write a service process, when it crashed, the error message didn't appear, it restarted automatically, for users they are unaware of the crash, at Event Viewer and Control Panel\All Control Panel Items\Action...
4 Apr 2014 by Member 10380376
I've been working on trying to create a guitar tuner for android based off of the code in https://code.google.com/p/android-guitar-tuner/[^] and the FFT algorithm I've found on the internet, I don't remember the actual link to it. I was using a class called Detector.java to input the sound and...
16 Jul 2014 by KarstenK
debug the code and you will find out that assign a string to an enum is a real bad idea.Enums are typed int.
14 Aug 2014 by donn-felker
Crashlytics is a free service offered by Twitter that collects your crashes and various other bits of information.
15 Sep 2014 by yno1
im working on a content script in chrome and after several hours of trying to debug a strange problem that caused my current tab to crash, i'm still quite puzzled. it seems that this piece of code runs without crashing the tab:for (var id in newDeleted) { var nameTile =...
28 Sep 2014 by DaveAuld
How to Fix Corrupt NSF file using ‘nfixup’ & ‘ncompact’[^]
5 Nov 2014 by barneyman
odds are the crash IS there in 32bit, you just haven't seen it ... the x64 presentation is probably caused by different heap frag/return/initialisation methods or "parallel execution strategy" changes in that OS - i speak from a lot 32->64 migration experienceIt's down to debugging - either...
5 Nov 2014 by Treble Sketch (ILM126)
Today, my Windows 8 Acer Aspire V5 desktop kept on crashing for unknown reasons. But then just a few minutes ago, this appeared. Can someone help me with this. I don't know if I broke my laptop or not.
29 Nov 2014 by Member 11273665
What happens if I make a server application using tcp protocol and then establish connection with a client application but the server crash and then the client send data. Will the data be lost or the system will continue trying to send it?
17 Dec 2014 by bling
Erase all obj files and rebuild. If you're using a make file, try "make clean" followed by "make" or "make all". If you're using Visual Studio, try a rebuild-all. Strange things happen when linking against an object file created from an earlier version of the header file. Even...
19 Mar 2015 by Aditya_Goud
Hi ,I am developing a Windows Mobile app that has a page where user sends some Data to server. The thing is.. ! Application Works Perfectly Fine in Enumerator and also when i m debugging it in my mobile using Visual Studio using a Cable wire Connected.. but when i use the app in phone without...
14 Feb 2016 by sdancer75
Hi,Using the QueryInterface like the code below hr = m_pPISourceFilter->QueryInterface(IID_IFileOffset,(void **)&m_pFileOffset);I always check if it fails like thisif (FAILED(hr)) { ReportError(_T("Failed to initialize the filter (FileOffset)."),hr); return...
17 Feb 2016 by Member 11380615
Dear All,I am working on a project which is a mixture of dialog and MDI. The project started as a tabbed dialog project. Later MDI was added to it. On clicking one of the tabs the MDI is invoked. Without clicking the a particular tab it remains only a dialog based project.The project works...
2 Jun 2016 by Brian C Hart
Hi all,I am going to submit an Azure support ticket; however, in the interests of saving time, I've instead wanted to first try Google search and asking questions on Code Project and Stack Overflow.I am using an azure db and SSMS. It does not seem to matter which version of SSMS i am...
18 Jan 2017 by Member 12955853
So, i'm trying to make a program, that allocates enough space for 5 integers using malloc and a pointer to act as the array, and through a function, i'm doubling the size of the "array" using realloc, inserting the square of every number of the first 5, into the 5 next spaces. It's hard to...
18 Jan 2017 by CPallini
Don't mess with old_size. Try#include #include int * double_old(int *old, int old_size);int main(void){ int *old; const int old_size = 5; int i; old=(int*) malloc(old_size*sizeof(int)); printf("Enter 5 integers: \n\n\n"); for(i = 0; i
18 Jan 2017 by nv3
Richard has already pointed out the bug in your program. There is nothing to add to that.As you are new to programming you should try to pick up the right habits from the very beginning. Therefore, I want to point out a couple of things to you could do better in this small example and which...
11 Jul 2019 by OriginalGriff
We can't tell - we can't run your code under the same conditions you do, and that's essential for working out what is happening. So, it's going to be up to you. Fortunately, you have a tool available to you which will help you find out what is going on: the debugger. If you don't know how to...
22 Mar 2020 by Mat 257
hello everyone. i have another mess. i am sure it depends on wrong momory garbage deleting. after having called funciton "Presentazione", when compiler reach marked line, it crash. it's surely memory probem. #include #include...
22 Mar 2020 by CPallini
Note your Carta objects are constants. You don't need to dynamically allocate memory, neither explicitely nor implicitely. For instance: #include #include using namespace std; int main() { using namespace...
24 Mar 2023 by Jacob Cauble
I transitioned from deepstack on my blue iris and it seems that I'm having a lot of performance issues. I have an i7-12700 and 32 gb ram. What I have tried: If I use either the yolo v5 or yolo.net (only one on at a time), there is constant ai...
24 Mar 2023 by Richard MacCutchan
Your question will probably get a faster response if posted at CodeProject.AI Discussions[^] .
9 Dec 2021 by codefast1993
I have a mixed mode dll (C++/Cli) that is referenced in a C# application. It crashes with the error: name_here.dll has caused an access violation exception(0xC0000005) when trying to read from memory location 0x00000000 on thread 243. What I...
2 Dec 2012 by OlegKrivtsov
How to automate collecting information about critical errors occurring in your program to greatly simplify your life in sense of bug analysis and troubleshooting.
20 Aug 2014 by KjellKod.cc
Asynchronous, "crash safe" logging with dynamic logging sinks
11 Mar 2020 by phil.o
string Visualizza[7][5]; The Visualizza variable is defined as a bidimensional array, with 7 elements in the first dimension and 5 elements in the second. This means that first dimension is indexed from 0 to 6, and second dimension is indexed...
12 Dec 2014 by GeekLink
I am working on a game in c++. Everything works fine when compiling and running but when I quit the game, the crash occurs with a windows message-box saying qwerty.exe as stopped working. I discovered the crash when adding a new variable member to my class. Removing the new or any member seems...
28 Oct 2015 by bmw318mt
Ensure that dotNet framework used for compiling the application is installed on the user's PC
15 Jul 2014 by no_-_namee
Hi, It is difficult to write the whole code block, because it is too long. I just want to say that it crashes in string assignment part. There is an enum, and I assign the string value to enum variables.The backtrace is as follows ;# BACKTRACE:0./lib/libc.so.0(kill+0x24)...
20 Oct 2014 by Rahul Patnaik
The crash happens randomly. sometime exe runs for a day and sometimes for few minutes only. Application generates a mini crash dump, I tried to understand it with WinDbg and it gives me a call stack:ChildEBP RetAddr Args to Child 082fc084 6f7953a2 082fc0ec 76ed6ff0 c17d5131...
28 Oct 2015 by Member 12094025
I hope you could help me in this weird user dependent issue.In a .NET windows application we have a functionality, which inserts one record by clicking a checkbox in that form.This functionality works perfectly in all user machines except one.When that user tries to click on checkbox...
27 Jan 2016 by Konstantin A. Magg
I am working on an article about diagnosing errors and analysing behavior of larger native C++ applications. The scenario would roughly look like this:Application runs stable for hours or days in production-like environment.Software consists of several processes, mostly native C++. Some...
28 Aug 2014 by no_-_namee
Hi, I got a crash while adding item to a static vector in class A ; static std::vector keys;In another class, I try to insert item as follows ; A::keys.push_back(x); // the program crashes in this code block (x is a pegshort type variable ) When I do all steps...
22 Sep 2014 by KennWats
I have many activity project that has been maintained over a some months period. When I edit any field I get the message Microsoft Project has stopped working. Then it closes. The saved file size goes from 10MB to 60MB. It's always different by large amounts. I'm using Version 2013 with...
8 Jun 2017 by Member 13248267
#include #include void jum(int *p, int m, int n) { int i; if(m==(n-1)) return; if(n%2==0) { for(i=m;i
11 Jul 2019 by LeMS_Studios
I am working on a large project (called Project Chicago), and when I create a new instance of a form, the form locks up after the mybase.load event. It only happens with 1 form. In the new method for the form is: Public Sub New(ByVal msiLocation As String) InitializeComponent() ...
22 Mar 2020 by Mat 257
hi everyone; your suggestions solved my mess up. now i have another question, but is bit broad: suppose i want to set a strings array as a result of different row vector toghether; let s assume i want to gourp 3 strings vectors, 1) with 5...
16 May 2022 by Member 15635207
Hello Folks, Is there any way to register crash handlers for Process, Module and thread? I want to capture dump/stack-trace on these handler. -- Vikram What I have tried: Little Crash Reporter[^]