Author Topic: CodeBlocks 12.11 crashes instantely upon loading on windows 7  (Read 16472 times)

Offline Master

  • Multiple posting newcomer
  • *
  • Posts: 53
Hello all, i tried installing the latest version of CodeBlocks on my system , when i did , every time i try to open it up, it crashes immediately.
What is causing this problem ? the program doesn't show any errors which i can post here , it simply crashes and the close , debug window appears !

any idea whats happening here?
a man's dream is an index to his greatness...

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: CodeBlocks 12.11 crashes instantely upon loading on windows 7
« Reply #1 on: April 16, 2013, 01:24:12 pm »
First you can try to remove the conf-file:
rename (or move it to a different place) "C:\Users\[username]\AppData\Roaming\CodeBlocks\default.conf" and try to start C::B.

If this does not work, look into C::B's executable folder, whether there is a file called "codeblocks.rpt" and post/attach it here.

Normally C::B runs just fine on Win7 or Win8, I use bot without issues (win 7 32 and 64 bit, win 8 32 bit).

Offline Master

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: CodeBlocks 12.11 crashes instantely upon loading on windows 7
« Reply #2 on: April 16, 2013, 01:39:39 pm »
First you can try to remove the conf-file:
rename (or move it to a different place) "C:\Users\[username]\AppData\Roaming\CodeBlocks\default.conf" and try to start C::B.

If this does not work, look into C::B's executable folder, whether there is a file called "codeblocks.rpt" and post/attach it here.

Normally C::B runs just fine on Win7 or Win8, I use bot without issues (win 7 32 and 64 bit, win 8 32 bit).
Thankyou.
First of all there is no 'default.conf' located in the path you mentioned above, actually when i go to the CodeBlocks folder, there is only a folder named "share" and inside that there is a folder named 'codeblocks ' and inside that there are two folders named 'plugins' and 'scripts' respectively.

This is the contents of the codeblocks.rpt file:
Code
-------------------

Error occured on Sunday, April 8, 2012 at 21:15:46.

J:\Program Files\CodeBlocks\codeblocks.exe caused an Access Violation at location 618b36ab in module J:\Program Files\CodeBlocks\codeblocks.dll Reading from location 00000080.

Registers:
eax=00000000 ebx=0022f4b8 ecx=7ffdf000 edx=00000000 esi=00422966 edi=0143a068
eip=618b36ab esp=0022efdc ebp=0022f284 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202

Call stack:
618B36AB  J:\Program Files\CodeBlocks\codeblocks.dll:618B36AB  _ZN14ProjectManager34CheckForExternallyModifiedProjectsEv
00422C26  J:\Program Files\CodeBlocks\codeblocks.exe:00422C26
6CCDC431  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCDC431Dwarf Error: found dwarf version '45386', this reader only handles version 2 information.  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CCDDD6B  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCDDD6B  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6CCDDE3C  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCDDE3C  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CDABC59  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CDABC59  _ZN9wxAppBase9SetActiveEbP8wxWindow
6CD43CCD  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD43CCD  _ZN8wxWindow13MSWWindowProcEjjl
6CD69EB2  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD69EB2  _ZN7wxFrame13MSWWindowProcEjjl
6CD3A7E8  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD3A7E8  _Z9wxWndProcP6HWND__jjl@16
761AC4E7  C:\Windows\system32\USER32.dll:761AC4E7  gapfnScSendMessage
761AC5E7  C:\Windows\system32\USER32.dll:761AC5E7  gapfnScSendMessage
761A4F0E  C:\Windows\system32\USER32.dll:761A4F0E  GetScrollBarInfo
761A4F7D  C:\Windows\system32\USER32.dll:761A4F7D  GetScrollBarInfo
77C66FEE  C:\Windows\SYSTEM32\ntdll.dll:77C66FEE  KiUserCallbackDispatcher
6CD1B92A  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD1B92ADwarf Error: found dwarf version '45386', this reader only handles version 2 information.  _ZN11wxEventLoop8DispatchEv
6CDD4B27  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CDD4B27  _ZN17wxEventLoopManual3RunEv
6CDABF29  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CDABF29  _ZN9wxAppBase8MainLoopEv
0041FE0A  J:\Program Files\CodeBlocks\codeblocks.exe:0041FE0A
6CC7BC3E  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CC7BC3EDwarf Error: found dwarf version '45386', this reader only handles version 2 information.  _Z12wxInitializeiPPw
6CCE543F  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCE543F  _Z7wxEntryP11HINSTANCE__S0_Pci
0041C0ED  J:\Program Files\CodeBlocks\codeblocks.exe:0041C0ED
004628C6  J:\Program Files\CodeBlocks\codeblocks.exe:004628C6
004010DB  J:\Program Files\CodeBlocks\codeblocks.exe:004010DB
00401158  J:\Program Files\CodeBlocks\codeblocks.exe:00401158
77353C45  C:\Windows\system32\kernel32.dll:77353C45  BaseThreadInitThunk
77C837F5  C:\Windows\SYSTEM32\ntdll.dll:77C837F5  RtlInitializeExceptionChain
77C837C8  C:\Windows\SYSTEM32\ntdll.dll:77C837C8  RtlInitializeExceptionChain


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

Error occured on Wednesday, April 11, 2012 at 13:05:16.

J:\Program Files\CodeBlocks\codeblocks.exe caused an Access Violation at location 61a36ac2 in module J:\Program Files\CodeBlocks\codeblocks.dll Reading from location 00000144.

Registers:
eax=00000000 ebx=0022e540 ecx=0022e3f0 edx=6192580e esi=0022e550 edi=0022e4ac
eip=61a36ac2 esp=0022e424 ebp=0022e424 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:
61A36AC2  J:\Program Files\CodeBlocks\codeblocks.dll:61A36AC2  _ZN15wxSCIListBoxWin5GetLBEv
61A1689D  J:\Program Files\CodeBlocks\codeblocks.dll:61A1689D  _Z5GETLBPv
61925838  J:\Program Files\CodeBlocks\codeblocks.dll:61925838  _ZN11ListBoxImpl6SelectEi
619C9ADB  J:\Program Files\CodeBlocks\codeblocks.dll:619C9ADB  _ZN12AutoComplete4ShowEb
619B3F93  J:\Program Files\CodeBlocks\codeblocks.dll:619B3F93  _ZN13ScintillaBase17AutoCompleteStartEiPKc
619B5A59  J:\Program Files\CodeBlocks\codeblocks.dll:619B5A59  _ZN13ScintillaBase7WndProcEjml
619203E2  J:\Program Files\CodeBlocks\codeblocks.dll:619203E2  _ZN11ScintillaWX7WndProcEjml
6190F517  J:\Program Files\CodeBlocks\codeblocks.dll:6190F517  _ZNK11wxScintilla7SendMsgEjml
6191164F  J:\Program Files\CodeBlocks\codeblocks.dll:6191164F  _ZN11wxScintilla12AutoCompShowEiRK8wxString
65ED863A  J:\Program Files\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65ED863A
65EDC08F  J:\Program Files\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65EDC08F
65EE510E  J:\Program Files\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65EE510E
65F2D249  J:\Program Files\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65F2D249  _ZN8cbPlugin9OnReleaseEb
617F1B73  J:\Program Files\CodeBlocks\codeblocks.dll:617F1B73  _ZN11EditorHooks9CallHooksEP8cbEditorR16wxScintillaEvent
6181039F  J:\Program Files\CodeBlocks\codeblocks.dll:6181039F  _ZN8cbEditor16OnScintillaEventER16wxScintillaEvent
6180F24B  J:\Program Files\CodeBlocks\codeblocks.dll:6180F24B  _ZN8cbEditor17OnEditorCharAddedER16wxScintillaEvent
6CCDC431  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCDC431Dwarf Error: found dwarf version '32689', this reader only handles version 2 information.  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CCDC560  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCDC560  _ZN12wxEvtHandler23SearchDynamicEventTableER7wxEvent
6CCDDE13  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCDDE13  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CE3461C  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CE3461C  _ZN12wxWindowBase9TryParentER7wxEvent
6CCDDDD9  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCDDDD9  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6191BFFF  J:\Program Files\CodeBlocks\codeblocks.dll:6191BFFF  _ZN11wxScintilla12NotifyParentEP14SCNotification
6191EBF8  J:\Program Files\CodeBlocks\codeblocks.dll:6191EBF8  _ZN11ScintillaWX12NotifyParentE14SCNotification
6199DE1C  J:\Program Files\CodeBlocks\codeblocks.dll:6199DE1C  _ZN6Editor10NotifyCharEi
6199BD50  J:\Program Files\CodeBlocks\codeblocks.dll:6199BD50  _ZN6Editor10AddCharUTFEPcjb
619B3309  J:\Program Files\CodeBlocks\codeblocks.dll:619B3309  _ZN13ScintillaBase10AddCharUTFEPcjb
61920C19  J:\Program Files\CodeBlocks\codeblocks.dll:61920C19  _ZN11ScintillaWX9DoAddCharEi
6191B248  J:\Program Files\CodeBlocks\codeblocks.dll:6191B248  _ZN11wxScintilla6OnCharER10wxKeyEvent
6CCDC431  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCDC431Dwarf Error: found dwarf version '32689', this reader only handles version 2 information.  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CCDDD6B  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCDDD6B  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6CCDDE3C  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCDDE3C  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCDDDD9  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCDDDD9  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD3D9FD  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD3D9FD  _ZN8wxWindow10HandleCharEjlb
6CD44BC8  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD44BC8  _ZN8wxWindow13MSWWindowProcEjjl
6CD3A7E8  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD3A7E8  _Z9wxWndProcP6HWND__jjl@16
7610C4E7  C:\Windows\system32\USER32.dll:7610C4E7  gapfnScSendMessage
7610C5E7  C:\Windows\system32\USER32.dll:7610C5E7  gapfnScSendMessage
7610CC19  C:\Windows\system32\USER32.dll:7610CC19  gapfnScSendMessage
7610CC70  C:\Windows\system32\USER32.dll:7610CC70  DispatchMessageW
761041EB  C:\Windows\system32\USER32.dll:761041EB  IsDialogMessageW
6CD40FAF  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD40FAFDwarf Error: found dwarf version '32689', this reader only handles version 2 information.  _ZN8wxWindow17MSWProcessMessageEP6tagMSG
6CD1BCB5  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD1BCB5  _ZN11wxEventLoop17PreProcessMessageEP6tagMSG
6CD1BCF9  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD1BCF9  _ZN11wxEventLoop14ProcessMessageEP6tagMSG
6CD1B9E6  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD1B9E6  _ZN11wxEventLoop8DispatchEv
6CDD4B27  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CDD4B27  _ZN17wxEventLoopManual3RunEv
6CDABF29  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CDABF29  _ZN9wxAppBase8MainLoopEv
0041FE0A  J:\Program Files\CodeBlocks\codeblocks.exe:0041FE0A
6CC7BC3E  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CC7BC3EDwarf Error: found dwarf version '32689', this reader only handles version 2 information.  _Z12wxInitializeiPPw
6CCE543F  J:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCE543F  _Z7wxEntryP11HINSTANCE__S0_Pci
0041C0ED  J:\Program Files\CodeBlocks\codeblocks.exe:0041C0ED
004628C6  J:\Program Files\CodeBlocks\codeblocks.exe:004628C6
004010DB  J:\Program Files\CodeBlocks\codeblocks.exe:004010DB
00401158  J:\Program Files\CodeBlocks\codeblocks.exe:00401158
77543C45  C:\Windows\system32\kernel32.dll:77543C45  BaseThreadInitThunk
776337F5  C:\Windows\SYSTEM32\ntdll.dll:776337F5  RtlInitializeExceptionChain
776337C8  C:\Windows\SYSTEM32\ntdll.dll:776337C8  RtlInitializeExceptionChain


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

a man's dream is an index to his greatness...

Offline Master

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: CodeBlocks 12.11 crashes instantely upon loading on windows 7
« Reply #3 on: April 16, 2013, 09:40:38 pm »
any help? :-\
a man's dream is an index to his greatness...

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: CodeBlocks 12.11 crashes instantely upon loading on windows 7
« Reply #4 on: April 16, 2013, 10:04:38 pm »
I still suggest removing or renaming the default config file.

"%appdata%\Roaming\CodeBlocks\default.conf"

If you sill can not find it; start Code::Blocks in safe mode.
http://wiki.codeblocks.org/index.php?title=Code::Blocks_command_line_arguments

The option for this is "--safe-mode" without the double quotes.

If it boots OK; post back.

Or you can try this option from http://wiki.codeblocks.org/index.php?title=Personalities

Code
--personality="Lite"

It should allow you to use a different config file; if it works you STILL should find the bad default config and delete it.

Tim S.


« Last Edit: April 16, 2013, 10:08:07 pm by stahta01 »
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 Master

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: CodeBlocks 12.11 crashes instantely upon loading on windows 7
« Reply #5 on: April 17, 2013, 08:44:49 am »
I still suggest removing or renaming the default config file.

"%appdata%\Roaming\CodeBlocks\default.conf"

If you sill can not find it; start Code::Blocks in safe mode.
http://wiki.codeblocks.org/index.php?title=Code::Blocks_command_line_arguments

The option for this is "--safe-mode" without the double quotes.

If it boots OK; post back.

Or you can try this option from http://wiki.codeblocks.org/index.php?title=Personalities

Code
--personality="Lite"

It should allow you to use a different config file; if it works you STILL should find the bad default config and delete it.

Tim S.



in both cases it crashes !
I cant find any config file in that location , there is only one folder -as i have already mentioned- named share! here it is :
« Last Edit: April 17, 2013, 08:48:13 am by Master »
a man's dream is an index to his greatness...

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: CodeBlocks 12.11 crashes instantely upon loading on windows 7
« Reply #6 on: April 17, 2013, 09:28:07 am »
Delete the C:\user\Master\AppData\Roaming\Codeblocks folder
uninstall C::B and reinstall it...

if this doesn't help
try it to start c::B with admin rights....

Offline Master

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: CodeBlocks 12.11 crashes instantely upon loading on windows 7
« Reply #7 on: April 17, 2013, 02:03:42 pm »
Delete the C:\user\Master\AppData\Roaming\Codeblocks folder
uninstall C::B and reinstall it...

if this doesn't help
try it to start c::B with admin rights....
Thanks ;) , Doing as you told fixed it and now it is now working fine!  :-\
i noticed there was a APPData folder inside CBs installation folder( i didnt say that i installed my new CB on an older version of CB installation -that installation belonged to my previous windows installment!)
deleting both folders didn't do any good either, so i uninstalled it and the new installation seemed to work just fine so far :)
« Last Edit: April 17, 2013, 02:38:29 pm by Master »
a man's dream is an index to his greatness...

Offline osdt

  • Multiple posting newcomer
  • *
  • Posts: 63
Re: CodeBlocks 12.11 crashes instantely upon loading on windows 7
« Reply #8 on: April 17, 2013, 04:13:20 pm »
... i didnt say that i installed my new CB on an older version of CB installation -that installation belonged to my previous windows installment! ...
It would have been useful information, right?

- osdt