Author Topic: Solved issue with 8362 crashing...  (Read 5904 times)

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Solved issue with 8362 crashing...
« on: September 05, 2012, 10:05:18 pm »
So yeah, after updating my svn version of codeblocks I would start it up and it would crash... So I cleaned my svn build of all gch files deleted my devel dir and my .obj dir. Then rebuilt, and same thing... so I went and deleted my .conf file, and... same thing... So I started codeblocks with the -d option and found this:

Code
Error occured on Wednesday, September 5, 2012 at 14:46:48.

C:\Programming\codeblocks\src\output\codeblocks.exe caused an Access Violation at location 063db012 in module C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll Reading from location 0000002c.

Registers:
eax=0000002c ebx=006031ac ecx=753098da edx=0000002c esi=0000000a edi=00000000
eip=063db012 esp=0028f530 ebp=0028f530 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202

Call stack:
063DB012  C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll:063DB012  _ZN8cbPlugin9OnReleaseEb
063DB065  C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll:063DB065  _ZN8cbPlugin9OnReleaseEb
063DB04D  C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll:063DB04D  _ZN8cbPlugin9OnReleaseEb
063D5229  C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll:063D5229  _ZN12cbToolPlugin9BuildMenuEP9wxMenuBar
063D9AB4  C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll:063D9AB4  _ZN8cbPlugin9OnReleaseEb
063DBC77  C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll:063DBC77  _ZNK16cbDebuggerPlugin23WaitingCompilerToFinishEv
063B793B  C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll:063B793B
063B568C  C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll:063B568C
063B5F31  C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll:063B5F31
063B8B3A  C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll:063B8B3A
063D574A  C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll:063D574A  _ZN12cbToolPlugin9BuildMenuEP9wxMenuBar
61800A92  C:\Programming\codeblocks\src\output\codeblocks.dll:61800A92  _ZN7Manager12ProcessEventER15CodeBlocksEvent
0040800D  C:\Programming\codeblocks\src\output\codeblocks.exe:0040800D
0048D5E0  C:\Programming\codeblocks\src\output\codeblocks.exe:0048D5E0  _ZN12cbToolPlugin9BuildMenuEP9wxMenuBar
6272C7EF  C:\Programming\codeblocks\src\output\wxmsw28u_gcc_custom.dll:6272C7EF  _Z14wxUninitializev
62779616  C:\Programming\codeblocks\src\output\wxmsw28u_gcc_custom.dll:62779616  _Z7wxEntryP11HINSTANCE__S0_Pci
00405417  C:\Programming\codeblocks\src\output\codeblocks.exe:00405417
00488D46  C:\Programming\codeblocks\src\output\codeblocks.exe:00488D46
004010B9  C:\Programming\codeblocks\src\output\codeblocks.exe:004010B9
0040129C  C:\Programming\codeblocks\src\output\codeblocks.exe:0040129C
7520339A  C:\Windows\syswow64\kernel32.dll:7520339A  BaseThreadInitThunk
77AE9EF2  C:\Windows\SysWOW64\ntdll.dll:77AE9EF2  RtlInitializeExceptionChain
77AE9EC5  C:\Windows\SysWOW64\ntdll.dll:77AE9EC5  RtlInitializeExceptionChain

I was about to post here for help when I noticed a file called cbKeyBinder10.ini next to the .conf file. I deleted that and everything seems to be back to normal now.

I thought I better post in case someone else runs across this issue or it's a small problem that's the result of a larger one.

Oh, and this was with Win7 64bit, tdm-mingw 4.6.1
« Last Edit: September 05, 2012, 10:09:31 pm by ouch »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Solved issue with 8362 crashing...
« Reply #1 on: September 05, 2012, 10:19:22 pm »
Next time, don't delete the file, but rename or move it, so you can give it to us and we can fix the reason for the crash.
(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 ouch

  • Almost regular
  • **
  • Posts: 223
Re: Solved issue with 8362 crashing...
« Reply #2 on: September 05, 2012, 10:24:29 pm »
I still have it in the recycling bin... hang on a sec...

There you go.
« Last Edit: September 05, 2012, 10:26:16 pm by ouch »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Solved issue with 8362 crashing...
« Reply #3 on: September 06, 2012, 05:37:10 am »
Quote
063DB012  C:\Programming\codeblocks\src\output\share\codeblocks\plugins\keybinder.dll:063DB012  _ZN8cbPlugin9OnReleaseEb
This does not contains file and line informations, because you run c::b from the "C:\Programming\codeblocks\src\output" folder, instead, you need to run c::b under "devel" folder, which contains debug information, and will have a detailed crash report.
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 Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2750
Re: Solved issue with 8362 crashing...
« Reply #4 on: September 23, 2012, 02:05:19 pm »
The keybinder crash was probably fixed with svn 8403.