Author Topic: wx30 Crash on plugin installation  (Read 3833 times)

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
wx30 Crash on plugin installation
« on: November 24, 2015, 02:56:14 pm »
Hi,
i was trying to use wx30 build for c::b trunk. I get a crash (segfault) on installing a (any) plugin: Plugins->Manage Plugins->Install new

As far as my investigation went, i can tell that the crash occurs in a  UI Update event, after the plugin was extracted. I can't exactly locate the problem because the ui calls are ?somehow asynchronous?

I have tested this on linux mint15 can someone confirm this crash or is this just me?

Details linux mint 15 64bit
build wxWidgets gtk2-unicode-3.1
c::b trunk

greetings

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: wx30 Crash on plugin installation
« Reply #1 on: November 24, 2015, 03:38:37 pm »
Before I can reproduce the issue, here comes a question: How can I create a .cbplugin file?  :) Is it just a zip file? I haven't tried to create such package before, I don't see the related document in the wiki, thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: wx30 Crash on plugin installation
« Reply #2 on: November 24, 2015, 04:02:48 pm »
Use the codeblocks plugin wizard. :)
(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 stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: wx30 Crash on plugin installation
« Reply #3 on: November 24, 2015, 04:37:34 pm »
Use the codeblocks plugin wizard. :)

Is your CB wxWidgets 2.8 or wxWidgets 3.0?

On Debian 8; using CB linked to wxWidgets 3.0; a simple Tool plugin worked once I fixed the Project to use no lib prefix for the so file.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: wx30 Crash on plugin installation
« Reply #4 on: November 24, 2015, 05:47:07 pm »
Or you export it from the plugin manager ;)

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: wx30 Crash on plugin installation
« Reply #5 on: November 30, 2015, 10:14:23 pm »
I tested this on windows 7 and it worked. Can someone try on Linux, and confirm that only i have this bug?

thanks