Program received signal SIGSEGV, segmentation fault

[COLOR=#333333]i am using printf (tmp) where tmp is an int. But evertime gdb pass to the line where is located the line it gave me this error[/COLOR]
[COLOR=#333333]“Program received signal SIGSEGV, segmentation fault” then go to the assembler code while it is not supposed to. How can i fix it?[/COLOR]