$ gdb ./a.out GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/stevenv/a.out...done. (gdb) r Starting program: /home/stevenv/a.out [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007fff8a80a01f in L_m_iygas_1 () from /opt/intel/composer_xe_2013.2.146/mkl/lib/intel64/libmkl_def.so (gdb) bt #0 0x00007fff8a80a01f in L_m_iygas_1 () from /opt/intel/composer_xe_2013.2.146/mkl/lib/intel64/libmkl_def.so #1 0x00007ffff6b91044 in ?? () from /opt/intel/composer_xe_2013.2.146/mkl/lib/intel64/libmkl_core.so #2 0x00007fff8bb75010 in ?? () #3 0x00007fffffffe0f0 in ?? () #4 0x00007fff8bb75010 in ?? () #5 0x00007fff8bb75010 in ?? () #6 0x00007ffff5e8cb2c in mkl_blas_xddot () from /opt/intel/composer_xe_2013.2.146/mkl/lib/intel64/libmkl_core.so #7 0x00007ffff70cca68 in mkl_blas_ddot () from /opt/intel/composer_xe_2013.2.146/mkl/lib/intel64/libmkl_sequential.so #8 0x00007ffff77adc48 in ddot_ () from /opt/intel/composer_xe_2013.2.146/mkl/lib/intel64/libmkl_gf_ilp64.so #9 0x0d244341f7ffe2c8 in ?? () #10 0x00007fffffffe120 in ?? () #11 0x00000000004012ec in main (argc=, argv=) at test-dcopy.f:31 Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) q A debugging session is active. Inferior 1 [process 18988] will be killed. Quit anyway? (y or n) y