News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

crash when openning workspace under windows

Started by Freem, September 26, 2011, 11:20:36 AM

Previous topic - Next topic

Freem

I have started programming a library, and so, I use a workspace to ease usage of the 3 projects in it (the template lib, an implementation lib and a unit test program). Usually, I use my debian to develop, and so I never tried to compile or run it under windows.

Now, I want to verify that everything is okay, so I have downloaded my rev10 in my repo, and tried to open the workspace, and it make CB crash.

Here is the report:

-------------------

Error occured on Monday, September 26, 2011 at 10:34:56.

C:\codeblocks\codeblocks.exe caused an Access Violation at location 00000003 Reading from location 00000003.

Registers:
eax=031db710 ebx=00c17658 ecx=00000001 edx=00000003 esi=00000001 edi=0360d76e
eip=00000003 esp=0022f29c ebp=0022f378 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206

Call stack:
00000003
00448A02  C:\codeblocks\codeblocks.exe:00448A02
00458015  C:\codeblocks\codeblocks.exe:00458015
0048C0F4  C:\codeblocks\codeblocks.exe:0048C0F4  _ZN12wxPGProperty13SetHelpStringERK8wxString
61881ABC  C:\codeblocks\codeblocks.dll:61881ABC  _ZN7Manager12ProcessEventER15CodeBlocksEvent
618985B0  C:\codeblocks\codeblocks.dll:618985B0  _ZN13PluginManager13NotifyPluginsER15CodeBlocksEvent
618B5EE2  C:\codeblocks\codeblocks.dll:618B5EE2  _ZN14ProjectManager10SetProjectEP9cbProjectb
618C6990  C:\codeblocks\codeblocks.dll:618C6990  _ZN14ProjectManager19EndLoadingWorkspaceEv
618BB2DB  C:\codeblocks\codeblocks.dll:618BB2DB  _ZN14ProjectManager13LoadWorkspaceERK8wxString
00445B4C  C:\codeblocks\codeblocks.exe:00445B4C
00445567  C:\codeblocks\codeblocks.exe:00445567
0040830F  C:\codeblocks\codeblocks.exe:0040830F
00404817  C:\codeblocks\codeblocks.exe:00404817
00487454  C:\codeblocks\codeblocks.exe:00487454  _ZN12cbToolPlugin9BuildMenuEP9wxMenuBar
6CC7322E  C:\codeblocks\wxmsw28u_gcc_cb.dll:6CC7322E  _Z14wxUninitializev
6CCCD392  C:\codeblocks\wxmsw28u_gcc_cb.dll:6CCCD392  _Z7wxEntryP11HINSTANCE__S0_Pci
00401D71  C:\codeblocks\codeblocks.exe:00401D71
00482A76  C:\codeblocks\codeblocks.exe:00482A76
004010DB  C:\codeblocks\codeblocks.exe:004010DB
00401158  C:\codeblocks\codeblocks.exe:00401158
7C817077  C:\WINDOWS\system32\kernel32.dll:7C817077  RegisterWaitForInputIdle


-------------------

Error occured on Monday, September 26, 2011 at 10:35:04.

C:\codeblocks\codeblocks.exe caused an Access Violation at location 00000003 Reading from location 00000003.

Registers:
eax=03112ac8 ebx=00c17658 ecx=00000001 edx=00000003 esi=00000001 edi=80000001
eip=00000003 esp=0022f29c ebp=0022f378 iopl=0         nv up ei pl nz ac pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010212

Call stack:
00000003
00448A02  C:\codeblocks\codeblocks.exe:00448A02
00458015  C:\codeblocks\codeblocks.exe:00458015
0048C0F4  C:\codeblocks\codeblocks.exe:0048C0F4  _ZN12wxPGProperty13SetHelpStringERK8wxString
61881ABC  C:\codeblocks\codeblocks.dll:61881ABC  _ZN7Manager12ProcessEventER15CodeBlocksEvent
618985B0  C:\codeblocks\codeblocks.dll:618985B0  _ZN13PluginManager13NotifyPluginsER15CodeBlocksEvent
618B5EE2  C:\codeblocks\codeblocks.dll:618B5EE2  _ZN14ProjectManager10SetProjectEP9cbProjectb
618C6990  C:\codeblocks\codeblocks.dll:618C6990  _ZN14ProjectManager19EndLoadingWorkspaceEv
618BB2DB  C:\codeblocks\codeblocks.dll:618BB2DB  _ZN14ProjectManager13LoadWorkspaceERK8wxString
00445B4C  C:\codeblocks\codeblocks.exe:00445B4C
00445567  C:\codeblocks\codeblocks.exe:00445567
0040830F  C:\codeblocks\codeblocks.exe:0040830F
00404817  C:\codeblocks\codeblocks.exe:00404817
00487454  C:\codeblocks\codeblocks.exe:00487454  _ZN12cbToolPlugin9BuildMenuEP9wxMenuBar
6CC7322E  C:\codeblocks\wxmsw28u_gcc_cb.dll:6CC7322E  _Z14wxUninitializev
6CCCD392  C:\codeblocks\wxmsw28u_gcc_cb.dll:6CCCD392  _Z7wxEntryP11HINSTANCE__S0_Pci
00401D71  C:\codeblocks\codeblocks.exe:00401D71
00482A76  C:\codeblocks\codeblocks.exe:00482A76
004010DB  C:\codeblocks\codeblocks.exe:004010DB
00401158  C:\codeblocks\codeblocks.exe:00401158
7C817077  C:\WINDOWS\system32\kernel32.dll:7C817077  RegisterWaitForInputIdle


workspace:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_workspace_file>
<Workspace title="cremone">
<Project filename="src/cremone.cbp" />
<Project filename="implementation/sdl_implementation/sdl_implementation.cbp">
<Depends filename="src/cremone.cbp" />
</Project>
<Project filename="tests/sdl_tests/sdl_tests.cbp" active="1">
<Depends filename="implementation/sdl_implementation/sdl_implementation.cbp" />
</Project>
<Project filename="../../../sdltest/sdltest.cbp">
<Depends filename="implementation/sdl_implementation/sdl_implementation.cbp" />
</Project>
</Workspace>
</CodeBlocks_workspace_file>


first projet:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="cremone" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="libcremone" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Debug/" />
<Option type="2" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Compiler>
<Add option="-Wall" />
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="libcremone" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Release/" />
<Option type="2" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Compiler>
<Add option="-Wall" />
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wshadow" />
<Add option="-Winit-self" />
<Add option="-Wredundant-decls" />
<Add option="-Wcast-align" />
<Add option="-Wundef" />
<Add option="-Wfloat-equal" />
<Add option="-Winline" />
<Add option="-Wunreachable-code" />
<Add option="-Wmissing-declarations" />
<Add option="-Wmissing-include-dirs" />
<Add option="-Wswitch-enum" />
<Add option="-Wswitch-default" />
<Add option="-Weffc++" />
<Add option="-Wmain" />
<Add option="-pedantic-errors" />
<Add option="-pedantic" />
<Add option="-std=c++0x" />
<Add option="-Wextra" />
<Add option="-Wall" />
</Compiler>
<Unit filename="bitmap.h" />
<Unit filename="image.h" />
<Unit filename="screen.h" />
<Unit filename="sprite.h" />
<Unit filename="version.h" />
<Extensions>
<envvars />
<code_completion />
<debugger />
<AutoVersioning>
<Scheme minor_max="10000000" build_max="0" rev_max="0" rev_rand_max="1" build_times_to_increment_minor="-1486618624" />
<Settings autoincrement="0" date_declarations="1" update_manifest="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="1" svn_directory="/home/berenger/cremone/src/.svn" header_path="version.h" />
<Changes_Log show_changes_editor="1" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" />
<Code header_guard="VERSION_H" namespace="AutoVersion" prefix="" />
</AutoVersioning>
</Extensions>
</Project>
</CodeBlocks_project_file>


2nd project:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="sdl_tests" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/sdl_tests" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
</Compiler>
<Linker>
<Add directory="../../implementation/sdl_implementation/bin/Debug" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wshadow" />
<Add option="-Winit-self" />
<Add option="-Wredundant-decls" />
<Add option="-Wcast-align" />
<Add option="-Wundef" />
<Add option="-Wfloat-equal" />
<Add option="-Winline" />
<Add option="-Wunreachable-code" />
<Add option="-Wmissing-declarations" />
<Add option="-Wmissing-include-dirs" />
<Add option="-Wswitch-enum" />
<Add option="-Wswitch-default" />
<Add option="-Weffc++" />
<Add option="-Wmain" />
<Add option="-pedantic-errors" />
<Add option="-pedantic" />
<Add option="-std=c++0x" />
<Add option="-Wextra" />
<Add option="-Wall" />
<Add option="-fexceptions" />
<Add directory="/usr/include/unittest++" />
<Add directory="../../implementation/sdl_implementation" />
<Add directory="../../src" />
</Compiler>
<Linker>
<Add library="sdl_implementation" />
<Add library="SDL" />
<Add library="UnitTest++" />
<Add directory="../../implementation/sdl_implementation/bin/Debug" />
<Add directory="/usr/lib/" />
</Linker>
<Unit filename="draw_tester.cpp" />
<Unit filename="draw_tester.h" />
<Unit filename="main.cpp" />
<Unit filename="tests_sdl_bitmap.cpp" />
<Extensions>
<envvars />
<code_completion />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>


And the last one:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="sdl_implementation" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/libsdl_implementation" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="bin/Release/liblibsdl_implementation" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wshadow" />
<Add option="-Winit-self" />
<Add option="-Wredundant-decls" />
<Add option="-Wcast-align" />
<Add option="-Wundef" />
<Add option="-Wfloat-equal" />
<Add option="-Winline" />
<Add option="-Wunreachable-code" />
<Add option="-Wmissing-declarations" />
<Add option="-Wmissing-include-dirs" />
<Add option="-Wswitch-enum" />
<Add option="-Wswitch-default" />
<Add option="-Weffc++" />
<Add option="-Wmain" />
<Add option="-pedantic-errors" />
<Add option="-pedantic" />
<Add option="-std=c++0x" />
<Add option="-Wextra" />
<Add option="-Wall" />
<Add option="-fexceptions" />
<Add option="-fPIC" />
<Add directory="../../src/" />
</Compiler>
<Linker>
<Add library="SDL" />
<Add directory="../../src/" />
</Linker>
<Unit filename="sdl_bitmap.cpp" />
<Unit filename="sdl_bitmap.h" />
<Unit filename="sdl_cremone.h" />
<Unit filename="sdl_screen.cpp" />
<Unit filename="sdl_screen.h" />
<Unit filename="version.h" />
<Extensions>
<envvars />
<code_completion />
<debugger />
<AutoVersioning>
<Scheme minor_max="1410065408" build_max="0" rev_max="0" rev_rand_max="1" build_times_to_increment_minor="1215752192" />
<Settings autoincrement="0" date_declarations="1" update_manifest="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="1" svn_directory=".svn" header_path="version.h" />
<Changes_Log show_changes_editor="1" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" />
<Code header_guard="VERSION_H" namespace="AutoVersion" prefix="" />
</AutoVersioning>
</Extensions>
</Project>
</CodeBlocks_project_file>


The project is here if needed: svn://svn.gna.org/svn/cremone/trunk (it is only the 10th revision that crash, 11 don't, but I just commit it without making everything compiling, so it is useless to correct it, and it contain a junk reference to another project too)