¡@

Home 

c++ Programming Glossary: faults

Writing Python bindings for C++ code that use OpenCV

http://stackoverflow.com/questions/12957492/writing-python-bindings-for-c-code-that-use-opencv

NumPy must be called else you will experience segmentation faults. ABC ABC const std string someConfigFile Initialization code...

Is there a standalone implementation of std::function?

http://stackoverflow.com/questions/14739902/is-there-a-standalone-implementation-of-stdfunction

So I removed the code that threw the exception now it seg faults if an empty function is called and I saved myself 60k. share..

thread safety of MPI send using threads created with std::async

http://stackoverflow.com/questions/14836560/thread-safety-of-mpi-send-using-threads-created-with-stdasync

I often not always run into deadlocks or get segmentation faults. Enclosing each call of MPI COMM_WORLD methods with a mutex.lock.. mutex.unlock consistently removes deadlocks as well as segfaults. This is how I create threads const auto communicator std make_shared..

What is “cache-friendly” code?

http://stackoverflow.com/questions/16699247/what-is-cache-friendly-code

. This occurs when the process continuously generates page faults e.g. accesses memory which is not in the current page which..

x86: howto catch data-alignment faults (aka SIGBUS on sparc)

http://stackoverflow.com/questions/1929588/x86-howto-catch-data-alignment-faults-aka-sigbus-on-sparc

howto catch data alignment faults aka SIGBUS on sparc Is it somehow possible to catch data alignment.. on sparc Is it somehow possible to catch data alignment faults even on i386 Maybe by setting a i386 specific machine register.. platforms there is a cost of performance on data alignment faults. And therefore I would like to fix data alignment faults wherever..

How do you read a segfault kernel log message

http://stackoverflow.com/questions/2179403/how-do-you-read-a-segfault-kernel-log-message

error code is just the architectural error code for page faults and seems to be architecture specific. They are often documented..

Linking with multiple versions of a library

http://stackoverflow.com/questions/3232822/linking-with-multiple-versions-of-a-library

are no errors at build time but at runtime the app seg faults. The reason seems to be that version X uses structures that..

Methodology for fixing Segmentation faults in C++

http://stackoverflow.com/questions/3718998/methodology-for-fixing-segmentation-faults-in-c

for fixing Segmentation faults in C I am writing a cross platform C program for Windows and..

What the heque is going on with the memory overhead of std::deque?

http://stackoverflow.com/questions/4088999/what-the-heque-is-going-on-with-the-memory-overhead-of-stddeque

it has such a huge overhead resulting in cache misses page faults etc. and that the cost of copying std vector elements may be..

Memory leak checking on Windows with QT and MinGW32

http://stackoverflow.com/questions/4527325/memory-leak-checking-on-windows-with-qt-and-mingw32

with QT because of the incredible amount of segmentation faults. I know they are how DUMA works but I'm pretty sure I did not..

What is the operator `|=`? How can I implement this in C#?

http://stackoverflow.com/questions/5492747/what-is-the-operator-how-can-i-implement-this-in-c

operator long liFaultFlags 0 for int i 0 i FAULTCOUNT i if faults i true liFaultFlags 1 i return liFaultFlags How would this..

Matrix Arithmetic using Vectors in C++ causing segmentation faults

http://stackoverflow.com/questions/6347375/matrix-arithmetic-using-vectors-in-c-causing-segmentation-faults

Arithmetic using Vectors in C causing segmentation faults I'm having some issues passing vectors to functions. My concern..

Segmentation fault in malloc_consolidate (malloc.c) that valgrind doesn't detect

http://stackoverflow.com/questions/6725164/segmentation-fault-in-malloc-consolidate-malloc-c-that-valgrind-doesnt-detect

valgrind doesn't detect My program goes in segmentation faults and I cannot find the cause. The worst part is the function..

What can cause segmentation faults in C++? [closed]

http://stackoverflow.com/questions/6923574/what-can-cause-segmentation-faults-in-c

can cause segmentation faults in C closed I noticed there's not question with a list of common.. not question with a list of common causes of segmentation faults in C so I thought I'd add it. Naturally it's community Wiki..

Why would one replace default new and delete operators?

http://stackoverflow.com/questions/7149461/why-would-one-replace-default-new-and-delete-operators

together and you'd like to minimize the frequency of page faults when working on the data it can make sense to create a separate..

Speeding up file I/O: mmap() vs. read()

http://stackoverflow.com/questions/8056984/speeding-up-file-i-o-mmap-vs-read

Later accesses to the mapping will not be blocked by page faults. This may give you speed ups with sufficient hardware resources..