Menu

#839 Crash on starting (because of DoxyBlocks?)

Undefined
fixed
Bug_Report
2022-09-27
2019-06-10
Guggy
No

I installd Codeblocks, wirst it alters the assertion

"./src/generic/imaglist.cpp(85): assert "bitmapSize == m_size" failed in Add(): All bitmaps in wxImageList must have the same size" several time, then it crashs.

lldb-output:

...
SmartIndentHDL plugin activated
Header Fixup plugin activated
Process 12544 stopped and restarted: thread 1 received signal: SIGCHLD
Process 12544 stopped
thread #1, name = 'codeblocks', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
frame #0: 0x00007fffec2b53dc libDoxyBlocks.so`DoxyBlocks::OnUpdateUI(this=0x0000000001941200, (null)=0x00007fffffffa6f8) at DoxyBlocks.cpp:245
242 void DoxyBlocks::OnUpdateUI(wxUpdateUIEvent& WXUNUSED(event))
243 {
244 if(Manager::Get()->GetProjectManager()->GetProjects()->GetCount() == 0){
-> 245 m_pToolbar->Enable(false);
246 wxMenuBar
menuBar = Manager::Get()->GetAppFrame()->GetMenuBar();
247 menuBar->FindItem(ID_MENU_DOXYWIZARD)->Enable(false);
248 menuBar->FindItem(ID_MENU_EXTRACTPROJECT)->Enable(false);

(Renaming DoxyBlocks.zip to DoxyBlocks.zip.bak helped :-) )

Compile from Version: 17.12 (rev. 11730)
Open Suse Tubleweed

  • Guggy

Related

Tickets: #829
Tickets: #888

Discussion

  • Teodor Petrov

    Teodor Petrov - 2019-06-10

    How are you building? If you're using cb are you sure you've run the update script?
    BTW you should be able to press the continue button and be able to use C::B normally. This is just an assertion.

     
  • Guggy

    Guggy - 2019-06-11

    I just downloaded it from the repository and did the four steps from the README-File for Unix (not Windows, so I should need the update.bat)

    The warnings are just unconveniences that causes some extra clicks. (Why are assertions shown up in release build too? I tried the built versions from the OpenSuse repository first, same problem)

    The major problem is the later sementation fault which ends cb. (see stack backtrace)

     
  • Teodor Petrov

    Teodor Petrov - 2020-04-29
    • summary: Chrash on starting (because of DoxyBlocks?) --> Crash on starting (because of DoxyBlocks?)
     
  • Teodor Petrov

    Teodor Petrov - 2020-05-01
    • labels: crash, DoxyBlocks, BitmapSize --> crash, DoxyBlocks
    • status: open --> fixed
    • assigned_to: Teodor Petrov
     
  • Teodor Petrov

    Teodor Petrov - 2020-05-01

    Fixed in trunk

     
  • Miguel Gimenez

    Miguel Gimenez - 2022-09-27

    For future reference, this was fixed in [r12074].

     

    Related

    Commit: [r12074]


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.