Author Topic: Broken GUI+No plugin loaded on Ununtu 11.04  (Read 5718 times)

Offline m.29

  • Multiple posting newcomer
  • *
  • Posts: 25
Broken GUI+No plugin loaded on Ununtu 11.04
« on: May 09, 2011, 11:27:23 pm »
Hi, I have some problem with executing Code::Blocks after updating on Ubuntu 11.04.
I downloaded debugger_branch sources from SVN and tried to compile them. Compilation is OK so I executed ./update script like before (on previous version of Ubuntu). Then I tried to start C::B but GUI is broken and no plugin is loaded. After opening any project I get "Deactivating the compiler plugin is most unwise." message. In Plugin manager there are no plugins visible.

I tried some advises that I found on this forum but nothing fixed it. Has anyone an idea what am I doing wrong?
Windows XP SP3, wxWidgets 2.8.11, C::B DEBUGGER BRANCH nightly builds

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Broken GUI+No plugin loaded on Ununtu 11.04
« Reply #1 on: May 10, 2011, 12:41:18 am »
You can try to do a clean checkout or at least remove the debug and the output folders manually and delete include/*.gch .

To get a more meaningful otput you can change wxLog::EnableLogging(false); at the beginning of OnInit() in app.cpp to wxLog::EnableLogging(true);

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Broken GUI+No plugin loaded on Ununtu 11.04
« Reply #2 on: May 10, 2011, 07:15:25 am »
To get a more meaningful otput you can change wxLog::EnableLogging(false); at the beginning of OnInit() in app.cpp to wxLog::EnableLogging(true);
Reminds me: I wanted to make this an option via the command line or enabling it by default if you aklso enable the debug log.Would that be a good thing to do, probably?!
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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Broken GUI+No plugin loaded on Ununtu 11.04
« Reply #3 on: May 10, 2011, 08:41:34 am »
I had a patch for this here, but it got lost somewhere.
I enabled it by default and only disabled it, if the appropriate parameter was not set, so we get all messages from the start.

We have to fix the version-numbers of some xrc-files if I remember correctly, otherwise we would get some errors on startup.

Offline m.29

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: Broken GUI+No plugin loaded on Ununtu 11.04
« Reply #4 on: May 10, 2011, 12:37:32 pm »
Thanks, I noticed that I had some old test plugins in directory ~/.codeblocks/share/codeblocks/plugins. After I deleted the directory ~/.codeblocks/share/ plugins are loaded and GUI is OK :-)

But during closing of C::B there are some SIGSEGVs related to malloc and raise function?

I tried all of this on clean SVN revision. But in the newest r7140 there were some radical changes so I tried it also on clean r7139 and SIGSEGVs are there, too.
Windows XP SP3, wxWidgets 2.8.11, C::B DEBUGGER BRANCH nightly builds

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Broken GUI+No plugin loaded on Ununtu 11.04
« Reply #5 on: May 10, 2011, 12:56:04 pm »
I've seen this, too, it is on the block allocator. I don't know what is causing it.
(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!]