Author Topic: bug: 'default.conf' is not updating - reproducible  (Read 5938 times)

Offline troubadour

  • Single posting newcomer
  • *
  • Posts: 3
bug: 'default.conf' is not updating - reproducible
« on: July 30, 2008, 10:05:43 pm »
code::blocks won't mostly save and update the 'default.conf'-file when closing.
this happens e.g. when i enable the option
"Settings>Editor>Code-completion and symbols browser>Display as free floating/docking window"
and place the symbols-window on my second monitor.

CB will save as long as the symbols-window is on the same window as the application is.

... hope this helps


btw, i use the latest nightly-build.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: bug: 'default.conf' is not updating - reproducible
« Reply #1 on: July 31, 2008, 08:56:26 am »
Config not getting saved happens if the application crashes during shutdown.
Could you please post your RPT file (actually not the whole big file, the last 1-2 crash entries are sufficent)?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline troubadour

  • Single posting newcomer
  • *
  • Posts: 3
Re: bug: 'default.conf' is not updating - reproducible
« Reply #2 on: July 31, 2008, 09:10:09 pm »
where do i find this file?

[EDIT]
never mind, i found it. just didn't expected it in the media folder.

ok, here is the snap:
004012B8  C:\devel\CB_20080724_rev5160_win32\codeblocks.exe:004012B8
7C817067  C:\WINDOWS\system32\kernel32.dll:7C817067  RegisterWaitForInputIdle


regards
« Last Edit: July 31, 2008, 09:15:30 pm by troubadour »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: bug: 'default.conf' is not updating - reproducible
« Reply #3 on: August 01, 2008, 10:15:28 am »
Eh, hehehe :) You took me a bit too literally with "2 entries". Why I said this is that often RPT files are 20-50 MB in size because people (including myself) never remember delete them and so they contain crash info that is 3 years old.
Obviously, you wouldn't want to upload megabytes of data when the entries referring to the last (or last two) crash/crashes are enough.

An entry starts with "Error occured on <date+time>" followed by the module name and a short description of what happened, and two text blocks labelled "Registers" and "Call stack". In particular the call stack may be helpful in finding the location of a crash.
(although I could almost bet my left hand that it will point to cbThreadPool ;)).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline troubadour

  • Single posting newcomer
  • *
  • Posts: 3
Re: bug: 'default.conf' is not updating - reproducible
« Reply #4 on: August 01, 2008, 09:50:50 pm »
k, here we go (i cleaned that file and caused that crash(4kb of data is postable ;))):

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

Error occured on Friday, August 1, 2008 at 21:36:32.

C:\devel\CB_20080724_rev5160_win32\codeblocks.exe caused an Access Violation at location 00720003 Writing to location 6cf0d5c0.

Registers:
eax=0299f028 ebx=02f5f2c8 ecx=6cf0d5c0 edx=00fc4f68 esi=05fec708 edi=00000000
eip=00720003 esp=0022f720 ebp=0022f72c iopl=0         nv up ei pl nz ac pe cy
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010213

Call stack:
00720003
6CF0D62B  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CF0D62BDwarf Error: found dwarf version '16901', this reader only handles version 2 information.  _ZN12wxAuiManager8OnRenderER17wxAuiManagerEvent
6CCCAC0E  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CCCAC0E  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CCCC1E9  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CCCC1E9  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6CCCC6AF  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CCCC6AF  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CF11CF9  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CF11CF9  _ZN12wxAuiManager6RenderEP4wxDC
6CF11D8A  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CF11D8A  _ZN12wxAuiManager7RepaintEP4wxDC
6CF12083  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CF12083  _ZN12wxAuiManager7OnPaintER12wxPaintEvent
6CCCAC0E  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CCCAC0E  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CCCC1E9  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CCCC1E9  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6CCCC6AF  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CCCC6AF  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD19489  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CD19489  _ZN8wxWindow11HandlePaintEv
6CD3867C  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CD3867C  _ZN7wxFrame11HandlePaintEv
6CD3A020  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CD3A020  _ZN7wxFrame13MSWWindowProcEjjl
6CD17012  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CD17012  _Z9wxWndProcP6HWND__jjl@16
7E368734  C:\WINDOWS\system32\USER32.dll:7E368734  GetDC
7E368816  C:\WINDOWS\system32\USER32.dll:7E368816  GetDC
7E378EA0  C:\WINDOWS\system32\USER32.dll:7E378EA0  DefWindowProcW
7E378EEC  C:\WINDOWS\system32\USER32.dll:7E378EEC  DefWindowProcW
7C91E453  C:\WINDOWS\system32\ntdll.dll:7C91E453  KiUserCallbackDispatcher
7E368A10  C:\WINDOWS\system32\USER32.dll:7E368A10  DispatchMessageW
6CCFC9A0  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CCFC9A0Dwarf Error: found dwarf version '16901', this reader only handles version 2 information.  _ZN11wxEventLoop14ProcessMessageEP6tagMSG
6CCFCCAC  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CCFCCAC  _ZN11wxEventLoop8DispatchEv
6CD92723  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CD92723  _ZN17wxEventLoopManual3RunEv
6CD6FD8B  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CD6FD8B  _ZN9wxAppBase8MainLoopEv
00403834  C:\devel\CB_20080724_rev5160_win32\codeblocks.exe:00403834
6CC7706D  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CC7706DDwarf Error: found dwarf version '16901', this reader only handles version 2 information.  _Z12wxInitializeiPPw
6CCD2968  C:\devel\CB_20080724_rev5160_win32\wxmsw28u_gcc_cb.dll:6CCD2968  _Z7wxEntryP11HINSTANCE__S0_Pci
00405D36  C:\devel\CB_20080724_rev5160_win32\codeblocks.exe:00405D36
0044ED08  C:\devel\CB_20080724_rev5160_win32\codeblocks.exe:0044ED08
0040124B  C:\devel\CB_20080724_rev5160_win32\codeblocks.exe:0040124B
004012B8  C:\devel\CB_20080724_rev5160_win32\codeblocks.exe:004012B8
7C817067  C:\WINDOWS\system32\kernel32.dll:7C817067  RegisterWaitForInputIdle

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

regards