Author Topic: crash when switching back to merged trunk(SOLVED)  (Read 7490 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
crash when switching back to merged trunk(SOLVED)
« on: October 25, 2010, 02:02:38 pm »
I switched back (linux box) to the trunk version (did a "sudo make distclean" in my cc branch), and now always get this crash :

Code
  <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 ?
« Last Edit: October 25, 2010, 08:09:27 pm by killerbot »

Offline cbexaminr

  • Multiple posting newcomer
  • *
  • Posts: 104
Re: crash when switching back to merged trunk
« Reply #1 on: October 25, 2010, 02:23:20 pm »
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?

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: crash when switching back to merged trunk
« Reply #2 on: October 25, 2010, 02:49:40 pm »
Remove the cc_branch, and re-checkout trunk? :D
I am using Linux OS too. and CB works well.

Offline danselmi

  • Developer
  • Almost regular
  • *****
  • Posts: 206
Re: crash when switching back to merged trunk
« Reply #3 on: October 25, 2010, 03:17:12 pm »
Aligner was merged into EditorTweaks.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: crash when switching back to merged trunk
« Reply #4 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 ;-)  ).
« Last Edit: October 25, 2010, 05:38:42 pm by killerbot »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: crash when switching back to merged trunk
« Reply #5 on: October 25, 2010, 05:41:39 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: crash when switching back to merged trunk
« Reply #6 on: October 25, 2010, 06:33:33 pm »
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!]

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: crash when switching back to merged trunk
« Reply #7 on: October 25, 2010, 07:54:47 pm »
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: crash when switching back to merged trunk(SOLVED)
« Reply #8 on: October 25, 2010, 10:08:29 pm »
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!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: crash when switching back to merged trunk(SOLVED)
« Reply #9 on: October 25, 2010, 10:25:04 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.