Menu

#87 SpellChecker will make C::B crash in x86_64 builds for Windows

Next_Nightly
fixed
danselmi
wx30 (74)
Bug_Report
2017-07-04
2014-11-03
No

On starting C::B, the SpellChecker will notice me that there're no dictionaries. After clicking OK, the C::B just crashes. If I copy some dictionaries to the vary directory, C::B will directly crash without noticing anything.

PS: Sorry it may be better for me to ask in your forum, but I cannot get the activation email.

Environment:    Windows 8.1
Code::Blocks:   r10020 from SVN and 13.12-1 from their homepage
Compiler:       MinGW-w64 x86_64-4.9.1-release-posix-seh-rt_v3-rev3 and TDM-GCC x86_64 4.7.1
Boost:          1.56
wxWidgets:      3.0.2
FortranProject: 1.2 from svn
1 Attachments

Discussion

  • Teodor Petrov

    Teodor Petrov - 2014-11-09

    Have you tried older night build?
    Can you find where the problem started?
    What about the official 13.12?

     
  • ollydbg

    ollydbg - 2014-11-10

    The OP use wx 3.0.2, our nightly build version were all build with wx2.8.12. I would suggest the OP try to run C::B under GDB, and see where it crashed.

    BTW: the C::B forum has some problems these days which it doesn't send notification email any more.

     
  • Frederick Zhang

    Frederick Zhang - 2014-11-10

    I tried the official 13.12 as well as the r10020 and the r9533. All of them had the problem.

    Here're the log and the screenshot under GDB (r10020 and wx3.0.2 compiled by TDM-GCC 4.7.1 64bit).

    15:28:53: Cannot load resources from 'memory:Cccc.zip#zip:*.xrc'.
    15:28:55: Cannot load resources from 'memory:CppCheck.zip#zip:*.xrc'.
    15:28:56: Cannot load resources from 'memory:Cscope.zip#zip:*.xrc'.
    15:28:57: Cannot load resources from 'memory:DoxyBlocks.zip#zip:*.xrc'.
    15:28:58: Cannot load resources from 'memory:EditorConfig.zip#zip:*.xrc'.
    15:29:00: Cannot load resources from 'memory:headerfixup.zip#zip:*.xrc'.
    15:29:12: Cannot load resources from 'memory:ThreadSearch.zip#zip:*.xrc'.
    15:29:13: Cannot load resources from 'memory:ToolsPlus.zip#zip:*.xrc'.
    15:29:16: Cannot load resources from 'memory:wxSmithAui.zip#zip:*.xrc'.
    15:29:19: Directory '' couldn't be created (error 0: この操作を正しく終了しました。)
    
     

    Last edit: Frederick Zhang 2014-11-10
  • Teodor Petrov

    Teodor Petrov - 2014-11-10

    Does it happen with the official builds?

     
    • Frederick Zhang

      Frederick Zhang - 2014-11-14

      Nope, the official builds are quite stable.

       
  • TurboSnail

    TurboSnail - 2014-12-27

    its crash aslo on 32 bits

    Environment: Windows 8.1
    Code::Blocks: r10052 from SVN
    Compiler: TDM-GCC 32 4.8.1
    Boost: 1.56
    wxWidgets: 3.0.2

    attache backtrace

     
  • Morten MacFly

    Morten MacFly - 2015-02-07
    • Type: --> Undefined
     
  • Teodor Petrov

    Teodor Petrov - 2016-01-19
    • labels: --> wx30
    • Type: Undefined --> Bug_Report
     
  • Teodor Petrov

    Teodor Petrov - 2016-01-19

    Does this still happens with latest trunk?

     
    • TurboSnail

      TurboSnail - 2016-01-19

      still crashing with SpellChecker.dll
      Code::Blocks: r10669 from SVN

      Program received signal SIGSEGV, Segmentation fault.
      0x6a3115d7 in wxmsw30u_gcc_custom!_ZN12wxDropTarget6RevokeEP6HWND__ ()
         from D:\Develop\projects\codeblocks-dev\src\output30\wxmsw30u_gcc_custom.dll
      
      (gdb) bt
      #0  0x6a3115d7 in wxmsw30u_gcc_custom!_ZN12wxDropTarget6RevokeEP6HWND__ ()
         from D:\Develop\projects\codeblocks-dev\src\output30\wxmsw30u_gcc_custom.dll
      #1  0x6a35043e in wxmsw30u_gcc_custom!_ZN8wxWindow13HandleDestroyEv ()
         from D:\Develop\projects\codeblocks-dev\src\output30\wxmsw30u_gcc_custom.dll
      #2  0x6a35f1f4 in wxmsw30u_gcc_custom!_ZN8wxWindow16MSWHandleMessageEPljjl ()
         from D:\Develop\projects\codeblocks-dev\src\output30\wxmsw30u_gcc_custom.dll
      #3  0x6a34b860 in wxmsw30u_gcc_custom!_ZN8wxWindow13MSWWindowProcEjjl ()
         from D:\Develop\projects\codeblocks-dev\src\output30\wxmsw30u_gcc_custom.dll
      #4  0x6a4209b4 in wxmsw30u_gcc_custom!_ZN10wxTextCtrl13MSWWindowProcEjjl ()
         from D:\Develop\projects\codeblocks-dev\src\output30\wxmsw30u_gcc_custom.dll
      #5  0x6a356707 in wxmsw30u_gcc_custom!_Z9wxWndProcP6HWND__jjl@16 ()
         from D:\Develop\projects\codeblocks-dev\src\output30\wxmsw30u_gcc_custom.dll
      #6  0x77247834 in USER32!CallNextHookEx () from C:\Windows\SysWOW64\user32.dll
      #7  0x77247a9a in USER32!CallNextHookEx () from C:\Windows\SysWOW64\user32.dll
      #8  0x77247bed in USER32!CallNextHookEx () from C:\Windows\SysWOW64\user32.dll
      #9  0x77247d81 in USER32!CallNextHookEx () from C:\Windows\SysWOW64\user32.dll
      #10 0x7749eed2 in ?? ()
      #11 0x6a58ac56 in wxmsw30u_gcc_custom!_ZN20wxTopLevelWindowBaseD2Ev ()
         from D:\Develop\projects\codeblocks-dev\src\output30\wxmsw30u_gcc_custom.dll
      #12 0x6a33c5fc in wxmsw30u_gcc_custom!_ZN19wxTopLevelWindowMSWD2Ev ()
         from D:\Develop\projects\codeblocks-dev\src\output30\wxmsw30u_gcc_custom.dll
      #13 0x6a4c45c0 in wxmsw30u_gcc_custom!_ZN11wxFrameBaseD2Ev ()
         from D:\Develop\projects\codeblocks-dev\src\output30\wxmsw30u_gcc_custom.dll
      #14 0x6a3b093b in wxmsw30u_gcc_custom!_ZN7wxFrameD2Ev ()
         from D:\Develop\projects\codeblocks-dev\src\output30\wxmsw30u_gcc_custom.dll
      #15 0x02098298 in ?? ()
      #16 0xffffffff in ?? ()
      #17 0x6acb48b0 in wxmsw30u_gcc_custom!_ZN9LexerBaseD0Ev ()
         from D:\Develop\projects\codeblocks-dev\src\output30\wxmsw30u_gcc_custom.dll
      #18 0x0028f3f0 in ?? ()
      #19 0xffffffff in ?? ()
      #20 0x0280df16 in ?? ()
      #21 0x00000001 in ?? ()
      #22 0x007538d4 in ?? ()
      #23 0xffffffff in ?? ()
      #24 0x0028f990 in ?? ()
      #25 0x00000001 in ?? ()
      #26 0x0028f5c0 in ?? ()
      #27 0x00000001 in ?? ()
      #28 0x00000000 in ?? ()
      

      when i remove SpellChecker.dll all work fine

       
  • Teodor Petrov

    Teodor Petrov - 2016-01-19

    Can you start codeblocks.exe from the devel folder and then post the backtrace? Can you set the cb_release_type to "-O0 -g", so the debug info is a bit more usable?

     
    • TurboSnail

      TurboSnail - 2016-01-19
      Program received signal SIGSEGV, Segmentation fault.
      0x6a3115d7 in wxDropTarget::Revoke(HWND__*) ()
         from D:\Develop\projects\codeblocks-dev\src\devel30\wxmsw30u_gcc_custom.dll
      
      (gdb) bt
      #0  0x6a3115d7 in wxDropTarget::Revoke(HWND__*) ()
         from D:\Develop\projects\codeblocks-dev\src\devel30\wxmsw30u_gcc_custom.dll
      #1  0x6a35043e in wxWindow::HandleDestroy() ()
         from D:\Develop\projects\codeblocks-dev\src\devel30\wxmsw30u_gcc_custom.dll
      #2  0x6a35f1f4 in wxWindow::MSWHandleMessage(long*, unsigned int, unsigned int, long) ()
         from D:\Develop\projects\codeblocks-dev\src\devel30\wxmsw30u_gcc_custom.dll
      #3  0x6a34b860 in wxWindow::MSWWindowProc(unsigned int, unsigned int, long) ()
         from D:\Develop\projects\codeblocks-dev\src\devel30\wxmsw30u_gcc_custom.dll
      #4  0x6a4209b4 in wxTextCtrl::MSWWindowProc(unsigned int, unsigned int, long)
          ()
         from D:\Develop\projects\codeblocks-dev\src\devel30\wxmsw30u_gcc_custom.dll
      #5  0x6a356707 in wxWndProc ()
         from D:\Develop\projects\codeblocks-dev\src\devel30\wxmsw30u_gcc_custom.dll
      #6  0x77247834 in USER32!CallNextHookEx () from C:\Windows\SysWOW64\user32.dll
      #7  0x77247a9a in USER32!CallNextHookEx () from C:\Windows\SysWOW64\user32.dll
      #8  0x77247bed in USER32!CallNextHookEx () from C:\Windows\SysWOW64\user32.dll
      #9  0x77247d81 in USER32!CallNextHookEx () from C:\Windows\SysWOW64\user32.dll
      #10 0x7749eed2 in ?? ()
      #11 0x6a58ac56 in wxTopLevelWindowBase::~wxTopLevelWindowBase() ()
         from D:\Develop\projects\codeblocks-dev\src\devel30\wxmsw30u_gcc_custom.dll
      #12 0x6a33c5fc in wxTopLevelWindowMSW::~wxTopLevelWindowMSW() ()
         from D:\Develop\projects\codeblocks-dev\src\devel30\wxmsw30u_gcc_custom.dll
      #13 0x6a4c45c0 in wxFrameBase::~wxFrameBase() ()
         from D:\Develop\projects\codeblocks-dev\src\devel30\wxmsw30u_gcc_custom.dll
      #14 0x6a3b093b in wxFrame::~wxFrame() ()
         from D:\Develop\projects\codeblocks-dev\src\devel30\wxmsw30u_gcc_custom.dll
      #15 0x060371d8 in ?? ()
      #16 0xffffffff in ?? ()
      #17 0x6acb48b0 in parse_lsda_header(_Unwind_Context*, unsigned char const*, lsda_header_info*) ()
         from D:\Develop\projects\codeblocks-dev\src\devel30\wxmsw30u_gcc_custom.dll
      #18 0x0028f3f0 in ?? ()
      #19 0x00010000 in ?? ()
      
       
      • TurboSnail

        TurboSnail - 2016-01-19

        rebuild workspace with -g -O0
        in devel30 path run debug.sh with next content

        gdb -d ..\\ -ex run --args codeblocks.exe
        
         
  • danselmi

    danselmi - 2017-07-04
    • status: open --> fixed
    • assigned_to: danselmi
     
  • danselmi

    danselmi - 2017-07-04

    fixed with revision 11099

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.