Author Topic: 17.xx, RC1 has arrived  (Read 30177 times)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
17.xx, RC1 has arrived
« on: November 12, 2017, 10:23:17 pm »
For the announcement see here:
http://forums.codeblocks.org/index.php/topic,22265.new.html

...this thread is for the feedback. Keep it coming!
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: 17.xx, RC1 has arrived
« Reply #1 on: November 12, 2017, 11:53:29 pm »
Any reason the second RC uses wxWidgets 3.1.1? Instead wxWidgets 3.0.3?

Note: There is no release currently numbered 3.1.1; are you using wxWidgets git master?

Tim S.
 
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 17.xx, RC1 has arrived
« Reply #2 on: November 13, 2017, 02:37:10 am »
HiDPI support is present only in wx3.1.x...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: 17.xx, RC1 has arrived
« Reply #3 on: November 13, 2017, 07:20:52 am »
HiDPI support is present only in wx3.1.x...

==> means it is absent in wx303 and wx2812, right ?

Why jeopardize all the rest for this one feature ?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: 17.xx, RC1 has arrived
« Reply #4 on: November 13, 2017, 09:28:36 am »
HiDPI support is present only in wx3.1.x...

==> means it is absent in wx303 and wx2812, right ?

Why jeopardize all the rest for this one feature ?

The first RC uses wx2812; me I would call the wx311 an beta release that contains HiDPI support to reduce people who do not have/need HiDPI from downloading it.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 17.xx, RC1 has arrived
« Reply #5 on: November 13, 2017, 09:16:05 pm »
Both are rc. Please test both and report problems.
If you report problems about differences between the two versions, it will be even better.

If the wx3.1 build is found to be too troublesome we could remove it.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline raynebc

  • Almost regular
  • **
  • Posts: 217
Re: 17.xx, RC1 has arrived
« Reply #6 on: November 14, 2017, 01:17:18 am »
Is the release candidate available as a non-installer (ie. just a zip file like the nightly builds)?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 17.xx, RC1 has arrived
« Reply #7 on: November 14, 2017, 01:27:09 am »
Nope obviously. We want people to test the installer.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: 17.xx, RC1 has arrived
« Reply #8 on: December 04, 2017, 04:17:39 pm »
I just download the file codeblocks-17.xx-wx31-setup-RC1.exe, and installed it to E:\Codeblocks. Then I double click the CBLauncher.exe to start, and C::B just crashed(After the compiler setting dialog), here is the codeblocks.RPT. I'm using Windows 7 64bit.

Code
-------------------

Error occurred on Monday, December 4, 2017 at 23:13:32.

codeblocks.exe caused an Access Violation at location 66A649A3 in module wxmsw310u_gcc_custom.dll Reading from location 00000010.

Registers:
eax=00000000 ebx=66e3db94 ecx=00000000 edx=00000000 esi=66e4e1c4 edi=66e1c4cc
eip=66a649a3 esp=0028f2a0 ebp=08e450a0 iopl=0         nv up ei pl zr na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00210246

AddrPC   Params
66A649A3 08E450A0 02CF9CE0 00000000  wxmsw310u_gcc_custom.dll!wxXmlDocument::Save
6628B5C2 00000000 00000000 00000000  wxmsw310u_gcc_custom.dll!wxWindowBase::PushEventHandler

codeblocks.exe 16.1.0.0
ntdll.dll    6.1.7601.23807
kernel32.dll 6.1.7601.23807
KERNELBASE.dll 6.1.7601.23807
COMCTL32.DLL 6.10.7601.18837
msvcrt.dll  7.0.7601.17744
GDI32.dll    6.1.7601.23807
USER32.dll  6.1.7601.23594
ADVAPI32.dll 6.1.7601.23807
sechost.dll 6.1.7601.18869
RPCRT4.dll  6.1.7601.23816
SspiCli.dll 6.1.7601.23816
CRYPTBASE.dll 6.1.7601.23816
LPK.dll      6.1.7601.23807
USP10.dll    1.626.7601.23807
SHLWAPI.dll 6.1.7601.17514
SHELL32.DLL 6.1.7601.23806
SHFOLDER.DLL 6.1.7600.16385
wxmsw310u_gcc_custom.dll 3.1.0.0
COMDLG32.DLL 6.1.7601.17514
OLE32.dll    6.1.7601.23775
OLEAUT32.DLL 6.1.7601.23775
VERSION.dll 6.1.7600.16385
WINMM.DLL    6.1.7601.17514
WINSPOOL.DRV 6.1.7601.17514
WSOCK32.DLL 6.1.7600.16385
WS2_32.dll  6.1.7601.23451
NSI.dll      6.1.7600.16385
codeblocks.dll
exchndl.dll 0.8.2.0
mgwhelp.dll 0.8.2.0
dbghelp.dll 6.3.9600.17336
PSAPI.DLL    6.1.7600.16385
apphelp.dll 6.1.7601.19050
AcLayers.DLL 6.1.7601.19050
USERENV.dll 6.1.7601.17514
profapi.dll 6.1.7600.16385
MPR.dll      6.1.7600.16385
IMM32.DLL    6.1.7601.17514
MSCTF.dll    6.1.7601.23572
nvinit.dll  10.18.13.5923
detoured.dll
nvd3d9wrap.dll 10.18.13.5923
SETUPAPI.dll 6.1.7601.18361
CFGMGR32.dll 6.1.7601.17621
DEVOBJ.dll  6.1.7601.17621
nvdxgiwrap.dll 10.18.13.5923
uxtheme.dll 6.1.7600.16385
dwmapi.dll  6.1.7601.18917
CRYPTSP.dll 6.1.7601.23471
rsaenh.dll  6.1.7600.16385
RpcRtRemote.dll 6.1.7601.17514
CLBCatQ.DLL 2001.12.8530.16385
WindowsCodecs.dll 6.2.9200.21830
TortoiseOverlays.dll 1.1.4.26626
api-ms-win-core-synch-l1-2-0.DLL 10.0.10586.788
TortoiseGitStub32.dll 2.5.0.0
EhStorShell.dll 6.1.7600.16385
PROPSYS.dll 7.0.7601.17514
ntshrui.dll 6.1.7601.17755
srvcli.dll  6.1.7601.17514
cscapi.dll  6.1.7601.17514
slc.dll      6.1.7600.16385
msftedit.DLL 5.41.21.2510
abbreviations.dll
astyle.dll
autosave.dll
AutoVersioning.dll
BrowseTracker.dll
byogames.dll
cb_koders.dll
Cccc.dll
classwizard.dll
codecompletion.dll
codesnippets.dll
codestat.dll
compiler.dll
copystrings.dll
CppCheck.dll
Cscope.dll
debugger.dll
defaultmimehandler.dll
OccurrencesHighlighting.dll
openfileslist.dll
projectsimporter.dll
scriptedwizard.dll
todo.dll
wxsmith.dll
wxsmithlib.dll
wxSmithAui.dll
wxSmithContribItems.dll
wxchartctrl.dll
wxcustombutton.dll
wxdatetimepicker.dll
wxflatnotebook.dll
wximagepanel.dll
wxkwic.dll
wxled.dll
wxmathplot.dll
wxspeedbutton.dll
xpmanifest.dll
msimg32.dll 6.1.7600.16385

Windows 6.1.7601
DrMingw 0.8.2


« Last Edit: December 04, 2017, 04:19:45 pm by ollydbg »
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 17.xx, RC1 has arrived
« Reply #9 on: December 04, 2017, 08:01:47 pm »
What happens if you use the dbg version?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline windwalker

  • Single posting newcomer
  • *
  • Posts: 2
Re: 17.xx, RC1 has arrived
« Reply #10 on: December 04, 2017, 10:44:11 pm »
I am adding confirmation that the report by ollydbg applies to 64 bit Windows 10.
Code
ver

Microsoft Windows [Version 10.0.16299.98]
After installing the codeblocks-17.xx-wx31-setup-RC1_dbg.exe package, it detected the compiler at C:\TDM-GCC-64 and then crashed.
The report is identical except for the OS differences.
Code
-------------------

Error occurred on Monday, December 4, 2017 at 23:19:33.

codeblocks.exe caused an Access Violation at location 66A649A3 in module wxmsw310u_gcc_custom.dll Reading from location 00000010.

Registers:
eax=00000000 ebx=66e3db94 ecx=00000000 edx=00000000 esi=66e4e1c4 edi=66e1c4cc
eip=66a649a3 esp=008af290 ebp=0558b7d0 iopl=0         nv up ei pl zr na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00210246

AddrPC   Params
66A649A3 0558B7D0 050BE120 00000000  wxmsw310u_gcc_custom.dll!wxXmlDocument::Save
6628B5C2 00000000 00000000 00000000  wxmsw310u_gcc_custom.dll!wxWindowBase::PushEventHandler

codeblocks.exe 16.1.0.0
ntdll.dll    10.0.16299.64
KERNEL32.DLL 10.0.16299.15
KERNELBASE.dll 10.0.16299.15
msvcrt.dll  7.0.16299.98
SHELL32.DLL 10.0.16299.98
COMCTL32.DLL 6.10.16299.98
cfgmgr32.dll 10.0.16299.15
combase.dll 10.0.16299.15
ucrtbase.dll 10.0.16299.98
shcore.dll  10.0.16299.15
RPCRT4.dll  10.0.16299.15
SspiCli.dll 10.0.16299.98
CRYPTBASE.dll 10.0.16299.15
bcryptPrimitives.dll 10.0.16299.98
sechost.dll 10.0.16299.15
GDI32.dll    10.0.16299.15
windows.storage.dll 10.0.16299.98
gdi32full.dll 10.0.16299.98
msvcp_win.dll 10.0.16299.15
advapi32.dll 10.0.16299.15
USER32.dll  10.0.16299.64
shlwapi.dll 10.0.16299.15
win32u.dll  10.0.16299.15
kernel.appcore.dll 10.0.16299.15
powrprof.dll 10.0.16299.15
profapi.dll 10.0.16299.15
SHFOLDER.DLL 10.0.16299.15
exchndl.dll 0.8.2.0
PSAPI.DLL    10.0.16299.15
wxmsw310u_gcc_custom.dll 3.1.0.0
VERSION.dll 10.0.16299.15
codeblocks.dll
COMDLG32.DLL 10.0.16299.15
OLE32.dll    10.0.16299.15
OLEAUT32.DLL 10.0.16299.15
WINMM.DLL    10.0.16299.15
WSOCK32.DLL 10.0.16299.15
WINMMBASE.dll 10.0.16299.15
WS2_32.dll  10.0.16299.15
mgwhelp.dll 0.8.2.0
WINSPOOL.DRV 10.0.16299.15
bcrypt.dll  10.0.16299.15
IPHLPAPI.DLL 10.0.16299.15
dbghelp.dll 6.3.9600.17336
IMM32.DLL    10.0.16299.15
uxtheme.dll 10.0.16299.15
MSCTF.dll    10.0.16299.19
dwmapi.dll  10.0.16299.15
TextInputFramework.dll 10.0.16299.15
CoreUIComponents.dll 10.0.16299.15
CoreMessaging.dll 10.0.16299.15
ntmarta.dll 10.0.16299.15
wintypes.dll 10.0.16299.15
clbcatq.dll 2001.12.10941.16384
dataexchange.dll 10.0.16299.15
d3d11.dll    10.0.16299.98
dcomp.dll    10.0.16299.15
dxgi.dll    10.0.16299.98
twinapi.appcore.dll 10.0.16299.19
RMCLIENT.dll 10.0.16299.15
WindowsCodecs.dll 10.0.16299.15
msftedit.DLL 10.0.16299.15
Windows.Globalization.dll 10.0.16299.15
Bcp47Langs.dll 10.0.16299.15
globinputhost.dll 10.0.16299.15
abbreviations.dll
astyle.dll
autosave.dll
AutoVersioning.dll
BrowseTracker.dll
byogames.dll
cb_koders.dll
Cccc.dll
classwizard.dll
codecompletion.dll
codesnippets.dll
codestat.dll
compiler.dll
copystrings.dll
CppCheck.dll
Cscope.dll
debugger.dll
defaultmimehandler.dll
OccurrencesHighlighting.dll
openfileslist.dll
projectsimporter.dll
scriptedwizard.dll
todo.dll
wxsmith.dll
wxsmithlib.dll
wxSmithAui.dll
wxSmithContribItems.dll
wxcustombutton.dll
wxchartctrl.dll
wxflatnotebook.dll
wximagepanel.dll
wxdatetimepicker.dll
wxmathplot.dll
wxkwic.dll
wxspeedbutton.dll
wxled.dll
xpmanifest.dll
apphelp.dll 10.0.16299.98
msimg32.dll 10.0.16299.15
WININET.dll 11.0.16299.98
iertutil.dll 11.0.16299.15
ondemandconnroutehelper.dll 10.0.16299.15
winhttp.dll 10.0.16299.98
mswsock.dll 10.0.16299.15
NSI.dll      10.0.16299.15
WINNSI.DLL  10.0.16299.15
urlmon.dll  11.0.16299.98
imagehlp.dll 10.0.16299.15
msiso.dll    11.0.16299.15
DNSAPI.dll  10.0.16299.19
mdnsNSP.dll 3.1.0.1
rasadhlp.dll 10.0.16299.15
fwpuclnt.dll 10.0.16299.15

Windows 10.0.16299
DrMingw 0.8.2

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: 17.xx, RC1 has arrived
« Reply #11 on: December 05, 2017, 02:23:01 am »
What happens if you use the dbg version?
OK, it is the same, because the crash happens in the wx dll. I just installed the dbg version under E:\CodeBlocksdbg, and here is the crash report:

Code
-------------------

Error occurred on Tuesday, December 5, 2017 at 09:21:04.

codeblocks.exe caused an Access Violation at location 66A649A3 in module wxmsw310u_gcc_custom.dll Reading from location 00000010.

Registers:
eax=00000000 ebx=66e3db94 ecx=00000000 edx=00000000 esi=66e4e1c4 edi=66e1c4cc
eip=66a649a3 esp=0028f2a0 ebp=125e5c70 iopl=0         nv up ei pl zr na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00210246

AddrPC   Params
66A649A3 125E5C70 02E8F9F8 00000000  wxmsw310u_gcc_custom.dll!wxXmlDocument::Save
6628B5C2 00000000 00000000 00000000  wxmsw310u_gcc_custom.dll!wxWindowBase::PushEventHandler

codeblocks.exe 16.1.0.0
ntdll.dll    6.1.7601.23807
kernel32.dll 6.1.7601.23807
KERNELBASE.dll 6.1.7601.23807
COMCTL32.DLL 6.10.7601.18837
msvcrt.dll  7.0.7601.17744
GDI32.dll    6.1.7601.23807
USER32.dll  6.1.7601.23594
ADVAPI32.dll 6.1.7601.23807
sechost.dll 6.1.7601.18869
RPCRT4.dll  6.1.7601.23816
SspiCli.dll 6.1.7601.23816
CRYPTBASE.dll 6.1.7601.23816
LPK.dll      6.1.7601.23807
USP10.dll    1.626.7601.23807
SHLWAPI.dll 6.1.7601.17514
SHELL32.DLL 6.1.7601.23806
SHFOLDER.DLL 6.1.7600.16385
wxmsw310u_gcc_custom.dll 3.1.0.0
COMDLG32.DLL 6.1.7601.17514
OLE32.dll    6.1.7601.23775
OLEAUT32.DLL 6.1.7601.23775
VERSION.dll 6.1.7600.16385
WINMM.DLL    6.1.7601.17514
WINSPOOL.DRV 6.1.7601.17514
WSOCK32.DLL 6.1.7600.16385
WS2_32.dll  6.1.7601.23451
NSI.dll      6.1.7600.16385
codeblocks.dll
exchndl.dll 0.8.2.0
mgwhelp.dll 0.8.2.0
dbghelp.dll 6.3.9600.17336
PSAPI.DLL    6.1.7600.16385
apphelp.dll 6.1.7601.19050
AcLayers.DLL 6.1.7601.19050
USERENV.dll 6.1.7601.17514
profapi.dll 6.1.7600.16385
MPR.dll      6.1.7600.16385
IMM32.DLL    6.1.7601.17514
MSCTF.dll    6.1.7601.23572
nvinit.dll  10.18.13.5923
detoured.dll
nvd3d9wrap.dll 10.18.13.5923
SETUPAPI.dll 6.1.7601.18361
CFGMGR32.dll 6.1.7601.17621
DEVOBJ.dll  6.1.7601.17621
nvdxgiwrap.dll 10.18.13.5923
uxtheme.dll 6.1.7600.16385
dwmapi.dll  6.1.7601.18917
CRYPTSP.dll 6.1.7601.23471
rsaenh.dll  6.1.7600.16385
RpcRtRemote.dll 6.1.7601.17514
CLBCatQ.DLL 2001.12.8530.16385
WindowsCodecs.dll 6.2.9200.21830
TortoiseOverlays.dll 1.1.4.26626
api-ms-win-core-synch-l1-2-0.DLL 10.0.10586.788
TortoiseGitStub32.dll 2.5.0.0
EhStorShell.dll 6.1.7600.16385
PROPSYS.dll 7.0.7601.17514
ntshrui.dll 6.1.7601.17755
srvcli.dll  6.1.7601.17514
cscapi.dll  6.1.7601.17514
slc.dll      6.1.7600.16385
msftedit.DLL 5.41.21.2510
abbreviations.dll
astyle.dll
autosave.dll
AutoVersioning.dll
BrowseTracker.dll
byogames.dll
cb_koders.dll
Cccc.dll
classwizard.dll
codecompletion.dll
codesnippets.dll
codestat.dll
compiler.dll
copystrings.dll
CppCheck.dll
Cscope.dll
debugger.dll
defaultmimehandler.dll
OccurrencesHighlighting.dll
openfileslist.dll
projectsimporter.dll
scriptedwizard.dll
todo.dll
wxsmith.dll
wxsmithlib.dll
wxSmithAui.dll
wxSmithContribItems.dll
wxchartctrl.dll
wxcustombutton.dll
wxdatetimepicker.dll
wxflatnotebook.dll
wximagepanel.dll
wxkwic.dll
wxled.dll
wxmathplot.dll
wxspeedbutton.dll
xpmanifest.dll
msimg32.dll 6.1.7600.16385

Windows 6.1.7601
DrMingw 0.8.2


If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 17.xx, RC1 has arrived
« Reply #12 on: December 05, 2017, 08:15:40 am »
What happens if you use a debugger?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: 17.xx, RC1 has arrived
« Reply #13 on: December 05, 2017, 08:59:51 am »
What happens if you use a debugger?
I just tried it, but gdb.exe can't catch the crash, here is the log:
Code
(gdb) file e:/CodeBlocksdbg/cblauncher.exe
Reading symbols from e:/CodeBlocksdbg/cblauncher.exe...(no debugging symbols fou
nd)...done.
(gdb) r
Starting program: e:\CodeBlocksdbg\cblauncher.exe
[New Thread 11104.0x28c0]
warning: Could not load shared library symbols for C:\Program Files (x86)\NVIDIA
 Corporation\coprocmanager\_etoured.dll.
Do you need "set solib-search-path" or "set sysroot"?
[Inferior 1 (process 11104) exited normally]
(gdb) bt
No stack.
(gdb)
C::B just crashed.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 17.xx, RC1 has arrived
« Reply #14 on: December 05, 2017, 08:10:27 pm »
Yes because you're using the cblauncher. Can you try without it?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline windwalker

  • Single posting newcomer
  • *
  • Posts: 2
Re: 17.xx, RC1 has arrived
« Reply #15 on: December 06, 2017, 12:24:40 pm »
What happens if you use a debugger?
This happens.
Code
C:\Program Files (x86)\CodeBlocks>gdb codeblocks.exe
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from codeblocks.exe...(no debugging symbols found)...done.
(gdb) run
Starting program: C:\Program Files (x86)\CodeBlocks\codeblocks.exe
[New Thread 11084.0x2454]
warning: `C:\WINDOWS\SYSTEM32\ntdll.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
warning: `C:\WINDOWS\System32\wow64.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
warning: `C:\WINDOWS\System32\wow64win.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: `C:\WINDOWS\System32\wow64cpu.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
[New Thread 11084.0x2008]
[New Thread 11084.0x638]
[New Thread 11084.0x1f18]
[New Thread 11084.0xa6c]
[New Thread 11084.0x1a28]
[New Thread 11084.0x265c]
[New Thread 11084.0x1760]
[New Thread 11084.0x23b8]
[New Thread 11084.0x1f38]
[New Thread 11084.0x2814]
[New Thread 11084.0x12ac]
[Thread 11084.0x12ac exited with code 0]
[New Thread 11084.0x444]
[Thread 11084.0x444 exited with code 0]
[New Thread 11084.0x1300]
[Thread 11084.0x1300 exited with code 0]

Program received signal SIGSEGV, Segmentation fault.
0x0000002b in ?? ()
(gdb)

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: 17.xx, RC1 has arrived
« Reply #16 on: December 06, 2017, 01:27:30 pm »
Got the same crash with the empty back trace. Currently i try to rebuild wxWidgets git and codeblocks and to get a real back trace. Can you tell me what wxWidgets version do you used? There is no tag with wx311 or similar...

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: 17.xx, RC1 has arrived
« Reply #17 on: December 06, 2017, 02:28:25 pm »
I compiled all by my self and can not reproduce the crash.

Windows 7 64 bit

gcc version 5.1.0 (tdm-1)

wxWidgets 204bc3c887a172c30c490e15de4f1cea66f4230e (debug build)
Codeblocks 3d48746051e14fc8a90d0384681b396ec8a4a80f ( git-svn-id: https://svn.code.sf.net/p/codeblocks/code/branches/release-17.xx@11244 ) (debug build)

i try release now
[Edit] Same setup, but wxWidgets build as release crashes. But no back trace...
Code
#0 0x6440bc90	wxCommandEvent::GetString() const() (wxWidgets\lib\gcc_dll\wxmsw311u_gcc_custom.dll:??)

[Edit2:] Core plugins and app work without crash, so it is some plugin crashing

[Edit3:] Thread search is (one of) the culprit
« Last Edit: December 06, 2017, 04:00:18 pm by BlueHazzard »

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: 17.xx, RC1 has arrived
« Reply #18 on: December 06, 2017, 04:10:31 pm »
Ok, here is (one of) the crash:

src\plugins\contrib\ThreadSearch\DirectoryParamsPanel.cpp:71
Code
    
m_pMask = new wxComboBox(this, controlIDs.Get(ControlIDs::idSearchMask), wxT("*.*"),
                             wxDefaultPosition, wxDefaultSize, 0, choices, wxCB_DROPDOWN|wxTE_PROCESS_ENTER);

I can not find out, why it crashes. All parameter seem to be fine and valid. The crash is in the wxWidgets library, but it does not happen in debug build...

[edit:] this is some race condition. i removed all combobox things and still get the same crash, but on a later point

Any ideas?
« Last Edit: December 06, 2017, 05:40:34 pm by BlueHazzard »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: 17.xx, RC1 has arrived
« Reply #19 on: December 07, 2017, 01:20:41 am »
Ok, here is (one of) the crash:

src\plugins\contrib\ThreadSearch\DirectoryParamsPanel.cpp:71
Code
    
m_pMask = new wxComboBox(this, controlIDs.Get(ControlIDs::idSearchMask), wxT("*.*"),
                             wxDefaultPosition, wxDefaultSize, 0, choices, wxCB_DROPDOWN|wxTE_PROCESS_ENTER);

I can not find out, why it crashes. All parameter seem to be fine and valid. The crash is in the wxWidgets library, but it does not happen in debug build...

[edit:] this is some race condition. i removed all combobox things and still get the same crash, but on a later point

Any ideas?

I believe it is a compiler optimization bug, I reported before.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: 17.xx, RC1 has arrived
« Reply #20 on: December 07, 2017, 08:40:13 am »
I believe it is a compiler optimization bug, I reported before.
Makes sene, because of only triggering by non debug build, but how it comes to only get triggered by the thread search plugin?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: 17.xx, RC1 has arrived
« Reply #21 on: December 07, 2017, 03:51:25 pm »
I believe it is a compiler optimization bug, I reported before.
Makes sene, because of only triggering by non debug build, but how it comes to only get triggered by the thread search plugin?
No idea, I see such kinds of bug several times.
BTW: my reports are here: Threadsearch plugin cause crash when initilized (wx3.1,C::B svn head), I believe this bug can be reproduced by a wx sample code. But no idea how to find such minimal sample. :(
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline gtafan

  • Almost regular
  • **
  • Posts: 126
Re: 17.xx, RC1 has arrived
« Reply #22 on: December 18, 2017, 01:34:09 pm »
So will version 17 suport wxWigets 3.1?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 17.xx, RC1 has arrived
« Reply #23 on: December 18, 2017, 03:39:48 pm »
What do you mean by support?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline gtafan

  • Almost regular
  • **
  • Posts: 126
Re: 17.xx, RC1 has arrived
« Reply #24 on: December 19, 2017, 01:35:30 pm »
What do you mean by support?
In Code Blocks you can create a WxWidgets project, but in the curent version (16.1) the latest suported version of WxWidgets is 3.0.x.