<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div style="border:1px solid rgb(187,187,187);word-wrap:break-word;background-color:rgb(250,250,250)"><code><div>(gdb) where</div><div>#0  0x00000039d4c32625 in raise () from /lib64/libc.so.6</div><div>#1  0x00000039d4c33e05 in abort () from /lib64/libc.so.6</div><div>#2  0x00000039d4c70537 in __libc_message () from /lib64/libc.so.6</div><div>#3  0x00000039d4d02567 in __fortify_fail () from /lib64/libc.so.6</div><div>#4  0x00000039d4d00450 in __chk_fail () from /lib64/libc.so.6</div><div>#5  0x00000039d4cff8a9 in _IO_str_chk_overflow () from /lib64/libc.so.6</div><div>#6  0x00000039d4c74639 in _IO_default_xsputn_internal () from /lib64/libc.so.6</div><div>#7  0x00000039d4c451a8 in vfprintf () from /lib64/libc.so.6</div><div>#8  0x00000039d4cff94d in __vsprintf_chk () from /lib64/libc.so.6</div><div>#9  0x00000039d4cff88f in __sprintf_chk () from /lib64/libc.so.6</div><div>#10 0x0000000008005e33 in for__compute_filename ()</div><div>#11 0x0000000008007bf9 in for__open_proc ()</div><div>#12 0x0000000007fbe2cd in for__open_default ()</div><div>#13 0x0000000007fec269 in for_write_seq_fmt ()</div><div>#14 0x0000000000411af0 in cp2k_shell () at cp2k_shell.f90:186</div><div>#15 0x000000000040e81e in main ()</div><div>#16 0x00000039d4c1ed5d in __libc_start_main () from /lib64/libc.so.6</div><div>#17 0x000000000040e729 in _start ()</div><div>(gdb)</div></code></div><div><br></div>Unfortunately there doesn't appear to be much info here. I'm unsure where the for_* symbols are from, but presumably the sprintf statement causing the buffer overflow is located in those routines.<br></div></blockquote><div> </div><div>Addendum: I have located where these symbols are: they are in the Intel compiler library libifcore.so.5. This may be an Intel compiler bug.</div><div><br></div><div>Eric</div>