http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54741
--- Comment #8 from M.S. Babaei <ace.of.zerosync at gmail dot com> 2012-10-02 07:14:32 UTC --- (In reply to comment #3) > use disassemble from inside gdb and look for the faulting instruction. Sorry I'm not very familiar with GDB, but I assume you need this: (gdb) disassemble main Dump of assembler code for function main: 0x0000000000400bc4 <main+0>: push %rbp 0x0000000000400bc5 <main+1>: mov %rsp,%rbp 0x0000000000400bc8 <main+4>: push %rbx 0x0000000000400bc9 <main+5>: sub $0x48,%rsp 0x0000000000400bcd <main+9>: lea -0x13(%rbp),%rax 0x0000000000400bd1 <main+13>: mov %rax,%rdi 0x0000000000400bd4 <main+16>: callq 0x400e7c <_ZNSaISt4pairIKSsSsEEC2Ev> 0x0000000000400bd9 <main+21>: lea -0x13(%rbp),%rsi 0x0000000000400bdd <main+25>: lea -0x12(%rbp),%rcx 0x0000000000400be1 <main+29>: lea -0x11(%rbp),%rdx 0x0000000000400be5 <main+33>: lea -0x50(%rbp),%rax 0x0000000000400be9 <main+37>: mov %rsi,%r8 0x0000000000400bec <main+40>: mov $0xa,%esi 0x0000000000400bf1 <main+45>: mov %rax,%rdi 0x0000000000400bf4 <main+48>: callq 0x400eb0 <_ZNSt13unordered_mapISsSsSt4hashISsESt8equal_toISsESaISt4pairIKSsSsEEEC2EmRKS1_RKS3_RKS7_> 0x0000000000400bf9 <main+53>: lea -0x13(%rbp),%rax 0x0000000000400bfd <main+57>: mov %rax,%rdi 0x0000000000400c00 <main+60>: callq 0x400e96 <_ZNSaISt4pairIKSsSsEED2Ev> 0x0000000000400c05 <main+65>: mov $0x4016b2,%esi 0x0000000000400c0a <main+70>: mov $0x602c40,%edi 0x0000000000400c0f <main+75>: callq 0x4009f0 basic_ostreamIcT_ES5_PKc@plt> 0x0000000000400c14 <main+80>: mov $0x400a40,%esi 0x0000000000400c19 <main+85>: mov %rax,%rdi 0x0000000000400c1c <main+88>: callq 0x400a20 <_ZNSolsEPFRSoS_E@plt> 0x0000000000400c21 <main+93>: mov $0x0,%ebx 0x0000000000400c26 <main+98>: lea -0x50(%rbp),%rax 0x0000000000400c2a <main+102>: mov %rax,%rdi 0x0000000000400c2d <main+105>: callq 0x400dba <_ZNSt13unordered_mapISsSsSt4hashISsESt8equal_toISsESaISt4pairIKSsSsEEED2Ev> 0x0000000000400c32 <main+110>: mov %ebx,%eax 0x0000000000400c34 <main+112>: add $0x48,%rsp 0x0000000000400c38 <main+116>: pop %rbx 0x0000000000400c39 <main+117>: pop %rbp 0x0000000000400c3a <main+118>: retq 0x0000000000400c3b <main+119>: mov %rax,%rbx 0x0000000000400c3e <main+122>: lea -0x13(%rbp),%rax 0x0000000000400c42 <main+126>: mov %rax,%rdi 0x0000000000400c45 <main+129>: callq 0x400e96 <_ZNSaISt4pairIKSsSsEED2Ev> 0x0000000000400c4a <main+134>: mov %rbx,%rax 0x0000000000400c4d <main+137>: mov %rax,%rdi 0x0000000000400c50 <main+140>: callq 0x400a80 <_Unwind_Resume@plt> 0x0000000000400c55 <main+145>: mov %rax,%rbx 0x0000000000400c58 <main+148>: lea -0x50(%rbp),%rax 0x0000000000400c5c <main+152>: mov %rax,%rdi 0x0000000000400c5f <main+155>: callq 0x400dba <_ZNSt13unordered_mapISsSsSt4hashISsESt8equal_toISsESaISt4pairIKSsSsEEED2Ev> 0x0000000000400c64 <main+160>: mov %rbx,%rax 0x0000000000400c67 <main+163>: mov %rax,%rdi 0x0000000000400c6a <main+166>: callq 0x400a80 <_Unwind_Resume@plt> End of assembler dump. If not then tell me the steps and I'll post what you need.