I almost forgot.
Here's the debug log:
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Documents and Settings\0hidden0\Desktop\PN01\
Adding source dir: C:\Documents and Settings\0hidden0\Desktop\PN01\
Adding file: C:\Documents and Settings\0hidden0\Desktop\PN01\bin\Debug\PN01.exe
Changing directory to: C:/DOCUME~1/0hidden0/Desktop/PN01/.
Set variable: PATH=.;C:\SDL SDK\lib;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static
[debug]Command-line: C:\Program Files\CodeBlocks\MINGW\bin\gdb.exe -nx -fullname -quiet -args C:/DOCUME~1/0hidden0/Desktop/PN01/bin/Debug/PN01.exe
[debug]Working dir : C:\DOCUME~1\0hidden0\Desktop\PN01
Starting debugger: C:\Program Files\CodeBlocks\MINGW\bin\gdb.exe -nx -fullname -quiet -args C:/DOCUME~1/0hidden0/Desktop/PN01/bin/Debug/PN01.exe
done
[debug]> set prompt >>>>>>cb_gdb:
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
[debug]Reading symbols from C:\DOCUME~1\0hidden0\Desktop\PN01\bin\Debug\PN01.exe...done.
[debug](gdb) >>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb (GDB) 7.5
[debug]Copyright (C) 2012 Free Software Foundation, Inc.
[debug]License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
[debug]This is free software: you are free to change and redistribute it.
[debug]There is NO WARRANTY, to the extent permitted by law. Type "show copying"
[debug]and "show warranty" for details.
[debug]This GDB was configured as "i686-pc-mingw32".
[debug]For bug reporting instructions, please see:
[debug]<
http://www.gnu.org/software/gdb/bugs/>.
[debug]>>>>>>cb_gdb:
[debug]> set confirm off
Debugger name and version: GNU gdb (GDB) 7.5
[debug]>>>>>>cb_gdb:
[debug]> set width 0
[debug]>>>>>>cb_gdb:
[debug]> set height 0
[debug]>>>>>>cb_gdb:
[debug]> set breakpoint pending on
[debug]>>>>>>cb_gdb:
[debug]> set print asm-demangle on
[debug]>>>>>>cb_gdb:
[debug]> set unwindonsignal on
[debug]>>>>>>cb_gdb:
[debug]> set print elements 0
[debug]>>>>>>cb_gdb:
[debug]> set disassembly-flavor att
[debug]>>>>>>cb_gdb:
[debug]> catch throw
[debug]Catchpoint 1 (throw)
[debug]>>>>>>cb_gdb:
[debug]> source C:\Program Files\CodeBlocks\share\codeblocks/scripts/stl-views-1.0.3.gdb
[debug]>>>>>>cb_gdb:
[debug]> directory C:/DOCUME~1/0hidden0/Desktop/PN01/
[debug]Source directories searched: C:/DOCUME~1/0hidden0/Desktop/PN01;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]Starting program: C:\DOCUME~1\0hidden0\Desktop\PN01\bin\Debug\PN01.exe
Child process PID: 324
[debug][New Thread 324.0xa0]
[debug][New Thread 324.0x924]
[debug][New Thread 324.0xf7c]
[debug][New Thread 324.0xc3c]
[debug][New Thread 324.0x778]
[debug][New Thread 324.0x758]
[debug][New Thread 324.0xff8]
[debug][New Thread 324.0xcac]
[debug]Program received signal SIGSEGV, Segmentation fault.
[debug]0x7c90e8e5 in strchr () from C:\WINDOWS\system32\ntdll.dll
[debug]>>>>>>cb_gdb:
Program received signal SIGSEGV, Segmentation fault.
In strchr () (C:\WINDOWS\system32\ntdll.dll)
[debug]> bt 30
[debug]#0 0x7c90e8e5 in strchr () from C:\WINDOWS\system32\ntdll.dll
[debug]#1 0x00000000 in ?? ()
[debug]>>>>>>cb_gdb: