segmentation fault due to "printf" ?

This is a discussion on segmentation fault due to "printf" ? within the C++ Programming forums, part of the General Programming Boards category; Hi everyone!
During a debug of an existing program, the following occurs :
Code:
printf( "blabla ", argv[1]) ; // ...

There is somethig called "undefined behaviour". It should be "random behaviour". Even better "I am messing with your brain behaviour".
For your own good, don't overthink why the screen gives you these weird results. There is an error with your program. Most likely something is causing an undefined behaviour and you mess your memory.