¡@

Home 

c++ Programming Glossary: crashes

Get path of executable

http://stackoverflow.com/questions/1528298/get-path-of-executable

the game finds no configuration files etc. and promptly crashes. I want to be able to pass it an absolute path to the configuration..

How to create minidump for my process when it crashes?

http://stackoverflow.com/questions/1547211/how-to-create-minidump-for-my-process-when-it-crashes

to create minidump for my process when it crashes I am not able to create minidump form my process by changing.. the system create a minidump for a user process when it crashes If yes which setting do I need to configure Or do I have to..

Program only crashes as release build — how to debug?

http://stackoverflow.com/questions/186237/program-only-crashes-as-release-build-how-to-debug

only crashes as release build &mdash how to debug I've got a Schroedinger's..

Why does this program crash: passing of std::string between DLLs

http://stackoverflow.com/questions/2322095/why-does-this-program-crash-passing-of-stdstring-between-dlls

DLLs I have some trouble figuring out why the following crashes MSVC9 the following compiles to A.dll with release runtime linked..

Unmangling the result of std::type_info::name

http://stackoverflow.com/questions/281818/unmangling-the-result-of-stdtype-infoname

1 character. When you run it the program almost assuredly crashes as it attempts to call realloc with a pointer to the stack...

What are the pitfalls of ADL?

http://stackoverflow.com/questions/2958648/what-are-the-pitfalls-of-adl

os unicorn x return os Don't ever call this It just crashes I don't know why I wrote it void print unicorn int 0 42 Next.. print_n x 4 You compile this program run it and... it crashes. What No way you say I just called print_n which calls the print..

C++ - passing references to boost::shared_ptr

http://stackoverflow.com/questions/327573/c-passing-references-to-boostshared-ptr

undefined behaviour in Visual C 2010 debug builds it crashes . Mr Maintainer is surprised by this but adds a defensive check.. msg if msg 0 return But of course it still goes ahead and crashes because msg is never null when send_message is called. As I..

Erasing elements from a vector

http://stackoverflow.com/questions/347441/erasing-elements-from-a-vector

i erase myNmbers 1 return 0 This code obviously crashes because I am changing the end of the vector while iterating..

C++ : Catch a divide by zero error

http://stackoverflow.com/questions/4747934/c-catch-a-divide-by-zero-error

catch ... std cout Error. return 0 But the application crashes anyway even though I put the option fexceptions of MinGW . Is.. when you dereference a null pointer then your program crashes by SIGSEGV signal segmentation fault . You could try to use..

What's the most reliable way to prohibit a copy constructor in C++?

http://stackoverflow.com/questions/5702100/whats-the-most-reliable-way-to-prohibit-a-copy-constructor-in-c

when your client is executing your code and it suddenly crashes. In case you are using Boost you can save yourself some typing...

Accessing class members on a NULL pointer

http://stackoverflow.com/questions/669742/accessing-class-members-on-a-null-pointer

will crash the app return 0 I know virtual method call crashes because it requires a vtable lookup and can work only with valid..

Why doesn't delete set the pointer to NULL?

http://stackoverflow.com/questions/704466/why-doesnt-delete-set-the-pointer-to-null

of the standard. If this gets taken care then many of the crashes due to invalid pointer would not occur. But having said that..

Of Memory Management, Heap Corruption, and C++

http://stackoverflow.com/questions/7525/of-memory-management-heap-corruption-and-c

Hello world. n would work fine. exampleString hello crashes on my system with a stack dump. So basically I need to stop..

How to generate a stacktrace when my gcc C++ app crashes

http://stackoverflow.com/questions/77005/how-to-generate-a-stacktrace-when-my-gcc-c-app-crashes

to generate a stacktrace when my gcc C app crashes When my c app crashes I would like to generate a stacktrace... a stacktrace when my gcc C app crashes When my c app crashes I would like to generate a stacktrace. I already asked this.. my program to be able to generate a stack trace when it crashes and the next time the user run's it it will ask them if it is..

Why does this code crash at the places mentioned?

http://stackoverflow.com/questions/1043402/why-does-this-code-crash-at-the-places-mentioned

0 .SomeFunction Works fine baseArray 1 .SomeFunction Crashes because of invalid vfptr baseArray 2 .SomeFunction Crashes because.. Crashes because of invalid vfptr baseArray 2 .SomeFunction Crashes because of invalid vfptr baseArray 3 .SomeFunction Works fine.. 3 .SomeFunction Works fine baseArray 4 .SomeFunction Crashes because of invalid vfptr baseArray 5 .SomeFunction Crashes because..

boost::weak_ptr<T>.lock() Crashes with a SIGSEGV Segmentation Fault

http://stackoverflow.com/questions/9948113/boostweak-ptrt-lock-crashes-with-a-sigsegv-segmentation-fault

weak_ptr T .lock Crashes with a SIGSEGV Segmentation Fault EDIT Environment plee@sos..