Author Topic: Release 15.12, RC1 has arrived  (Read 57676 times)

Offline Grabusz

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Release 15.12, RC1 has arrived
« Reply #90 on: January 06, 2016, 01:45:47 pm »
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:
Code
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.
« Last Edit: January 06, 2016, 07:13:07 pm by Grabusz »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Release 15.12, RC1 has arrived
« Reply #91 on: January 07, 2016, 10:57:54 am »
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).
That is by design because empty global variables are perfectly valid but we really want to differ here between invalid and empty.

2. Should I compile it with -g or maybe -ggdb? Since I'm going to debug it with GDB, -ggdb sounds beter.
I believe -ggdb ingerits -g but I never used it. -g works fine with gdb, too.
You don't need to compile wx with -g, too.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Grabusz

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Release 15.12, RC1 has arrived
« Reply #92 on: January 11, 2016, 02:55:26 pm »
Finally successfuly compiled, run and reproduced the bug using 64-bit C::B 15.12 rev.10640 with wxWidget 3.0.2 compiled respectively with:
Code
-std=c11 -std=gnu++14 -m64 -g -ggdb
Code
CFLAGS ?= -O3 -std=c11 -D_WIN32_IE=0x0603 -Wno-unused-local-typedefs -Wno-deprecated-declarations -m64 -fomit-frame-pointer
CXXFLAGS ?= -O3 -std=gnu++14 -D_WIN32_IE=0x0603 -Wno-unused-local-typedefs -Wno-deprecated-declarations -m64 -fomit-frame-pointer
mingw32-make -j2 -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1  clean
mingw32-make -j2 -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1

Backtrace from gdb:
Code
Attaching to process 4240
[New Thread 4240.0x102c]
[New Thread 4240.0x98]
[New Thread 4240.0x11b8]
[New Thread 4240.0xcbc]
[New Thread 4240.0xfa0]
[New Thread 4240.0x13d0]
[New Thread 4240.0x12b8]
[New Thread 4240.0x139c]
[New Thread 4240.0xc58]
[New Thread 4240.0x11b4]
[New Thread 4240.0x1384]
[New Thread 4240.0x1178]
[New Thread 4240.0x1188]
[New Thread 4240.0x123c]
[New Thread 4240.0x6b4]
[New Thread 4240.0x1430]
[New Thread 4240.0x1438]
[New Thread 4240.0x143c]
[New Thread 4240.0x1444]
[New Thread 4240.0x145c]
[New Thread 4240.0x1740]
Reading symbols from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\codeblocks.exe...done.
0x00000000777bb111 in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll.dll
(gdb) thread apply all bt

Thread 21 (Thread 4240.0x1740):
#0  0x00000000777bb111 in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x0000000077861e88 in ntdll!DbgUiRemoteBreakin () from C:\Windows\SYSTEM32\ntdll.dll
#2  0x00000000775659dd in KERNEL32!BaseThreadInitThunk () from C:\Windows\system32\kernel32.dll
#3  0x000000007779a651 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 20 (Thread 4240.0x145c):
#0  0x00000000777bbf6a in ntdll!ZwRemoveIoCompletion () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefcef5941 in ?? () from C:\Windows\System32\mswsock.dll
#2  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 19 (Thread 4240.0x1444):
#0  0x00000000777bbf1a in ntdll!ZwWaitForSingleObject () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda010dc in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#2  0x000007feff1664d7 in WININET!InternetCloseHandle () from C:\Windows\system32\wininet.dll
#3  0x000007feff16cbe3 in WININET!InternetOpenUrlA () from C:\Windows\system32\wininet.dll
#4  0x000007feff16caac in WININET!InternetOpenUrlA () from C:\Windows\system32\wininet.dll
#5  0x00000000775659dd in KERNEL32!BaseThreadInitThunk () from C:\Windows\system32\kernel32.dll
#6  0x000000007779a651 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#7  0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 18 (Thread 4240.0x143c):
#0  0x00000000777bd7da in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000000007778ecfd in ntdll!RtlValidateHeap () from C:\Windows\SYSTEM32\ntdll.dll
#2  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 17 (Thread 4240.0x1438):
#0  0x00000000777bbf1a in ntdll!ZwWaitForSingleObject () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda010dc in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#2  0x000007fef2ca1fae in rasman!RasAddNotification () from C:\Windows\system32\rasman.dll
#3  0x00000000775659dd in KERNEL32!BaseThreadInitThunk () from C:\Windows\system32\kernel32.dll
#4  0x000000007779a651 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#5  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 16 (Thread 4240.0x1430):
#0  0x00000000777bd7da in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000000007778ecfd in ntdll!RtlValidateHeap () from C:\Windows\SYSTEM32\ntdll.dll
#2  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 15 (Thread 4240.0x6b4):
---Type <return> to continue, or q <return> to quit---
#0  0x00000000777bbf1a in ntdll!ZwWaitForSingleObject () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda010dc in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#2  0x000000006a2104ca in wxSemaphoreInternal::WaitTimeout(unsigned long) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#3  0x0000000001945ff1 in cbThreadPool::cbWorkerThread::Entry (this=0xe654b10) at D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\sdk\cbthreadpool.cpp:202
#4  0x000000006a20e012 in wxThread::CallEntry() () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#5  0x000000006a21361d in wxThreadInternal::DoThreadStart(wxThread*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#6  0x000000006a213781 in wxThreadInternal::WinThreadStart(void*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#7  0x000007feff71415f in srand () from C:\Windows\system32\msvcrt.dll
#8  0x000007feff716ebd in msvcrt!_ftime64_s () from C:\Windows\system32\msvcrt.dll
#9  0x00000000775659dd in KERNEL32!BaseThreadInitThunk () from C:\Windows\system32\kernel32.dll
#10 0x000000007779a651 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#11 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 14 (Thread 4240.0x123c):
#0  0x00000000777bc48a in ntdll!ZwWaitForMultipleObjects () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda01420 in KERNELBASE!GetCurrentProcess () from C:\Windows\system32\KernelBase.dll
#2  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 13 (Thread 4240.0x1188):
#0  0x00000000777bbf1a in ntdll!ZwWaitForSingleObject () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda010dc in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#2  0x000000006a2104ca in wxSemaphoreInternal::WaitTimeout(unsigned long) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
---Type <return> to continue, or q <return> to quit---
#3  0x0000000001945ff1 in cbThreadPool::cbWorkerThread::Entry (this=0xe654870) at D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\sdk\cbthreadpool.cpp:202
#4  0x000000006a20e012 in wxThread::CallEntry() () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#5  0x000000006a21361d in wxThreadInternal::DoThreadStart(wxThread*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#6  0x000000006a213781 in wxThreadInternal::WinThreadStart(void*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#7  0x000007feff71415f in srand () from C:\Windows\system32\msvcrt.dll
#8  0x000007feff716ebd in msvcrt!_ftime64_s () from C:\Windows\system32\msvcrt.dll
#9  0x00000000775659dd in KERNEL32!BaseThreadInitThunk () from C:\Windows\system32\kernel32.dll
#10 0x000000007779a651 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#11 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 12 (Thread 4240.0x1178):
#0  0x00000000777bc48a in ntdll!ZwWaitForMultipleObjects () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda01420 in KERNELBASE!GetCurrentProcess () from C:\Windows\system32\KernelBase.dll
#2  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 11 (Thread 4240.0x1384):
#0  0x00000000777bbf1a in ntdll!ZwWaitForSingleObject () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda010dc in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#2  0x000000006a2104ca in wxSemaphoreInternal::WaitTimeout(unsigned long) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#3  0x0000000001945ff1 in cbThreadPool::cbWorkerThread::Entry (this=0xa51efe0) at D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\sdk\cbthreadpool.cpp:202
#4  0x000000006a20e012 in wxThread::CallEntry() () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#5  0x000000006a21361d in wxThreadInternal::DoThreadStart(wxThread*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
---Type <return> to continue, or q <return> to quit---
#6  0x000000006a213781 in wxThreadInternal::WinThreadStart(void*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#7  0x000007feff71415f in srand () from C:\Windows\system32\msvcrt.dll
#8  0x000007feff716ebd in msvcrt!_ftime64_s () from C:\Windows\system32\msvcrt.dll
#9  0x00000000775659dd in KERNEL32!BaseThreadInitThunk () from C:\Windows\system32\kernel32.dll
#10 0x000000007779a651 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#11 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 10 (Thread 4240.0x11b4):
#0  0x00000000777bbf1a in ntdll!ZwWaitForSingleObject () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda010dc in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#2  0x000000006a2104ca in wxSemaphoreInternal::WaitTimeout(unsigned long) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#3  0x0000000065fd1eba in ClassBrowserBuilderThread::Entry (this=0xa774480) at D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\plugins\codecompletion\classbrowserbuilderthread.cpp:204
#4  0x000000006a20e012 in wxThread::CallEntry() () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#5  0x000000006a21361d in wxThreadInternal::DoThreadStart(wxThread*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#6  0x000000006a213781 in wxThreadInternal::WinThreadStart(void*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#7  0x000007feff71415f in srand () from C:\Windows\system32\msvcrt.dll
#8  0x000007feff716ebd in msvcrt!_ftime64_s () from C:\Windows\system32\msvcrt.dll
#9  0x00000000775659dd in KERNEL32!BaseThreadInitThunk () from C:\Windows\system32\kernel32.dll
#10 0x000000007779a651 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#11 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 9 (Thread 4240.0xc58):
---Type <return> to continue, or q <return> to quit---
#0  0x00000000777bbf1a in ntdll!ZwWaitForSingleObject () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda010dc in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#2  0x000000006a2104ca in wxSemaphoreInternal::WaitTimeout(unsigned long) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#3  0x0000000001945ff1 in cbThreadPool::cbWorkerThread::Entry (this=0xa5bbb70) at D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\sdk\cbthreadpool.cpp:202
#4  0x000000006a20e012 in wxThread::CallEntry() () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#5  0x000000006a21361d in wxThreadInternal::DoThreadStart(wxThread*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#6  0x000000006a213781 in wxThreadInternal::WinThreadStart(void*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#7  0x000007feff71415f in srand () from C:\Windows\system32\msvcrt.dll
#8  0x000007feff716ebd in msvcrt!_ftime64_s () from C:\Windows\system32\msvcrt.dll
#9  0x00000000775659dd in KERNEL32!BaseThreadInitThunk () from C:\Windows\system32\kernel32.dll
#10 0x000000007779a651 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#11 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 4240.0x139c):
#0  0x00000000777bbf1a in ntdll!ZwWaitForSingleObject () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda010dc in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#2  0x000000006a2104ca in wxSemaphoreInternal::WaitTimeout(unsigned long) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#3  0x0000000001b9557c in BackgroundThread::Entry (this=0x6eca138) at include/backgroundthread.h:138
#4  0x000000006a20e012 in wxThread::CallEntry() () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#5  0x000000006a21361d in wxThreadInternal::DoThreadStart(wxThread*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#6  0x000000006a213781 in wxThreadInternal::WinThreadStart(void*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#7  0x000007feff71415f in srand () from C:\Windows\system32\msvcrt.dll
#8  0x000007feff716ebd in msvcrt!_ftime64_s () from C:\Windows\system32\msvcrt.dll
---Type <return> to continue, or q <return> to quit---
#9  0x00000000775659dd in KERNEL32!BaseThreadInitThunk () from C:\Windows\system32\kernel32.dll
#10 0x000000007779a651 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#11 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 4240.0x12b8):
#0  0x00000000777bbf1a in ntdll!ZwWaitForSingleObject () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda010dc in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#2  0x000000006a2104ca in wxSemaphoreInternal::WaitTimeout(unsigned long) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#3  0x0000000001b9557c in BackgroundThread::Entry (this=0x6eca0e0) at include/backgroundthread.h:138
#4  0x000000006a20e012 in wxThread::CallEntry() () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#5  0x000000006a21361d in wxThreadInternal::DoThreadStart(wxThread*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#6  0x000000006a213781 in wxThreadInternal::WinThreadStart(void*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#7  0x000007feff71415f in srand () from C:\Windows\system32\msvcrt.dll
#8  0x000007feff716ebd in msvcrt!_ftime64_s () from C:\Windows\system32\msvcrt.dll
#9  0x00000000775659dd in KERNEL32!BaseThreadInitThunk () from C:\Windows\system32\kernel32.dll
#10 0x000000007779a651 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#11 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 4240.0x13d0):
#0  0x00000000777bbf1a in ntdll!ZwWaitForSingleObject () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda010dc in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#2  0x000000006a2104ca in wxSemaphoreInternal::WaitTimeout(unsigned long) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
---Type <return> to continue, or q <return> to quit---
#3  0x0000000001b9557c in BackgroundThread::Entry (this=0x6eca088) at include/backgroundthread.h:138
#4  0x000000006a20e012 in wxThread::CallEntry() () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#5  0x000000006a21361d in wxThreadInternal::DoThreadStart(wxThread*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#6  0x000000006a213781 in wxThreadInternal::WinThreadStart(void*) () from D:\Grabusz\C++\CodeBlocks\codeblocks-code-10640-trunk\src\devel30_64\wxmsw30u_gcc_custom.dll
#7  0x000007feff71415f in srand () from C:\Windows\system32\msvcrt.dll
#8  0x000007feff716ebd in msvcrt!_ftime64_s () from C:\Windows\system32\msvcrt.dll
#9  0x00000000775659dd in KERNEL32!BaseThreadInitThunk () from C:\Windows\system32\kernel32.dll
#10 0x000000007779a651 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#11 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 4240.0xfa0):
#0  0x00000000777bc48a in ntdll!ZwWaitForMultipleObjects () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda01420 in KERNELBASE!GetCurrentProcess () from C:\Windows\system32\KernelBase.dll
#2  0x00cc663300996633 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 4240.0xcbc):
#0  0x00000000777bc48a in ntdll!ZwWaitForMultipleObjects () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda01420 in KERNELBASE!GetCurrentProcess () from C:\Windows\system32\KernelBase.dll
#2  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 4240.0x11b8):
---Type <return> to continue, or q <return> to quit---
#0  0x00000000777bd7da in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000000007778ecfd in ntdll!RtlValidateHeap () from C:\Windows\SYSTEM32\ntdll.dll
#2  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 4240.0x98):
#0  0x00000000777bc48a in ntdll!ZwWaitForMultipleObjects () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000000007778a427 in ntdll!TpIsTimerSet () from C:\Windows\SYSTEM32\ntdll.dll
#2  0x00000000775659dd in KERNEL32!BaseThreadInitThunk () from C:\Windows\system32\kernel32.dll
#3  0x000000007779a651 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 4240.0x102c):
#0  0x00000000777bc48a in ntdll!ZwWaitForMultipleObjects () from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefda01420 in KERNELBASE!GetCurrentProcess () from C:\Windows\system32\KernelBase.dll
#2  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

+screenshot of wx debug alert in attachments

btw why, after running update30_64.bat I find .exe and libraries in output without the debugging symbols? I mean, I only compiled version containing them... does that .bar file remove them or sth?

Oh, and I found (through compiler warnings so I'm sure you're aware of that, but it won't hurt  mentioning it) that there's a variable haveTextString of type bool which is set to false, and later it's only changed to true. Nothing more than that doesn't seem to happen to it, so I think it could removed. It's in the "src\sdk\wxscintilla\src\ScintillaWX.cpp" at 628th line.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Release 15.12, RC1 has arrived
« Reply #93 on: January 12, 2016, 08:24:58 pm »
btw why, after running update30_64.bat I find .exe and libraries in output without the debugging symbols? I mean, I only compiled version containing them... does that .bar file remove them or sth?
After running update.bat the "devel" contains everything (including linker libs) with symbols. The "output" folder contains only whats really needed to run everything (without linker libs) and stripped symbols. That what the batch file does.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ