Search code examples
c++exceptionstack-overflow

Unhandled exception at 0x013f3277 in bloom_filter_prl.exe: 0xC00000FD: Stack overflow


i get the above error when i try to debug my program in vc 2010. it happens at the first line of the main function where I have the following line

int main(int argc, char* argv[])
{    
    std::vector<std::string> word_list;

when i break the debugging it goes to "chkstk.stm" and indicates the possible error to be the following==>

Find next lower page and probe cs20:

    sub     eax, _PAGESIZE_         ; decrease by PAGESIZE
    test    dword ptr [eax],eax     ; probe page.
    jmp     short cs10

_chkstk endp

    end

Solution

  • I was trying to have large allocations on one of my user defined header files.