Bug #7357 2006-05-02 15:18

kkez

Shift + key when a menu is open crash CB

Step to reproduce:

1) Set focus to the editor

2) Open a menu, e.g. the "Build" menu (note that the editor still has the focus)

3) Shift + a key that is not a letter (i mean, a key that has a double function) (i did shift + ,) => crash

Nightly build 2397, wxwidgets 2.6.2

Keybinder doesn't have anything to do with this :)

Category
Application::Crash
Group
 
Status
Closed
Close date
2006-05-05 08:41
Assigned to
 
kkez 2006-05-02 15:32
Report:

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

Error occured on Tuesday, May 2, 2006 at 17:01:05.

C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\codeblocks.exe caused an Access Violation at location 7c920aa8 in module C:\WINDOWS\system32\ntdll.dll Reading from location ffffffff.

Registers:
eax=00860043 ebx=ffffffff ecx=0000000d edx=0086fd78 esi=ffffffff edi=ffffffff
eip=7c920aa8 esp=0022e948 ebp=0022e950 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:
7C920AA8  C:\WINDOWS\system32\ntdll.dll:7C920AA8  wcsncpy
77D292D3  C:\WINDOWS\system32\USER32.dll:77D292D3  GetMenuItemInfoW
77D2920A  C:\WINDOWS\system32\USER32.dll:77D2920A  GetMenuItemInfoW
101120DC  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:101120DC  _ZN8wxWindow14HandleMenuCharEil
10113C20  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:10113C20  _ZN8wxWindow13MSWWindowProcEjjl
101390AA  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:101390AA  _ZN7wxFrame13MSWWindowProcEjjl
1010C700  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:1010C700  _Z9wxWndProcP6HWND__jjl@16
77D18734  C:\WINDOWS\system32\USER32.dll:77D18734  GetDC
77D1D05B  C:\WINDOWS\system32\USER32.dll:77D1D05B  EnumDisplayMonitors
77D1B4C0  C:\WINDOWS\system32\USER32.dll:77D1B4C0  DefWindowProcW
77D1B50C  C:\WINDOWS\system32\USER32.dll:77D1B50C  DefWindowProcW
7C91EAE3  C:\WINDOWS\system32\ntdll.dll:7C91EAE3  KiUserCallbackDispatcher
77D1B3F9  C:\WINDOWS\system32\USER32.dll:77D1B3F9  DefWindowProcW
5B183C20  C:\WINDOWS\system32\uxtheme.dll:5B183C20  DrawThemeText
5B19E300  C:\WINDOWS\system32\uxtheme.dll:5B19E300  GetThemeTextMetrics
5B181AC7  C:\WINDOWS\system32\uxtheme.dll:5B181AC7
5B181B3D  C:\WINDOWS\system32\uxtheme.dll:5B181B3D
77D1BB15  C:\WINDOWS\system32\USER32.dll:77D1BB15  GetPropW
1010BE1A  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:1010BE1A  _ZN8wxWindow16MSWDefWindowProcEjjl
1011373C  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:1011373C  _ZN8wxWindow13MSWWindowProcEjjl
101390AA  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:101390AA  _ZN7wxFrame13MSWWindowProcEjjl
1010C700  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:1010C700  _Z9wxWndProcP6HWND__jjl@16
77D18734  C:\WINDOWS\system32\USER32.dll:77D18734  GetDC
77D18816  C:\WINDOWS\system32\USER32.dll:77D18816  GetDC
77D1B4C0  C:\WINDOWS\system32\USER32.dll:77D1B4C0  DefWindowProcW
77D1B50C  C:\WINDOWS\system32\USER32.dll:77D1B50C  DefWindowProcW
7C91EAE3  C:\WINDOWS\system32\ntdll.dll:7C91EAE3  KiUserCallbackDispatcher
77D1B3F9  C:\WINDOWS\system32\USER32.dll:77D1B3F9  DefWindowProcW
5B183C20  C:\WINDOWS\system32\uxtheme.dll:5B183C20  DrawThemeText
5B1A87B4  C:\WINDOWS\system32\uxtheme.dll:5B1A87B4  GetThemeTextMetrics
5B181AC7  C:\WINDOWS\system32\uxtheme.dll:5B181AC7
5B181B3D  C:\WINDOWS\system32\uxtheme.dll:5B181B3D
77D1BB15  C:\WINDOWS\system32\USER32.dll:77D1BB15  GetPropW
1010BE1A  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:1010BE1A  _ZN8wxWindow16MSWDefWindowProcEjjl
1011373C  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:1011373C  _ZN8wxWindow13MSWWindowProcEjjl
101390AA  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:101390AA  _ZN7wxFrame13MSWWindowProcEjjl
1010C700  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:1010C700  _Z9wxWndProcP6HWND__jjl@16
77D18734  C:\WINDOWS\system32\USER32.dll:77D18734  GetDC
77D18816  C:\WINDOWS\system32\USER32.dll:77D18816  GetDC
77D189CD  C:\WINDOWS\system32\USER32.dll:77D189CD  GetWindowLongW
77D18A10  C:\WINDOWS\system32\USER32.dll:77D18A10  DispatchMessageW
100EC165  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:100EC165  _ZN11wxEventLoop14ProcessMessageEP6tagMSG
100EC7A4  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:100EC7A4  _ZN11wxEventLoop8DispatchEv
100EC540  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:100EC540  _ZN11wxEventLoop3RunEv
101848DE  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:101848DE  _ZN9wxAppBase8MainLoopEv
00404B82  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\codeblocks.exe:00404B82
100437C7  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:100437C7  _Z14wxUninitializev
100B336A  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\wxmsw26u_gcc_cb.dll:100B336A  _Z7wxEntryP11HINSTANCE__S0_Pci
004014DA  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\codeblocks.exe:004014DA
00462F9A  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\codeblocks.exe:00462F9A
00401237  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\codeblocks.exe:00401237
00401288  C:\Documents and Settings\Home\Documenti\Programmazione\CODEBLOCKS SVN\SVN\codeblocks.exe:00401288
7C816D4F  C:\WINDOWS\system32\kernel32.dll:7C816D4F  RegisterWaitForInputIdle
ID_24639 2006-05-03 19:37

I can't reproduce with Version 1.0 revision 2411 () gcc 3.4.4 Windows/unicode.

I have wx 2.6.3. Could you try that, and the newest SVN revision?

Link to wx 2.6.3 DLL.

http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3.7z

kkez 2006-05-03 20:52

Yep, with the same same revision (2397) and wx 2.6.3, it does no longer crash. Thank you :)

ID_24639 2006-05-03 23:23

Cool. Glad it no longer crashes. :D

thomasdenk 2006-05-05 08:41

Closing bug report.

It is a wxWidgets problem fixed in wxWidgets 2.6.3 (which will be the official version for Code::Blocks).