Author Topic: Plug-in mystery...  (Read 4978 times)

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Plug-in mystery...
« on: January 07, 2007, 11:52:49 am »
Hi all !!

First of all, I wish you a happy new year !!

I am about to release my first beta version of the ThreadSearch plug-in :
* multi-threaded "Search in files"
* preview of the results (left single click on log window)
* file open (left double click on log window)
* check boxes instead of radio boxes to allow searches with both project and directories for example.
* contextual menu "Find occurrences" to start a search in files with the word under cursor (can be disabled)

The FullScreen.gif attachment tells what it looks like.

It is stable and built/tested only on Windows XP SP2.

Then my mystery...

All works smoothly on my development environment (install, uninstall, use, configuration).
When I try to install it on my nightly build, it crashes systematically.
I use nightly build and sdk SVN 3461 (the last).
I use gcc (GCC) 3.4.2 (mingw-special)

Any idea ??

BTW, is it possible for C::B dev team to integrate patch ID 001704 ?
It is just the addition of an event skipping to allow the Ctrl+C, Ctrl+V and contextual menu to work in preview editor...

Dje

[attachment deleted by admin]

takeshimiya

  • Guest
Re: Plug-in mystery...
« Reply #1 on: January 07, 2007, 02:37:26 pm »
Any idea ??
Have you tried compiling with exactly the same patch-level version of wxWidgets the nightly-builds are using (wx2.6.3p2)?
This and this.

Edit: and also, the nightly builds are being compiled with MinGW GCC 3.4.5, not 3.4.2.
« Last Edit: January 07, 2007, 02:49:45 pm by takeshi miya »

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: Plug-in mystery...
« Reply #2 on: January 07, 2007, 11:08:54 pm »
After a wxWidgets udate (patch 2 was missing),
after a gcc udpate from 3.4.2 to 3.4.5,

no changes... :(

The application still crashes (whereas the development app works).

Any other idea ??

Dje


Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Plug-in mystery...
« Reply #3 on: January 07, 2007, 11:56:46 pm »
Any other idea ??

From your development environment (where your plugin works fine), go to "Plugins/Manage plugins", select your plugin and click on "Export". Then send me the .cbplugin file that is exported so I can test it here (where I have debug symbols).

Another thing to keep in mind is that latest nightlies use a different (patched) wx dll, which fixes a menu alignment problem in XP (if I 'm not mistaken - killerbot knows better ;)). It might be worth it to try with an older nightly, which doesn't use this patched wx dll. If your plugin loads in that older nightly, then all is fine with it :).
Be patient!
This bug will be fixed soon...