I've been trying to build C::B and today, after I opened the project using File->Recent projects program freezed so I decided to get a backtrace, and it's different this time (and finally with no cc plugin wandering around) so I think it might be helpful.
Second thing (I think I should post it in "Help" but it's somewhat related to the problem so I posted it here. If it's a problem, just tell me and I'll split the post) is that I cannot build my own codeblocks to provide more information. Trying to both compile it with wx 2.8.12 and 3.0.2 and I always get "Undefined reference" errors. With 2.8.12 it seems to be linker error because all names start with "_imp__" while 3.0.2 outputs normal function names so I guess it's the compiler's error.
I built both 3.0.2 and 2.8.12 with the commands provided
here and manually (no SVN, SF->Download Snapshot) dowloaded the latest (10638 at that time) version, set all the global variables ("wx" and "wx30" to D:\Grabusz\C++\wxMSW-2.8.12 and D:\Grabusz\C++\wxMSW-3.0.2 respectively - these are the folders in which the README_MSW are; "cb_release_type" to -g) and tried to compile using "All".
Looking at few first errors in 3.0.2 log I think the problem lies within wxWidget headers, but posted it here so that more experienced programmers can comment on it.
I've been using MinGW with gcc 4.9.2 to compile it (MinGW w64 with gcc 5.3.0 fails to compile it at the beginning)
Here's the call stack:
Attaching to process 3128
[New Thread 3128.0x8fc]
[New Thread 3128.0x850]
[New Thread 3128.0xbd4]
[New Thread 3128.0xc84]
[New Thread 3128.0x928]
[New Thread 3128.0xc10]
[New Thread 3128.0xcd8]
[New Thread 3128.0x11c8]
[New Thread 3128.0x10a4]
[New Thread 3128.0x10c8]
[New Thread 3128.0x10d4]
[New Thread 3128.0x12d4]
[New Thread 3128.0x11b4]
[New Thread 3128.0x1324]
[New Thread 3128.0x11ec]
[New Thread 3128.0x1134]
Reading symbols from C:\Programy\CodeBlocks RC\codeblocks.exe...(no debugging symbols found)...done.
0x7766000d in ntdll!DbgBreakPoint () from C:\Windows\SysWOW64\ntdll.dll
(gdb) thread apply all bt
Thread 16 (Thread 3128.0x1134):
#0 0x7766000d in ntdll!DbgBreakPoint () from C:\Windows\SysWOW64\ntdll.dll
#1 0x776eeede in ntdll!DbgUiRemoteBreakin () from C:\Windows\SysWOW64\ntdll.dll
#2 0x7a5d6c2f in ?? ()
#3 0x00000000 in ?? ()
Thread 15 (Thread 3128.0x11ec):
#0 0x77671f26 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\Windows\SysWOW64\ntdll.dll
#1 0x77671f26 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\Windows\SysWOW64\ntdll.dll
#2 0x77695d56 in ntdll!TpSetTimer () from C:\Windows\SysWOW64\ntdll.dll
#3 0x764533aa in KERNEL32!BaseThreadInitThunk () from C:\Windows\syswow64\kernel32.dll
#4 0x77688fc2 in ntdll!RtlInitializeExceptionChain () from C:\Windows\SysWOW64\ntdll.dll
#5 0x77688f95 in ntdll!RtlInitializeExceptionChain () from C:\Windows\SysWOW64\ntdll.dll
#6 0x00000000 in ?? ()
Thread 14 (Thread 3128.0x1324):
#0 0x7526723b in USER32!GetPropW () from C:\Windows\syswow64\user32.dll
#1 0x7526cd81 in USER32!SendMessageW () from C:\Windows\syswow64\user32.dll
#2 0x6ccdb9b1 in wxExecuteThread(void*)@4 () from C:\Programy\CodeBlocks RC\wxmsw28u_gcc_cb.dll
#3 0x00002b10 in ?? ()
#4 0x00000000 in ?? ()
Thread 13 (Thread 3128.0x11b4):
---Type <return> to continue, or q <return> to quit---thread apply all bt
#0 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#1 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#2 0x760514b9 in WaitForSingleObjectEx () from C:\Windows\syswow64\KernelBase.dll
#3 0x0000050c in ?? ()
#4 0x00000000 in ?? ()
Thread 12 (Thread 3128.0x12d4):
#0 0x7526723b in USER32!GetPropW () from C:\Windows\syswow64\user32.dll
#1 0x7526cd81 in USER32!SendMessageW () from C:\Windows\syswow64\user32.dll
#2 0x6ccdb9b1 in wxExecuteThread(void*)@4 () from C:\Programy\CodeBlocks RC\wxmsw28u_gcc_cb.dll
#3 0x00002b10 in ?? ()
#4 0x00000000 in ?? ()
Thread 11 (Thread 3128.0x10d4):
#0 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#1 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#2 0x760514b9 in WaitForSingleObjectEx () from C:\Windows\syswow64\KernelBase.dll
#3 0x0000052c in ?? ()
#4 0x00000000 in ?? ()
Thread 10 (Thread 3128.0x10c8):
#0 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#1 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#2 0x760514b9 in WaitForSingleObjectEx () from C:\Windows\syswow64\KernelBase.dll
---Type <return> to continue, or q <return> to quit---
#3 0x00000478 in ?? ()
#4 0x00000000 in ?? ()
Thread 9 (Thread 3128.0x10a4):
#0 0x7767013d in ntdll!ZwWaitForMultipleObjects () from C:\Windows\SysWOW64\ntdll.dll
#1 0x7767013d in ntdll!ZwWaitForMultipleObjects () from C:\Windows\SysWOW64\ntdll.dll
#2 0x76051605 in WaitForMultipleObjectsEx () from C:\Windows\syswow64\KernelBase.dll
#3 0x00000002 in ?? ()
#4 0x0a94fd34 in ?? ()
#5 0x76451a3c in WaitForMultipleObjectsEx () from C:\Windows\syswow64\kernel32.dll
#6 0x630e6402 in ?? () from C:\Programy\CodeBlocks RC\share\codeblocks\plugins\FileManager.dll
#7 0x6ccd8aec in wxThreadInternal::DoThreadStart(wxThread*) () from C:\Programy\CodeBlocks RC\wxmsw28u_gcc_cb.dll
#8 0x6ccd8be5 in wxThreadInternal::WinThreadStart(void*)@4 () from C:\Programy\CodeBlocks RC\wxmsw28u_gcc_cb.dll
#9 0x05788f38 in ?? ()
#10 0x76e01328 in msvcrt!_endthreadex () from C:\Windows\syswow64\msvcrt.dll
#11 0x764533aa in KERNEL32!BaseThreadInitThunk () from C:\Windows\syswow64\kernel32.dll
#12 0x77688fc2 in ntdll!RtlInitializeExceptionChain () from C:\Windows\SysWOW64\ntdll.dll
#13 0x77688f95 in ntdll!RtlInitializeExceptionChain () from C:\Windows\SysWOW64\ntdll.dll
#14 0x00000000 in ?? ()
Thread 8 (Thread 3128.0x11c8):
#0 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#1 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#2 0x760514b9 in WaitForSingleObjectEx () from C:\Windows\syswow64\KernelBase.dll
---Type <return> to continue, or q <return> to quit---
#3 0x00000158 in ?? ()
#4 0x00000000 in ?? ()
Thread 7 (Thread 3128.0xcd8):
#0 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#1 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#2 0x760514b9 in WaitForSingleObjectEx () from C:\Windows\syswow64\KernelBase.dll
#3 0x00000294 in ?? ()
#4 0x00000000 in ?? ()
Thread 6 (Thread 3128.0xc10):
#0 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#1 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#2 0x760514b9 in WaitForSingleObjectEx () from C:\Windows\syswow64\KernelBase.dll
#3 0x000001e0 in ?? ()
#4 0x00000000 in ?? ()
Thread 5 (Thread 3128.0x928):
#0 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#1 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#2 0x760514b9 in WaitForSingleObjectEx () from C:\Windows\syswow64\KernelBase.dll
#3 0x000001d4 in ?? ()
#4 0x00000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
Thread 4 (Thread 3128.0xc84):
#0 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#1 0x7766f8b1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll
#2 0x760514b9 in WaitForSingleObjectEx () from C:\Windows\syswow64\KernelBase.dll
#3 0x000001cc in ?? ()
#4 0x00000000 in ?? ()
Thread 3 (Thread 3128.0xbd4):
#0 0x77671f26 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\Windows\SysWOW64\ntdll.dll
#1 0x77671f26 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\Windows\SysWOW64\ntdll.dll
#2 0x77695d56 in ntdll!TpSetTimer () from C:\Windows\SysWOW64\ntdll.dll
#3 0x764533aa in KERNEL32!BaseThreadInitThunk () from C:\Windows\syswow64\kernel32.dll
#4 0x77688fc2 in ntdll!RtlInitializeExceptionChain () from C:\Windows\SysWOW64\ntdll.dll
#5 0x77688f95 in ntdll!RtlInitializeExceptionChain () from C:\Windows\SysWOW64\ntdll.dll
#6 0x00000000 in ?? ()
Thread 2 (Thread 3128.0x850):
#0 0x7767013d in ntdll!ZwWaitForMultipleObjects () from C:\Windows\SysWOW64\ntdll.dll
#1 0x7767013d in ntdll!ZwWaitForMultipleObjects () from C:\Windows\SysWOW64\ntdll.dll
#2 0x77695965 in ntdll!RtlDosPathNameToNtPathName_U () from C:\Windows\SysWOW64\ntdll.dll
#3 0x764533aa in KERNEL32!BaseThreadInitThunk () from C:\Windows\syswow64\kernel32.dll
#4 0x77688fc2 in ntdll!RtlInitializeExceptionChain () from C:\Windows\SysWOW64\ntdll.dll
#5 0x77688f95 in ntdll!RtlInitializeExceptionChain () from C:\Windows\SysWOW64\ntdll.dll
#6 0x00000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
Thread 1 (Thread 3128.0x8fc):
#0 0x7766fd71 in ntdll!ZwDelayExecution () from C:\Windows\SysWOW64\ntdll.dll
#1 0x7766fd71 in ntdll!ZwDelayExecution () from C:\Windows\SysWOW64\ntdll.dll
#2 0x76053bdd in SleepEx () from C:\Windows\syswow64\KernelBase.dll
#3 0x00000000 in ?? ()
Build logs are in the attachment
And two more things:
1. It would be nice if C::B didn't save global variable as invalid, when nothing is entered, but rather passed it as an empty string (I would leave "cb_release_type" empty if I didn't want any custom compiler parameters).
2. Should I compile it with -g or maybe -ggdb? Since I'm going to debug it with GDB, -ggdb sounds beter.
EDIT:
No I didn't compile wxWidget with -g.