News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

crash when switching back to merged trunk(SOLVED)

Started by killerbot, October 25, 2010, 02:02:38 PM

Previous topic - Next topic

killerbot

I switched back (linux box) to the trunk version (did a "sudo make distclean" in my cc branch), and now always get this crash :


 <stack>
   <frame level="0"/>
   <frame level="1" function="wxString::mb_str(wxMBConv const&amp;) const" offset="00000007"/>
   <frame level="2" function="ConfigManager::Write(wxString const&amp;, wxString const&amp;, bool)" offset="00000169"/>
   <frame level="3" function="Aligner::OnRelease(bool)" offset="0000027f"/>
   <frame level="4" function="cbPlugin::Attach()" offset="00000070"/>
   <frame level="5" function="PluginManager::AttachPlugin(cbPlugin*, bool)" offset="0000002e"/>
   <frame level="6" function="PluginManager::LoadAllPlugins()" offset="00000390"/>
   <frame level="7" function="wxStringBase::GetStringData() const" offset="00000000" file="/usr/include/wx-2.8/wx/string.h" line="265"/>
   <frame level="8" function="MainFrame" offset="00000000" file="/home/ldco/CodeBlocks/trunk/src/src/main.cpp" line="520"/>
   <frame level="9" function="wxUpdateUIEvent::SetUpdateInterval(long)" offset="00000000" file="/usr/include/wx-2.8/wx/event.h" line="1716"/>
 </stack>


any ideas ?

cbexaminr

maybe unrelated, but...

after recent merge of trunk to wxpropgrid_debugger branch, I had (windows) crashes starting c::b after rebuilding just c::b project and not plugin project.

After I rebuilt plugin project (and updated) crashes ceased.

Does sudo make distclean take care of building both projects and the update?

Loaden

Remove the cc_branch, and re-checkout trunk? :D
I am using Linux OS too. and CB works well.

danselmi

spell checker plugin: [url="http://developer.berlios.de/projects/spellchecker/"]http://developer.berlios.de/projects/spellchecker/[/url]
nassi shneiderman plugin: [url="http://developer.berlios.de/projects/nassiplugin"]http://developer.berlios.de/projects/nassiplugin[/url]

killerbot

#4
I even did a fresh checkout [actually rm -rf *  and then svn update  @ trunk level] , and I still have this problem ... This does not occur to me on the (old) cc branch.

EDIT : how can I get a nice cleanup of the through "sudo make install" installed files from the system (meaning kick CB out of linux, except for it sources ;-)  ).

Loaden

Quote from: killerbot on October 25, 2010, 05:36:16 PM
I even did a fresh checkout [actually rm -rf *  and then svn update  @ trunk level] , and I still have this problem ... This does not occur to me on the (old) cc branch.

EDIT : how can I get a nice cleanup of the through "sudo make install" installed files from the system (meaning kick CB out of linux, except for it sources ;-)  ).
Trying: sudo make uninstall

oBFusCATed

killerbot, what is your distro?
The preferred and safest way to install software is to use the package manager.
So if you're on debian base distro, just build debian packages and install them with dpkg.
If you're on rpm base, build rpms...
It is the same for the other distro types (Arch and gentoo)...

make install/uninstall is too error prone.
(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!]

killerbot

sudo make uninstall  --> no luck

Still the same crash.

But SOLVED IT : apparently there was still an Aligner.zip file left over in the share area ..., removing it solved the problem

oBFusCATed

make uninstall should be called before compiling the new version :)
(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!]

Jenna

Quote from: oBFusCATed on October 25, 2010, 10:08:29 PM
make uninstall should be called before compiling the new version :)
and even before running ./bootstrap and ./configure again, otherwise the new makefiles don't know the formerly installed stuff.