Author Topic: Crashing in menu->File->File New  (Read 2807 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2165
Crashing in menu->File->File New
« on: December 04, 2005, 06:40:56 pm »
While futzing around with menu->File->File New, I've managed to
hose C::B.
When trying to create a new file I get the following crash in RC2.
An empty tab appears, the cliient area turns light grey and then it
crashes.
gdb show the following:
Code: [Select]
ContinueDebugEvent (cpid=3384, ctid=3532, DBG_CONTINUE);
gdb: kernel event for pid=3384 tid=3388 code=EXCEPTION_DEBUG_EVENT)
gdb: Target exception EXCEPTION_ACCESS_VIOLATION at 0x605b10a6

Program received signal SIGSEGV, Segmentation fault.
0x605b10a6 in codeblocks!_ZNK13wxArrayString8GetCountEv ()
   from C:\usr\codeblocks\codeblocks.dll
(gdb) bt
#0  0x605b10a6 in codeblocks!_ZNK13wxArrayString8GetCountEv ()
   from C:\usr\codeblocks\codeblocks.dll
#1  0x604f8d2b in codeblocks!_ZN14EditorColorSet22GetLanguageForFilenameERK8wxSt
ring () from C:\usr\codeblocks\codeblocks.dll
#2  0x604f903c in codeblocks!_ZN14EditorColorSet5ApplyEP8cbEditor ()
   from C:\usr\codeblocks\codeblocks.dll
#3  0x604c6fee in codeblocks!_ZN8cbEditor4OpenEv ()
   from C:\usr\codeblocks\codeblocks.dll
#4  0x604c2fb0 in codeblocks!_ZN8cbEditorC1EP8wxWindowRK8wxStringP14EditorColorS
et () from C:\usr\codeblocks\codeblocks.dll
#5  0x6050dcb4 in codeblocks!_ZN13EditorManager3NewEv ()
   from C:\usr\codeblocks\codeblocks.dll
#6  0x0041b1c2 in operator new ()
#7  0x011b78a0 in ?? ()
#8  0x00000000 in ?? () from
#9  0x00000000 in ?? () from
#10 0x00baedf0 in ?? ()
#11 0x5ad73995 in UxTheme!GetWindowTheme ()
   from C:\WINDOWS\system32\uxtheme.dll
#12 0x00baee00 in ?? ()
#13 0x00080270 in ?? ()
#14 0x00baedf0 in ?? ()
#15 0x5ad71adb in RichEdit10ANSIWndProc () from C:\WINDOWS\system32\uxtheme.dll
---Type <return> to continue, or q <return> to quit---

I've restored C::B from a backup, turned off all plugins, and deleted .cbLayout.bin. File new worked just fine before noon. Now I broke it.
What should I do to get it working again.

Thanks
Pecan
« Last Edit: December 04, 2005, 06:51:04 pm by Pecan »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Crashing in menu->File->File New
« Reply #1 on: December 04, 2005, 07:13:13 pm »
Known bug in RC2, already fixed in HEAD.
Be patient!
This bug will be fixed soon...

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Crashing in menu->File->File New
« Reply #2 on: December 04, 2005, 09:09:54 pm »
Known bug in RC2, already fixed in HEAD.
Since I use C::B RC2, I have never had such an error...until I read this topic and I tried by myself :).
Thank you for fixing it.

Michael

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Crashing in menu->File->File New
« Reply #3 on: December 04, 2005, 09:50:06 pm »
IIRC, it appeared if you cancelled the "New file" dialog, but I might be wrong...
Be patient!
This bug will be fixed soon...