News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Crashing in menu->File->File New

Started by Pecan, December 04, 2005, 06:40:56 PM

Previous topic - Next topic

Pecan

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:

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

mandrav

Known bug in RC2, already fixed in HEAD.
Be patient!
This bug will be fixed soon...

Michael

Quote from: mandrav on December 04, 2005, 07:13:13 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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

mandrav

IIRC, it appeared if you cancelled the "New file" dialog, but I might be wrong...
Be patient!
This bug will be fixed soon...