Author Topic: AUI manager - error  (Read 14722 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: AUI manager - error
« Reply #15 on: November 26, 2011, 09:26:32 am »
The crash (the one that leads to oBFusCATed's backtrace) is easy to fix with a nullptr-check, but than it crashes at another place (and it crashes on linux also), so something more deeply seems to be wrong.

It only happens , if C::B was not closed in the meantime, so some initialization seems to be wrong.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: AUI manager - error
« Reply #16 on: November 26, 2011, 11:25:03 am »
It only happens , if C::B was not closed in the meantime, so some initialization seems to be wrong.
Yes, loading the project for the second time in the same instances of C::B - makes it crash.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: AUI manager - error
« Reply #17 on: November 26, 2011, 12:01:05 pm »
Yes, loading the project for the second time in the same instances of C::B - makes it crash.
I cannot watch the video I still don't know how to reproduce, however, I've added some missing NULL pointer checks to some relevant parts, where they are needed.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline lechkozarski

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: AUI manager - error
« Reply #18 on: November 26, 2011, 12:07:50 pm »
Good morning all.
youtube video is here:
http://www.youtube.com/watch?v=ETBnPjtrP_I

Step by step:
1. New project ( wxWidgets  -> no dll )
2. Add AUI manager
3. Add AUI toolbar
4. Add 3 toolbar items
5. Add 1 separator
6. Add 1 more toolbar item
7. Add AUI notebook
8. Disable movable and resize
9. Resize AUInotebook with mouse for full manager
10. Add icons to all
11. Set background colors for pages
12. Set Release
13. Save ...  build and run
14. Close all project
15. Open last project
16. Go to AUI notebook  ( on the left menu page )
17. I try take the right site from notebook and move it to the left .... and CRASH......
............  new project ............... ;(
and look please in video ......  i have other application without AUI and this work very good
Thanks

Offline woser

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: AUI manager - error
« Reply #19 on: November 26, 2011, 12:30:51 pm »
I have the same bug, as lechkozarski :(

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: AUI manager - error
« Reply #20 on: November 26, 2011, 03:20:09 pm »
I have the same bug, as lechkozarski :(
I digged into it meanwhile. This bug is caused by the underlying wxAUI framework of wxWidgts. So it seems to be a wxWidgets issue, rather than a C::B issue. I'm afraid there is nothing we can do ATM, only hope it's fixed in a future version of wxWidgets.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline lechkozarski

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: AUI manager - error
« Reply #21 on: November 26, 2011, 07:42:39 pm »
Thanks for help.

I try it in http://forums.wxwidgets.org/